Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Fluid_Examples_DrumBoiler_DrumBoiler",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.029/2.029, allocations: 171.3 MB / 178.8 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.49e-05/2.507e-05, allocations: 4 kB / 219.6 MB, free: 7.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2835, allocations: 38.75 MB / 258.3 MB, free: 12.16 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.742/8.026, allocations: 2.56 GB / 2.812 GB, free: 72.31 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/8.026, allocations: 85.58 kB / 2.812 GB, free: 72.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.36/10.39, allocations: 477.9 MB / 3.279 GB, free: 14.87 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/10.39, allocations: 0 / 3.279 GB, free: 14.87 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.472e-05/10.39, allocations: 12 kB / 3.279 GB, free: 14.86 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 147 * Number of variables: 147 Notification: Performance of Generate backend data structure: time 0.006844/10.39, allocations: 1.795 MB / 3.28 GB, free: 13.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/10.39, allocations: 12.03 kB / 3.28 GB, free: 13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002916/10.4, allocations: 231.8 kB / 3.281 GB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/10.4, allocations: 0.5041 MB / 3.281 GB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.202e-05/10.4, allocations: 20 kB / 3.281 GB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/10.4, allocations: 32 kB / 3.281 GB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001165/10.4, allocations: 478.5 kB / 3.282 GB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/10.4, allocations: 0.6484 MB / 3.282 GB, free: 11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/10.4, allocations: 0 / 3.282 GB, free: 11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.224e-05/10.4, allocations: 7.938 kB / 3.282 GB, free: 11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/10.4, allocations: 16 kB / 3.282 GB, free: 10.98 MB / 362.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.4744/10.87, allocations: 66.23 MB / 3.347 GB, free: 14.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008122/10.88, allocations: 348.2 kB / 3.347 GB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003628/10.88, allocations: 174.6 kB / 3.347 GB, free: 14.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1317/11.01, allocations: 39.97 MB / 3.387 GB, free: 22.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000712/11.01, allocations: 333 kB / 3.387 GB, free: 22.23 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005964/11.01, allocations: 65.73 kB / 3.387 GB, free: 22.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=46): time 3.136e-06/11.01, allocations: 2.078 kB / 3.387 GB, free: 22.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=54): time 0.01316/11.02, allocations: 2.25 MB / 3.389 GB, free: 21.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001443/11.02, allocations: 219.4 kB / 3.389 GB, free: 21.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005731/11.02, allocations: 377.4 kB / 3.39 GB, free: 21.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.2e-05/11.02, allocations: 27.08 kB / 3.39 GB, free: 21.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002892/11.02, allocations: 383.4 kB / 3.39 GB, free: 21.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001861/11.02, allocations: 176.6 kB / 3.39 GB, free: 21.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.089e-05/11.02, allocations: 0 / 3.39 GB, free: 21.14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/11.02, allocations: 339.6 kB / 3.391 GB, free: 20.83 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005088/11.02, allocations: 220.5 kB / 3.391 GB, free: 20.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006257/11.03, allocations: 408.6 kB / 3.391 GB, free: 20.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002219/11.03, allocations: 366.2 kB / 3.391 GB, free: 20.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/11.03, allocations: 0 / 3.391 GB, free: 20.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00364/11.03, allocations: 0.8792 MB / 3.392 GB, free: 20.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.923e-05/11.03, allocations: 68.16 kB / 3.392 GB, free: 20.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/11.03, allocations: 10.19 kB / 3.392 GB, free: 20.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001395/11.03, allocations: 254.3 kB / 3.393 GB, free: 20.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009185/11.03, allocations: 131.5 kB / 3.393 GB, free: 20.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002384/11.04, allocations: 0.8598 MB / 3.394 GB, free: 19.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/11.04, allocations: 60.64 kB / 3.394 GB, free: 19.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/11.04, allocations: 46.14 kB / 3.394 GB, free: 19.93 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.evaporator.V_v:DUMMY_DER(fixed = false ) "volume of vapour phase" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 17 ($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,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.0003803/11.04, allocations: 195.3 kB / 3.394 GB, free: 19.76 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003362/11.04, allocations: 0.7685 MB / 3.395 GB, free: 19.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/11.04, allocations: 66.42 kB / 3.395 GB, free: 19.65 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007297/11.05, allocations: 4.282 MB / 3.399 GB, free: 19.49 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.482e-05/11.05, allocations: 26.7 kB / 3.399 GB, free: 19.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/11.05, allocations: 0 / 3.399 GB, free: 19.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/11.05, allocations: 9.953 kB / 3.399 GB, free: 19.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009402/11.06, allocations: 5.976 MB / 3.405 GB, free: 18.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/11.06, allocations: 3.969 kB / 3.405 GB, free: 18.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006537/11.06, allocations: 81.86 kB / 3.405 GB, free: 18.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003306/11.06, allocations: 1.275 MB / 3.406 GB, free: 18.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/11.06, allocations: 13.5 kB / 3.406 GB, free: 18.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003395/11.07, allocations: 2.856 MB / 3.409 GB, free: 18.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/11.07, allocations: 4.062 kB / 3.409 GB, free: 18.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008123/11.07, allocations: 5.17 MB / 3.414 GB, free: 18.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00033/11.07, allocations: 163.8 kB / 3.414 GB, free: 17.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002222/11.07, allocations: 10.38 kB / 3.414 GB, free: 17.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/11.08, allocations: 50.97 kB / 3.414 GB, free: 17.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/11.08, allocations: 51.67 kB / 3.414 GB, free: 17.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.373e-05/11.08, allocations: 26.03 kB / 3.414 GB, free: 17.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004231/11.08, allocations: 282.3 kB / 3.415 GB, free: 17.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.01e-07/11.08, allocations: 0 / 3.415 GB, free: 17.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005373/11.08, allocations: 1.15 MB / 3.416 GB, free: 17.86 MB / 410.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: 23 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.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 (49): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 7 * 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.01488/11.1, allocations: 4.29 MB / 3.42 GB, free: 16.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002344/11.1, allocations: 0.9713 MB / 3.421 GB, free: 16.81 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/11.1, allocations: 0 / 3.421 GB, free: 16.81 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001381/11.1, allocations: 0.7273 MB / 3.421 GB, free: 16.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001909/11.1, allocations: 207.9 kB / 3.422 GB, free: 16.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00695/11.11, allocations: 1.969 MB / 3.424 GB, free: 16.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000654/11.11, allocations: 1.021 MB / 3.425 GB, free: 15.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000563/11.11, allocations: 340.7 kB / 3.425 GB, free: 15.44 MB / 410.7 MB Notification: Performance of SimCode: time 1.443e-06/11.11, allocations: 4 kB / 3.425 GB, free: 15.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.023/15.13, allocations: 39.59 MB / 3.464 GB, free: 71.43 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler_res.mat does not exist to compare? outputFormat=mat