Running command: "" <> buildModelFMU(ThermoPower.Examples.HRB.Simulators.OpenLoopSimulator,fileNamePrefix="ThermoPower_ThermoPower_Examples_HRB_Simulators_OpenLoopSimulator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.255/2.255, allocations: 254.6 MB / 267.6 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.08e-05/3.079e-05, allocations: 0 / 330.9 MB, free: 13.1 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.3789, allocations: 60.24 MB / 391.1 MB, free: 4.883 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.55/10.93, allocations: 3.685 GB / 4.067 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/10.93, allocations: 87 kB / 4.067 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.824/15.75, allocations: 0.9205 GB / 4.988 GB, free: 42.6 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.165e-06/15.75, allocations: 0 / 4.988 GB, free: 42.6 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0003818/15.75, allocations: 115.3 kB / 4.988 GB, free: 42.59 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: 1371 * Number of variables: 1371 Notification: Performance of Generate backend data structure: time 0.03627/15.79, allocations: 5.925 MB / 4.994 GB, free: 40.67 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/15.79, allocations: 9.75 kB / 4.994 GB, free: 40.67 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00514/15.79, allocations: 0.8374 MB / 4.995 GB, free: 40.59 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01937/15.81, allocations: 2.078 MB / 4.997 GB, free: 40.32 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0183/15.83, allocations: 4.17 MB / 5.001 GB, free: 39.66 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006841/15.83, allocations: 394.1 kB / 5.001 GB, free: 39.65 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004037/15.84, allocations: 0.5432 MB / 5.002 GB, free: 39.63 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04844/15.88, allocations: 12.91 MB / 5.014 GB, free: 38.46 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002637/15.88, allocations: 0 / 5.014 GB, free: 38.46 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003708/15.89, allocations: 220.7 kB / 5.014 GB, free: 38.3 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003718/15.89, allocations: 280.2 kB / 5.015 GB, free: 38.27 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0496/15.94, allocations: 14.85 MB / 5.029 GB, free: 32.43 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.1003/16.04, allocations: 41.41 MB / 5.07 GB, free: 0 / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5216/16.56, allocations: 21.78 MB / 5.091 GB, free: 47.95 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01331/16.57, allocations: 4.861 MB / 5.096 GB, free: 47.91 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3825/16.96, allocations: 113 MB / 5.206 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001546/16.96, allocations: 115.7 kB / 5.206 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=593): time 1.012e-05/16.96, allocations: 0 / 5.206 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=594): time 0.1273/17.08, allocations: 27.74 MB / 5.233 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/17.08, allocations: 143.2 kB / 5.233 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003555/17.09, allocations: 1.439 MB / 5.235 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.002659/17.09, allocations: 141.4 kB / 5.235 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001448/17.09, allocations: 1.417 MB / 5.236 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.004433/17.1, allocations: 2.063 MB / 5.238 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001702/17.1, allocations: 107 kB / 5.238 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0006192/17.1, allocations: 0.515 MB / 5.239 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01357/17.11, allocations: 5.042 MB / 5.244 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01561/17.13, allocations: 5.645 MB / 5.249 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01513/17.14, allocations: 5.674 MB / 5.255 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.191e-05/17.14, allocations: 3.875 kB / 5.255 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=678) (initialization): time 0.06616/17.21, allocations: 15.26 MB / 5.27 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001326/17.21, allocations: 3.282 MB / 5.273 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.334e-05/17.21, allocations: 9.812 kB / 5.273 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03132/17.24, allocations: 4.565 MB / 5.277 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01524/17.26, allocations: 1.539 MB / 5.279 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07254/17.33, allocations: 45.9 MB / 5.324 GB, free: 5.703 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01238/17.34, allocations: 0.6805 MB / 5.324 GB, free: 5.195 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002775/17.35, allocations: 351.9 kB / 5.325 GB, free: 4.93 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/17.35, allocations: 7.953 kB / 5.325 GB, free: 4.922 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5273/17.87, allocations: 13.9 MB / 5.338 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-05/17.87, allocations: 7.656 kB / 5.338 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02331/17.9, allocations: 3.352 MB / 5.342 GB, free: 132 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01457/17.91, allocations: 1.534 MB / 5.343 GB, free: 132 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07355/17.98, allocations: 47.24 MB / 5.389 GB, free: 102.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01754/18, allocations: 0.6686 MB / 5.39 GB, free: 102.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003662/18.01, allocations: 351.6 kB / 5.39 GB, free: 102.3 MB / 0.6511 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 (598): * Single equations (assignments): 572 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 21 {(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,(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: 1 {11 20} Notification: Performance of prepare postOptimizeDAE: time 0.007007/18.01, allocations: 426.1 kB / 5.391 GB, free: 102.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00473/18.02, allocations: 345.5 kB / 5.391 GB, free: 102.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1218/18.14, allocations: 33.74 MB / 5.424 GB, free: 101.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002079/18.14, allocations: 94.92 kB / 5.424 GB, free: 101.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001282/18.14, allocations: 22.06 kB / 5.424 GB, free: 101.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002214/18.14, allocations: 27.38 kB / 5.424 GB, free: 101.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1704/18.31, allocations: 51.59 MB / 5.474 GB, free: 82.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001282/18.31, allocations: 0 / 5.474 GB, free: 82.07 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01984/18.33, allocations: 1.16 MB / 5.476 GB, free: 82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04115/18.37, allocations: 4.565 MB / 5.48 GB, free: 80.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003193/18.37, allocations: 271.8 kB / 5.48 GB, free: 80.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1147/18.49, allocations: 51.06 MB / 5.53 GB, free: 40.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/18.49, allocations: 0 / 5.53 GB, free: 40.25 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5668/19.06, allocations: 20.53 MB / 5.55 GB, free: 122.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00795/19.06, allocations: 1.712 MB / 5.552 GB, free: 122.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003254/19.07, allocations: 205.7 kB / 5.552 GB, free: 122.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01212/19.08, allocations: 0.544 MB / 5.553 GB, free: 122.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003469/19.08, allocations: 464 kB / 5.553 GB, free: 122.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002695/19.09, allocations: 257.8 kB / 5.553 GB, free: 122.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.003144/19.09, allocations: 1.161 MB / 5.554 GB, free: 122.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.42e-07/19.09, allocations: 0.7656 kB / 5.554 GB, free: 122.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.02729/19.12, allocations: 4.363 MB / 5.559 GB, free: 122.7 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.WaterInTSensor.y,Plant.WaterOutTSensor.y,Plant.GasInTSensor.y,Plant.GasOutTSensor.y,Plant.ValveOpeningActuator.y) * Number of discrete variables: 22 ($cse41.phase,$cse41.region,$cse43.phase,$cse43.region,$cse44.phase,$cse44.region,$cse45.phase,$cse45.region,$cse46.phase,$cse46.region,$cse47.phase,$cse47.region,$cse48.phase,$cse48.region,$cse49.phase,$cse49.region,$cse50.phase,$cse50.region,$cse51.phase,$cse51.region,$cse52.phase,$cse52.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (529): * Single equations (assignments): 492 * 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.08648/19.2, allocations: 23.67 MB / 5.582 GB, free: 121.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.07155/19.27, allocations: 23.48 MB / 5.605 GB, free: 116.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.579e-05/19.27, allocations: 10.09 kB / 5.605 GB, free: 116.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.02641/19.3, allocations: 8.915 MB / 5.613 GB, free: 114.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0182/19.32, allocations: 1.9 MB / 5.615 GB, free: 114.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05736/19.38, allocations: 16.43 MB / 5.631 GB, free: 112.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007845/19.38, allocations: 3.615 MB / 5.635 GB, free: 111.6 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.04546/19.43, allocations: 19.86 MB / 5.654 GB, free: 111 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008484/19.44, allocations: 2.148 MB / 5.656 GB, free: 111 MB / 0.6511 GB Notification: Performance of SimCode: time 2.124e-06/19.44, allocations: 0 / 5.656 GB, free: 111 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9994/20.44, allocations: 259.2 MB / 5.909 GB, free: 103.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002209/20.44, allocations: 189.2 kB / 5.91 GB, free: 102.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.91/34.35, allocations: 0 / 5.91 GB, free: 102.9 MB / 0.6511 GB