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.787/1.787, allocations: 171.3 MB / 178.4 MB, free: 160 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.947e-05/2.944e-05, allocations: 3.984 kB / 219.6 MB, free: 6.945 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3046, allocations: 38.76 MB / 258.3 MB, free: 12.2 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.494/7.798, allocations: 2.56 GB / 2.812 GB, free: 81.58 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/7.799, allocations: 85.56 kB / 2.812 GB, free: 81.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.361/10.16, allocations: 477.9 MB / 3.279 GB, free: 20.03 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.595e-06/10.16, allocations: 0 / 3.279 GB, free: 20.03 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.761e-05/10.16, allocations: 22.66 kB / 3.279 GB, free: 20.02 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.008325/10.17, allocations: 1.793 MB / 3.28 GB, free: 18.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/10.17, allocations: 12.28 kB / 3.28 GB, free: 18.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003139/10.17, allocations: 236 kB / 3.281 GB, free: 18.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/10.17, allocations: 0.5074 MB / 3.281 GB, free: 18.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.91e-05/10.17, allocations: 16.28 kB / 3.281 GB, free: 18.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/10.17, allocations: 32.88 kB / 3.281 GB, free: 18.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001208/10.17, allocations: 479.3 kB / 3.282 GB, free: 18.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/10.18, allocations: 0.6466 MB / 3.282 GB, free: 17.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/10.18, allocations: 3.938 kB / 3.282 GB, free: 17.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.68e-05/10.18, allocations: 7.188 kB / 3.282 GB, free: 17.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/10.18, allocations: 15.22 kB / 3.282 GB, free: 17.96 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.4855/10.66, allocations: 66.22 MB / 3.347 GB, free: 22.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008524/10.66, allocations: 345.9 kB / 3.347 GB, free: 22.74 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003819/10.66, allocations: 179.6 kB / 3.348 GB, free: 22.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1346/10.8, allocations: 39.98 MB / 3.387 GB, free: 15.22 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000775/10.8, allocations: 330.3 kB / 3.387 GB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007184/10.8, allocations: 71.28 kB / 3.387 GB, free: 15.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=46): time 5.25e-06/10.8, allocations: 0 / 3.387 GB, free: 15.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=54): time 0.01433/10.81, allocations: 2.255 MB / 3.389 GB, free: 14.71 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001422/10.81, allocations: 218.7 kB / 3.389 GB, free: 14.46 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006444/10.81, allocations: 368.7 kB / 3.39 GB, free: 14.36 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001302/10.81, allocations: 29.45 kB / 3.39 GB, free: 14.32 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003199/10.81, allocations: 340.5 kB / 3.39 GB, free: 14.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002273/10.81, allocations: 179 kB / 3.39 GB, free: 14.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.673e-05/10.81, allocations: 0.75 kB / 3.39 GB, free: 14.07 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000177/10.81, allocations: 374 kB / 3.391 GB, free: 13.76 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000533/10.82, allocations: 217.7 kB / 3.391 GB, free: 13.76 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006328/10.82, allocations: 409.6 kB / 3.391 GB, free: 13.54 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002384/10.82, allocations: 368.1 kB / 3.392 GB, free: 13.53 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/10.82, allocations: 2.094 kB / 3.392 GB, free: 13.53 MB / 394.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.004169/10.82, allocations: 0.9116 MB / 3.392 GB, free: 13.45 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.546e-05/10.82, allocations: 69.77 kB / 3.392 GB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/10.82, allocations: 4.656 kB / 3.392 GB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001419/10.82, allocations: 250.4 kB / 3.393 GB, free: 13.37 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009948/10.83, allocations: 130.4 kB / 3.393 GB, free: 13.37 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002519/10.83, allocations: 0.8586 MB / 3.394 GB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/10.83, allocations: 55.14 kB / 3.394 GB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000175/10.83, allocations: 44.56 kB / 3.394 GB, free: 12.84 MB / 394.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.0004399/10.83, allocations: 202.2 kB / 3.394 GB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003546/10.83, allocations: 0.7751 MB / 3.395 GB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002462/10.83, allocations: 60.89 kB / 3.395 GB, free: 12.56 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007771/10.84, allocations: 4.282 MB / 3.399 GB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-05/10.84, allocations: 28.64 kB / 3.399 GB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/10.84, allocations: 0 / 3.399 GB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.191e-05/10.84, allocations: 0 / 3.399 GB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01033/10.85, allocations: 5.994 MB / 3.405 GB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.64e-05/10.85, allocations: 0.5 kB / 3.405 GB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007496/10.85, allocations: 76.75 kB / 3.405 GB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003358/10.86, allocations: 1.266 MB / 3.406 GB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001688/10.86, allocations: 21.83 kB / 3.406 GB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003526/10.86, allocations: 2.861 MB / 3.409 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.675e-06/10.86, allocations: 0 / 3.409 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008445/10.87, allocations: 5.172 MB / 3.414 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003644/10.87, allocations: 167.1 kB / 3.414 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00029/10.87, allocations: 8.094 kB / 3.414 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/10.87, allocations: 53.53 kB / 3.414 GB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/10.87, allocations: 47.02 kB / 3.414 GB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.965e-05/10.87, allocations: 27.39 kB / 3.414 GB, free: 10.87 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004513/10.87, allocations: 271 kB / 3.415 GB, free: 10.78 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.893e-06/10.87, allocations: 3.5 kB / 3.415 GB, free: 10.78 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005858/10.88, allocations: 1.149 MB / 3.416 GB, free: 10.78 MB / 394.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.01702/10.89, allocations: 4.286 MB / 3.42 GB, free: 25.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002611/10.9, allocations: 0.9615 MB / 3.421 GB, free: 25.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.967e-06/10.9, allocations: 9.406 kB / 3.421 GB, free: 25.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001691/10.9, allocations: 0.7244 MB / 3.422 GB, free: 25.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00222/10.9, allocations: 213.5 kB / 3.422 GB, free: 25.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007406/10.91, allocations: 1.929 MB / 3.424 GB, free: 25.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006784/10.91, allocations: 1.025 MB / 3.425 GB, free: 24.38 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001068/10.91, allocations: 373.1 kB / 3.425 GB, free: 24.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005234/10.91, allocations: 326.7 kB / 3.425 GB, free: 24.35 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/10.91, allocations: 0 / 3.425 GB, free: 24.35 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1321/11.04, allocations: 45.55 MB / 3.47 GB, free: 3.496 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002638/11.04, allocations: 169.5 kB / 3.47 GB, free: 3.297 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.518/15.56, allocations: 0 / 3.47 GB, free: 3.297 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