Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Fluid_Examples_DrumBoiler_DrumBoiler",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.494/2.494, allocations: 195 MB / 202.9 MB, free: 6.715 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.547e-05/3.551e-05, allocations: 4.125 kB / 249.8 MB, free: 5.223 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1428, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.68/9.823, allocations: 2.669 GB / 2.957 GB, free: 98.47 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003305/9.823, allocations: 86.52 kB / 2.957 GB, free: 98.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.542/13.36, allocations: 489.6 MB / 3.435 GB, free: 33.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.044e-06/13.36, allocations: 0 / 3.435 GB, free: 33.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.915e-05/13.36, allocations: 22.97 kB / 3.435 GB, free: 33.43 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.009294/13.37, allocations: 1.848 MB / 3.437 GB, free: 32.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.737e-05/13.37, allocations: 10.56 kB / 3.437 GB, free: 32.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004252/13.38, allocations: 252.1 kB / 3.437 GB, free: 32.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001707/13.38, allocations: 0.5012 MB / 3.438 GB, free: 32.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.291e-05/13.38, allocations: 18.78 kB / 3.438 GB, free: 32.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001725/13.38, allocations: 38.97 kB / 3.438 GB, free: 32.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001667/13.38, allocations: 489 kB / 3.438 GB, free: 32.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001895/13.38, allocations: 0.6494 MB / 3.439 GB, free: 31.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.816e-05/13.38, allocations: 5.828 kB / 3.439 GB, free: 31.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/13.38, allocations: 6.062 kB / 3.439 GB, free: 31.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/13.38, allocations: 18.75 kB / 3.439 GB, free: 31.83 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.3162/13.7, allocations: 66.39 MB / 3.504 GB, free: 22.09 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/13.7, allocations: 348 kB / 3.504 GB, free: 22.07 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006846/13.7, allocations: 198.1 kB / 3.504 GB, free: 22.06 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1805/13.88, allocations: 39.98 MB / 3.543 GB, free: 4.273 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008671/13.88, allocations: 355.1 kB / 3.543 GB, free: 4.023 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006999/13.89, allocations: 62.28 kB / 3.544 GB, free: 3.973 MB / 458.7 MB Notification: Performance of pre-optimization done (n=50): time 3.747e-06/13.89, allocations: 0 / 3.544 GB, free: 3.973 MB / 458.7 MB Notification: Performance of matching and sorting (n=58): time 0.01916/13.9, allocations: 2.236 MB / 3.546 GB, free: 2.52 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001543/13.9, allocations: 217.4 kB / 3.546 GB, free: 2.262 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000784/13.91, allocations: 378.7 kB / 3.546 GB, free: 1.992 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001217/13.91, allocations: 25.7 kB / 3.546 GB, free: 1.961 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004318/13.91, allocations: 351.2 kB / 3.547 GB, free: 1.727 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002843/13.91, allocations: 182.2 kB / 3.547 GB, free: 1.586 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.894e-05/13.91, allocations: 7.938 kB / 3.547 GB, free: 1.578 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002181/13.91, allocations: 370.3 kB / 3.547 GB, free: 1.25 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007049/13.91, allocations: 230.5 kB / 3.547 GB, free: 1.129 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009314/13.91, allocations: 418.1 kB / 3.548 GB, free: 0.7695 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002828/13.91, allocations: 375.4 kB / 3.548 GB, free: 0.5625 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/13.91, allocations: 0 / 3.548 GB, free: 0.5625 MB / 458.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00495/13.92, allocations: 0.8866 MB / 3.549 GB, free: 8 kB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.3627/14.28, allocations: 1.981 MB / 3.551 GB, free: 79.46 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.332e-05/14.28, allocations: 4.031 kB / 3.551 GB, free: 79.46 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002029/14.28, allocations: 256.7 kB / 3.551 GB, free: 79.45 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/14.28, allocations: 132.7 kB / 3.551 GB, free: 79.45 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003031/14.29, allocations: 0.8501 MB / 3.552 GB, free: 78.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001641/14.29, allocations: 63.25 kB / 3.552 GB, free: 78.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002122/14.29, allocations: 44.14 kB / 3.552 GB, free: 78.93 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/14.29, allocations: 4.875 kB / 3.552 GB, free: 78.93 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004883/14.29, allocations: 0.8301 MB / 3.553 GB, free: 78.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/14.29, allocations: 5.5 kB / 3.553 GB, free: 78.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001756/14.29, allocations: 251.4 kB / 3.553 GB, free: 78.92 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/14.3, allocations: 132.9 kB / 3.553 GB, free: 78.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00309/14.3, allocations: 0.8551 MB / 3.554 GB, free: 78.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/14.3, allocations: 49.02 kB / 3.554 GB, free: 78.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002008/14.3, allocations: 48.3 kB / 3.554 GB, free: 78.4 MB / 458.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.000454/14.3, allocations: 208.8 kB / 3.555 GB, free: 78.22 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004463/14.3, allocations: 0.7666 MB / 3.555 GB, free: 78.18 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/14.31, allocations: 61.11 kB / 3.555 GB, free: 78.18 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01036/14.32, allocations: 4.287 MB / 3.56 GB, free: 78.03 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.154e-05/14.32, allocations: 29.69 kB / 3.56 GB, free: 78.03 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/14.32, allocations: 1.234 kB / 3.56 GB, free: 78.03 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.098e-05/14.32, allocations: 7.109 kB / 3.56 GB, free: 78.03 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01225/14.33, allocations: 5.996 MB / 3.565 GB, free: 77.46 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/14.33, allocations: 0 / 3.565 GB, free: 77.46 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008411/14.33, allocations: 87.56 kB / 3.566 GB, free: 77.46 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004115/14.33, allocations: 1.269 MB / 3.567 GB, free: 77.45 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001435/14.33, allocations: 14.88 kB / 3.567 GB, free: 77.45 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004129/14.34, allocations: 2.858 MB / 3.57 GB, free: 76.93 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/14.34, allocations: 0 / 3.57 GB, free: 76.93 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01075/14.35, allocations: 5.413 MB / 3.575 GB, free: 76.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003461/14.35, allocations: 166.3 kB / 3.575 GB, free: 76.55 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002739/14.35, allocations: 11.27 kB / 3.575 GB, free: 76.55 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/14.35, allocations: 52.73 kB / 3.575 GB, free: 76.55 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001785/14.35, allocations: 46.52 kB / 3.575 GB, free: 76.55 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/14.35, allocations: 31.94 kB / 3.575 GB, free: 76.55 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004899/14.35, allocations: 276.1 kB / 3.575 GB, free: 76.46 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.21e-07/14.35, allocations: 0 / 3.575 GB, free: 76.46 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007131/14.36, allocations: 1.287 MB / 3.577 GB, free: 76.46 MB / 458.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.01813/14.38, allocations: 4.373 MB / 3.581 GB, free: 75.63 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004741/14.38, allocations: 1.638 MB / 3.583 GB, free: 75.35 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/14.38, allocations: 0 / 3.583 GB, free: 75.35 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001781/14.38, allocations: 0.7839 MB / 3.583 GB, free: 75.22 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002414/14.39, allocations: 206.7 kB / 3.583 GB, free: 75.22 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008469/14.39, allocations: 1.962 MB / 3.585 GB, free: 74.84 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006383/14.39, allocations: 1.041 MB / 3.586 GB, free: 74.13 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002212/14.4, allocations: 0.6976 MB / 3.587 GB, free: 74.12 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006173/14.4, allocations: 324.3 kB / 3.587 GB, free: 74.11 MB / 458.7 MB Notification: Performance of SimCode: time 1.433e-06/14.4, allocations: 0 / 3.587 GB, free: 74.11 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.16/14.56, allocations: 49.61 MB / 3.636 GB, free: 71.88 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002724/14.56, allocations: 170.3 kB / 3.636 GB, free: 71.69 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.118/20.68, allocations: 0 / 3.636 GB, free: 71.69 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler_res.mat does not exist to compare? outputFormat=mat