Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler,fileNamePrefix="Modelica_3_2_2_Modelica_Fluid_Examples_DrumBoiler_DrumBoiler",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.142/2.142, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.077e-05/3.116e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3798, allocations: 44.49 MB / 294.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.232/8.612, allocations: 2.669 GB / 2.957 GB, free: 88.15 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003724/8.612, allocations: 82.06 kB / 2.957 GB, free: 88.15 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695/11.31, allocations: 489.6 MB / 3.435 GB, free: 33.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.575e-06/11.31, allocations: 2.344 kB / 3.435 GB, free: 33.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.433e-05/11.31, allocations: 15.05 kB / 3.435 GB, free: 33.1 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.008328/11.32, allocations: 1.853 MB / 3.437 GB, free: 32.24 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/11.32, allocations: 14.31 kB / 3.437 GB, free: 32.24 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003198/11.32, allocations: 250.2 kB / 3.437 GB, free: 32.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/11.32, allocations: 0.4944 MB / 3.437 GB, free: 31.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.279e-05/11.32, allocations: 22.69 kB / 3.437 GB, free: 31.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/11.32, allocations: 35.59 kB / 3.438 GB, free: 31.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001359/11.32, allocations: 489.5 kB / 3.438 GB, free: 31.94 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/11.32, allocations: 0.6511 MB / 3.439 GB, free: 31.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.14e-05/11.32, allocations: 8.203 kB / 3.439 GB, free: 31.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.552e-05/11.32, allocations: 3.875 kB / 3.439 GB, free: 31.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.857e-05/11.32, allocations: 11.62 kB / 3.439 GB, free: 31.74 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.2134/11.54, allocations: 66.4 MB / 3.503 GB, free: 22.75 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/11.54, allocations: 346 kB / 3.504 GB, free: 22.71 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004855/11.54, allocations: 202.1 kB / 3.504 GB, free: 22.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1375/11.68, allocations: 39.97 MB / 3.543 GB, free: 30.91 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007917/11.68, allocations: 344.9 kB / 3.543 GB, free: 30.78 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006546/11.68, allocations: 70.81 kB / 3.543 GB, free: 30.76 MB / 474.7 MB Notification: Performance of pre-optimization done (n=50): time 4.228e-06/11.68, allocations: 0 / 3.543 GB, free: 30.76 MB / 474.7 MB Notification: Performance of matching and sorting (n=58): time 0.01381/11.69, allocations: 2.241 MB / 3.546 GB, free: 30.34 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001552/11.69, allocations: 216.2 kB / 3.546 GB, free: 30.09 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006111/11.69, allocations: 374 kB / 3.546 GB, free: 29.97 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001219/11.69, allocations: 33.2 kB / 3.546 GB, free: 29.94 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002994/11.69, allocations: 349.8 kB / 3.547 GB, free: 29.74 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002077/11.69, allocations: 184.5 kB / 3.547 GB, free: 29.62 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-05/11.69, allocations: 3.594 kB / 3.547 GB, free: 29.62 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001885/11.69, allocations: 371 kB / 3.547 GB, free: 29.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005461/11.69, allocations: 227.9 kB / 3.547 GB, free: 29.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006577/11.69, allocations: 424.8 kB / 3.548 GB, free: 29.09 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002248/11.7, allocations: 378 kB / 3.548 GB, free: 29.07 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/11.7, allocations: 0 / 3.548 GB, free: 29.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003998/11.7, allocations: 0.8843 MB / 3.549 GB, free: 28.99 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008887/11.7, allocations: 1.989 MB / 3.551 GB, free: 26.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.492e-05/11.7, allocations: 3.531 kB / 3.551 GB, free: 26.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001525/11.7, allocations: 254 kB / 3.551 GB, free: 26.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/11.7, allocations: 131.7 kB / 3.551 GB, free: 26.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002567/11.71, allocations: 0.8582 MB / 3.552 GB, free: 26.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/11.71, allocations: 59.95 kB / 3.552 GB, free: 26.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/11.71, allocations: 48.67 kB / 3.552 GB, free: 26.36 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/11.71, allocations: 2.281 kB / 3.552 GB, free: 26.36 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003827/11.71, allocations: 0.8311 MB / 3.553 GB, free: 26.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/11.71, allocations: 7.219 kB / 3.553 GB, free: 26.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001382/11.71, allocations: 260.7 kB / 3.553 GB, free: 26.32 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009059/11.72, allocations: 120 kB / 3.553 GB, free: 26.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002501/11.72, allocations: 0.8545 MB / 3.554 GB, free: 25.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/11.72, allocations: 49.94 kB / 3.554 GB, free: 25.79 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/11.72, allocations: 47.5 kB / 3.554 GB, free: 25.79 MB / 474.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.0004445/11.72, allocations: 208.4 kB / 3.554 GB, free: 25.61 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003613/11.72, allocations: 0.7724 MB / 3.555 GB, free: 25.52 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001961/11.72, allocations: 60.03 kB / 3.555 GB, free: 25.49 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007937/11.73, allocations: 4.283 MB / 3.559 GB, free: 25.28 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.669e-05/11.73, allocations: 24.11 kB / 3.56 GB, free: 25.28 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/11.73, allocations: 3.531 kB / 3.56 GB, free: 25.28 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.497e-05/11.73, allocations: 3.797 kB / 3.56 GB, free: 25.28 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01026/11.74, allocations: 6.006 MB / 3.565 GB, free: 24.64 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/11.74, allocations: 3.656 kB / 3.565 GB, free: 24.64 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000698/11.74, allocations: 77.27 kB / 3.565 GB, free: 24.64 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003509/11.75, allocations: 1.273 MB / 3.567 GB, free: 24.63 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002066/11.75, allocations: 14.12 kB / 3.567 GB, free: 24.63 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003692/11.75, allocations: 2.86 MB / 3.57 GB, free: 23.61 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/11.75, allocations: 2.438 kB / 3.57 GB, free: 23.61 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009274/11.76, allocations: 5.414 MB / 3.575 GB, free: 20.88 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003788/11.76, allocations: 166.9 kB / 3.575 GB, free: 20.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002983/11.76, allocations: 15.23 kB / 3.575 GB, free: 20.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/11.76, allocations: 49.22 kB / 3.575 GB, free: 20.67 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/11.76, allocations: 43.14 kB / 3.575 GB, free: 20.64 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.464e-05/11.76, allocations: 29.58 kB / 3.575 GB, free: 20.62 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005031/11.76, allocations: 277.8 kB / 3.575 GB, free: 20.43 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.51e-07/11.76, allocations: 0 / 3.575 GB, free: 20.43 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006788/11.77, allocations: 1.293 MB / 3.577 GB, free: 19.23 MB / 474.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: 25 ($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,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 (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.01683/11.79, allocations: 4.343 MB / 3.581 GB, free: 16.18 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004873/11.79, allocations: 1.651 MB / 3.582 GB, free: 15.13 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/11.79, allocations: 3.469 kB / 3.582 GB, free: 15.13 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002544/11.79, allocations: 0.7697 MB / 3.583 GB, free: 14.68 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00302/11.8, allocations: 214.4 kB / 3.583 GB, free: 14.57 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/11.81, allocations: 1.974 MB / 3.585 GB, free: 13.03 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/11.81, allocations: 1.033 MB / 3.586 GB, free: 12.1 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002732/11.81, allocations: 0.6974 MB / 3.587 GB, free: 11.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008256/11.81, allocations: 325.9 kB / 3.587 GB, free: 11.66 MB / 474.7 MB Notification: Performance of SimCode: time 1.463e-06/11.81, allocations: 0 / 3.587 GB, free: 11.66 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4925/12.3, allocations: 49.58 MB / 3.636 GB, free: 83.75 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002051/12.3, allocations: 162.8 kB / 3.636 GB, free: 83.56 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.879/17.18, allocations: 0 / 3.636 GB, free: 83.56 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler_res.mat does not exist to compare? outputFormat=mat