Running command: "" <> buildModelFMU(ThermoPower.Examples.HRB.Simulators.ClosedLoopSimulator,fileNamePrefix="ThermoPower_ThermoPower_Examples_HRB_Simulators_ClosedLoopSimulator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.295/2.295, allocations: 254.6 MB / 267.7 MB, free: 12.46 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.921e-05/3.931e-05, allocations: 4 kB / 330.9 MB, free: 13.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4228/0.4229, allocations: 60.24 MB / 391.1 MB, free: 4.773 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.69/11.11, allocations: 3.685 GB / 4.067 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003728/11.11, allocations: 89.58 kB / 4.067 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.837/15.95, allocations: 0.9209 GB / 4.988 GB, free: 43.55 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.074e-06/15.95, allocations: 0 / 4.988 GB, free: 43.55 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0003705/15.95, allocations: 117.4 kB / 4.988 GB, free: 43.54 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.03595/15.98, allocations: 5.91 MB / 4.994 GB, free: 41.62 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/15.98, allocations: 10.75 kB / 4.994 GB, free: 41.62 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004148/15.99, allocations: 0.7194 MB / 4.995 GB, free: 41.55 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01946/16.01, allocations: 2.076 MB / 4.997 GB, free: 41.29 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01888/16.02, allocations: 4.153 MB / 5.001 GB, free: 40.63 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007362/16.03, allocations: 391.9 kB / 5.001 GB, free: 40.62 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00413/16.03, allocations: 0.5605 MB / 5.002 GB, free: 40.6 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04796/16.08, allocations: 12.89 MB / 5.014 GB, free: 38.47 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002636/16.08, allocations: 0 / 5.014 GB, free: 38.47 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003757/16.08, allocations: 225.4 kB / 5.015 GB, free: 38.31 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003833/16.08, allocations: 281.9 kB / 5.015 GB, free: 38.27 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04824/16.13, allocations: 14.83 MB / 5.029 GB, free: 32.45 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.1048/16.24, allocations: 41.33 MB / 5.07 GB, free: 14.93 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5141/16.75, allocations: 21.77 MB / 5.091 GB, free: 47.69 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01326/16.76, allocations: 4.855 MB / 5.096 GB, free: 47.65 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3636/17.13, allocations: 113 MB / 5.206 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/17.13, allocations: 108.3 kB / 5.206 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=592): time 9.888e-06/17.13, allocations: 0.5625 kB / 5.206 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=593): time 0.1256/17.25, allocations: 27.74 MB / 5.233 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/17.25, allocations: 137.3 kB / 5.233 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003277/17.26, allocations: 1.436 MB / 5.235 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.002657/17.26, allocations: 143.4 kB / 5.235 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001368/17.26, allocations: 1.407 MB / 5.236 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.004578/17.26, allocations: 2.062 MB / 5.238 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002325/17.27, allocations: 104.6 kB / 5.238 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0006976/17.27, allocations: 0.5184 MB / 5.239 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0136/17.28, allocations: 4.995 MB / 5.244 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01481/17.3, allocations: 5.594 MB / 5.249 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01509/17.31, allocations: 5.633 MB / 5.255 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.193e-05/17.31, allocations: 5.781 kB / 5.255 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=678) (initialization): time 0.05509/17.37, allocations: 16.79 MB / 5.271 GB, free: 19.94 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001313/17.37, allocations: 3.251 MB / 5.274 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-05/17.37, allocations: 7.594 kB / 5.274 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3185/17.69, allocations: 30.13 MB / 5.304 GB, free: 0.6484 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003723/17.69, allocations: 420.7 kB / 5.304 GB, free: 324 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5274/18.22, allocations: 22.43 MB / 5.326 GB, free: 106.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0119/18.23, allocations: 0.6767 MB / 5.327 GB, free: 106.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00265/18.23, allocations: 347.1 kB / 5.327 GB, free: 106.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/18.23, allocations: 4.406 kB / 5.327 GB, free: 106.6 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0522/18.28, allocations: 15.94 MB / 5.343 GB, free: 106.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-05/18.28, allocations: 9.625 kB / 5.343 GB, free: 106.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2504/18.53, allocations: 22.79 MB / 5.365 GB, free: 106.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004548/18.54, allocations: 0.5066 MB / 5.365 GB, free: 106.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05839/18.6, allocations: 21.01 MB / 5.386 GB, free: 103.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01165/18.61, allocations: 0.6665 MB / 5.387 GB, free: 103.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002672/18.61, allocations: 342.6 kB / 5.387 GB, free: 103.9 MB / 0.6198 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.004563/18.62, allocations: 376.7 kB / 5.387 GB, free: 103.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00314/18.62, allocations: 346.8 kB / 5.388 GB, free: 103.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07922/18.7, allocations: 33.73 MB / 5.421 GB, free: 92.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00013/18.7, allocations: 88.61 kB / 5.421 GB, free: 92.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.808e-05/18.7, allocations: 19.06 kB / 5.421 GB, free: 92.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001884/18.7, allocations: 33.67 kB / 5.421 GB, free: 92.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1174/18.82, allocations: 51.56 MB / 5.471 GB, free: 62.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001253/18.82, allocations: 2.219 kB / 5.471 GB, free: 62.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01784/18.84, allocations: 1.155 MB / 5.472 GB, free: 62.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0362/18.87, allocations: 4.559 MB / 5.477 GB, free: 58.79 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002744/18.87, allocations: 270 kB / 5.477 GB, free: 58.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5491/19.42, allocations: 51.09 MB / 5.527 GB, free: 100.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/19.42, allocations: 0 / 5.527 GB, free: 100.4 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09176/19.52, allocations: 20.32 MB / 5.547 GB, free: 99.76 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009544/19.52, allocations: 1.707 MB / 5.548 GB, free: 99.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003947/19.53, allocations: 202.5 kB / 5.548 GB, free: 99.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01506/19.54, allocations: 0.5438 MB / 5.549 GB, free: 99.67 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004333/19.55, allocations: 462.1 kB / 5.549 GB, free: 99.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003032/19.55, allocations: 261.6 kB / 5.55 GB, free: 99.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.003739/19.56, allocations: 1.149 MB / 5.551 GB, free: 99.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.52e-07/19.56, allocations: 0 / 5.551 GB, free: 99.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.03012/19.59, allocations: 4.112 MB / 5.555 GB, free: 99.54 MB / 0.6198 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.08266/19.67, allocations: 23.65 MB / 5.578 GB, free: 98.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.07432/19.74, allocations: 19.42 MB / 5.597 GB, free: 97.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-05/19.74, allocations: 5.656 kB / 5.597 GB, free: 97.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.02537/19.77, allocations: 8.919 MB / 5.606 GB, free: 95.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01752/19.79, allocations: 1.896 MB / 5.607 GB, free: 95.29 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05524/19.84, allocations: 16.3 MB / 5.623 GB, free: 90.08 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007204/19.85, allocations: 3.549 MB / 5.627 GB, free: 88.69 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.01381/19.86, allocations: 1.864 MB / 5.629 GB, free: 88.47 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007546/19.87, allocations: 1.983 MB / 5.631 GB, free: 86.91 MB / 0.6198 GB Notification: Performance of SimCode: time 1.382e-06/19.87, allocations: 0 / 5.631 GB, free: 86.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.632/21.5, allocations: 354 MB / 5.976 GB, free: 103.4 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002359/21.5, allocations: 189.2 kB / 5.976 GB, free: 103.1 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.11/36.61, allocations: 2.281 kB / 5.976 GB, free: 103.1 MB / 0.6355 GB