Running command: translateModel(ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator") Notification: Performance of loadModel(ThermoPower): time 2.099/2.099, allocations: 254.6 MB / 267.7 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.834e-05/2.844e-05, allocations: 0 / 330.8 MB, free: 13.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3075, allocations: 60.24 MB / 391 MB, free: 4.898 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.835/9.142, allocations: 3.685 GB / 4.067 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/9.142, allocations: 91.3 kB / 4.067 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.979/13.12, allocations: 0.9209 GB / 4.988 GB, free: 41.17 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.926e-06/13.12, allocations: 0 / 4.988 GB, free: 41.17 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0003024/13.12, allocations: 115.5 kB / 4.988 GB, free: 41.16 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1369 * Number of variables: 1369 Notification: Performance of Generate backend data structure: time 0.02584/13.15, allocations: 5.893 MB / 4.994 GB, free: 39.17 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/13.15, allocations: 10.41 kB / 4.994 GB, free: 39.17 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01677/13.16, allocations: 2.075 MB / 4.996 GB, free: 38.9 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01349/13.18, allocations: 4.16 MB / 5 GB, free: 36.9 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004662/13.18, allocations: 395.1 kB / 5 GB, free: 36.72 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002907/13.18, allocations: 0.5631 MB / 5.001 GB, free: 36.52 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03583/13.22, allocations: 12.89 MB / 5.014 GB, free: 31.18 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001205/13.22, allocations: 4 kB / 5.014 GB, free: 31.18 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001398/13.22, allocations: 222.9 kB / 5.014 GB, free: 31.02 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002605/13.22, allocations: 280.3 kB / 5.014 GB, free: 30.98 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0379/13.26, allocations: 14.83 MB / 5.029 GB, free: 20.76 MB / 0.5573 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.4908/13.75, allocations: 41.21 MB / 5.069 GB, free: 54.22 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03609/13.78, allocations: 21.78 MB / 5.09 GB, free: 42.7 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01039/13.79, allocations: 4.851 MB / 5.095 GB, free: 42.66 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3062/14.1, allocations: 113 MB / 5.205 GB, free: 35.99 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001348/14.1, allocations: 110.6 kB / 5.205 GB, free: 35.94 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=592): time 1.226e-05/14.1, allocations: 0 / 5.205 GB, free: 35.94 MB / 0.6355 GB Notification: Performance of matching and sorting (n=593): time 0.08682/14.19, allocations: 27.73 MB / 5.232 GB, free: 34.29 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/14.19, allocations: 138.7 kB / 5.233 GB, free: 34.19 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002838/14.19, allocations: 1.429 MB / 5.234 GB, free: 34.02 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.001915/14.19, allocations: 145 kB / 5.234 GB, free: 33.99 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.00102/14.19, allocations: 1.405 MB / 5.235 GB, free: 33.52 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.00333/14.2, allocations: 2.064 MB / 5.237 GB, free: 32.41 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00116/14.2, allocations: 108.9 kB / 5.238 GB, free: 32.4 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000529/14.2, allocations: 0.5153 MB / 5.238 GB, free: 32.09 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01078/14.21, allocations: 4.995 MB / 5.243 GB, free: 32.07 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01186/14.22, allocations: 5.597 MB / 5.248 GB, free: 31.61 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01191/14.23, allocations: 5.63 MB / 5.254 GB, free: 31.48 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.854e-05/14.23, allocations: 0 / 5.254 GB, free: 31.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=678) (initialization): time 0.04057/14.27, allocations: 16.79 MB / 5.27 GB, free: 26.15 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.001484/14.28, allocations: 3.241 MB / 5.273 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.948e-05/14.28, allocations: 8 kB / 5.273 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2079/14.48, allocations: 30.12 MB / 5.303 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00262/14.49, allocations: 431 kB / 5.303 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4223/14.91, allocations: 22.43 MB / 5.325 GB, free: 120.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008191/14.92, allocations: 0.6732 MB / 5.326 GB, free: 120.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002266/14.92, allocations: 346.5 kB / 5.326 GB, free: 120.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/14.92, allocations: 6.375 kB / 5.326 GB, free: 120.8 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04265/14.96, allocations: 15.94 MB / 5.342 GB, free: 120.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.613e-05/14.96, allocations: 14.31 kB / 5.342 GB, free: 120.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1636/15.13, allocations: 22.78 MB / 5.364 GB, free: 120.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003395/15.13, allocations: 0.5128 MB / 5.365 GB, free: 120.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04743/15.18, allocations: 21.01 MB / 5.385 GB, free: 118 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008071/15.18, allocations: 0.6663 MB / 5.386 GB, free: 118 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002073/15.19, allocations: 348.6 kB / 5.386 GB, free: 118 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 13 (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,Plant.WaterOut.fluidState.phase,Plant.WaterIn.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 189 * 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 {36 450} Notification: Performance of prepare postOptimizeDAE: time 0.002523/15.19, allocations: 376.7 kB / 5.386 GB, free: 117.9 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0017/15.19, allocations: 348.8 kB / 5.387 GB, free: 117.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06151/15.25, allocations: 33.73 MB / 5.42 GB, free: 105.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001188/15.25, allocations: 95.25 kB / 5.42 GB, free: 105.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.683e-05/15.25, allocations: 16.62 kB / 5.42 GB, free: 105.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000144/15.25, allocations: 27.03 kB / 5.42 GB, free: 105.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08917/15.34, allocations: 51.58 MB / 5.47 GB, free: 77.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.994e-05/15.34, allocations: 0 / 5.47 GB, free: 77.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008727/15.35, allocations: 1.151 MB / 5.471 GB, free: 76.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01944/15.37, allocations: 4.558 MB / 5.476 GB, free: 73.31 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001861/15.37, allocations: 273.5 kB / 5.476 GB, free: 73.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4396/15.81, allocations: 51.08 MB / 5.526 GB, free: 114 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.067e-06/15.81, allocations: 0 / 5.526 GB, free: 114 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05478/15.87, allocations: 20.31 MB / 5.546 GB, free: 113.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005726/15.87, allocations: 1.712 MB / 5.547 GB, free: 113.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002456/15.87, allocations: 205.3 kB / 5.548 GB, free: 113.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008482/15.88, allocations: 0.5405 MB / 5.548 GB, free: 113.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002619/15.89, allocations: 461.1 kB / 5.549 GB, free: 113.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001957/15.89, allocations: 259.2 kB / 5.549 GB, free: 113.3 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002456/15.89, allocations: 1.155 MB / 5.55 GB, free: 113.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.056e-06/15.89, allocations: 0 / 5.55 GB, free: 113.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.01941/15.91, allocations: 4.119 MB / 5.554 GB, free: 113.2 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 41 (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.WaterInTSensor.y,Plant.WaterOutTSensor.y,Plant.GasInTSensor.y,Plant.GasOutTSensor.y,Plant.ValveOpeningActuator.y,TempController.x) * Number of discrete variables: 22 ($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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (528): * Single equations (assignments): 491 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 0 * 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.01283/15.92, allocations: 2.861 MB / 5.557 GB, free: 112.9 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.05796/15.98, allocations: 19.42 MB / 5.576 GB, free: 112.6 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.347e-05/15.98, allocations: 9.25 kB / 5.576 GB, free: 112.6 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.02026/16, allocations: 8.925 MB / 5.584 GB, free: 110.2 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01271/16.01, allocations: 1.889 MB / 5.586 GB, free: 110.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03433/16.05, allocations: 14.38 MB / 5.6 GB, free: 108.4 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005472/16.05, allocations: 3.542 MB / 5.604 GB, free: 107.5 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.01077/16.06, allocations: 1.865 MB / 5.606 GB, free: 107.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002633/16.07, allocations: 323.8 kB / 5.606 GB, free: 107.5 MB / 0.6355 GB Notification: Performance of SimCode: time 1.847e-06/16.07, allocations: 1.438 kB / 5.606 GB, free: 107.5 MB / 0.6355 GB Notification: Performance of Templates: time 0.8958/16.96, allocations: 305.1 MB / 5.904 GB, free: 68.5 MB / 0.6355 GB