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.782/1.782, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.481e-05/4.486e-05, allocations: 4 kB / 225.1 MB, free: 2.254 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2798, allocations: 38.77 MB / 263.9 MB, free: 9.816 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.636/7.916, allocations: 2.56 GB / 2.818 GB, free: 10.19 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/7.916, allocations: 81.39 kB / 2.818 GB, free: 10.15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946/10.86, allocations: 482.3 MB / 3.289 GB, free: 36.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.764e-06/10.86, allocations: 0 / 3.289 GB, free: 36.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.785e-05/10.86, allocations: 15.94 kB / 3.289 GB, free: 36.71 MB / 378.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.00809/10.87, allocations: 1.799 MB / 3.291 GB, free: 35.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/10.87, allocations: 10.06 kB / 3.291 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003183/10.87, allocations: 108.2 kB / 3.291 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00317/10.87, allocations: 242 kB / 3.291 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001509/10.87, allocations: 0.5049 MB / 3.292 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.582e-05/10.88, allocations: 50.25 kB / 3.292 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/10.88, allocations: 58.34 kB / 3.292 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002751/10.88, allocations: 0.9025 MB / 3.293 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.254e-05/10.88, allocations: 7.078 kB / 3.293 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/10.88, allocations: 24.59 kB / 3.293 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/10.88, allocations: 14.66 kB / 3.293 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002418/10.88, allocations: 0.6866 MB / 3.293 GB, free: 35.23 MB / 378.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.006893/10.89, allocations: 4.133 MB / 3.297 GB, free: 32.39 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002166/10.89, allocations: 0.5832 MB / 3.298 GB, free: 32.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005299/10.89, allocations: 231.4 kB / 3.298 GB, free: 32.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1871/11.08, allocations: 55.11 MB / 3.352 GB, free: 16.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001865/11.08, allocations: 0.546 MB / 3.353 GB, free: 16.01 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006502/11.08, allocations: 85.03 kB / 3.353 GB, free: 15.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=53): time 3.747e-06/11.08, allocations: 0 / 3.353 GB, free: 15.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=61): time 0.01486/11.09, allocations: 2.902 MB / 3.356 GB, free: 15.25 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001791/11.1, allocations: 275.6 kB / 3.356 GB, free: 14.94 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006666/11.1, allocations: 391.8 kB / 3.356 GB, free: 14.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001241/11.1, allocations: 41.8 kB / 3.356 GB, free: 14.79 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003108/11.1, allocations: 330.8 kB / 3.357 GB, free: 14.61 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002226/11.1, allocations: 202.7 kB / 3.357 GB, free: 14.49 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-05/11.1, allocations: 14.09 kB / 3.357 GB, free: 14.49 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001832/11.1, allocations: 368.3 kB / 3.357 GB, free: 14.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006225/11.1, allocations: 231.7 kB / 3.357 GB, free: 14.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007452/11.1, allocations: 430.6 kB / 3.358 GB, free: 13.96 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007589/11.1, allocations: 341.4 kB / 3.358 GB, free: 13.88 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/11.1, allocations: 4 kB / 3.358 GB, free: 13.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002551/11.1, allocations: 0.9307 MB / 3.359 GB, free: 13.72 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.949e-05/11.1, allocations: 70.78 kB / 3.359 GB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/11.1, allocations: 3.656 kB / 3.359 GB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006466/11.11, allocations: 348.9 kB / 3.359 GB, free: 13.65 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/11.11, allocations: 127.9 kB / 3.359 GB, free: 13.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001748/11.11, allocations: 0.7993 MB / 3.36 GB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/11.11, allocations: 65.33 kB / 3.36 GB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/11.11, allocations: 44.33 kB / 3.36 GB, free: 13.12 MB / 394.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: 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.00037/11.11, allocations: 228.7 kB / 3.361 GB, free: 12.94 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001768/11.11, allocations: 69 kB / 3.361 GB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007945/11.12, allocations: 4.865 MB / 3.365 GB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.853e-05/11.12, allocations: 32.41 kB / 3.365 GB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/11.12, allocations: 3.281 kB / 3.365 GB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-05/11.12, allocations: 6.609 kB / 3.365 GB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0106/11.13, allocations: 6.718 MB / 3.372 GB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.791e-05/11.13, allocations: 2.969 kB / 3.372 GB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008316/11.13, allocations: 89.41 kB / 3.372 GB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003836/11.14, allocations: 1.276 MB / 3.373 GB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001923/11.14, allocations: 21.27 kB / 3.373 GB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003037/11.14, allocations: 2.437 MB / 3.376 GB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/11.14, allocations: 0 / 3.376 GB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009924/11.15, allocations: 5.694 MB / 3.381 GB, free: 26.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004899/11.15, allocations: 243.3 kB / 3.382 GB, free: 26.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003116/11.15, allocations: 16.41 kB / 3.382 GB, free: 26.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/11.15, allocations: 64.55 kB / 3.382 GB, free: 26.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/11.15, allocations: 59.11 kB / 3.382 GB, free: 26.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001149/11.15, allocations: 32.91 kB / 3.382 GB, free: 26.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008154/11.15, allocations: 458.1 kB / 3.382 GB, free: 26.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.21e-07/11.15, allocations: 0 / 3.382 GB, free: 26.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006325/11.16, allocations: 1.199 MB / 3.383 GB, free: 26.45 MB / 410.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: 25 ($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,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 (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.01675/11.18, allocations: 4.663 MB / 3.388 GB, free: 25.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002671/11.18, allocations: 1.041 MB / 3.389 GB, free: 24.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/11.18, allocations: 3.406 kB / 3.389 GB, free: 24.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001815/11.18, allocations: 0.8144 MB / 3.39 GB, free: 24.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0027/11.18, allocations: 281 kB / 3.39 GB, free: 24.56 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008364/11.19, allocations: 2.2 MB / 3.392 GB, free: 22.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007521/11.19, allocations: 1.098 MB / 3.393 GB, free: 21.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009888/11.19, allocations: 292.6 kB / 3.393 GB, free: 21.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005671/11.19, allocations: 383.8 kB / 3.394 GB, free: 21.05 MB / 410.7 MB Notification: Performance of SimCode: time 1.362e-06/11.19, allocations: 0 / 3.394 GB, free: 21.05 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4416/11.64, allocations: 57.79 MB / 3.45 GB, free: 63.36 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002575/11.64, allocations: 212.6 kB / 3.45 GB, free: 63.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.035/16.67, allocations: 3.688 kB / 3.45 GB, free: 63.14 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