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.849/1.849, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.854e-05/2.87e-05, allocations: 4 kB / 255.4 MB, free: 3.094 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09014/0.09019, allocations: 44.51 MB / 299.9 MB, free: 6.523 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.657/7.747, allocations: 2.67 GB / 2.963 GB, free: 46.11 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/7.747, allocations: 81.69 kB / 2.963 GB, free: 46.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.518/10.27, allocations: 494.2 MB / 3.446 GB, free: 25.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.184e-06/10.27, allocations: 0 / 3.446 GB, free: 25.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.245e-05/10.27, allocations: 21.25 kB / 3.446 GB, free: 25.91 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.007703/10.27, allocations: 1.849 MB / 3.447 GB, free: 24.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.773e-05/10.27, allocations: 14.5 kB / 3.448 GB, free: 24.73 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003144/10.27, allocations: 102.6 kB / 3.448 GB, free: 24.65 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003204/10.28, allocations: 255.3 kB / 3.448 GB, free: 24.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/10.28, allocations: 0.5049 MB / 3.448 GB, free: 24.24 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.748e-05/10.28, allocations: 48.47 kB / 3.448 GB, free: 24.22 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/10.28, allocations: 56.81 kB / 3.448 GB, free: 24.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002816/10.28, allocations: 0.9195 MB / 3.449 GB, free: 23.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.394e-05/10.28, allocations: 3.953 kB / 3.449 GB, free: 23.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/10.28, allocations: 27.41 kB / 3.449 GB, free: 23.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/10.28, allocations: 21 kB / 3.449 GB, free: 23.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00255/10.28, allocations: 0.7115 MB / 3.45 GB, free: 23.52 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.007062/10.29, allocations: 4.152 MB / 3.454 GB, free: 20.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002101/10.29, allocations: 0.5987 MB / 3.455 GB, free: 19.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005411/10.29, allocations: 248.3 kB / 3.455 GB, free: 19.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5325/10.83, allocations: 55.17 MB / 3.509 GB, free: 33.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001949/10.83, allocations: 0.5708 MB / 3.509 GB, free: 33.84 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000666/10.83, allocations: 85.34 kB / 3.509 GB, free: 33.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=57): time 3.857e-06/10.83, allocations: 0 / 3.509 GB, free: 33.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=65): time 0.01485/10.84, allocations: 2.906 MB / 3.512 GB, free: 33.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/10.84, allocations: 271.3 kB / 3.513 GB, free: 32.85 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006776/10.85, allocations: 398.2 kB / 3.513 GB, free: 32.73 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001336/10.85, allocations: 33.83 kB / 3.513 GB, free: 32.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002577/10.85, allocations: 369.3 kB / 3.513 GB, free: 32.49 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002478/10.85, allocations: 214.6 kB / 3.514 GB, free: 32.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.187e-05/10.85, allocations: 14.09 kB / 3.514 GB, free: 32.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.492e-05/10.85, allocations: 342 kB / 3.514 GB, free: 32.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006555/10.85, allocations: 241.2 kB / 3.514 GB, free: 32.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007593/10.85, allocations: 435.5 kB / 3.515 GB, free: 31.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007759/10.85, allocations: 360.5 kB / 3.515 GB, free: 31.79 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/10.85, allocations: 2.969 kB / 3.515 GB, free: 31.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002369/10.85, allocations: 0.8923 MB / 3.516 GB, free: 31.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004868/10.85, allocations: 1.985 MB / 3.518 GB, free: 29.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/10.85, allocations: 3.75 kB / 3.518 GB, free: 29.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006836/10.86, allocations: 345.7 kB / 3.518 GB, free: 29.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/10.86, allocations: 134.2 kB / 3.518 GB, free: 29.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001666/10.86, allocations: 0.8044 MB / 3.519 GB, free: 29.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/10.86, allocations: 66.94 kB / 3.519 GB, free: 29.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001561/10.86, allocations: 47.56 kB / 3.519 GB, free: 29.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/10.86, allocations: 6.344 kB / 3.519 GB, free: 29.07 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002468/10.86, allocations: 0.8823 MB / 3.52 GB, free: 28.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/10.87, allocations: 6.297 kB / 3.52 GB, free: 28.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00666/10.87, allocations: 343 kB / 3.52 GB, free: 28.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009915/10.87, allocations: 125.5 kB / 3.52 GB, free: 28.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/10.87, allocations: 0.8058 MB / 3.521 GB, free: 28.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/10.88, allocations: 61.09 kB / 3.521 GB, free: 28.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/10.88, allocations: 46.27 kB / 3.521 GB, free: 28.45 MB / 426.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.0003764/10.88, allocations: 225.6 kB / 3.521 GB, free: 28.28 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002473/10.88, allocations: 67 kB / 3.522 GB, free: 28.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007873/10.88, allocations: 4.867 MB / 3.526 GB, free: 27.97 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-05/10.88, allocations: 30.83 kB / 3.526 GB, free: 27.97 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/10.88, allocations: 7 kB / 3.526 GB, free: 27.97 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-05/10.88, allocations: 11.06 kB / 3.526 GB, free: 27.96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01049/10.89, allocations: 6.725 MB / 3.533 GB, free: 27.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.88e-05/10.89, allocations: 3.75 kB / 3.533 GB, free: 27.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008114/10.9, allocations: 86.83 kB / 3.533 GB, free: 27.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003651/10.9, allocations: 1.287 MB / 3.534 GB, free: 27.24 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001834/10.9, allocations: 26.69 kB / 3.534 GB, free: 27.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002872/10.9, allocations: 2.426 MB / 3.537 GB, free: 26.71 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/10.9, allocations: 2.031 kB / 3.537 GB, free: 26.71 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009083/10.91, allocations: 5.716 MB / 3.542 GB, free: 26.34 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004872/10.91, allocations: 237.9 kB / 3.542 GB, free: 26.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002717/10.91, allocations: 19.12 kB / 3.542 GB, free: 26.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/10.91, allocations: 67.11 kB / 3.543 GB, free: 26.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/10.91, allocations: 45.66 kB / 3.543 GB, free: 26.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.83e-05/10.91, allocations: 37.73 kB / 3.543 GB, free: 26.18 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007511/10.91, allocations: 459 kB / 3.543 GB, free: 26.08 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.81e-07/10.91, allocations: 0.9844 kB / 3.543 GB, free: 26.08 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006625/10.92, allocations: 1.372 MB / 3.544 GB, free: 26.07 MB / 426.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 (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.01597/10.94, allocations: 4.66 MB / 3.549 GB, free: 24.97 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004279/10.94, allocations: 1.753 MB / 3.551 GB, free: 24.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/10.94, allocations: 3.938 kB / 3.551 GB, free: 24.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001738/10.94, allocations: 0.8537 MB / 3.551 GB, free: 24.56 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002803/10.95, allocations: 305.1 kB / 3.552 GB, free: 24.55 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008337/10.95, allocations: 2.28 MB / 3.554 GB, free: 24.05 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005914/10.96, allocations: 1.09 MB / 3.555 GB, free: 23.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006893/10.96, allocations: 396.2 kB / 3.555 GB, free: 23.34 MB / 426.7 MB Notification: Performance of SimCode: time 1.173e-06/10.96, allocations: 3.531 kB / 3.555 GB, free: 23.34 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.724/14.68, allocations: 41.56 MB / 3.596 GB, free: 19.86 MB / 426.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