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.001427/0.001427, allocations: 83.84 kB / 16.31 MB, free: 6.449 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.001696/0.001696, allocations: 179.3 kB / 17.21 MB, free: 6.32 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.593/1.593, allocations: 205.4 MB / 223.4 MB, free: 5.805 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4443/0.4443, allocations: 48.77 MB / 320.4 MB, free: 3.809 MB / 254.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.0007324/0.0007324, allocations: 8 kB / 391.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.153, allocations: 60.27 MB / 451.4 MB, free: 1.898 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop): time 0.8018/0.9549, allocations: 333.4 MB / 0.7664 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.04742/1.002, allocations: 33.99 MB / 0.7996 GB, free: 14.99 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00576/1.008, allocations: 67.56 kB / 0.7997 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.006038/1.014, allocations: 1.429 MB / 0.8011 GB, free: 13.49 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.009788/1.024, allocations: 3.179 MB / 0.8042 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.02979/1.054, allocations: 8.949 MB / 0.8129 GB, free: 1.355 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.02447/1.078, allocations: 20.63 MB / 0.8331 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01096/1.089, allocations: 5.116 MB / 0.8381 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3746/1.464, allocations: 8.667 MB / 0.8465 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03104/1.495, allocations: 17.27 MB / 0.8634 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.004834/1.5, allocations: 470.6 kB / 0.8639 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02793/1.528, allocations: 12.22 MB / 0.8758 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.01026/1.538, allocations: 4.723 MB / 0.8804 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.007804/1.546, allocations: 2.299 MB / 0.8827 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02636/1.573, allocations: 22.24 MB / 0.9044 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/1.573, allocations: 3.844 kB / 0.9044 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.415e-06/1.573, allocations: 5.75 kB / 0.9044 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0006483/1.573, allocations: 0 / 0.9044 GB, free: 8.867 MB / 0.5762 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.03255/1.606, allocations: 10.37 MB / 0.9145 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/1.606, allocations: 10.03 kB / 0.9145 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04773/1.654, allocations: 8.083 MB / 0.9224 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01868/1.672, allocations: 7.65 MB / 0.9299 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008911/1.673, allocations: 0.6774 MB / 0.9305 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006491/1.68, allocations: 1.376 MB / 0.9319 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06758/1.747, allocations: 26.11 MB / 0.9574 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004212/1.748, allocations: 6.906 kB / 0.9574 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005383/1.753, allocations: 385.2 kB / 0.9578 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008376/1.754, allocations: 0.7176 MB / 0.9585 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07171/1.826, allocations: 34.41 MB / 0.9921 GB, free: 1.062 MB / 0.6231 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.1692/1.995, allocations: 97.39 MB / 1.087 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06633/2.061, allocations: 18.34 MB / 1.105 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3509/2.412, allocations: 11.67 MB / 1.116 GB, free: 350.4 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3715/2.784, allocations: 137.7 MB / 1.251 GB, free: 262.2 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000147/2.784, allocations: 163 kB / 1.251 GB, free: 262 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=835): time 1.29e-05/2.784, allocations: 0 / 1.251 GB, free: 262 MB / 0.7325 GB Notification: Performance of matching and sorting (n=858): time 0.1527/2.937, allocations: 66.88 MB / 1.316 GB, free: 195.1 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001424/2.937, allocations: 244.9 kB / 1.317 GB, free: 194.8 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005669/2.943, allocations: 3.252 MB / 1.32 GB, free: 191.6 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.003753/2.947, allocations: 205.7 kB / 1.32 GB, free: 191.4 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0021/2.949, allocations: 2.911 MB / 1.323 GB, free: 188.4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.006482/2.955, allocations: 3.006 MB / 1.326 GB, free: 185.4 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003788/2.959, allocations: 160 kB / 1.326 GB, free: 185.3 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0007813/2.96, allocations: 0.633 MB / 1.327 GB, free: 184.6 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01718/2.977, allocations: 11.03 MB / 1.337 GB, free: 173.6 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01813/2.995, allocations: 12.18 MB / 1.349 GB, free: 161.1 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.477/3.472, allocations: 141.6 MB / 1.488 GB, free: 19.4 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.443e-05/3.472, allocations: 8 kB / 1.488 GB, free: 19.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1036) (initialization): time 0.2985/3.771, allocations: 35.07 MB / 1.522 GB, free: 340.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003652/3.771, allocations: 0.6965 MB / 1.522 GB, free: 339.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.353e-05/3.771, allocations: 20.12 kB / 1.522 GB, free: 339.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4449/4.216, allocations: 136.1 MB / 1.655 GB, free: 255.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003922/4.22, allocations: 0.7514 MB / 1.656 GB, free: 254.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1025/4.323, allocations: 47.73 MB / 1.703 GB, free: 206.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01476/4.337, allocations: 1.647 MB / 1.704 GB, free: 205.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003826/4.341, allocations: 0.5074 MB / 1.705 GB, free: 204.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/4.341, allocations: 4 kB / 1.705 GB, free: 204.6 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06825/4.41, allocations: 33.55 MB / 1.738 GB, free: 171.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.036e-05/4.41, allocations: 21.56 kB / 1.738 GB, free: 171.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1263/4.536, allocations: 47.89 MB / 1.784 GB, free: 123.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005065/4.541, allocations: 0.9518 MB / 1.785 GB, free: 122.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07262/4.614, allocations: 42.58 MB / 1.827 GB, free: 79.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01513/4.629, allocations: 1.612 MB / 1.828 GB, free: 77.69 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004259/4.633, allocations: 0.4996 MB / 1.829 GB, free: 77.19 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 sytem: $DER.plant.evaporator.gasFlow.p = 0.0 $DER.plant.economizer.gasFlow.p = 0.0 $DER.plant.economizer.fluidFlow.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * 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 (385): * Single equations (assignments): 378 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {175 474} Notification: Performance of prepare postOptimizeDAE: time 0.01282/4.646, allocations: 3.079 MB / 1.832 GB, free: 74.11 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004803/4.651, allocations: 0.5867 MB / 1.833 GB, free: 73.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3709/5.022, allocations: 54.04 MB / 1.885 GB, free: 331.9 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001649/5.022, allocations: 138.1 kB / 1.885 GB, free: 331.9 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.967e-05/5.022, allocations: 6.5 kB / 1.885 GB, free: 331.9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000211/5.022, allocations: 40.41 kB / 1.885 GB, free: 331.9 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 postOpt removeSimpleEquations (simulation): time 0.1229/5.145, allocations: 88.02 MB / 1.971 GB, free: 284.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001073/5.145, allocations: 4 kB / 1.971 GB, free: 284.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01525/5.161, allocations: 1.995 MB / 1.973 GB, free: 283.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01761/5.178, allocations: 7.427 MB / 1.981 GB, free: 276 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004085/5.183, allocations: 483.5 kB / 1.981 GB, free: 275.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04295/5.226, allocations: 43.32 MB / 2.023 GB, free: 231.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/5.226, allocations: 0 / 2.023 GB, free: 231.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07509/5.301, allocations: 41.07 MB / 2.064 GB, free: 190.4 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009538/5.31, allocations: 3.549 MB / 2.067 GB, free: 186.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005255/5.316, allocations: 367.9 kB / 2.067 GB, free: 186.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01634/5.332, allocations: 1.368 MB / 2.069 GB, free: 185.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004399/5.336, allocations: 0.5996 MB / 2.069 GB, free: 184.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00404/5.34, allocations: 451.5 kB / 2.07 GB, free: 184.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.004842/5.345, allocations: 2.259 MB / 2.072 GB, free: 181.9 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.4e-07/5.345, allocations: 2.906 kB / 2.072 GB, free: 181.9 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.03337/5.379, allocations: 6.953 MB / 2.079 GB, free: 175.1 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 64 (plant.condenser.Vl,plant.temperatureActuator.y,plant.powerSensor.y,plant.gasFlowActuator.y,plant.nPumpActuator.y,plant.voidFractionSensor.y,plant.economizer.fluidFlow.htilde[1],plant.economizer.fluidFlow.htilde[2],plant.economizer.fluidFlow.htilde[3],plant.economizer.fluidFlow.htilde[4],plant.economizer.fluidFlow.htilde[5],plant.economizer.metalTube.Tvol[1],plant.economizer.metalTube.Tvol[2],plant.economizer.metalTube.Tvol[3],plant.economizer.metalTube.Tvol[4],plant.economizer.metalTube.Tvol[5],plant.economizer.gasFlow.Ttilde[1],plant.economizer.gasFlow.Ttilde[2],plant.economizer.gasFlow.Ttilde[3],plant.economizer.gasFlow.Ttilde[4],plant.economizer.gasFlow.Ttilde[5],plant.economizer.gasFlow.Xtilde[1,1],plant.economizer.gasFlow.Xtilde[1,2],plant.economizer.gasFlow.Xtilde[1,3],plant.economizer.gasFlow.Xtilde[1,4],plant.economizer.gasFlow.Xtilde[1,5],plant.evaporator.water.Vl,plant.evaporator.water.p,plant.evaporator.gasFlow.Ttilde[1],plant.evaporator.gasFlow.Ttilde[2],plant.evaporator.gasFlow.Ttilde[3],plant.evaporator.gasFlow.Xtilde[1,1],plant.evaporator.gasFlow.Xtilde[1,2],plant.evaporator.gasFlow.Xtilde[1,3],plant.evaporator.gasFlow.Xtilde[1,4],plant.evaporator.gasFlow.Xtilde[1,5],plant.superheater.fluidFlow.p,plant.superheater.fluidFlow.htilde[1],plant.superheater.fluidFlow.htilde[2],plant.superheater.fluidFlow.htilde[3],plant.superheater.fluidFlow.htilde[4],plant.superheater.fluidFlow.htilde[5],plant.superheater.fluidFlow.htilde[6],plant.superheater.metalTube.Tvol[1],plant.superheater.metalTube.Tvol[2],plant.superheater.metalTube.Tvol[3],plant.superheater.metalTube.Tvol[4],plant.superheater.metalTube.Tvol[5],plant.superheater.metalTube.Tvol[6],plant.superheater.gasFlow.Ttilde[1],plant.superheater.gasFlow.Ttilde[2],plant.superheater.gasFlow.Ttilde[3],plant.superheater.gasFlow.Ttilde[4],plant.superheater.gasFlow.Ttilde[5],plant.superheater.gasFlow.Ttilde[6],plant.superheater.gasFlow.Xtilde[1,1],plant.superheater.gasFlow.Xtilde[1,2],plant.superheater.gasFlow.Xtilde[1,3],plant.superheater.gasFlow.Xtilde[1,4],plant.superheater.gasFlow.Xtilde[1,5],plant.superheater.gasFlow.p,plant.constantSpeed.phi,voidFractionController.I,powerController.I) * Number of discrete variables: 36 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.region3boundary,$cse16.region3boundary,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse27.phase,$cse27.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (763): * Single equations (assignments): 726 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(7,69.4%) 12,(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {7 22,10 40,2 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.01328/5.392, allocations: 2.292 MB / 2.081 GB, free: 173.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.1085/5.501, allocations: 46.19 MB / 2.126 GB, free: 127.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-05/5.501, allocations: 18.02 kB / 2.126 GB, free: 127.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.02742/5.528, allocations: 14.26 MB / 2.14 GB, free: 112.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02057/5.549, allocations: 3.07 MB / 2.143 GB, free: 110 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06055/5.609, allocations: 35.88 MB / 2.178 GB, free: 74.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008022/5.617, allocations: 5.527 MB / 2.183 GB, free: 68.53 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0236/5.641, allocations: 4.356 MB / 2.188 GB, free: 64.17 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0079/5.649, allocations: 0.546 MB / 2.188 GB, free: 63.62 MB / 0.7325 GB Notification: Performance of SimCode: time 1.092e-06/5.649, allocations: 0 / 2.188 GB, free: 63.62 MB / 0.7325 GB Notification: Performance of Templates: time 1.248/6.897, allocations: 0.5197 GB / 2.708 GB, free: 204.1 MB / 0.7325 GB make -j1 -f ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop.makefile Environment - environmentSimulation: make -j1 -f ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ThermoPower_ThermoPower_Examples_RankineCycle_Simulators_ClosedLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=9 -DOMC_NUM_NONLINEAR_SYSTEMS=24 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop.o ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ThermoPower_ThermoPower_Examples_RankineCycle_Simulators_ClosedLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=9 -DOMC_NUM_NONLINEAR_SYSTEMS=24 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop_functions.o ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop_functions.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ThermoPower_ThermoPower_Examples_RankineCycle_Simulators_ClosedLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=9 -DOMC_NUM_NONLINEAR_SYSTEMS=24 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop_records.o ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop_records.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ThermoPower_ThermoPower_Examples_RankineCycle_Simulators_ClosedLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=9 -DOMC_NUM_NONLINEAR_SYSTEMS=24 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop_01exo.o ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop_01exo.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ThermoPower_ThermoPower_Examples_RankineCycle_Simulators_ClosedLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=9 -DOMC_NUM_NONLINEAR_SYSTEMS=24 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop_02nls.o ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop_02nls.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ThermoPower_ThermoPower_Examples_RankineCycle_Simulators_ClosedLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=9 -DOMC_NUM_NONLINEAR_SYSTEMS=24 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop_03lsy.o ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop_03lsy.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ThermoPower_ThermoPower_Examples_RankineCycle_Simulators_ClosedLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=9 -DOMC_NUM_NONLINEAR_SYSTEMS=24 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop_04set.o ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop_04set.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ThermoPower_ThermoPower_Examples_RankineCycle_Simulators_ClosedLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=9 -DOMC_NUM_NONLINEAR_SYSTEMS=24 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop_05evt.o ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop_05evt.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ThermoPower_ThermoPower_Examples_RankineCycle_Simulators_ClosedLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=9 -DOMC_NUM_NONLINEAR_SYSTEMS=24 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop_06inz.o ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop_06inz.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ThermoPower_ThermoPower_Examples_RankineCycle_Simulators_ClosedLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=9 -DOMC_NUM_NONLINEAR_SYSTEMS=24 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop_07dly.o ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop_07dly.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ThermoPower_ThermoPower_Examples_RankineCycle_Simulators_ClosedLoop -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=9 -DOMC_NUM_NONLINEAR_SYSTEMS=24 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop_08bnd.o ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop_08bnd.c ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop_08bnd.c:12348:24: error: passing 'real_array' (aka 'struct base_array_s') to parameter of incompatible type 'double' tmp921 = GreaterEq(tmp919,tmp920); ^~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/simulation/solver/model_help.h:132:35: note: passing argument to parameter 'a' here modelica_boolean GreaterEq(double a, double b); ^ ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop_08bnd.c:12352:56: error: passing 'real_array' (aka 'struct base_array_s') to parameter of incompatible type 'modelica_real' (aka 'double') tmp923 = modelica_real_to_modelica_string_format(tmp924, (modelica_string) mmc_strings_len1[103]); ^~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/../util/modelica_string.h:50:78: note: passing argument to parameter 'r' here extern modelica_string modelica_real_to_modelica_string_format(modelica_real r, modelica_string format); ^ ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop_08bnd.c:12388:24: error: passing 'real_array' (aka 'struct base_array_s') to parameter of incompatible type 'double' tmp928 = GreaterEq(tmp926,tmp927); ^~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/simulation/solver/model_help.h:132:35: note: passing argument to parameter 'a' here modelica_boolean GreaterEq(double a, double b); ^ ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop_08bnd.c:12392:56: error: passing 'real_array' (aka 'struct base_array_s') to parameter of incompatible type 'modelica_real' (aka 'double') tmp930 = modelica_real_to_modelica_string_format(tmp931, (modelica_string) mmc_strings_len1[103]); ^~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/../util/modelica_string.h:50:78: note: passing argument to parameter 'r' here extern modelica_string modelica_real_to_modelica_string_format(modelica_real r, modelica_string format); ^ ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop_08bnd.c:15612:25: error: passing 'real_array' (aka 'struct base_array_s') to parameter of incompatible type 'double' tmp1357 = GreaterEq(tmp1355,tmp1356); ^~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/simulation/solver/model_help.h:132:35: note: passing argument to parameter 'a' here modelica_boolean GreaterEq(double a, double b); ^ ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop_08bnd.c:15616:57: error: passing 'real_array' (aka 'struct base_array_s') to parameter of incompatible type 'modelica_real' (aka 'double') tmp1359 = modelica_real_to_modelica_string_format(tmp1360, (modelica_string) mmc_strings_len1[103]); ^~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/../util/modelica_string.h:50:78: note: passing argument to parameter 'r' here extern modelica_string modelica_real_to_modelica_string_format(modelica_real r, modelica_string format); ^ ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop_08bnd.c:15652:25: error: passing 'real_array' (aka 'struct base_array_s') to parameter of incompatible type 'double' tmp1364 = GreaterEq(tmp1362,tmp1363); ^~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/simulation/solver/model_help.h:132:35: note: passing argument to parameter 'a' here modelica_boolean GreaterEq(double a, double b); ^ ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop_08bnd.c:15656:57: error: passing 'real_array' (aka 'struct base_array_s') to parameter of incompatible type 'modelica_real' (aka 'double') tmp1366 = modelica_real_to_modelica_string_format(tmp1367, (modelica_string) mmc_strings_len1[103]); ^~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/../util/modelica_string.h:50:78: note: passing argument to parameter 'r' here extern modelica_string modelica_real_to_modelica_string_format(modelica_real r, modelica_string format); ^ 8 errors generated. make: *** [: ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop_08bnd.o] Error 1