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 1.754/1.754, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.224e-05/3.246e-05, allocations: 4 kB / 225.1 MB, free: 2.703 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2606, allocations: 38.77 MB / 263.8 MB, free: 9.773 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.421/7.682, allocations: 2.56 GB / 2.818 GB, free: 7.762 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/7.682, allocations: 86.95 kB / 2.818 GB, free: 7.719 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.694/10.38, allocations: 482.3 MB / 3.289 GB, free: 37.24 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/10.38, allocations: 2.938 kB / 3.289 GB, free: 37.24 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.14e-05/10.38, allocations: 15.38 kB / 3.289 GB, free: 37.24 MB / 378.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.007445/10.38, allocations: 1.799 MB / 3.291 GB, free: 36.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/10.38, allocations: 10.25 kB / 3.291 GB, free: 36.32 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003096/10.38, allocations: 111.8 kB / 3.291 GB, free: 36.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003127/10.39, allocations: 232.7 kB / 3.291 GB, free: 36.24 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001496/10.39, allocations: 0.5118 MB / 3.292 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.269e-05/10.39, allocations: 49.19 kB / 3.292 GB, free: 35.97 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/10.39, allocations: 56.09 kB / 3.292 GB, free: 35.97 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002716/10.39, allocations: 0.9042 MB / 3.293 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.108e-05/10.39, allocations: 7.406 kB / 3.293 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/10.39, allocations: 26.78 kB / 3.293 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/10.39, allocations: 18.59 kB / 3.293 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002428/10.39, allocations: 0.6764 MB / 3.293 GB, free: 35.77 MB / 378.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.006948/10.4, allocations: 4.136 MB / 3.297 GB, free: 32.92 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002097/10.4, allocations: 0.5852 MB / 3.298 GB, free: 32.85 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005366/10.4, allocations: 226.9 kB / 3.298 GB, free: 32.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1833/10.59, allocations: 55.1 MB / 3.352 GB, free: 16.67 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001819/10.59, allocations: 0.5564 MB / 3.353 GB, free: 16.52 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006486/10.59, allocations: 75.22 kB / 3.353 GB, free: 16.49 MB / 394.7 MB Notification: Performance of pre-optimization done (n=53): time 4.338e-06/10.59, allocations: 0 / 3.353 GB, free: 16.49 MB / 394.7 MB Notification: Performance of matching and sorting (n=61): time 0.0141/10.6, allocations: 2.915 MB / 3.355 GB, free: 15.76 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001723/10.6, allocations: 270.9 kB / 3.356 GB, free: 15.44 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006343/10.61, allocations: 397.7 kB / 3.356 GB, free: 15.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.883e-05/10.61, allocations: 38.58 kB / 3.356 GB, free: 15.29 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000279/10.61, allocations: 360.9 kB / 3.357 GB, free: 15.05 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/10.61, allocations: 205.2 kB / 3.357 GB, free: 14.92 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.836e-05/10.61, allocations: 11.34 kB / 3.357 GB, free: 14.92 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/10.61, allocations: 343.4 kB / 3.357 GB, free: 14.61 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006127/10.61, allocations: 231.8 kB / 3.357 GB, free: 14.6 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007731/10.61, allocations: 425.9 kB / 3.358 GB, free: 14.39 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007593/10.61, allocations: 342.4 kB / 3.358 GB, free: 14.31 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/10.61, allocations: 0 / 3.358 GB, free: 14.31 MB / 394.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002381/10.61, allocations: 0.9017 MB / 3.359 GB, free: 14.17 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.787e-05/10.61, allocations: 70.42 kB / 3.359 GB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/10.61, allocations: 2.375 kB / 3.359 GB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006446/10.62, allocations: 340.9 kB / 3.359 GB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009724/10.62, allocations: 138.1 kB / 3.359 GB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001691/10.62, allocations: 0.8014 MB / 3.36 GB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/10.62, allocations: 65.12 kB / 3.36 GB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/10.62, allocations: 46.95 kB / 3.36 GB, free: 13.57 MB / 394.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: 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.0003445/10.62, allocations: 221.5 kB / 3.36 GB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/10.62, allocations: 67.16 kB / 3.361 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007735/10.63, allocations: 4.859 MB / 3.365 GB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.58e-05/10.63, allocations: 32.28 kB / 3.365 GB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-06/10.63, allocations: 3.938 kB / 3.365 GB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.785e-05/10.63, allocations: 3.188 kB / 3.365 GB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01029/10.64, allocations: 6.719 MB / 3.372 GB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-05/10.64, allocations: 3.5 kB / 3.372 GB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007824/10.64, allocations: 99.34 kB / 3.372 GB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003577/10.64, allocations: 1.28 MB / 3.373 GB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001654/10.64, allocations: 23.56 kB / 3.373 GB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002984/10.65, allocations: 2.423 MB / 3.376 GB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/10.65, allocations: 5.938 kB / 3.376 GB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009185/10.66, allocations: 5.706 MB / 3.381 GB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004581/10.66, allocations: 237.3 kB / 3.381 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002837/10.66, allocations: 14.81 kB / 3.381 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/10.66, allocations: 72.34 kB / 3.382 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/10.66, allocations: 50.14 kB / 3.382 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-05/10.66, allocations: 33.19 kB / 3.382 GB, free: 11.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007749/10.66, allocations: 456.4 kB / 3.382 GB, free: 11.06 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.31e-07/10.66, allocations: 0 / 3.382 GB, free: 11.06 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006091/10.67, allocations: 1.202 MB / 3.383 GB, free: 10.9 MB / 394.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: 25 ($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,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 (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.01687/10.68, allocations: 4.67 MB / 3.388 GB, free: 25.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002716/10.69, allocations: 1.042 MB / 3.389 GB, free: 24.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/10.69, allocations: 0 / 3.389 GB, free: 24.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001812/10.69, allocations: 0.8093 MB / 3.39 GB, free: 23.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00269/10.69, allocations: 287.6 kB / 3.39 GB, free: 23.19 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008097/10.7, allocations: 2.241 MB / 3.392 GB, free: 21.13 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007584/10.7, allocations: 1.085 MB / 3.393 GB, free: 20.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006647/10.7, allocations: 389.6 kB / 3.393 GB, free: 19.82 MB / 410.7 MB Notification: Performance of SimCode: time 1.543e-06/10.7, allocations: 4 kB / 3.393 GB, free: 19.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.173/14.87, allocations: 41.14 MB / 3.434 GB, free: 64.18 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