Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler,fileNamePrefix="Modelica_3_1_cpp_Modelica_Fluid_Examples_DrumBoiler_DrumBoiler",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.031/1.031, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.293e-05/3.299e-05, allocations: 4 kB / 151.5 MB, free: 15.54 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1766, allocations: 25.15 MB / 176.6 MB, free: 15.93 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.469/4.646, allocations: 1.453 GB / 1.626 GB, free: 30.04 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002956/4.647, allocations: 73.95 kB / 1.626 GB, free: 30 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.427/7.073, allocations: 442.6 MB / 2.058 GB, free: 18.81 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.124e-06/7.073, allocations: 3.781 kB / 2.058 GB, free: 18.81 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.042e-05/7.073, allocations: 15.98 kB / 2.058 GB, free: 18.81 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.00696/7.08, allocations: 1.737 MB / 2.06 GB, free: 17.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/7.08, allocations: 9.969 kB / 2.06 GB, free: 17.86 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002622/7.081, allocations: 108.9 kB / 2.06 GB, free: 17.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002542/7.081, allocations: 83.31 kB / 2.06 GB, free: 17.78 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/7.082, allocations: 470 kB / 2.06 GB, free: 17.53 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/7.082, allocations: 76.08 kB / 2.06 GB, free: 17.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/7.082, allocations: 55.09 kB / 2.06 GB, free: 17.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/7.084, allocations: 0.748 MB / 2.061 GB, free: 17.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/7.084, allocations: 10.69 kB / 2.061 GB, free: 17.33 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-05/7.084, allocations: 21.38 kB / 2.061 GB, free: 17.33 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/7.084, allocations: 17.09 kB / 2.061 GB, free: 17.33 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001457/7.086, allocations: 0.6014 MB / 2.062 GB, free: 17.33 MB / 266.7 MB 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.09647/7.182, allocations: 30.55 MB / 2.092 GB, free: 14.98 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/7.184, allocations: 404.2 kB / 2.092 GB, free: 14.95 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006939/7.184, allocations: 200.1 kB / 2.092 GB, free: 14.94 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6571/7.842, allocations: 122 MB / 2.211 GB, free: 36.67 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001031/7.843, allocations: 400.8 kB / 2.212 GB, free: 36.54 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005231/7.843, allocations: 62.12 kB / 2.212 GB, free: 36.54 MB / 314.7 MB Notification: Performance of pre-optimization done (n=48): time 3.115e-06/7.843, allocations: 0 / 2.212 GB, free: 36.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=56): time 0.01573/7.859, allocations: 2.563 MB / 2.214 GB, free: 35.99 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.138e-05/7.859, allocations: 219 kB / 2.214 GB, free: 35.74 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005993/7.86, allocations: 380.8 kB / 2.215 GB, free: 35.63 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.041e-05/7.86, allocations: 35.98 kB / 2.215 GB, free: 35.6 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002513/7.86, allocations: 374.3 kB / 2.215 GB, free: 35.38 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001857/7.86, allocations: 181.6 kB / 2.215 GB, free: 35.29 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.303e-05/7.86, allocations: 9.438 kB / 2.215 GB, free: 35.29 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.97e-05/7.86, allocations: 342 kB / 2.216 GB, free: 34.98 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005286/7.861, allocations: 208.3 kB / 2.216 GB, free: 34.98 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006366/7.862, allocations: 383.7 kB / 2.216 GB, free: 34.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006433/7.862, allocations: 319.7 kB / 2.217 GB, free: 34.71 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/7.862, allocations: 2.312 kB / 2.217 GB, free: 34.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002003/7.864, allocations: 0.8053 MB / 2.217 GB, free: 34.58 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6e-05/7.864, allocations: 64.7 kB / 2.217 GB, free: 34.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/7.864, allocations: 11.14 kB / 2.217 GB, free: 34.51 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008836/7.873, allocations: 344.7 kB / 2.218 GB, free: 34.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/7.874, allocations: 137.9 kB / 2.218 GB, free: 34.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/7.875, allocations: 0.6796 MB / 2.219 GB, free: 33.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/7.876, allocations: 75.97 kB / 2.219 GB, free: 33.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/7.877, allocations: 33.83 kB / 2.219 GB, free: 33.97 MB / 314.7 MB Warning: Assuming fixed start value for the following 1 variables: controller.x:VARIABLE(start = controller.x_start ) "State of block" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 16 (SteamValve.state_b.phase,SteamValve.state_a.phase,$whenCondition1,$whenCondition2,pump.medium.phase,q_F_Tab.a,q_F_Tab.b,q_F_Tab.last,$PRE.q_F_Tab.nextEvent,q_F_Tab.nextEvent,Y_Valve_Tab.a,Y_Valve_Tab.b,Y_Valve_Tab.last,$PRE.Y_Valve_Tab.nextEvent,Y_Valve_Tab.nextEvent,sink.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003148/7.877, allocations: 222.5 kB / 2.219 GB, free: 33.79 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/7.877, allocations: 63.31 kB / 2.219 GB, free: 33.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004196/7.881, allocations: 1.822 MB / 2.221 GB, free: 33.56 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.827e-05/7.881, allocations: 23.33 kB / 2.221 GB, free: 33.55 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/7.881, allocations: 0 / 2.221 GB, free: 33.55 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/7.881, allocations: 3.906 kB / 2.221 GB, free: 33.55 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003903/7.885, allocations: 2.408 MB / 2.223 GB, free: 33.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/7.885, allocations: 0 / 2.223 GB, free: 33.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007699/7.886, allocations: 97.81 kB / 2.223 GB, free: 33.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004132/7.89, allocations: 414 kB / 2.224 GB, free: 33.12 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.093e-05/7.89, allocations: 25.55 kB / 2.224 GB, free: 33.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001118/7.891, allocations: 0.8086 MB / 2.224 GB, free: 32.6 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/7.891, allocations: 2.812 kB / 2.224 GB, free: 32.6 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003464/7.895, allocations: 1.997 MB / 2.226 GB, free: 32.33 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002576/7.895, allocations: 176.4 kB / 2.227 GB, free: 32.19 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001924/7.895, allocations: 19.66 kB / 2.227 GB, free: 32.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008568/7.896, allocations: 57.2 kB / 2.227 GB, free: 32.18 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/7.896, allocations: 48.72 kB / 2.227 GB, free: 32.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-05/7.897, allocations: 30.55 kB / 2.227 GB, free: 32.18 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005243/7.897, allocations: 342.2 kB / 2.227 GB, free: 32.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.51e-07/7.897, allocations: 1.219 kB / 2.227 GB, free: 32.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.005974/7.903, allocations: 1.381 MB / 2.228 GB, free: 32.03 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (evaporator.p,evaporator.V_l,controller.x) * Number of discrete variables: 18 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse13.phase,$cse16.phase,$cse17.phase,$cse17.region,$whenCondition1,$whenCondition2,pump.medium.phase,q_F_Tab.a,q_F_Tab.b,q_F_Tab.last,q_F_Tab.nextEvent,Y_Valve_Tab.a,Y_Valve_Tab.b,Y_Valve_Tab.last,Y_Valve_Tab.nextEvent) * Number of discrete states: 10 (Y_Valve_Tab.last,Y_Valve_Tab.nextEvent,Y_Valve_Tab.b,Y_Valve_Tab.a,$whenCondition2,q_F_Tab.last,q_F_Tab.nextEvent,q_F_Tab.b,q_F_Tab.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01408/7.917, allocations: 4.44 MB / 2.233 GB, free: 31.01 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002417/7.92, allocations: 0.9721 MB / 2.234 GB, free: 30.87 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/7.92, allocations: 5.5 kB / 2.234 GB, free: 30.87 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001462/7.921, allocations: 0.7445 MB / 2.234 GB, free: 30.74 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002265/7.923, allocations: 257.2 kB / 2.235 GB, free: 30.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006815/7.93, allocations: 1.951 MB / 2.237 GB, free: 30.13 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004641/7.931, allocations: 0.9915 MB / 2.238 GB, free: 29.42 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005775/7.931, allocations: 311.5 kB / 2.238 GB, free: 29.41 MB / 314.7 MB Notification: Performance of SimCode: time 1.152e-06/7.931, allocations: 0 / 2.238 GB, free: 29.41 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.155/12.09, allocations: 40.8 MB / 2.278 GB, free: 62.96 MB / 314.7 MB