Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Fluid_Examples_DrumBoiler_DrumBoiler",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.953/1.953, allocations: 194.9 MB / 208.4 MB, free: 3.234 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.911e-05/2.92e-05, allocations: 4 kB / 255.5 MB, free: 3.086 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1031, allocations: 44.5 MB / 300 MB, free: 6.523 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.926/8.029, allocations: 2.67 GB / 2.963 GB, free: 39.06 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/8.029, allocations: 82.08 kB / 2.963 GB, free: 39.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.571/10.6, allocations: 494.3 MB / 3.446 GB, free: 25.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.615e-06/10.6, allocations: 3.281 kB / 3.446 GB, free: 25.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.523e-05/10.6, allocations: 14.12 kB / 3.446 GB, free: 25.82 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.008128/10.61, allocations: 1.844 MB / 3.448 GB, free: 24.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.224e-05/10.61, allocations: 10.48 kB / 3.448 GB, free: 24.64 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002721/10.61, allocations: 111.5 kB / 3.448 GB, free: 24.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003092/10.61, allocations: 257.2 kB / 3.448 GB, free: 24.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/10.61, allocations: 0.4978 MB / 3.448 GB, free: 23.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.843e-05/10.61, allocations: 45.31 kB / 3.448 GB, free: 23.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/10.61, allocations: 60 kB / 3.448 GB, free: 23.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002638/10.62, allocations: 0.9082 MB / 3.449 GB, free: 23.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.3e-05/10.62, allocations: 11.89 kB / 3.449 GB, free: 23.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/10.62, allocations: 35.12 kB / 3.449 GB, free: 22.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/10.62, allocations: 12 kB / 3.449 GB, free: 22.97 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002386/10.62, allocations: 0.695 MB / 3.45 GB, free: 22.38 MB / 410.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.006567/10.63, allocations: 4.153 MB / 3.454 GB, free: 18.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002105/10.63, allocations: 0.5906 MB / 3.455 GB, free: 17.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005231/10.63, allocations: 254 kB / 3.455 GB, free: 17.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5226/11.15, allocations: 55.16 MB / 3.509 GB, free: 33.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002034/11.15, allocations: 0.5647 MB / 3.509 GB, free: 32.99 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007418/11.15, allocations: 88.58 kB / 3.509 GB, free: 32.99 MB / 426.7 MB Notification: Performance of pre-optimization done (n=57): time 5.57e-06/11.15, allocations: 3.281 kB / 3.509 GB, free: 32.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=65): time 0.01479/11.17, allocations: 2.91 MB / 3.512 GB, free: 32.33 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/11.17, allocations: 275.2 kB / 3.513 GB, free: 32.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006856/11.17, allocations: 393.1 kB / 3.513 GB, free: 31.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001504/11.17, allocations: 38.45 kB / 3.513 GB, free: 31.87 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000258/11.17, allocations: 369.2 kB / 3.513 GB, free: 31.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002391/11.17, allocations: 212 kB / 3.514 GB, free: 31.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.84e-05/11.17, allocations: 10.94 kB / 3.514 GB, free: 31.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/11.17, allocations: 347.6 kB / 3.514 GB, free: 31.24 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006474/11.17, allocations: 244.7 kB / 3.514 GB, free: 31.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007585/11.17, allocations: 430.5 kB / 3.515 GB, free: 31.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007565/11.17, allocations: 361 kB / 3.515 GB, free: 30.96 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/11.17, allocations: 0 / 3.515 GB, free: 30.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002354/11.18, allocations: 0.8772 MB / 3.516 GB, free: 30.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005027/11.18, allocations: 1.984 MB / 3.518 GB, free: 28.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/11.18, allocations: 6.656 kB / 3.518 GB, free: 28.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00655/11.18, allocations: 341.7 kB / 3.518 GB, free: 28.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/11.18, allocations: 132.4 kB / 3.518 GB, free: 28.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001597/11.18, allocations: 0.8043 MB / 3.519 GB, free: 28.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/11.19, allocations: 65.16 kB / 3.519 GB, free: 28.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001565/11.19, allocations: 53.73 kB / 3.519 GB, free: 28.24 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/11.19, allocations: 8.969 kB / 3.519 GB, free: 28.24 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002341/11.19, allocations: 0.8655 MB / 3.52 GB, free: 28.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/11.19, allocations: 9.969 kB / 3.52 GB, free: 28.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006396/11.2, allocations: 344.9 kB / 3.52 GB, free: 28.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009478/11.2, allocations: 124.7 kB / 3.52 GB, free: 28.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001552/11.2, allocations: 0.7972 MB / 3.521 GB, free: 27.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/11.2, allocations: 62.06 kB / 3.521 GB, free: 27.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/11.2, allocations: 45.66 kB / 3.521 GB, free: 27.62 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 19 ($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,q_F_Tab.nextEventScaled,Y_Valve_Tab.a,Y_Valve_Tab.b,Y_Valve_Tab.last,$PRE.Y_Valve_Tab.nextEvent,Y_Valve_Tab.nextEvent,Y_Valve_Tab.nextEventScaled,SteamValve.state_b.phase,SteamValve.state_a.phase,sink.state.phase,sink.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 67 * 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.0003629/11.2, allocations: 226.4 kB / 3.521 GB, free: 27.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002319/11.2, allocations: 67.59 kB / 3.522 GB, free: 27.42 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007742/11.21, allocations: 4.861 MB / 3.526 GB, free: 27.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.357e-05/11.21, allocations: 32.3 kB / 3.526 GB, free: 27.14 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/11.21, allocations: 0 / 3.526 GB, free: 27.14 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.113e-05/11.21, allocations: 6.438 kB / 3.526 GB, free: 27.13 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01032/11.22, allocations: 6.727 MB / 3.533 GB, free: 26.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.586e-05/11.22, allocations: 3.719 kB / 3.533 GB, free: 26.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008014/11.22, allocations: 90.78 kB / 3.533 GB, free: 26.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003592/11.22, allocations: 1.279 MB / 3.534 GB, free: 26.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000184/11.22, allocations: 29.7 kB / 3.534 GB, free: 26.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002854/11.23, allocations: 2.431 MB / 3.537 GB, free: 25.88 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/11.23, allocations: 1.281 kB / 3.537 GB, free: 25.88 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009123/11.23, allocations: 5.707 MB / 3.542 GB, free: 25.51 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004499/11.24, allocations: 240.1 kB / 3.542 GB, free: 25.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003139/11.24, allocations: 21.03 kB / 3.542 GB, free: 25.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/11.24, allocations: 73.94 kB / 3.542 GB, free: 25.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/11.24, allocations: 45.22 kB / 3.543 GB, free: 25.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.455e-05/11.24, allocations: 31.62 kB / 3.543 GB, free: 25.36 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007648/11.24, allocations: 457.9 kB / 3.543 GB, free: 25.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.91e-07/11.24, allocations: 0 / 3.543 GB, free: 25.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00695/11.24, allocations: 1.373 MB / 3.544 GB, free: 25.25 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (evaporator.p,evaporator.V_l,controller.x) * Number of discrete variables: 27 ($cse1.region3boundary,$cse2.region3boundary,$cse4.phase,$cse4.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$whenCondition1,$whenCondition2,pump.medium.phase,q_F_Tab.a,q_F_Tab.b,q_F_Tab.last,q_F_Tab.nextEvent,q_F_Tab.nextEventScaled,Y_Valve_Tab.a,Y_Valve_Tab.b,Y_Valve_Tab.last,Y_Valve_Tab.nextEvent,Y_Valve_Tab.nextEventScaled) * Number of discrete states: 12 (Y_Valve_Tab.nextEvent,Y_Valve_Tab.last,Y_Valve_Tab.nextEventScaled,Y_Valve_Tab.b,Y_Valve_Tab.a,$whenCondition2,q_F_Tab.nextEvent,q_F_Tab.last,q_F_Tab.nextEventScaled,q_F_Tab.b,q_F_Tab.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 8 * 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.01675/11.26, allocations: 4.682 MB / 3.549 GB, free: 24.12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00429/11.27, allocations: 1.726 MB / 3.551 GB, free: 23.86 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.866e-06/11.27, allocations: 0 / 3.551 GB, free: 23.86 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00177/11.27, allocations: 0.8601 MB / 3.551 GB, free: 23.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002765/11.27, allocations: 298.6 kB / 3.552 GB, free: 23.71 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00839/11.28, allocations: 2.285 MB / 3.554 GB, free: 23.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000581/11.28, allocations: 1.093 MB / 3.555 GB, free: 22.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006512/11.28, allocations: 388.8 kB / 3.555 GB, free: 22.49 MB / 426.7 MB Notification: Performance of SimCode: time 1.123e-06/11.28, allocations: 0 / 3.555 GB, free: 22.49 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.821/15.1, allocations: 41.6 MB / 3.596 GB, free: 18.82 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler_res.mat does not exist to compare? outputFormat=mat