Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler,fileNamePrefix="Modelica_trunk_Modelica_Fluid_Examples_DrumBoiler_DrumBoiler",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.205/2.205, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.768e-05/4.774e-05, allocations: 7.984 kB / 292.7 MB, free: 8.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1434, allocations: 50.42 MB / 343.2 MB, free: 5.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.578/8.721, allocations: 2.838 GB / 3.173 GB, free: 13.71 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/8.722, allocations: 88.31 kB / 3.173 GB, free: 13.66 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.951/11.67, allocations: 0.4908 GB / 3.664 GB, free: 41.92 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.354e-06/11.67, allocations: 0 / 3.664 GB, free: 41.92 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.491e-05/11.67, allocations: 22.53 kB / 3.664 GB, free: 41.92 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.008111/11.68, allocations: 1.848 MB / 3.666 GB, free: 40.74 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/11.68, allocations: 11.56 kB / 3.666 GB, free: 40.74 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002983/11.68, allocations: 114.5 kB / 3.666 GB, free: 40.66 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003034/11.68, allocations: 254.3 kB / 3.666 GB, free: 40.61 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/11.69, allocations: 0.5055 MB / 3.667 GB, free: 40.25 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.25e-05/11.69, allocations: 48.98 kB / 3.667 GB, free: 40.23 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/11.69, allocations: 63.53 kB / 3.667 GB, free: 40.21 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002753/11.69, allocations: 0.9327 MB / 3.668 GB, free: 39.76 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/11.69, allocations: 3.094 kB / 3.668 GB, free: 39.76 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/11.69, allocations: 26.88 kB / 3.668 GB, free: 39.74 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.9e-05/11.69, allocations: 16.88 kB / 3.668 GB, free: 39.74 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002417/11.69, allocations: 0.7122 MB / 3.668 GB, free: 39.53 MB / 458.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.006731/11.7, allocations: 4.217 MB / 3.672 GB, free: 36.13 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002069/11.7, allocations: 0.6121 MB / 3.673 GB, free: 35.89 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000569/11.7, allocations: 265.3 kB / 3.673 GB, free: 35.77 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.134/11.83, allocations: 39.01 MB / 3.711 GB, free: 2.516 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002038/11.84, allocations: 0.5944 MB / 3.712 GB, free: 1.895 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007021/11.84, allocations: 87.39 kB / 3.712 GB, free: 1.809 MB / 458.7 MB Notification: Performance of pre-optimization done (n=57): time 3.827e-06/11.84, allocations: 0 / 3.712 GB, free: 1.809 MB / 458.7 MB Notification: Performance of matching and sorting (n=65): time 0.01577/11.85, allocations: 3.063 MB / 3.715 GB, free: 14.65 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001871/11.85, allocations: 269.5 kB / 3.715 GB, free: 14.32 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008597/11.85, allocations: 412 kB / 3.716 GB, free: 13.92 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001719/11.85, allocations: 37.7 kB / 3.716 GB, free: 13.88 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000403/11.86, allocations: 339.1 kB / 3.716 GB, free: 13.54 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000327/11.86, allocations: 206.4 kB / 3.716 GB, free: 13.34 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.803e-05/11.86, allocations: 12 kB / 3.716 GB, free: 13.33 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000249/11.86, allocations: 374.8 kB / 3.717 GB, free: 12.96 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008099/11.86, allocations: 253.5 kB / 3.717 GB, free: 12.71 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009626/11.86, allocations: 431.3 kB / 3.717 GB, free: 12.21 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009137/11.86, allocations: 357.9 kB / 3.718 GB, free: 11.86 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/11.86, allocations: 4 kB / 3.718 GB, free: 11.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003073/11.86, allocations: 0.9825 MB / 3.719 GB, free: 10.85 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009544/11.86, allocations: 1.818 MB / 3.72 GB, free: 8.883 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/11.86, allocations: 4 kB / 3.72 GB, free: 8.879 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006752/11.87, allocations: 348.2 kB / 3.721 GB, free: 8.539 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/11.87, allocations: 131.8 kB / 3.721 GB, free: 8.41 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001878/11.87, allocations: 0.8012 MB / 3.722 GB, free: 7.586 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/11.87, allocations: 79.84 kB / 3.722 GB, free: 7.508 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001671/11.87, allocations: 47.97 kB / 3.722 GB, free: 7.461 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/11.87, allocations: 0 / 3.722 GB, free: 7.461 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002989/11.88, allocations: 0.9542 MB / 3.723 GB, free: 6.488 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/11.88, allocations: 4 kB / 3.723 GB, free: 6.484 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006642/11.88, allocations: 344.9 kB / 3.723 GB, free: 6.145 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/11.88, allocations: 123.8 kB / 3.723 GB, free: 6.023 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/11.89, allocations: 0.7954 MB / 3.724 GB, free: 5.203 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/11.89, allocations: 64.02 kB / 3.724 GB, free: 5.141 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000225/11.89, allocations: 52.06 kB / 3.724 GB, free: 5.09 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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.0004472/11.89, allocations: 229.7 kB / 3.724 GB, free: 4.848 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002455/11.89, allocations: 75.25 kB / 3.724 GB, free: 4.773 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3896/12.28, allocations: 4.941 MB / 3.729 GB, free: 61.88 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.121e-05/12.28, allocations: 32.25 kB / 3.729 GB, free: 61.88 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/12.28, allocations: 1 kB / 3.729 GB, free: 61.88 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.753e-05/12.28, allocations: 5.062 kB / 3.729 GB, free: 61.88 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01355/12.29, allocations: 6.812 MB / 3.736 GB, free: 61.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.388e-05/12.29, allocations: 3.953 kB / 3.736 GB, free: 61.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008704/12.29, allocations: 105.9 kB / 3.736 GB, free: 61.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004222/12.3, allocations: 1.281 MB / 3.737 GB, free: 61.22 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002435/12.3, allocations: 25.84 kB / 3.737 GB, free: 61.22 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003641/12.3, allocations: 2.428 MB / 3.739 GB, free: 60.71 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/12.3, allocations: 0.5625 kB / 3.739 GB, free: 60.71 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01267/12.31, allocations: 5.815 MB / 3.745 GB, free: 60.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005441/12.32, allocations: 241.5 kB / 3.745 GB, free: 60.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000343/12.32, allocations: 25.86 kB / 3.745 GB, free: 60.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/12.32, allocations: 73.78 kB / 3.745 GB, free: 60.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/12.32, allocations: 56.52 kB / 3.746 GB, free: 60.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.964e-05/12.32, allocations: 30.62 kB / 3.746 GB, free: 60.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008323/12.32, allocations: 471 kB / 3.746 GB, free: 60.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.51e-07/12.32, allocations: 1.5 kB / 3.746 GB, free: 60.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009524/12.33, allocations: 1.379 MB / 3.747 GB, free: 60.2 MB / 474.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 (59): * Single equations (assignments): 48 * 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.02249/12.35, allocations: 4.778 MB / 3.752 GB, free: 59.11 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006197/12.36, allocations: 1.742 MB / 3.754 GB, free: 58.84 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.356e-05/12.36, allocations: 0 / 3.754 GB, free: 58.84 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002522/12.36, allocations: 0.8693 MB / 3.755 GB, free: 58.71 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00338/12.36, allocations: 308.9 kB / 3.755 GB, free: 58.71 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008534/12.37, allocations: 2.276 MB / 3.757 GB, free: 58.28 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005887/12.37, allocations: 1.097 MB / 3.758 GB, free: 57.57 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001764/12.37, allocations: 0.6278 MB / 3.759 GB, free: 57.56 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006098/12.37, allocations: 392 kB / 3.759 GB, free: 57.55 MB / 474.7 MB Notification: Performance of SimCode: time 1.242e-06/12.37, allocations: 0 / 3.759 GB, free: 57.55 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1542/12.53, allocations: 62.91 MB / 3.821 GB, free: 55.13 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003137/12.53, allocations: 227.5 kB / 3.821 GB, free: 54.91 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.489/18.02, allocations: 0 / 3.821 GB, free: 54.91 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler_res.mat does not exist to compare? outputFormat=mat