Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler,fileNamePrefix="Modelica_3_2_3_Modelica_Fluid_Examples_DrumBoiler_DrumBoiler",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.11/2.11, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.529e-05/3.541e-05, allocations: 4 kB / 269.4 MB, free: 6.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1199, allocations: 47.57 MB / 317 MB, free: 6.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.967/9.087, allocations: 2.832 GB / 3.142 GB, free: 58.74 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/9.087, allocations: 84.23 kB / 3.142 GB, free: 58.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.71/11.8, allocations: 497.4 MB / 3.628 GB, free: 28.24 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.665e-06/11.8, allocations: 0 / 3.628 GB, free: 28.24 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.817e-05/11.8, allocations: 18.5 kB / 3.628 GB, free: 28.23 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.007712/11.81, allocations: 1.856 MB / 3.63 GB, free: 27.05 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/11.81, allocations: 13.22 kB / 3.63 GB, free: 27.05 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003349/11.81, allocations: 116.1 kB / 3.63 GB, free: 26.97 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003141/11.81, allocations: 257.5 kB / 3.63 GB, free: 26.92 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/11.81, allocations: 0.5015 MB / 3.63 GB, free: 26.56 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.129e-05/11.81, allocations: 49.47 kB / 3.631 GB, free: 26.54 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/11.81, allocations: 59.88 kB / 3.631 GB, free: 26.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002609/11.81, allocations: 0.9299 MB / 3.631 GB, free: 26.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.048e-05/11.81, allocations: 7.438 kB / 3.631 GB, free: 26.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/11.81, allocations: 30.34 kB / 3.632 GB, free: 26.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/11.81, allocations: 14.38 kB / 3.632 GB, free: 26.05 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002298/11.82, allocations: 0.7084 MB / 3.632 GB, free: 25.84 MB / 426.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.006593/11.82, allocations: 4.216 MB / 3.636 GB, free: 22.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002065/11.82, allocations: 0.612 MB / 3.637 GB, free: 22.21 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005763/11.82, allocations: 268.6 kB / 3.637 GB, free: 22.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1341/11.96, allocations: 39 MB / 3.675 GB, free: 8.207 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001938/11.96, allocations: 0.5908 MB / 3.676 GB, free: 7.699 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000714/11.96, allocations: 86.55 kB / 3.676 GB, free: 7.625 MB / 442.7 MB Notification: Performance of pre-optimization done (n=57): time 4.359e-06/11.96, allocations: 0 / 3.676 GB, free: 7.625 MB / 442.7 MB Notification: Performance of matching and sorting (n=65): time 0.01605/11.98, allocations: 3.059 MB / 3.679 GB, free: 4.941 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001839/11.98, allocations: 265.5 kB / 3.679 GB, free: 4.621 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008191/11.98, allocations: 422.5 kB / 3.68 GB, free: 4.234 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001549/11.98, allocations: 37.7 kB / 3.68 GB, free: 4.191 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003669/11.98, allocations: 330.2 kB / 3.68 GB, free: 3.891 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003072/11.98, allocations: 219.2 kB / 3.68 GB, free: 3.699 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.653e-05/11.98, allocations: 12 kB / 3.68 GB, free: 3.688 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002123/11.98, allocations: 377 kB / 3.681 GB, free: 3.328 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007711/11.98, allocations: 251.8 kB / 3.681 GB, free: 3.094 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009825/11.98, allocations: 432.4 kB / 3.681 GB, free: 2.625 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000906/11.98, allocations: 357.9 kB / 3.681 GB, free: 2.301 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/11.98, allocations: 0 / 3.681 GB, free: 2.301 MB / 442.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003022/11.99, allocations: 0.9888 MB / 3.682 GB, free: 1.375 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000842/11.99, allocations: 1.809 MB / 3.684 GB, free: 15.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/11.99, allocations: 4 kB / 3.684 GB, free: 15.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006647/11.99, allocations: 345.4 kB / 3.685 GB, free: 15.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/11.99, allocations: 134.8 kB / 3.685 GB, free: 15.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001876/12, allocations: 0.8052 MB / 3.685 GB, free: 14.31 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/12, allocations: 67.25 kB / 3.686 GB, free: 14.26 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002014/12, allocations: 50.89 kB / 3.686 GB, free: 14.21 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/12, allocations: 7.938 kB / 3.686 GB, free: 14.21 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002931/12, allocations: 0.951 MB / 3.687 GB, free: 13.33 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/12, allocations: 4 kB / 3.687 GB, free: 13.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007122/12.01, allocations: 345 kB / 3.687 GB, free: 13.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/12.01, allocations: 134.1 kB / 3.687 GB, free: 12.99 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002547/12.01, allocations: 0.8076 MB / 3.688 GB, free: 12.21 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/12.01, allocations: 63.45 kB / 3.688 GB, free: 12.16 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00022/12.01, allocations: 47.78 kB / 3.688 GB, free: 12.12 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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.0005771/12.02, allocations: 219.9 kB / 3.688 GB, free: 11.89 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00032/12.02, allocations: 67.25 kB / 3.688 GB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01315/12.03, allocations: 4.951 MB / 3.693 GB, free: 7.473 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.673e-05/12.03, allocations: 27.3 kB / 3.693 GB, free: 7.457 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/12.03, allocations: 8.062 kB / 3.693 GB, free: 7.449 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.553e-05/12.03, allocations: 3.609 kB / 3.693 GB, free: 7.449 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01347/12.04, allocations: 6.813 MB / 3.7 GB, free: 0.8672 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/12.04, allocations: 8 kB / 3.7 GB, free: 0.8594 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008938/12.04, allocations: 103.8 kB / 3.7 GB, free: 0.7578 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.3414/12.38, allocations: 1.271 MB / 3.701 GB, free: 62.86 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002366/12.39, allocations: 24.34 kB / 3.701 GB, free: 62.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003823/12.39, allocations: 2.436 MB / 3.703 GB, free: 62.35 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/12.39, allocations: 1.469 kB / 3.703 GB, free: 62.35 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01134/12.4, allocations: 5.816 MB / 3.709 GB, free: 62.05 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005254/12.4, allocations: 243.2 kB / 3.709 GB, free: 61.96 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003414/12.4, allocations: 22.91 kB / 3.709 GB, free: 61.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001364/12.4, allocations: 75.67 kB / 3.709 GB, free: 61.96 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001784/12.4, allocations: 46.52 kB / 3.709 GB, free: 61.96 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/12.4, allocations: 32.23 kB / 3.71 GB, free: 61.96 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009711/12.4, allocations: 480.8 kB / 3.71 GB, free: 61.86 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.11e-07/12.4, allocations: 0 / 3.71 GB, free: 61.86 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007494/12.41, allocations: 1.369 MB / 3.711 GB, free: 61.86 MB / 458.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 (59): * Single equations (assignments): 48 * 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.01802/12.43, allocations: 4.791 MB / 3.716 GB, free: 60.82 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004576/12.43, allocations: 1.743 MB / 3.718 GB, free: 60.56 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/12.43, allocations: 2.75 kB / 3.718 GB, free: 60.56 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001826/12.44, allocations: 0.8607 MB / 3.719 GB, free: 60.43 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002992/12.44, allocations: 317.2 kB / 3.719 GB, free: 60.42 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00808/12.45, allocations: 2.283 MB / 3.721 GB, free: 59.98 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005917/12.45, allocations: 1.099 MB / 3.722 GB, free: 59.27 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001809/12.45, allocations: 0.6253 MB / 3.723 GB, free: 59.26 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005588/12.45, allocations: 388.5 kB / 3.723 GB, free: 59.25 MB / 458.7 MB Notification: Performance of SimCode: time 2.755e-06/12.45, allocations: 0 / 3.723 GB, free: 59.25 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1493/12.6, allocations: 62.92 MB / 3.785 GB, free: 56.38 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002398/12.6, allocations: 220.3 kB / 3.785 GB, free: 56.14 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.481/18.08, allocations: 2.312 kB / 3.785 GB, free: 56.14 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler_res.mat does not exist to compare? outputFormat=mat