Opened 12 years ago
Closed 12 years ago
#1873 closed defect (fixed)
Stack overflow introduced in backend
Reported by: | Martin Sjölund | Owned by: | Jens Frenkel |
---|---|---|---|
Priority: | high | Milestone: | 1.9.0 |
Component: | Backend | Version: | |
Keywords: | Cc: | Jens Frenkel, Willi Braun |
Change History (3)
comment:1 by , 12 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 12 years ago
There is a cyclic binding in start values for
180: tank1.h_start:PARAM(min = -10000000000.0 max = 10000000000.0 start = Modelica.Fluid.Vessels.OpenTank.Medium.specificEnthalpy_pTX(tank1.p_start, tank1.T_start, {tank1.X_start[1]}) nominal = 1000000.0 ) = if tank1.use_T_start then Modelica.Fluid.Vessels.OpenTank.Medium.specificEnthalpy_pTX(tank1.p_start, tank1.T_start, {tank1.X_start[1]}) else 83680.0 .Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks, .Modelica.Fluid.Vessels.OpenTank, .Modelica.Fluid.Vessels.OpenTank.Medium.SpecificEnthalpy type: Real (min = -10000000000.0 max = 10000000000.0 start = Modelica.Fluid.Vessels.OpenTank.Medium.specificEnthalpy_pTX(tank1.p_start, tank1.T_start, {tank1.X_start[1]}) nominal = 1000000.0 )
181: tank1.T_start:PARAM(min = 1.0 max = 10000.0 start = system.T_start nominal = 300.0 ) = if tank1.use_T_start then system.T_start else Modelica.Fluid.Vessels.OpenTank.Medium.temperature_phX(tank1.p_start, tank1.h_start, {tank1.X_start[1]}) .Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks, .Modelica.Fluid.Vessels.OpenTank, .Modelica.Fluid.Vessels.OpenTank.Medium.Temperature type: Real (min = 1.0 max = 10000.0 start = system.T_start nominal = 300.0 )
This leads to a infinit loop.
As far as I see it's caused by preOptModule "removeSimpleEquations".