Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulator.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.HRB.Simulators.ClosedLoopDigitalSimulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulator") translateModel(ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulator") [: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.001087/0.001087, allocations: 191.5 kB / 8.137 MB, free: 2.195 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.053/1.053, 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.0009303/0.0009303, allocations: 101 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.3009/0.3009, allocations: 48.76 MB / 358.5 MB, free: 53.13 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 7.093e-06/7.133e-06, allocations: 0 / 424.7 MB, free: 8.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1099, allocations: 60.25 MB / 485 MB, free: 11.81 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.38/6.49, allocations: 3.674 GB / 4.147 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/6.49, allocations: 94.72 kB / 4.147 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.601/9.091, allocations: 0.9119 GB / 5.059 GB, free: 35.12 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0004135/9.092, allocations: 111.7 kB / 5.059 GB, free: 35.11 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1372 * Number of variables: 1372 Notification: Performance of Generate backend data structure: time 0.02459/9.116, allocations: 5.999 MB / 5.065 GB, free: 33.16 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/9.116, allocations: 11.27 kB / 5.065 GB, free: 33.16 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01556/9.132, allocations: 2.073 MB / 5.067 GB, free: 32.89 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01284/9.145, allocations: 4.173 MB / 5.071 GB, free: 32.23 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000279/9.145, allocations: 167.1 kB / 5.071 GB, free: 32.23 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002664/9.148, allocations: 328.2 kB / 5.072 GB, free: 32.22 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02292/9.171, allocations: 12 MB / 5.083 GB, free: 32 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02276/9.194, allocations: 9.784 MB / 5.093 GB, free: 28.14 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002028/9.194, allocations: 5.312 kB / 5.093 GB, free: 28.14 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002281/9.196, allocations: 7.031 kB / 5.093 GB, free: 28.14 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002389/9.196, allocations: 289.8 kB / 5.093 GB, free: 28.11 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3063/9.503, allocations: 77.7 MB / 5.169 GB, free: 83.54 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009663/9.512, allocations: 8.846 MB / 5.178 GB, free: 83.45 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005498/9.518, allocations: 5.049 MB / 5.183 GB, free: 83.41 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1864/9.704, allocations: 113.1 MB / 5.293 GB, free: 44.07 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0106/9.715, allocations: 5.908 MB / 5.299 GB, free: 43.77 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=606): time 1.172e-05/9.715, allocations: 0 / 5.299 GB, free: 43.77 MB / 0.5886 GB Notification: Performance of matching and sorting (n=607): time 0.0807/9.796, allocations: 29.34 MB / 5.328 GB, free: 41.86 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002919/9.796, allocations: 482.7 kB / 5.328 GB, free: 41.35 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002779/9.799, allocations: 1.112 MB / 5.329 GB, free: 41.2 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.001898/9.801, allocations: 32.58 kB / 5.329 GB, free: 41.16 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001291/9.802, allocations: 1.233 MB / 5.33 GB, free: 40.65 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.003274/9.805, allocations: 2.033 MB / 5.332 GB, free: 39.41 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001196/9.807, allocations: 0 / 5.332 GB, free: 39.41 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0005129/9.807, allocations: 0.5192 MB / 5.333 GB, free: 39.1 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00701/9.814, allocations: 4.435 MB / 5.337 GB, free: 39.09 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007404/9.821, allocations: 5.164 MB / 5.342 GB, free: 38.51 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01349/9.835, allocations: 6.732 MB / 5.349 GB, free: 38.4 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.724e-05/9.835, allocations: 9.969 kB / 5.349 GB, free: 38.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=695) (initialization): time 0.04086/9.876, allocations: 17.19 MB / 5.366 GB, free: 26.87 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.001151/9.877, allocations: 3.39 MB / 5.369 GB, free: 23.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.844e-05/9.877, allocations: 8 kB / 5.369 GB, free: 23.25 MB / 0.5886 GB Warning: The tearing heuristic was not able to avoid discrete iteration variables because otherwise the system could not have been torn. This may lead to problems during simulation. Notification: Performance of postOpt tearingSystem (initialization): time 0.08558/9.963, allocations: 22.47 MB / 5.391 GB, free: 5.754 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001968/9.965, allocations: 388.9 kB / 5.391 GB, free: 5.445 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.239/10.2, allocations: 26.02 MB / 5.417 GB, free: 119.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006014/10.21, allocations: 0.5539 MB / 5.417 GB, free: 119.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008175/10.21, allocations: 233.9 kB / 5.417 GB, free: 119.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/10.21, allocations: 3.719 kB / 5.417 GB, free: 119.5 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03078/10.24, allocations: 15.9 MB / 5.433 GB, free: 119.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.513e-05/10.24, allocations: 8.781 kB / 5.433 GB, free: 119.3 MB / 0.5886 GB Warning: The tearing heuristic was not able to avoid discrete iteration variables because otherwise the system could not have been torn. This may lead to problems during simulation. Notification: Performance of postOpt tearingSystem (initialization): time 0.06047/10.3, allocations: 15.28 MB / 5.448 GB, free: 119.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002731/10.3, allocations: 464.2 kB / 5.448 GB, free: 119.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04145/10.35, allocations: 23.67 MB / 5.471 GB, free: 116.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005961/10.35, allocations: 0.5486 MB / 5.472 GB, free: 116.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001216/10.35, allocations: 230.8 kB / 5.472 GB, free: 116.8 MB / 0.5886 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: DigitalPI1.e_int_wind:DISCRETE(fixed = false ) "Integrated error before anti-windup filtering" type: Real Plant.Boiler.GasSide.drbdX2[10,1]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by right composition" type: Real [10,2] Plant.Boiler.GasSide.drbdT2[10]:VARIABLE(unit = "kg/(m3.K)" protected = true ) "Derivative of average density by right temperature" type: Real [10] Plant.Boiler.GasSide.drbdp[10]:VARIABLE(unit = "s2/m2" protected = true ) "Derivative of average density by pressure" type: Real [10] Plant.Boiler.GasSide.drbdX2[10,2]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by right composition" type: Real [10,2] Plant.Boiler.GasSide.drbdp[9]:VARIABLE(unit = "s2/m2" protected = true ) "Derivative of average density by pressure" type: Real [10] Plant.Boiler.GasSide.drbdp[8]:VARIABLE(unit = "s2/m2" protected = true ) "Derivative of average density by pressure" type: Real [10] Plant.Boiler.GasSide.drbdp[7]:VARIABLE(unit = "s2/m2" protected = true ) "Derivative of average density by pressure" type: Real [10] Plant.Boiler.GasSide.drbdp[6]:VARIABLE(unit = "s2/m2" protected = true ) "Derivative of average density by pressure" type: Real [10] Plant.Boiler.GasSide.drbdp[5]:VARIABLE(unit = "s2/m2" protected = true ) "Derivative of average density by pressure" type: Real [10] Plant.Boiler.GasSide.drbdp[4]:VARIABLE(unit = "s2/m2" protected = true ) "Derivative of average density by pressure" type: Real [10] Plant.Boiler.GasSide.drbdp[3]:VARIABLE(unit = "s2/m2" protected = true ) "Derivative of average density by pressure" type: Real [10] Plant.Boiler.GasSide.drbdp[2]:VARIABLE(unit = "s2/m2" protected = true ) "Derivative of average density by pressure" type: Real [10] Plant.Boiler.GasSide.drbdp[1]:VARIABLE(unit = "s2/m2" protected = true ) "Derivative of average density by pressure" type: Real [10] Plant.Boiler.GasSide.drbdX2[1,2]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by right composition" type: Real [10,2] Plant.Boiler.GasSide.drbdX2[1,1]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by right composition" type: Real [10,2] Plant.Boiler.GasSide.drbdT2[1]:VARIABLE(unit = "kg/(m3.K)" protected = true ) "Derivative of average density by right temperature" type: Real [10] Plant.Boiler.GasSide.drbdX1[10,2]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [10,2] Plant.Boiler.GasSide.drbdX1[10,1]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [10,2] Plant.Boiler.GasSide.drbdT1[10]:VARIABLE(unit = "kg/(m3.K)" protected = true ) "Derivative of average density by left temperature" type: Real [10] Plant.Boiler.GasSide.drbdX1[8,2]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [10,2] Plant.Boiler.GasSide.drbdX1[8,1]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [10,2] Plant.Boiler.GasSide.drbdX1[7,2]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [10,2] Plant.Boiler.GasSide.drbdX1[7,1]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [10,2] Plant.Boiler.GasSide.drbdX1[3,2]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [10,2] Plant.Boiler.GasSide.drbdT1[3]:VARIABLE(unit = "kg/(m3.K)" protected = true ) "Derivative of average density by left temperature" type: Real [10] Plant.Boiler.GasSide.drbdX1[4,2]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [10,2] Plant.Boiler.GasSide.drbdX1[4,1]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [10,2] Plant.Boiler.GasSide.drbdT1[4]:VARIABLE(unit = "kg/(m3.K)" protected = true ) "Derivative of average density by left temperature" type: Real [10] Plant.Boiler.GasSide.drbdX1[5,2]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [10,2] Plant.Boiler.GasSide.drbdX1[5,1]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [10,2] Plant.Boiler.GasSide.drbdX1[6,2]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [10,2] Plant.Boiler.GasSide.drbdT1[6]:VARIABLE(unit = "kg/(m3.K)" protected = true ) "Derivative of average density by left temperature" type: Real [10] Plant.Boiler.GasSide.drbdX1[6,1]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [10,2] Plant.Boiler.GasSide.drbdT1[5]:VARIABLE(unit = "kg/(m3.K)" protected = true ) "Derivative of average density by left temperature" type: Real [10] Plant.Boiler.GasSide.drbdX1[9,2]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [10,2] Plant.Boiler.GasSide.drbdX1[9,1]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [10,2] Plant.Boiler.GasSide.drbdT1[9]:VARIABLE(unit = "kg/(m3.K)" protected = true ) "Derivative of average density by left temperature" type: Real [10] Plant.Boiler.GasSide.drbdT1[8]:VARIABLE(unit = "kg/(m3.K)" protected = true ) "Derivative of average density by left temperature" type: Real [10] Plant.Boiler.GasSide.drbdT1[7]:VARIABLE(unit = "kg/(m3.K)" protected = true ) "Derivative of average density by left temperature" type: Real [10] Plant.Boiler.GasSide.drbdX1[3,1]:VARIABLE(unit = "kg/m3" protected = true ) "Derivative of average density by left composition" type: Real [10,2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 23 ($PRE.DigitalPI1.firstTrigger,DigitalPI1.firstTrigger,$whenCondition1,DigitalPI1.sampleTrigger,Plant.Boiler.WaterSide.fluidState[11].phase,Plant.Boiler.WaterSide.fluidState[10].phase,Plant.Boiler.WaterSide.fluidState[9].phase,Plant.Boiler.WaterSide.fluidState[8].phase,Plant.Boiler.WaterSide.fluidState[7].phase,Plant.Boiler.WaterSide.fluidState[6].phase,Plant.Boiler.WaterSide.fluidState[5].phase,Plant.Boiler.WaterSide.fluidState[4].phase,Plant.Boiler.WaterSide.fluidState[3].phase,Plant.Boiler.WaterSide.fluidState[2].phase,Plant.Boiler.WaterSide.fluidState[1].phase,DigitalPI1.e,$PRE.DigitalPI1.e_int,DigitalPI1.e_int,DigitalPI1.e_int_wind,DigitalPI1.CSwind,DigitalPI1.CS,Plant.WaterOut.fluidState.phase,Plant.WaterIn.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {97 407} Notification: Performance of prepare postOptimizeDAE: time 0.002386/10.36, allocations: 311.5 kB / 5.473 GB, free: 116.7 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003275/10.36, allocations: 0.9239 MB / 5.473 GB, free: 116.7 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03935/10.4, allocations: 19.61 MB / 5.493 GB, free: 116.1 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001133/10.4, allocations: 92.53 kB / 5.493 GB, free: 116.1 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.034e-05/10.4, allocations: 19.09 kB / 5.493 GB, free: 116.1 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001521/10.4, allocations: 31.95 kB / 5.493 GB, free: 116.1 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05345/10.45, allocations: 29.49 MB / 5.522 GB, free: 106.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.35e-05/10.45, allocations: 0 / 5.522 GB, free: 106.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006319/10.46, allocations: 1.025 MB / 5.523 GB, free: 106.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01489/10.47, allocations: 4.574 MB / 5.527 GB, free: 105.5 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001525/10.48, allocations: 216 kB / 5.527 GB, free: 105.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04325/10.52, allocations: 48.23 MB / 5.574 GB, free: 67.97 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/10.52, allocations: 2.609 kB / 5.574 GB, free: 67.97 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05021/10.57, allocations: 24.54 MB / 5.598 GB, free: 57.29 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.1773/10.75, allocations: 1.694 MB / 5.6 GB, free: 116.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001042/10.75, allocations: 114.2 kB / 5.6 GB, free: 116.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004595/10.75, allocations: 431.1 kB / 5.6 GB, free: 116.8 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007652/10.75, allocations: 364.5 kB / 5.601 GB, free: 116.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006311/10.75, allocations: 262 kB / 5.601 GB, free: 116.8 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0009669/10.75, allocations: 0.8223 MB / 5.602 GB, free: 116.7 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0109/10.77, allocations: 3.736 MB / 5.605 GB, free: 116.7 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 40 (Plant.Boiler.WaterSide.p,Plant.Boiler.WaterSide.htilde[1],Plant.Boiler.WaterSide.htilde[2],Plant.Boiler.WaterSide.htilde[3],Plant.Boiler.WaterSide.htilde[4],Plant.Boiler.WaterSide.htilde[5],Plant.Boiler.WaterSide.htilde[6],Plant.Boiler.WaterSide.htilde[7],Plant.Boiler.WaterSide.htilde[8],Plant.Boiler.WaterSide.htilde[9],Plant.Boiler.WaterSide.htilde[10],Plant.Boiler.TubeWalls.Tvol[1],Plant.Boiler.TubeWalls.Tvol[2],Plant.Boiler.TubeWalls.Tvol[3],Plant.Boiler.TubeWalls.Tvol[4],Plant.Boiler.TubeWalls.Tvol[5],Plant.Boiler.TubeWalls.Tvol[6],Plant.Boiler.TubeWalls.Tvol[7],Plant.Boiler.TubeWalls.Tvol[8],Plant.Boiler.TubeWalls.Tvol[9],Plant.Boiler.TubeWalls.Tvol[10],Plant.Boiler.GasSide.Ttilde[1],Plant.Boiler.GasSide.Ttilde[2],Plant.Boiler.GasSide.Ttilde[3],Plant.Boiler.GasSide.Ttilde[4],Plant.Boiler.GasSide.Ttilde[5],Plant.Boiler.GasSide.Ttilde[6],Plant.Boiler.GasSide.Ttilde[7],Plant.Boiler.GasSide.Ttilde[8],Plant.Boiler.GasSide.Ttilde[9],Plant.Boiler.GasSide.Ttilde[10],Plant.Boiler.GasSide.Xtilde[1,1],Plant.Boiler.GasSide.Xtilde[1,2],Plant.Boiler.GasSide.p,Plant.GasFlowActuator.y,Plant.WaterOutTSensor.y,Plant.GasInTSensor.y,Plant.GasOutTSensor.y,Plant.ValveOpeningActuator.y,Plant.WaterInTSensor.y) * Number of discrete variables: 30 (DigitalPI1.sampleTrigger,$cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.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,$whenCondition1,DigitalPI1.firstTrigger,DigitalPI1.e,DigitalPI1.e_int,DigitalPI1.e_int_wind,DigitalPI1.CSwind,DigitalPI1.CS) * Number of discrete states: 1 (DigitalPI1.e_int) * Top-level inputs: 0 Notification: Strong component statistics for simulation (542): * Single equations (assignments): 499 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 22 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 22 {(11,62.8%) 20,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(11,62.8%) 20,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00764/10.77, allocations: 3.222 MB / 5.609 GB, free: 116.4 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.03809/10.81, allocations: 21.08 MB / 5.629 GB, free: 116 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/10.81, allocations: 7.469 kB / 5.629 GB, free: 116 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0126/10.82, allocations: 10.24 MB / 5.639 GB, free: 113.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00686/10.83, allocations: 1.44 MB / 5.641 GB, free: 113.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02356/10.85, allocations: 15.92 MB / 5.656 GB, free: 112.2 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004337/10.86, allocations: 3.914 MB / 5.66 GB, free: 111.3 MB / 0.5886 GB Notification: Performance of SimCode: time 1.432e-06/10.86, allocations: 0 / 5.66 GB, free: 111.3 MB / 0.5886 GB Notification: Performance of Templates: time 0.4269/11.29, allocations: 244.7 MB / 5.899 GB, free: 108.9 MB / 0.5886 GB make -j1 -f ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulator.makefile (rm -f ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulator.pipe ; mkfifo ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulator.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulator.pipe >> ../files/ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulator.sim & ./ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulator -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulator.pipe 2>&1)