Running command: "" <> buildModelFMU(ThermoPower.Examples.HRB.Simulators.ClosedLoopDigitalSimulator,fileNamePrefix="ThermoPower_ThermoPower_Examples_HRB_Simulators_ClosedLoopDigitalSimulator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.296/2.296, allocations: 254.6 MB / 267.6 MB, free: 12.46 MB / 218.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 4.023e-05/4.004e-05, allocations: 4 kB / 330.9 MB, free: 13.1 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4196/0.4196, allocations: 60.24 MB / 391.1 MB, free: 4.773 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.6/11.02, allocations: 3.685 GB / 4.067 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/11.02, allocations: 91.14 kB / 4.068 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.843/15.87, allocations: 0.9213 GB / 4.989 GB, free: 43.34 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.635e-06/15.87, allocations: 0 / 4.989 GB, free: 43.34 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0003769/15.87, allocations: 108.7 kB / 4.989 GB, free: 43.33 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: 1372 * Number of variables: 1372 Notification: Performance of Generate backend data structure: time 0.03699/15.9, allocations: 5.988 MB / 4.995 GB, free: 41.36 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/15.9, allocations: 11.38 kB / 4.995 GB, free: 41.36 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004571/15.91, allocations: 0.7199 MB / 4.996 GB, free: 41.29 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01965/15.93, allocations: 2.082 MB / 4.998 GB, free: 41.03 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01859/15.95, allocations: 4.167 MB / 5.002 GB, free: 40.37 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000696/15.95, allocations: 399 kB / 5.002 GB, free: 40.36 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004194/15.95, allocations: 0.5593 MB / 5.003 GB, free: 40.34 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04904/16, allocations: 12.92 MB / 5.015 GB, free: 38.23 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002391/16, allocations: 0 / 5.015 GB, free: 38.23 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003772/16, allocations: 217.6 kB / 5.015 GB, free: 38.07 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003669/16, allocations: 280.4 kB / 5.016 GB, free: 38.04 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04952/16.05, allocations: 14.85 MB / 5.03 GB, free: 32.2 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.1078/16.16, allocations: 41.49 MB / 5.071 GB, free: 14.92 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5199/16.68, allocations: 21.8 MB / 5.092 GB, free: 47.38 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01359/16.7, allocations: 4.874 MB / 5.097 GB, free: 47.35 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3654/17.06, allocations: 113 MB / 5.207 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02592/17.09, allocations: 7.287 MB / 5.214 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=597): time 1.408e-05/17.09, allocations: 0 / 5.214 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=598): time 0.1312/17.22, allocations: 28.76 MB / 5.242 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003214/17.22, allocations: 0.4937 MB / 5.243 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003459/17.22, allocations: 1.465 MB / 5.244 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.002674/17.22, allocations: 142.2 kB / 5.244 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001965/17.23, allocations: 1.441 MB / 5.246 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.004655/17.23, allocations: 2.088 MB / 5.248 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002057/17.23, allocations: 107.5 kB / 5.248 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0007175/17.23, allocations: 0.5149 MB / 5.248 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01404/17.25, allocations: 5.011 MB / 5.253 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01531/17.26, allocations: 5.73 MB / 5.259 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01587/17.28, allocations: 5.657 MB / 5.264 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.736e-05/17.28, allocations: 3.531 kB / 5.264 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=684) (initialization): time 0.06719/17.35, allocations: 17.54 MB / 5.282 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001911/17.35, allocations: 3.446 MB / 5.285 GB, free: 28.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-05/17.35, allocations: 9.172 kB / 5.285 GB, free: 28.83 MB / 0.6355 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.3282/17.68, allocations: 30.25 MB / 5.314 GB, free: 8.168 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003763/17.68, allocations: 381.9 kB / 5.315 GB, free: 7.867 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5374/18.22, allocations: 23.06 MB / 5.337 GB, free: 119.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01232/18.23, allocations: 0.6924 MB / 5.338 GB, free: 119.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002639/18.23, allocations: 354.6 kB / 5.338 GB, free: 119.9 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/18.23, allocations: 3.281 kB / 5.338 GB, free: 119.9 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05313/18.29, allocations: 16 MB / 5.354 GB, free: 119.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.77e-05/18.29, allocations: 6.531 kB / 5.354 GB, free: 119.7 MB / 0.6355 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.2506/18.54, allocations: 22.99 MB / 5.376 GB, free: 119.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004238/18.54, allocations: 482.4 kB / 5.377 GB, free: 119.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05961/18.6, allocations: 21.23 MB / 5.398 GB, free: 117.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01209/18.61, allocations: 0.6901 MB / 5.398 GB, free: 117.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002703/18.62, allocations: 351.6 kB / 5.399 GB, free: 117.2 MB / 0.6355 GB 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 (190): * Single equations (assignments): 186 * 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 {37 458} Notification: Performance of prepare postOptimizeDAE: time 0.004981/18.62, allocations: 380.3 kB / 5.399 GB, free: 117.1 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003322/18.62, allocations: 350.7 kB / 5.399 GB, free: 117.1 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08235/18.71, allocations: 33.85 MB / 5.432 GB, free: 110.3 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001462/18.71, allocations: 93.52 kB / 5.433 GB, free: 110.3 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.107e-05/18.71, allocations: 20.53 kB / 5.433 GB, free: 110.3 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002009/18.71, allocations: 28.19 kB / 5.433 GB, free: 110.3 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1749/18.88, allocations: 51.89 MB / 5.483 GB, free: 85.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001084/18.88, allocations: 0 / 5.483 GB, free: 85.96 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0134/18.9, allocations: 1.153 MB / 5.484 GB, free: 85.33 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02747/18.92, allocations: 4.555 MB / 5.489 GB, free: 82.03 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002784/18.93, allocations: 279.6 kB / 5.489 GB, free: 81.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07278/19, allocations: 51.08 MB / 5.539 GB, free: 31.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/19, allocations: 4 kB / 5.539 GB, free: 31.84 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5465/19.55, allocations: 21.34 MB / 5.56 GB, free: 115.6 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007167/19.55, allocations: 1.74 MB / 5.562 GB, free: 115.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003153/19.56, allocations: 202.1 kB / 5.562 GB, free: 115.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01194/19.57, allocations: 0.5597 MB / 5.562 GB, free: 115.5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003149/19.57, allocations: 467.5 kB / 5.563 GB, free: 115.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002278/19.57, allocations: 258.5 kB / 5.563 GB, free: 115.5 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.00277/19.58, allocations: 1.219 MB / 5.564 GB, free: 115.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.733e-06/19.58, allocations: 1.156 kB / 5.564 GB, free: 115.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.02441/19.6, allocations: 4.159 MB / 5.568 GB, free: 115.3 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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,$cse3.phase,$cse3.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,$cse13.phase,$cse13.region,$cse14.phase,$cse14.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 (533): * Single equations (assignments): 490 * 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.0854/19.69, allocations: 23.96 MB / 5.592 GB, free: 113.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.07641/19.76, allocations: 19.68 MB / 5.611 GB, free: 113.4 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.584e-05/19.76, allocations: 7.812 kB / 5.611 GB, free: 113.4 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.02595/19.79, allocations: 8.943 MB / 5.62 GB, free: 111 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01831/19.81, allocations: 1.921 MB / 5.621 GB, free: 111 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05734/19.86, allocations: 16.4 MB / 5.637 GB, free: 109 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007829/19.87, allocations: 3.584 MB / 5.641 GB, free: 108.1 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.01406/19.89, allocations: 1.875 MB / 5.643 GB, free: 107.9 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007355/19.89, allocations: 2.005 MB / 5.645 GB, free: 107.4 MB / 0.6355 GB Notification: Performance of SimCode: time 1.664e-06/19.89, allocations: 0 / 5.645 GB, free: 107.4 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.651/21.55, allocations: 357.4 MB / 5.994 GB, free: 94.8 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001969/21.55, allocations: 194.5 kB / 5.994 GB, free: 94.58 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.69/37.23, allocations: 1.969 kB / 5.994 GB, free: 94.58 MB / 0.6355 GB