Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler,fileNamePrefix="Modelica_3_2_1_Modelica_Fluid_Examples_DrumBoiler_DrumBoiler",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.836/1.836, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.146e-05/4.168e-05, allocations: 4 kB / 225.1 MB, free: 2.258 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2666, allocations: 38.78 MB / 263.9 MB, free: 9.715 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.572/7.839, allocations: 2.56 GB / 2.818 GB, free: 7.418 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002886/7.839, allocations: 90.12 kB / 2.818 GB, free: 7.371 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.664/10.5, allocations: 482.3 MB / 3.289 GB, free: 37.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.395e-06/10.5, allocations: 0 / 3.289 GB, free: 37.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.847e-05/10.5, allocations: 12.91 kB / 3.289 GB, free: 37.48 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.007438/10.51, allocations: 1.802 MB / 3.291 GB, free: 36.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/10.51, allocations: 9.469 kB / 3.291 GB, free: 36.59 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003521/10.51, allocations: 115.9 kB / 3.291 GB, free: 36.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00317/10.51, allocations: 231 kB / 3.291 GB, free: 36.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001568/10.52, allocations: 0.5022 MB / 3.292 GB, free: 36.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.713e-05/10.52, allocations: 49.19 kB / 3.292 GB, free: 36.24 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/10.52, allocations: 58.28 kB / 3.292 GB, free: 36.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002831/10.52, allocations: 0.9091 MB / 3.293 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.622e-05/10.52, allocations: 4.219 kB / 3.293 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/10.52, allocations: 28.5 kB / 3.293 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/10.52, allocations: 21.45 kB / 3.293 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002719/10.52, allocations: 0.6904 MB / 3.293 GB, free: 36.03 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.006856/10.53, allocations: 4.136 MB / 3.297 GB, free: 33.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002136/10.53, allocations: 0.5967 MB / 3.298 GB, free: 33.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005704/10.53, allocations: 232.3 kB / 3.298 GB, free: 33.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2189/10.75, allocations: 55.1 MB / 3.352 GB, free: 16.89 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002784/10.75, allocations: 0.5547 MB / 3.353 GB, free: 16.74 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008752/10.75, allocations: 80.08 kB / 3.353 GB, free: 16.71 MB / 394.7 MB Notification: Performance of pre-optimization done (n=53): time 4.889e-06/10.75, allocations: 7.469 kB / 3.353 GB, free: 16.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=61): time 0.01814/10.77, allocations: 2.898 MB / 3.356 GB, free: 15.99 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001892/10.77, allocations: 278.4 kB / 3.356 GB, free: 15.68 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007079/10.77, allocations: 393.5 kB / 3.356 GB, free: 15.56 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001585/10.77, allocations: 35.95 kB / 3.356 GB, free: 15.53 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002888/10.77, allocations: 329.2 kB / 3.356 GB, free: 15.35 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002252/10.77, allocations: 209.1 kB / 3.357 GB, free: 15.22 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.525e-05/10.77, allocations: 11 kB / 3.357 GB, free: 15.22 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002006/10.77, allocations: 371.4 kB / 3.357 GB, free: 14.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006203/10.77, allocations: 231.5 kB / 3.357 GB, free: 14.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007381/10.78, allocations: 425.7 kB / 3.358 GB, free: 14.69 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007531/10.78, allocations: 343.2 kB / 3.358 GB, free: 14.61 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/10.78, allocations: 3.938 kB / 3.358 GB, free: 14.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002536/10.78, allocations: 0.9464 MB / 3.359 GB, free: 14.46 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.038e-05/10.78, allocations: 73.91 kB / 3.359 GB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/10.78, allocations: 3.812 kB / 3.359 GB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006545/10.79, allocations: 342.8 kB / 3.359 GB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009852/10.79, allocations: 129.7 kB / 3.359 GB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001743/10.79, allocations: 0.8003 MB / 3.36 GB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/10.79, allocations: 66.67 kB / 3.36 GB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/10.79, allocations: 45.59 kB / 3.36 GB, free: 13.85 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.0003461/10.79, allocations: 219.4 kB / 3.361 GB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/10.79, allocations: 63.88 kB / 3.361 GB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007714/10.8, allocations: 4.881 MB / 3.365 GB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.321e-05/10.8, allocations: 36.14 kB / 3.365 GB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/10.8, allocations: 0 / 3.365 GB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.922e-05/10.8, allocations: 5.766 kB / 3.365 GB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/10.81, allocations: 6.719 MB / 3.372 GB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.51e-05/10.81, allocations: 3.438 kB / 3.372 GB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007994/10.81, allocations: 94.8 kB / 3.372 GB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003625/10.81, allocations: 1.279 MB / 3.373 GB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001764/10.81, allocations: 24.67 kB / 3.373 GB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002993/10.82, allocations: 2.428 MB / 3.376 GB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/10.82, allocations: 0 / 3.376 GB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009129/10.83, allocations: 5.708 MB / 3.381 GB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004557/10.83, allocations: 242.8 kB / 3.382 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002891/10.83, allocations: 13.69 kB / 3.382 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/10.83, allocations: 63.88 kB / 3.382 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/10.83, allocations: 54 kB / 3.382 GB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.443e-05/10.83, allocations: 26.83 kB / 3.382 GB, free: 11.44 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007852/10.83, allocations: 465.7 kB / 3.382 GB, free: 11.34 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/10.83, allocations: 0 / 3.382 GB, free: 11.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006034/10.83, allocations: 1.205 MB / 3.383 GB, free: 11.17 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.02037/10.86, allocations: 4.638 MB / 3.388 GB, free: 8.887 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003644/10.86, allocations: 1.059 MB / 3.389 GB, free: 7.883 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/10.86, allocations: 0 / 3.389 GB, free: 7.883 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002596/10.86, allocations: 0.8175 MB / 3.39 GB, free: 23.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003572/10.87, allocations: 290.5 kB / 3.39 GB, free: 22.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/10.88, allocations: 2.2 MB / 3.392 GB, free: 20.87 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009989/10.88, allocations: 1.083 MB / 3.393 GB, free: 19.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001336/10.88, allocations: 298.9 kB / 3.393 GB, free: 19.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007747/10.88, allocations: 386 kB / 3.394 GB, free: 19.39 MB / 410.7 MB Notification: Performance of SimCode: time 1.302e-06/10.88, allocations: 3.938 kB / 3.394 GB, free: 19.39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5521/11.43, allocations: 57.72 MB / 3.45 GB, free: 54.03 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002786/11.43, allocations: 225.1 kB / 3.45 GB, free: 53.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.082/16.51, allocations: 3.469 kB / 3.45 GB, free: 53.79 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler_res.mat does not exist to compare? outputFormat=mat