Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop") translateModel(ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001982/0.001982, allocations: 106.4 kB / 17.7 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002364/0.002364, allocations: 191.1 kB / 18.63 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2918/0.2918, allocations: 48.85 MB / 320.7 MB, free: 11.05 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 75.88 kB / 451.1 MB, free: 8.617 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1368, allocations: 59.14 MB / 0.4983 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop): time 1.04/1.177, allocations: 362.7 MB / 0.8525 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.04084/1.217, allocations: 36.01 MB / 0.8876 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00486/1.222, allocations: 72.38 kB / 0.8877 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.006297/1.229, allocations: 2.087 MB / 0.8897 GB, free: 11.51 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/Examples.mo:2517:21-2517:69:writable] Warning: Pure function 'ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop.plant.prescribedSpeedPump.feedWaterPump.flowCharacteristic' contains a call to impure function 'Modelica.Math.Matrices.solve'. Notification: Performance of NFTyping.typeBindings: time 0.009212/1.238, allocations: 3.375 MB / 0.893 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.03499/1.273, allocations: 12.54 MB / 0.9053 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.02055/1.294, allocations: 19.96 MB / 0.9248 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01067/1.304, allocations: 7.204 MB / 0.9318 GB, free: 8.082 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01658/1.321, allocations: 8.602 MB / 0.9402 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02393/1.345, allocations: 12.6 MB / 0.9525 GB, free: 3.59 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.004225/1.349, allocations: 1.551 MB / 0.954 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03059/1.38, allocations: 13.45 MB / 0.9672 GB, free: 4.91 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.007845/1.388, allocations: 5.706 MB / 0.9727 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.01523/1.403, allocations: 7.164 MB / 0.9797 GB, free: 8.156 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.04629/1.449, allocations: 28.71 MB / 1.008 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/1.449, allocations: 0 / 1.008 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.543e-06/1.449, allocations: 0 / 1.008 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0005839/1.45, allocations: 0 / 1.008 GB, free: 12.11 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2419 * Number of variables: 2419 Notification: Performance of Generate backend data structure: time 0.04555/1.495, allocations: 12.73 MB / 1.02 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.492e-05/1.495, allocations: 15.89 kB / 1.02 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0299/1.525, allocations: 4.753 MB / 1.025 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01887/1.544, allocations: 7.362 MB / 1.032 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008027/1.545, allocations: 0.6767 MB / 1.033 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006358/1.551, allocations: 1.378 MB / 1.034 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4798/2.031, allocations: 24.37 MB / 1.058 GB, free: 317.3 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003171/2.032, allocations: 8.844 kB / 1.058 GB, free: 317.3 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004915/2.037, allocations: 384.9 kB / 1.058 GB, free: 317 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001011/2.038, allocations: 0.7218 MB / 1.059 GB, free: 316.9 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05819/2.096, allocations: 28.65 MB / 1.087 GB, free: 304.1 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1178/2.214, allocations: 88.41 MB / 1.173 GB, free: 216 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02855/2.242, allocations: 16.73 MB / 1.19 GB, free: 199.4 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01416/2.257, allocations: 10.05 MB / 1.199 GB, free: 189.4 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2132/2.47, allocations: 130.3 MB / 1.327 GB, free: 47.54 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001056/2.47, allocations: 167.1 kB / 1.327 GB, free: 47.37 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=835): time 1.07e-05/2.47, allocations: 0 / 1.327 GB, free: 47.37 MB / 0.7325 GB Notification: Performance of matching and sorting (n=858): time 0.4097/2.88, allocations: 65.85 MB / 1.391 GB, free: 300.4 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/2.88, allocations: 244.2 kB / 1.391 GB, free: 300.2 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0059/2.886, allocations: 3.362 MB / 1.395 GB, free: 298.9 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.003357/2.889, allocations: 206.1 kB / 1.395 GB, free: 298.8 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002295/2.891, allocations: 2.962 MB / 1.398 GB, free: 296.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.005368/2.897, allocations: 2.996 MB / 1.401 GB, free: 294.2 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009178/2.906, allocations: 1.989 MB / 1.403 GB, free: 293.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.804e-05/2.906, allocations: 310.5 kB / 1.403 GB, free: 293.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01791/2.924, allocations: 11.17 MB / 1.414 GB, free: 288.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01792/2.942, allocations: 12.41 MB / 1.426 GB, free: 282.6 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6105/3.552, allocations: 174.1 MB / 1.596 GB, free: 131 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-05/3.553, allocations: 8 kB / 1.596 GB, free: 131 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1047) (initialization): time 0.5255/4.078, allocations: 64.11 MB / 1.659 GB, free: 293.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.687e-05/4.078, allocations: 14.53 kB / 1.659 GB, free: 293.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-05/4.078, allocations: 24.69 kB / 1.659 GB, free: 293.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5197/4.598, allocations: 144.2 MB / 1.799 GB, free: 188.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0042/4.602, allocations: 0.7708 MB / 1.8 GB, free: 187.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.113/4.715, allocations: 48 MB / 1.847 GB, free: 139.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01481/4.73, allocations: 0.6305 MB / 1.848 GB, free: 139.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003573/4.734, allocations: 0.5152 MB / 1.848 GB, free: 138.5 MB / 0.7325 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: $DER.plant.economizer.gasFlow.p = 0.0 $DER.plant.evaporator.water.p = 0.0 $DER.plant.evaporator.gasFlow.p = 0.0. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02359/4.757, allocations: 13.58 MB / 1.861 GB, free: 124.9 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01809/4.775, allocations: 12.16 MB / 1.873 GB, free: 112.4 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.8796/5.655, allocations: 170.4 MB / 2.04 GB, free: 211.4 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.772e-05/5.655, allocations: 8 kB / 2.04 GB, free: 211.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1047) (initialization_lambda0): time 0.09475/5.75, allocations: 37.5 MB / 2.076 GB, free: 174.2 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.416e-05/5.75, allocations: 16.97 kB / 2.076 GB, free: 174.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.829e-05/5.75, allocations: 25.03 kB / 2.076 GB, free: 174.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1421/5.892, allocations: 50.09 MB / 2.125 GB, free: 124.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005057/5.897, allocations: 0.9829 MB / 2.126 GB, free: 123.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3209/6.218, allocations: 42.8 MB / 2.168 GB, free: 290.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01358/6.232, allocations: 0.6088 MB / 2.169 GB, free: 290.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003188/6.235, allocations: 0.5078 MB / 2.169 GB, free: 290.9 MB / 0.7325 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization_lambda0 system: $DER.plant.economizer.gasFlow.p = 0.0 $DER.plant.evaporator.water.p = 0.0 $DER.plant.evaporator.gasFlow.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 109 * Number of states: 0 () * Number of discrete variables: 21 (plant.superheater.fluidFlow.fluidState[7].phase,plant.superheater.fluidFlow.fluidState[6].phase,plant.superheater.fluidFlow.fluidState[5].phase,plant.superheater.fluidFlow.fluidState[4].phase,plant.superheater.fluidFlow.fluidState[3].phase,plant.superheater.fluidFlow.fluidState[2].phase,plant.superheater.fluidFlow.fluidState[1].phase,plant.economizer.fluidFlow.fluidState[6].phase,plant.economizer.fluidFlow.fluidState[5].phase,plant.economizer.fluidFlow.fluidState[4].phase,plant.economizer.fluidFlow.fluidState[3].phase,plant.economizer.fluidFlow.fluidState[2].phase,plant.economizer.fluidFlow.fluidState[1].phase,plant.steamTurbine.steamState_in.phase,plant.prescribedSpeedPump.feedWaterPump.int_Np,plant.stateWaterEconomizer_in.fluidState.phase,plant.stateWaterEvaporator_in.fluidState.phase,plant.stateWaterSuperheater_out.fluidState.phase,plant.stateWaterSuperheater_in.fluidState.phase,plant.steamTurbine.steamState_iso.phase,plant.prescribedSpeedPump.feedWaterPump.inletFluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (396): * Single equations (assignments): 389 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(175,474)} Notification: Performance of prepare postOptimizeDAE: time 0.004511/6.239, allocations: 0.622 MB / 2.17 GB, free: 290.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003436/6.243, allocations: 0.5828 MB / 2.17 GB, free: 290.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07798/6.321, allocations: 53.97 MB / 2.223 GB, free: 270.4 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002868/6.321, allocations: 47.05 kB / 2.223 GB, free: 270.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.919e-05/6.321, allocations: 0 / 2.223 GB, free: 270.4 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008459/6.33, allocations: 3.461 MB / 2.226 GB, free: 268.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004037/6.334, allocations: 381.9 kB / 2.227 GB, free: 268.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01542/6.349, allocations: 0.8739 MB / 2.228 GB, free: 268.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003932/6.353, allocations: 0.6449 MB / 2.228 GB, free: 268.4 MB / 0.7325 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:528:7-530:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (1): plant.economizer.fluidFlow.w = plant.stateWaterEconomizer_in.w / /*Real*/(plant.economizer.fluidFlow.Nt) 2/2 (1): $cse24 = ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop.plant.economizer.fluidFlow.squareReg(plant.economizer.fluidFlow.w, plant.economizer.fluidFlow.wnom / /*Real*/(plant.economizer.fluidFlow.Nt) * plant.economizer.fluidFlow.wnf) 3/3 (1): plant.economizer.fluidFlow.Dpfric = 0.2 * plant.economizer.fluidFlow.Kf * $cse24 * (plant.economizer.fluidFlow.vbar[1] + plant.economizer.fluidFlow.vbar[2] + plant.economizer.fluidFlow.vbar[3] + plant.economizer.fluidFlow.vbar[4] + plant.economizer.fluidFlow.vbar[5]) 4/4 (1): plant.economizer.fluidFlow.vbar[1] = 1.0 / plant.economizer.fluidFlow.rhobar[1] 5/5 (1): plant.economizer.fluidFlow.rhobar[1] = 0.5 * (plant.economizer.fluidFlow.rho[1] + plant.economizer.fluidFlow.rho[2]) 6/6 (1): plant.economizer.fluidFlow.rho[1] = $cse23.rho 7/7 (16): $cse23 = Modelica.Media.Water.IF97_Utilities.waterBaseProp_ph(plant.economizer.fluidFlow.p, plant.economizer.fluidFlow.h[1], 0, 0) 8/23 (1): 0.0 = plant.stateWaterEconomizer_in.w * (plant.condenser.hl - plant.economizer.fluidFlow.h[1]) + plant.prescribedSpeedPump.feedWaterPump.W 9/24 (1): plant.prescribedSpeedPump.feedWaterPump.W = 1.25 * plant.prescribedSpeedPump.feedWaterPump.dp * plant.prescribedSpeedPump.feedWaterPump.q 10/25 (1): plant.prescribedSpeedPump.feedWaterPump.q = plant.stateWaterEconomizer_in.w / plant.prescribedSpeedPump.feedWaterPump.rho 11/26 (1): plant.prescribedSpeedPump.feedWaterPump.head = if noEvent(plant.prescribedSpeedPump.feedWaterPump.s > 0.0) or not plant.prescribedSpeedPump.feedWaterPump.CheckValve then (plant.nPumpActuator.y / 1500.0) ^ 2.0 * ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop.plant.prescribedSpeedPump.feedWaterPump.flowCharacteristic(plant.prescribedSpeedPump.feedWaterPump.q * 1500.0 / (plant.nPumpActuator.y + 1e-6), plant.prescribedSpeedPump.q_nom, plant.prescribedSpeedPump.head_nom) else (plant.nPumpActuator.y / 1500.0) ^ 2.0 * ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop.plant.prescribedSpeedPump.feedWaterPump.flowCharacteristic(0.0, plant.prescribedSpeedPump.q_nom, plant.prescribedSpeedPump.head_nom) - plant.prescribedSpeedPump.feedWaterPump.s * 300.81628282848885 12/27 (1): plant.prescribedSpeedPump.feedWaterPump.head = 0.10197162129779283 * plant.prescribedSpeedPump.feedWaterPump.dp / plant.prescribedSpeedPump.feedWaterPump.rho 13/28 (1): plant.prescribedSpeedPump.feedWaterPump.dp = plant.stateWaterEconomizer_in.p - plant.condenser.p 14/29 (1): plant.economizer.fluidFlow.p + plant.economizer.fluidFlow.Dpfric - plant.stateWaterEconomizer_in.p = 0.0 15/30 (1): plant.prescribedSpeedPump.feedWaterPump.q = if noEvent(plant.prescribedSpeedPump.feedWaterPump.s > 0.0) or not plant.prescribedSpeedPump.feedWaterPump.CheckValve then 0.055 * plant.prescribedSpeedPump.feedWaterPump.s else 0.0 Variables: 1: plant.prescribedSpeedPump.feedWaterPump.s:VARIABLE(start = 1.0 unit = "1" ) "Auxiliary non-dimensional variable" type: Real 2: plant.economizer.fluidFlow.Dpfric:VARIABLE(unit = "Pa" ) "Pressure drop due to friction (total)" type: Real 3: plant.stateWaterEconomizer_in.p:VARIABLE(min = 611.657 max = 1e8 start = 5e6 unit = "Pa" nominal = 1e6 ) "Pressure" type: Real 4: plant.prescribedSpeedPump.feedWaterPump.dp:VARIABLE(unit = "Pa" ) "Outlet pressure minus inlet pressure" type: Real 5: plant.prescribedSpeedPump.feedWaterPump.head:VARIABLE(min = 0.0 unit = "m" ) "Pump head" type: Real 6: plant.stateWaterEconomizer_in.w:VARIABLE(min = 0.0 max = 1e5 start = 55.0 unit = "kg/s" ) "Mass flow rate" type: Real 7: plant.prescribedSpeedPump.feedWaterPump.q:VARIABLE(start = 0.055 unit = "m3/s" ) "Volume flow rate (total)" type: Real 8: plant.prescribedSpeedPump.feedWaterPump.W:VARIABLE(unit = "W" ) "Power Consumption (total)" type: Real 9: $cse23.vt:VARIABLE(protected = true ) type: Real unreplaceable 10: $cse23.vp:VARIABLE(protected = true ) type: Real unreplaceable 11: $cse23.p:VARIABLE(protected = true ) type: Real unreplaceable 12: $cse23.phase:DISCRETE(protected = true ) type: Integer unreplaceable 13: $cse23.pt:VARIABLE(protected = true ) type: Real unreplaceable 14: $cse23.rho:VARIABLE(protected = true ) type: Real unreplaceable 15: $cse23.s:VARIABLE(protected = true ) type: Real unreplaceable 16: $cse23.region:DISCRETE(protected = true ) type: Integer unreplaceable 17: $cse23.pd:VARIABLE(protected = true ) type: Real unreplaceable 18: $cse23.R:VARIABLE(protected = true ) type: Real unreplaceable 19: $cse23.x:VARIABLE(protected = true ) type: Real unreplaceable 20: plant.economizer.fluidFlow.h[1]:VARIABLE(min = -1e10 max = 1e10 start = 1e5 unit = "J/kg" nominal = 5e5 ) "Fluid specific enthalpy at the nodes" type: Real [6] 21: $cse23.T:VARIABLE(protected = true ) type: Real unreplaceable 22: $cse23.cv:VARIABLE(protected = true ) type: Real unreplaceable 23: $cse23.cp:VARIABLE(protected = true ) type: Real unreplaceable 24: $cse23.h:VARIABLE(protected = true ) type: Real unreplaceable 25: $cse23.dpT:VARIABLE(protected = true ) type: Real unreplaceable 26: plant.economizer.fluidFlow.rho[1]:VARIABLE(min = 0.0 max = 1e5 start = 150.0 unit = "kg/m3" nominal = 500.0 ) "Fluid nodal density" type: Real [6] 27: plant.economizer.fluidFlow.rhobar[1]:VARIABLE(min = 0.0 max = 1e5 start = 150.0 unit = "kg/m3" nominal = 500.0 protected = true ) "Fluid average density" type: Real [5] 28: plant.economizer.fluidFlow.vbar[1]:VARIABLE(min = 0.0 unit = "m3/kg" protected = true ) "Fluid average specific volume" type: Real [5] 29: $cse24:VARIABLE(protected = true ) type: Real unreplaceable 30: plant.economizer.fluidFlow.w:VARIABLE(min = -1e5 max = 1e5 start = plant.economizer.fluidFlow.wnom / /*Real*/(plant.economizer.fluidFlow.Nt) unit = "kg/s" ) "Mass flow rate (single tube)" type: Real [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:9805:5-9806:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002502/6.356, allocations: 1.324 MB / 2.23 GB, free: 267.6 MB / 0.7325 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop could not be translated