Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Fluid_Examples_DrumBoiler_DrumBoiler",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.913/1.913, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.243e-05/2.252e-05, allocations: 4 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3262, allocations: 44.49 MB / 294.2 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.656/7.983, allocations: 2.669 GB / 2.957 GB, free: 87.82 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/7.983, allocations: 80.92 kB / 2.957 GB, free: 87.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.632/10.61, allocations: 489.6 MB / 3.435 GB, free: 32.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.023e-06/10.61, allocations: 0 / 3.435 GB, free: 32.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.329e-05/10.61, allocations: 15.97 kB / 3.435 GB, free: 32.69 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.00751/10.62, allocations: 1.847 MB / 3.437 GB, free: 31.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.354e-05/10.62, allocations: 11.34 kB / 3.437 GB, free: 31.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003148/10.63, allocations: 250.7 kB / 3.437 GB, free: 31.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001505/10.63, allocations: 0.5043 MB / 3.437 GB, free: 31.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.01e-05/10.63, allocations: 21.28 kB / 3.437 GB, free: 31.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/10.63, allocations: 40.78 kB / 3.437 GB, free: 31.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001244/10.63, allocations: 490.2 kB / 3.438 GB, free: 31.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/10.63, allocations: 0.6488 MB / 3.439 GB, free: 31.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.229e-05/10.63, allocations: 9.141 kB / 3.439 GB, free: 31.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.682e-05/10.63, allocations: 3.312 kB / 3.439 GB, free: 31.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/10.63, allocations: 15 kB / 3.439 GB, free: 31.34 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.2044/10.83, allocations: 66.39 MB / 3.503 GB, free: 22.34 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008385/10.84, allocations: 349.1 kB / 3.504 GB, free: 22.3 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004048/10.84, allocations: 206.3 kB / 3.504 GB, free: 22.29 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1349/10.97, allocations: 39.97 MB / 3.543 GB, free: 30.5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007626/10.97, allocations: 338.5 kB / 3.543 GB, free: 30.37 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006042/10.97, allocations: 78.47 kB / 3.543 GB, free: 30.35 MB / 474.7 MB Notification: Performance of pre-optimization done (n=50): time 2.926e-06/10.97, allocations: 0 / 3.543 GB, free: 30.35 MB / 474.7 MB Notification: Performance of matching and sorting (n=58): time 0.01298/10.98, allocations: 2.242 MB / 3.546 GB, free: 29.93 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001466/10.99, allocations: 217.7 kB / 3.546 GB, free: 29.68 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005931/10.99, allocations: 375.5 kB / 3.546 GB, free: 29.56 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000101/10.99, allocations: 25.7 kB / 3.546 GB, free: 29.53 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002998/10.99, allocations: 393.7 kB / 3.547 GB, free: 29.26 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002125/10.99, allocations: 184.2 kB / 3.547 GB, free: 29.14 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.551e-05/10.99, allocations: 0 / 3.547 GB, free: 29.14 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/10.99, allocations: 345.6 kB / 3.547 GB, free: 28.83 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005079/10.99, allocations: 226.2 kB / 3.547 GB, free: 28.83 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006275/10.99, allocations: 430.1 kB / 3.548 GB, free: 28.61 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002233/10.99, allocations: 371.2 kB / 3.548 GB, free: 28.6 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/10.99, allocations: 0 / 3.548 GB, free: 28.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003589/10.99, allocations: 0.8599 MB / 3.549 GB, free: 28.53 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001106/10.99, allocations: 1.989 MB / 3.551 GB, free: 26.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.769e-05/10.99, allocations: 4.781 kB / 3.551 GB, free: 26.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002395/11, allocations: 245.8 kB / 3.551 GB, free: 26.44 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/11, allocations: 134.1 kB / 3.551 GB, free: 26.44 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003947/11, allocations: 0.8531 MB / 3.552 GB, free: 25.91 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00191/11, allocations: 64.61 kB / 3.552 GB, free: 25.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000208/11.01, allocations: 51.41 kB / 3.552 GB, free: 25.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/11.01, allocations: 3.125 kB / 3.552 GB, free: 25.9 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005936/11.01, allocations: 0.8315 MB / 3.553 GB, free: 25.87 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/11.01, allocations: 6.844 kB / 3.553 GB, free: 25.87 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001398/11.01, allocations: 247.8 kB / 3.553 GB, free: 25.86 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008272/11.01, allocations: 123 kB / 3.553 GB, free: 25.86 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002269/11.02, allocations: 0.8562 MB / 3.554 GB, free: 25.34 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000906/11.02, allocations: 53.91 kB / 3.554 GB, free: 25.33 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/11.02, allocations: 44.39 kB / 3.554 GB, free: 25.33 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.0003593/11.02, allocations: 210.4 kB / 3.554 GB, free: 25.14 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003228/11.02, allocations: 0.7685 MB / 3.555 GB, free: 25.05 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/11.02, allocations: 60.75 kB / 3.555 GB, free: 25.03 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006996/11.03, allocations: 4.283 MB / 3.559 GB, free: 24.82 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.44e-05/11.03, allocations: 26.78 kB / 3.559 GB, free: 24.82 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/11.03, allocations: 3.688 kB / 3.559 GB, free: 24.82 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/11.03, allocations: 3.516 kB / 3.559 GB, free: 24.82 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00956/11.04, allocations: 6 MB / 3.565 GB, free: 24.19 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/11.04, allocations: 0 / 3.565 GB, free: 24.19 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007148/11.04, allocations: 81.14 kB / 3.565 GB, free: 24.19 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003387/11.04, allocations: 1.269 MB / 3.567 GB, free: 24.17 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001765/11.04, allocations: 17.64 kB / 3.567 GB, free: 24.17 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003474/11.05, allocations: 2.86 MB / 3.569 GB, free: 23.64 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/11.05, allocations: 0 / 3.569 GB, free: 23.64 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008805/11.05, allocations: 5.424 MB / 3.575 GB, free: 20.91 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003678/11.05, allocations: 163.7 kB / 3.575 GB, free: 20.73 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000248/11.05, allocations: 14.86 kB / 3.575 GB, free: 20.72 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/11.06, allocations: 46.55 kB / 3.575 GB, free: 20.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/11.06, allocations: 49.12 kB / 3.575 GB, free: 20.67 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.972e-05/11.06, allocations: 30.11 kB / 3.575 GB, free: 20.65 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004462/11.06, allocations: 284.7 kB / 3.575 GB, free: 20.46 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.31e-07/11.06, allocations: 0 / 3.575 GB, free: 20.46 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006455/11.06, allocations: 1.286 MB / 3.577 GB, free: 19.26 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.01545/11.08, allocations: 4.351 MB / 3.581 GB, free: 16.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003791/11.08, allocations: 1.629 MB / 3.582 GB, free: 15.17 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/11.08, allocations: 0 / 3.582 GB, free: 15.17 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001493/11.08, allocations: 0.7767 MB / 3.583 GB, free: 14.72 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001958/11.09, allocations: 216.7 kB / 3.583 GB, free: 14.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006945/11.09, allocations: 2.004 MB / 3.585 GB, free: 13.02 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000688/11.09, allocations: 1.032 MB / 3.586 GB, free: 12.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005472/11.09, allocations: 339.3 kB / 3.587 GB, free: 12.04 MB / 474.7 MB Notification: Performance of SimCode: time 1.092e-06/11.09, allocations: 0 / 3.587 GB, free: 12.04 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.164/15.26, allocations: 40.37 MB / 3.626 GB, free: 84.84 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler_res.mat does not exist to compare? outputFormat=mat