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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001741/0.001741, allocations: 172 kB / 8.343 MB, free: 0.7422 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.998/1.998, allocations: 205.3 MB / 214.1 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 82.7 kB / 262.1 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3927/0.3927, allocations: 48.79 MB / 358.8 MB, free: 10.88 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.436e-05/2.438e-05, allocations: 0 / 425.3 MB, free: 22.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1459, allocations: 60.26 MB / 485.6 MB, free: 9.996 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.12/10.26, allocations: 3.838 GB / 4.312 GB, free: 46.84 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/10.26, allocations: 95.89 kB / 4.312 GB, free: 46.75 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 - DAE generated: time 9.327/19.59, allocations: 2.684 GB / 6.997 GB, free: 16.78 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.513e-06/19.59, allocations: 5.031 kB / 6.997 GB, free: 16.77 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0005744/19.59, allocations: 211.6 kB / 6.997 GB, free: 16.74 MB / 0.6355 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.04026/19.63, allocations: 11.1 MB / 7.008 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/19.63, allocations: 8.031 kB / 7.008 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03104/19.66, allocations: 5.635 MB / 7.013 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0237/19.69, allocations: 8.775 MB / 7.022 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006759/19.69, allocations: 411.2 kB / 7.022 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005658/19.69, allocations: 0.5762 MB / 7.023 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.4671/20.16, allocations: 20.55 MB / 7.043 GB, free: 39.22 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0515/20.21, allocations: 18.74 MB / 7.061 GB, free: 38.54 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000362/20.21, allocations: 4.781 kB / 7.061 GB, free: 38.54 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005027/20.22, allocations: 15.44 kB / 7.061 GB, free: 38.54 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005517/20.22, allocations: 0.5028 MB / 7.062 GB, free: 38.52 MB / 0.6511 GB Warning: The model contains alias variables with conflicting start and/or 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.2151/20.43, allocations: 127.7 MB / 7.186 GB, free: 32.84 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02192/20.45, allocations: 15.76 MB / 7.202 GB, free: 31.68 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01475/20.47, allocations: 9.775 MB / 7.211 GB, free: 31.59 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6661/21.13, allocations: 130.3 MB / 7.338 GB, free: 138.8 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/21.13, allocations: 167.3 kB / 7.339 GB, free: 138.7 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=825): time 1.101e-05/21.13, allocations: 0 / 7.339 GB, free: 138.7 MB / 0.7448 GB Notification: Performance of matching and sorting (n=845): time 0.1315/21.27, allocations: 52.83 MB / 7.39 GB, free: 137.1 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.964e-05/21.27, allocations: 246.3 kB / 7.39 GB, free: 136.9 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003383/21.27, allocations: 2.147 MB / 7.393 GB, free: 136.7 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.002992/21.27, allocations: 40.05 kB / 7.393 GB, free: 136.7 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001692/21.27, allocations: 2.939 MB / 7.395 GB, free: 135.7 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.004295/21.28, allocations: 2.85 MB / 7.398 GB, free: 133.9 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001327/21.28, allocations: 0 / 7.398 GB, free: 133.9 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0005573/21.28, allocations: 0.6311 MB / 7.399 GB, free: 133.6 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01238/21.29, allocations: 9.111 MB / 7.408 GB, free: 133.6 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0135/21.31, allocations: 10.3 MB / 7.418 GB, free: 132.5 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3705/21.68, allocations: 117.9 MB / 7.533 GB, free: 119.5 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.148e-05/21.68, allocations: 8.562 kB / 7.533 GB, free: 119.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1018) (initialization): time 0.05635/21.73, allocations: 32.18 MB / 7.564 GB, free: 96.89 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.001359/21.73, allocations: 8.473 MB / 7.573 GB, free: 87.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.444e-05/21.74, allocations: 20.75 kB / 7.573 GB, free: 87.81 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.771/22.51, allocations: 107.6 MB / 7.678 GB, free: 131.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003963/22.51, allocations: 0.7293 MB / 7.678 GB, free: 131.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09838/22.61, allocations: 47.53 MB / 7.725 GB, free: 126.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01453/22.62, allocations: 1.401 MB / 7.726 GB, free: 126.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003704/22.63, allocations: 0.5074 MB / 7.727 GB, free: 126.5 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/22.63, allocations: 7.469 kB / 7.727 GB, free: 126.5 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0696/22.7, allocations: 31.39 MB / 7.757 GB, free: 122.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001071/22.7, allocations: 24.22 kB / 7.757 GB, free: 122.1 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1052/22.8, allocations: 38.13 MB / 7.795 GB, free: 101.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005175/22.81, allocations: 0.9818 MB / 7.796 GB, free: 100.6 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06417/22.87, allocations: 42.61 MB / 7.837 GB, free: 69.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.4621/23.33, allocations: 1.355 MB / 7.839 GB, free: 133.9 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003363/23.34, allocations: 0.4908 MB / 7.839 GB, free: 133.9 MB / 0.7448 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.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,1]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by right composition" type: Real [3,5] 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.economizer.gasFlow.drbdT2[5]:VARIABLE(unit = "kg/(m3.K)" protected = true ) "Derivative of average density by right temperature" type: Real [5] plant.economizer.gasFlow.drbdp[5]:VARIABLE(unit = "s2/m2" protected = true ) "Derivative of average density by pressure" 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.evaporator.gasFlow.drbdX2[3,5]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by right composition" type: Real [3,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.superheater.gasFlow.drbdX2[1,5]: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,1]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by right composition" type: Real [3,5] 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,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,1]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by right composition" type: Real [5,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,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.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,3]: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,4]: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,1]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [5,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[3,5]: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[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[4,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.drbdX1[3,4]: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.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,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.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.drbdX1[5,5]: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] 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 (367): * Single equations (assignments): 360 * 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 {178 471} Notification: Performance of prepare postOptimizeDAE: time 0.005329/23.34, allocations: 0.589 MB / 7.84 GB, free: 133.7 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002678/23.34, allocations: 0.5321 MB / 7.84 GB, free: 133.7 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0723/23.42, allocations: 45.72 MB / 7.885 GB, free: 133 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001507/23.42, allocations: 140.2 kB / 7.885 GB, free: 133 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-05/23.42, allocations: 7.062 kB / 7.885 GB, free: 133 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001911/23.42, allocations: 42.42 kB / 7.885 GB, free: 133 MB / 0.7448 GB Warning: The model contains alias variables with conflicting start and/or 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.1119/23.53, allocations: 71.89 MB / 7.955 GB, free: 128.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.635e-05/23.53, allocations: 1.531 kB / 7.955 GB, free: 128.4 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01345/23.54, allocations: 1.917 MB / 7.957 GB, free: 128.3 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01862/23.56, allocations: 7.27 MB / 7.964 GB, free: 126.5 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003/23.56, allocations: 415 kB / 7.965 GB, free: 126.3 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04386/23.61, allocations: 42.49 MB / 8.006 GB, free: 98.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/23.61, allocations: 3.188 kB / 8.006 GB, free: 98.92 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07101/23.68, allocations: 40.14 MB / 8.045 GB, free: 82.57 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01097/23.69, allocations: 3.016 MB / 8.048 GB, free: 81.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004228/23.69, allocations: 239.9 kB / 8.048 GB, free: 80.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0146/23.71, allocations: 1.104 MB / 8.049 GB, free: 80.93 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004145/23.71, allocations: 0.65 MB / 8.05 GB, free: 80.83 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003563/23.72, allocations: 497.5 kB / 8.051 GB, free: 80.74 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002734/23.72, allocations: 1.571 MB / 8.052 GB, free: 79.32 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.91e-07/23.72, allocations: 0 / 8.052 GB, free: 79.32 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.04156/23.76, allocations: 6.507 MB / 8.058 GB, free: 73.12 MB / 0.7448 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: 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,$cse24.phase,$cse24.region,$cse26.phase,$cse26.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (750): * Single equations (assignments): 713 * 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.02027/23.78, allocations: 5.481 MB / 8.064 GB, free: 69.3 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.5651/24.35, allocations: 41.28 MB / 8.104 GB, free: 124.9 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.302e-05/24.35, allocations: 18.11 kB / 8.104 GB, free: 124.9 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.02362/24.37, allocations: 12.43 MB / 8.116 GB, free: 124.1 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0157/24.39, allocations: 2.247 MB / 8.118 GB, free: 124 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06127/24.45, allocations: 25.98 MB / 8.144 GB, free: 120.8 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01133/24.46, allocations: 5.679 MB / 8.149 GB, free: 120 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.02281/24.48, allocations: 9.907 MB / 8.159 GB, free: 119.8 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005048/24.49, allocations: 0.5731 MB / 8.16 GB, free: 119.8 MB / 0.7448 GB Notification: Performance of SimCode: time 8.51e-07/24.49, allocations: 0 / 8.16 GB, free: 119.8 MB / 0.7448 GB Notification: Performance of Templates: time 0.993/25.48, allocations: 442.6 MB / 8.592 GB, free: 32.78 MB / 0.7448 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)