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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009365/0.0009365, allocations: 193.7 kB / 8.139 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.09/1.09, allocations: 205.2 MB / 213.7 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008278/0.0008278, allocations: 93.19 kB / 261.7 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.362/0.362, allocations: 48.75 MB / 358.5 MB, free: 53.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.234e-06/7.254e-06, allocations: 0 / 424.7 MB, free: 8.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1184, allocations: 60.26 MB / 485 MB, free: 11.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.214/6.332, allocations: 3.838 GB / 4.312 GB, free: 32.95 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001956/6.332, allocations: 91.95 kB / 4.312 GB, free: 32.86 MB / 0.5105 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/Examples.mo:2509:70-2509:81:writable] Error: Variable q_nom not found in scope ThermoPower.Examples.RankineCycle.Models. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/Examples.mo:2517:21-2517:69:writable] Error: Cyclically dependent constants or parameters found in scope : {q_nom}, {head_nom} (ignore with -d=ignoreCycles). Notification: Performance of FrontEnd: time 7.682/14.01, allocations: 2.704 GB / 7.016 GB, free: 48.2 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0007271/14.01, allocations: 211.4 kB / 7.016 GB, free: 48.18 MB / 0.6511 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.03983/14.05, allocations: 10.94 MB / 7.027 GB, free: 44.6 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/14.05, allocations: 10.53 kB / 7.027 GB, free: 44.6 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03082/14.09, allocations: 5.658 MB / 7.032 GB, free: 44.12 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0247/14.11, allocations: 8.689 MB / 7.041 GB, free: 43.25 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000624/14.11, allocations: 409.9 kB / 7.041 GB, free: 43.2 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005129/14.12, allocations: 0.5845 MB / 7.042 GB, free: 43.17 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03815/14.15, allocations: 21.16 MB / 7.063 GB, free: 43.12 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0453/14.2, allocations: 19.27 MB / 7.081 GB, free: 42.43 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004151/14.2, allocations: 7.031 kB / 7.081 GB, free: 42.43 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005564/14.21, allocations: 15.88 kB / 7.081 GB, free: 42.43 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004763/14.21, allocations: 0.5134 MB / 7.082 GB, free: 42.41 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2162/14.42, allocations: 133.2 MB / 7.212 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01847/14.44, allocations: 14.05 MB / 7.226 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2636/14.7, allocations: 9.918 MB / 7.235 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2147/14.92, allocations: 130.3 MB / 7.363 GB, free: 48.75 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001178/14.92, allocations: 165.7 kB / 7.363 GB, free: 48.69 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=829): time 1.345e-05/14.92, allocations: 0 / 7.363 GB, free: 48.69 MB / 0.6823 GB Notification: Performance of matching and sorting (n=849): time 0.1067/15.03, allocations: 51.32 MB / 7.413 GB, free: 47.04 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.266e-05/15.03, allocations: 246.5 kB / 7.413 GB, free: 46.84 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00314/15.03, allocations: 2.161 MB / 7.415 GB, free: 46.61 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.002402/15.03, allocations: 40.36 kB / 7.415 GB, free: 46.58 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001093/15.03, allocations: 2.454 MB / 7.418 GB, free: 45.54 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.003904/15.04, allocations: 2.861 MB / 7.42 GB, free: 43.64 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008957/15.04, allocations: 0 / 7.42 GB, free: 43.64 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000371/15.04, allocations: 0.627 MB / 7.421 GB, free: 43.32 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009654/15.05, allocations: 8.347 MB / 7.429 GB, free: 43.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01257/15.06, allocations: 9.544 MB / 7.439 GB, free: 42.2 MB / 0.6823 GB Notification: The following equation is consistent and got removed from the initialization problem: $DER.plant.evaporator.gasFlow.p = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.plant.economizer.fluidFlow.p = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.plant.economizer.gasFlow.p = 0.0 Notification: Performance of analyzeInitialSystem (initialization): time 0.3661/15.43, allocations: 95.71 MB / 7.532 GB, free: 1.043 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-05/15.43, allocations: 8 kB / 7.532 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1022) (initialization): time 0.3113/15.74, allocations: 33.13 MB / 7.564 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001126/15.74, allocations: 8.457 MB / 7.573 GB, free: 99.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.807e-05/15.74, allocations: 19.72 kB / 7.573 GB, free: 99.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3081/16.05, allocations: 87.59 MB / 7.658 GB, free: 98.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004049/16.05, allocations: 0.7201 MB / 7.659 GB, free: 98.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09161/16.14, allocations: 47.15 MB / 7.705 GB, free: 92.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01134/16.15, allocations: 1.282 MB / 7.706 GB, free: 92.71 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002052/16.16, allocations: 364.8 kB / 7.707 GB, free: 92.71 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.444e-06/16.16, allocations: 5.25 kB / 7.707 GB, free: 92.71 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04328/16.2, allocations: 28.08 MB / 7.734 GB, free: 84.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.58e-05/16.2, allocations: 20 kB / 7.734 GB, free: 84.53 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09641/16.3, allocations: 30.29 MB / 7.764 GB, free: 66.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004949/16.3, allocations: 0.9848 MB / 7.764 GB, free: 65.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2887/16.59, allocations: 40.13 MB / 7.804 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01033/16.6, allocations: 1.248 MB / 7.805 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001804/16.6, allocations: 347.9 kB / 7.805 GB, free: 102.4 MB / 0.6823 GB Warning: Assuming redundant initial conditions for the following 3 initial equations: $DER.plant.evaporator.gasFlow.p = 0.0 $DER.plant.economizer.fluidFlow.p = 0.0 $DER.plant.economizer.gasFlow.p = 0.0 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: plant.evaporator.gasFlow.drbdT2[3]:VARIABLE(unit = "kg/(m3.K)" protected = true ) "Derivative of average density by right temperature" type: Real [3] plant.evaporator.gasFlow.drbdp[3]:VARIABLE(unit = "s2/m2" protected = true ) "Derivative of average density by pressure" type: Real [3] plant.evaporator.gasFlow.drbdX2[3,2]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by right composition" type: Real [3,5] plant.evaporator.gasFlow.drbdX2[3,3]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by right composition" type: Real [3,5] plant.evaporator.gasFlow.drbdX2[3,4]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by right composition" type: Real [3,5] plant.evaporator.gasFlow.drbdX2[3,1]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by right composition" type: Real [3,5] plant.evaporator.gasFlow.drbdX2[3,5]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by right composition" type: Real [3,5] plant.economizer.gasFlow.drbdT2[5]:VARIABLE(unit = "kg/(m3.K)" protected = true ) "Derivative of average density by right temperature" type: Real [5] plant.economizer.gasFlow.drbdX2[5,1]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by right composition" type: Real [5,5] plant.economizer.gasFlow.drbdX2[5,2]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by right composition" type: Real [5,5] plant.economizer.gasFlow.drbdX2[5,3]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by right composition" type: Real [5,5] plant.economizer.gasFlow.drbdX2[5,4]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by right composition" type: Real [5,5] plant.economizer.gasFlow.drbdX2[5,5]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by right composition" type: Real [5,5] plant.economizer.gasFlow.drbdp[5]:VARIABLE(unit = "s2/m2" protected = true ) "Derivative of average density by pressure" type: Real [5] plant.superheater.gasFlow.drbdT2[6]:VARIABLE(unit = "kg/(m3.K)" protected = true ) "Derivative of average density by right temperature" type: Real [6] plant.superheater.gasFlow.drbdp[6]:VARIABLE(unit = "s2/m2" protected = true ) "Derivative of average density by pressure" type: Real [6] plant.superheater.gasFlow.drbdX2[6,1]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by right composition" type: Real [6,5] plant.superheater.gasFlow.drbdX2[6,2]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by right composition" type: Real [6,5] plant.superheater.gasFlow.drbdX2[6,3]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by right composition" type: Real [6,5] plant.superheater.gasFlow.drbdX2[6,4]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by right composition" type: Real [6,5] plant.superheater.gasFlow.drbdX2[6,5]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by right composition" type: Real [6,5] plant.superheater.gasFlow.drbdp[5]:VARIABLE(unit = "s2/m2" protected = true ) "Derivative of average density by pressure" type: Real [6] plant.superheater.gasFlow.drbdp[4]:VARIABLE(unit = "s2/m2" protected = true ) "Derivative of average density by pressure" type: Real [6] plant.superheater.gasFlow.drbdp[3]:VARIABLE(unit = "s2/m2" protected = true ) "Derivative of average density by pressure" type: Real [6] plant.superheater.gasFlow.drbdp[2]:VARIABLE(unit = "s2/m2" protected = true ) "Derivative of average density by pressure" type: Real [6] plant.superheater.gasFlow.drbdp[1]:VARIABLE(unit = "s2/m2" protected = true ) "Derivative of average density by pressure" type: Real [6] plant.superheater.gasFlow.drbdT2[1]:VARIABLE(unit = "kg/(m3.K)" protected = true ) "Derivative of average density by right temperature" type: Real [6] plant.superheater.gasFlow.drbdX2[1,1]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by right composition" type: Real [6,5] plant.superheater.gasFlow.drbdX2[1,2]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by right composition" type: Real [6,5] plant.superheater.gasFlow.drbdX2[1,3]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by right composition" type: Real [6,5] plant.superheater.gasFlow.drbdX2[1,4]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by right composition" type: Real [6,5] plant.evaporator.gasFlow.drbdp[2]:VARIABLE(unit = "s2/m2" protected = true ) "Derivative of average density by pressure" type: Real [3] plant.evaporator.gasFlow.drbdp[1]:VARIABLE(unit = "s2/m2" protected = true ) "Derivative of average density by pressure" type: Real [3] plant.evaporator.gasFlow.drbdT2[1]:VARIABLE(unit = "kg/(m3.K)" protected = true ) "Derivative of average density by right temperature" type: Real [3] plant.evaporator.gasFlow.drbdX2[1,2]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by right composition" type: Real [3,5] plant.evaporator.gasFlow.drbdX2[1,3]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by right composition" type: Real [3,5] plant.evaporator.gasFlow.drbdX2[1,4]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by right composition" type: Real [3,5] plant.evaporator.gasFlow.drbdX2[1,1]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by right composition" type: Real [3,5] plant.evaporator.gasFlow.drbdX2[1,5]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by right composition" type: Real [3,5] plant.economizer.gasFlow.drbdp[4]:VARIABLE(unit = "s2/m2" protected = true ) "Derivative of average density by pressure" type: Real [5] plant.economizer.gasFlow.drbdp[3]:VARIABLE(unit = "s2/m2" protected = true ) "Derivative of average density by pressure" type: Real [5] plant.economizer.gasFlow.drbdp[2]:VARIABLE(unit = "s2/m2" protected = true ) "Derivative of average density by pressure" type: Real [5] plant.economizer.gasFlow.drbdp[1]:VARIABLE(unit = "s2/m2" protected = true ) "Derivative of average density by pressure" type: Real [5] plant.economizer.gasFlow.drbdT2[1]:VARIABLE(unit = "kg/(m3.K)" protected = true ) "Derivative of average density by right temperature" type: Real [5] plant.economizer.gasFlow.drbdX2[1,2]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by right composition" type: Real [5,5] plant.economizer.gasFlow.drbdX2[1,3]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by right composition" type: Real [5,5] plant.economizer.gasFlow.drbdX2[1,1]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by right composition" type: Real [5,5] plant.economizer.gasFlow.drbdX2[1,4]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by right composition" type: Real [5,5] plant.economizer.gasFlow.drbdX2[1,5]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by right composition" type: Real [5,5] plant.superheater.gasFlow.drbdX2[1,5]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by right composition" type: Real [6,5] plant.superheater.gasFlow.drbdT1[3]:VARIABLE(unit = "kg/(m3.K)" protected = true ) "Derivative of average density by left temperature" type: Real [6] plant.superheater.gasFlow.drbdX1[3,1]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [6,5] plant.superheater.gasFlow.drbdX1[3,2]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [6,5] plant.superheater.gasFlow.drbdX1[3,4]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [6,5] plant.superheater.gasFlow.drbdX1[3,5]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [6,5] plant.superheater.gasFlow.drbdT1[4]:VARIABLE(unit = "kg/(m3.K)" protected = true ) "Derivative of average density by left temperature" type: Real [6] plant.superheater.gasFlow.drbdX1[4,1]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [6,5] plant.superheater.gasFlow.drbdX1[4,2]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [6,5] plant.superheater.gasFlow.drbdX1[4,3]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [6,5] plant.superheater.gasFlow.drbdX1[4,4]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [6,5] plant.superheater.gasFlow.drbdX1[4,5]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [6,5] plant.evaporator.gasFlow.drbdT1[3]:VARIABLE(unit = "kg/(m3.K)" protected = true ) "Derivative of average density by left temperature" type: Real [3] plant.evaporator.gasFlow.drbdX1[3,1]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [3,5] plant.evaporator.gasFlow.drbdX1[3,2]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [3,5] plant.evaporator.gasFlow.drbdX1[3,3]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [3,5] plant.evaporator.gasFlow.drbdX1[3,4]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [3,5] plant.evaporator.gasFlow.drbdX1[3,5]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [3,5] plant.economizer.gasFlow.drbdT1[3]:VARIABLE(unit = "kg/(m3.K)" protected = true ) "Derivative of average density by left temperature" type: Real [5] plant.economizer.gasFlow.drbdX1[3,1]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [5,5] plant.economizer.gasFlow.drbdX1[3,2]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [5,5] plant.economizer.gasFlow.drbdX1[3,3]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [5,5] plant.economizer.gasFlow.drbdX1[3,4]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [5,5] plant.economizer.gasFlow.drbdX1[3,5]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [5,5] plant.economizer.gasFlow.drbdT1[4]:VARIABLE(unit = "kg/(m3.K)" protected = true ) "Derivative of average density by left temperature" type: Real [5] plant.economizer.gasFlow.drbdX1[4,2]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [5,5] plant.economizer.gasFlow.drbdX1[4,3]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [5,5] plant.economizer.gasFlow.drbdX1[4,4]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [5,5] plant.economizer.gasFlow.drbdX1[4,1]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [5,5] plant.economizer.gasFlow.drbdX1[4,5]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [5,5] plant.economizer.gasFlow.drbdT1[5]:VARIABLE(unit = "kg/(m3.K)" protected = true ) "Derivative of average density by left temperature" type: Real [5] plant.economizer.gasFlow.drbdX1[5,1]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [5,5] plant.economizer.gasFlow.drbdX1[5,2]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [5,5] plant.economizer.gasFlow.drbdX1[5,3]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [5,5] plant.economizer.gasFlow.drbdX1[5,4]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [5,5] plant.economizer.gasFlow.drbdX1[5,5]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [5,5] plant.superheater.gasFlow.drbdT1[5]:VARIABLE(unit = "kg/(m3.K)" protected = true ) "Derivative of average density by left temperature" type: Real [6] plant.superheater.gasFlow.drbdX1[5,1]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [6,5] plant.superheater.gasFlow.drbdX1[5,2]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [6,5] plant.superheater.gasFlow.drbdX1[5,3]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [6,5] plant.superheater.gasFlow.drbdX1[5,5]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [6,5] plant.superheater.gasFlow.drbdX1[5,4]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [6,5] plant.superheater.gasFlow.drbdT1[6]:VARIABLE(unit = "kg/(m3.K)" protected = true ) "Derivative of average density by left temperature" type: Real [6] plant.superheater.gasFlow.drbdX1[6,1]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [6,5] plant.superheater.gasFlow.drbdX1[6,2]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [6,5] plant.superheater.gasFlow.drbdX1[6,3]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [6,5] plant.superheater.gasFlow.drbdX1[6,4]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [6,5] plant.superheater.gasFlow.drbdX1[6,5]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [6,5] plant.superheater.gasFlow.drbdX1[3,3]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [6,5] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 89 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (371): * Single equations (assignments): 364 * 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 {177 472} Notification: Performance of prepare postOptimizeDAE: time 0.00293/16.6, allocations: 0.5703 MB / 7.806 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004223/16.61, allocations: 1.463 MB / 7.807 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04949/16.66, allocations: 33.26 MB / 7.84 GB, free: 101.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.502e-05/16.66, allocations: 155.9 kB / 7.84 GB, free: 101.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.421e-05/16.66, allocations: 10 kB / 7.84 GB, free: 101.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.517e-05/16.66, allocations: 42.84 kB / 7.84 GB, free: 101.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07997/16.74, allocations: 52.96 MB / 7.892 GB, free: 99.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.273e-05/16.74, allocations: 4.188 kB / 7.892 GB, free: 99.56 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01061/16.75, allocations: 1.633 MB / 7.893 GB, free: 99.51 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01572/16.77, allocations: 6.04 MB / 7.899 GB, free: 98.01 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001647/16.77, allocations: 371.7 kB / 7.899 GB, free: 97.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03994/16.81, allocations: 39.65 MB / 7.938 GB, free: 72.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/16.81, allocations: 0 / 7.938 GB, free: 72.23 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05991/16.87, allocations: 40.31 MB / 7.978 GB, free: 56.32 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006986/16.87, allocations: 3.085 MB / 7.981 GB, free: 54.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001897/16.88, allocations: 239.4 kB / 7.981 GB, free: 54.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009641/16.89, allocations: 0.9762 MB / 7.982 GB, free: 54.63 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001394/16.89, allocations: 0.5094 MB / 7.982 GB, free: 54.55 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001255/16.89, allocations: 444.8 kB / 7.983 GB, free: 54.48 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.002042/16.89, allocations: 1.592 MB / 7.984 GB, free: 53.79 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0256/16.92, allocations: 6.365 MB / 7.99 GB, free: 52.43 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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: 46 ($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,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse32.phase,$cse32.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (761): * Single equations (assignments): 719 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 23 * 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.2621/17.18, allocations: 5.753 MB / 7.996 GB, free: 104.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.07153/17.25, allocations: 38.4 MB / 8.034 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.867e-05/17.25, allocations: 15.83 kB / 8.034 GB, free: 103.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0178/17.27, allocations: 14.33 MB / 8.048 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01054/17.28, allocations: 2.152 MB / 8.05 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04969/17.33, allocations: 28.2 MB / 8.077 GB, free: 99.61 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009604/17.34, allocations: 6.364 MB / 8.083 GB, free: 98.72 MB / 0.6823 GB Notification: Performance of SimCode: time 5.81e-07/17.34, allocations: 0 / 8.083 GB, free: 98.72 MB / 0.6823 GB Notification: Performance of Templates: time 0.939/18.28, allocations: 410.7 MB / 8.484 GB, free: 80.81 MB / 0.6823 GB make -j1 -f ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop.makefile (rm -f ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop.pipe ; mkfifo ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop.pipe >> ../files/ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop.sim & ./ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop.pipe 2>&1)