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: "" <> buildModelFMU(ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop,fileNamePrefix="ThermoPower_ThermoPower_Examples_RankineCycle_Simulators_ClosedLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop,fileNamePrefix="ThermoPower_ThermoPower_Examples_RankineCycle_Simulators_ClosedLoop",fmuType="me",version="2.0",platforms={"static"}) [: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.001071/0.001071, allocations: 183.9 kB / 8.135 MB, free: 2.219 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.002/1.002, 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.0008282/0.0008282, allocations: 95.5 kB / 261.8 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2759/0.2759, allocations: 48.75 MB / 358.4 MB, free: 53.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09038/0.3664, allocations: 66.38 MB / 424.8 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.092/0.4584, allocations: 60.25 MB / 485.1 MB, free: 11.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.272/5.73, allocations: 3.838 GB / 4.312 GB, free: 30.19 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002081/5.731, allocations: 95.16 kB / 4.312 GB, free: 30.1 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: 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 7.499/13.23, allocations: 2.715 GB / 7.027 GB, free: 44.36 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/13.23, allocations: 7.906 kB / 7.027 GB, free: 44.36 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03051/13.26, allocations: 5.659 MB / 7.032 GB, free: 43.88 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02284/13.28, allocations: 8.689 MB / 7.041 GB, free: 43 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005303/13.28, allocations: 414.6 kB / 7.041 GB, free: 42.95 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00453/13.29, allocations: 0.5777 MB / 7.042 GB, free: 42.93 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03427/13.32, allocations: 21.16 MB / 7.063 GB, free: 42.88 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04043/13.36, allocations: 19.27 MB / 7.081 GB, free: 42.19 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003256/13.36, allocations: 9.516 kB / 7.081 GB, free: 42.19 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004073/13.37, allocations: 14.53 kB / 7.081 GB, free: 42.19 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003609/13.37, allocations: 0.5143 MB / 7.082 GB, free: 42.17 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2101/13.58, allocations: 133.2 MB / 7.212 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01938/13.6, allocations: 14.03 MB / 7.226 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01547/13.61, allocations: 9.93 MB / 7.235 GB, free: 3.32 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4607/14.07, allocations: 130.3 MB / 7.363 GB, free: 73.76 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.706e-05/14.07, allocations: 162.8 kB / 7.363 GB, free: 73.71 MB / 0.698 GB Notification: Performance of pre-optimization done (n=829): time 9.107e-06/14.07, allocations: 0 / 7.363 GB, free: 73.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=849): time 0.1044/14.18, allocations: 51.34 MB / 7.413 GB, free: 72.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.42e-05/14.18, allocations: 242.1 kB / 7.413 GB, free: 71.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003892/14.18, allocations: 2.166 MB / 7.415 GB, free: 71.67 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.002595/14.18, allocations: 41.98 kB / 7.415 GB, free: 71.64 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001145/14.19, allocations: 2.459 MB / 7.418 GB, free: 70.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.004286/14.19, allocations: 2.854 MB / 7.42 GB, free: 68.34 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001709/14.19, allocations: 0 / 7.42 GB, free: 68.34 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0005982/14.19, allocations: 0.6292 MB / 7.421 GB, free: 68.02 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01063/14.2, allocations: 8.355 MB / 7.429 GB, free: 68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0112/14.21, allocations: 9.54 MB / 7.439 GB, free: 66.92 MB / 0.698 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.3718/14.59, allocations: 95.72 MB / 7.532 GB, free: 32.94 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.441e-05/14.59, allocations: 4 kB / 7.532 GB, free: 32.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=1022) (initialization): time 0.3228/14.91, allocations: 34.06 MB / 7.565 GB, free: 115.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001008/14.91, allocations: 8.455 MB / 7.574 GB, free: 106.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.901e-05/14.91, allocations: 25.25 kB / 7.574 GB, free: 106.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3111/15.22, allocations: 87.57 MB / 7.659 GB, free: 105.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003868/15.22, allocations: 0.7204 MB / 7.66 GB, free: 105.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09345/15.32, allocations: 47.15 MB / 7.706 GB, free: 100.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01142/15.33, allocations: 1.289 MB / 7.707 GB, free: 100 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001966/15.33, allocations: 361.8 kB / 7.707 GB, free: 100 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.364e-06/15.33, allocations: 3.219 kB / 7.707 GB, free: 100 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04318/15.38, allocations: 28.08 MB / 7.735 GB, free: 99.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.477e-05/15.38, allocations: 19.41 kB / 7.735 GB, free: 99.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1001/15.48, allocations: 30.28 MB / 7.764 GB, free: 91.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005301/15.48, allocations: 0.9807 MB / 7.765 GB, free: 90.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3135/15.79, allocations: 40.14 MB / 7.805 GB, free: 115.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01105/15.81, allocations: 1.24 MB / 7.806 GB, free: 115.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001418/15.81, allocations: 348.8 kB / 7.806 GB, free: 115.2 MB / 0.698 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.002963/15.81, allocations: 0.5599 MB / 7.807 GB, free: 115 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004364/15.81, allocations: 1.464 MB / 7.808 GB, free: 115 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05665/15.87, allocations: 33.26 MB / 7.841 GB, free: 114.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001647/15.87, allocations: 150.8 kB / 7.841 GB, free: 114.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.793e-05/15.87, allocations: 10.44 kB / 7.841 GB, free: 114.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002039/15.87, allocations: 42.84 kB / 7.841 GB, free: 114.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08412/15.96, allocations: 52.98 MB / 7.893 GB, free: 112.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.098e-05/15.96, allocations: 3.625 kB / 7.893 GB, free: 112.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01177/15.97, allocations: 1.625 MB / 7.894 GB, free: 112.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01699/15.98, allocations: 6.041 MB / 7.9 GB, free: 112.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002717/15.99, allocations: 373.6 kB / 7.9 GB, free: 112.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04436/16.03, allocations: 39.65 MB / 7.939 GB, free: 94.43 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/16.03, allocations: 3.906 kB / 7.939 GB, free: 94.43 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06744/16.1, allocations: 40.31 MB / 7.978 GB, free: 78.53 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.08302/16.18, allocations: 55.08 MB / 8.032 GB, free: 50.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007323/16.19, allocations: 3.082 MB / 8.035 GB, free: 47.58 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002506/16.19, allocations: 237.5 kB / 8.036 GB, free: 47.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01085/16.2, allocations: 0.9794 MB / 8.036 GB, free: 46.79 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001589/16.2, allocations: 0.5094 MB / 8.037 GB, free: 46.51 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001589/16.21, allocations: 446.6 kB / 8.037 GB, free: 46.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.002316/16.21, allocations: 1.583 MB / 8.039 GB, free: 44.75 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.2998/16.51, allocations: 7.638 MB / 8.046 GB, free: 117.1 MB / 0.698 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.01637/16.52, allocations: 5.763 MB / 8.052 GB, free: 116.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0749/16.6, allocations: 38.39 MB / 8.09 GB, free: 115.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.289e-05/16.6, allocations: 19.36 kB / 8.09 GB, free: 115.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.02008/16.62, allocations: 14.33 MB / 8.104 GB, free: 114.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01165/16.63, allocations: 2.151 MB / 8.106 GB, free: 114.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05696/16.69, allocations: 28.3 MB / 8.133 GB, free: 111.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01114/16.7, allocations: 7.082 MB / 8.14 GB, free: 110.8 MB / 0.698 GB Notification: Performance of SimCode: time 6.01e-07/16.7, allocations: 3.094 kB / 8.14 GB, free: 110.8 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Examples_RankineCycle_Simulators_ClosedLoop_fmu --startTime=0 --stopTime=3000 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Examples_RankineCycle_Simulators_ClosedLoop.fmu > ThermoPower_ThermoPower.Examples.RankineCycle.Simulators.ClosedLoop.pipe 2>&1)