Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler,fileNamePrefix="Modelica_3_2_2_Modelica_Fluid_Examples_DrumBoiler_DrumBoiler",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.072/2.072, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.26e-05/3.27e-05, allocations: 4 kB / 255.4 MB, free: 2.645 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09858/0.09865, allocations: 44.51 MB / 300 MB, free: 6.082 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.403/8.501, allocations: 2.67 GB / 2.963 GB, free: 38.35 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/8.502, allocations: 76.97 kB / 2.963 GB, free: 38.31 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.64/11.14, allocations: 494.3 MB / 3.446 GB, free: 25.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.254e-06/11.14, allocations: 0 / 3.446 GB, free: 25.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.177e-05/11.14, allocations: 12.5 kB / 3.446 GB, free: 25.5 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.008302/11.15, allocations: 1.855 MB / 3.448 GB, free: 24.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/11.15, allocations: 11.97 kB / 3.448 GB, free: 24.11 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003255/11.15, allocations: 110.7 kB / 3.448 GB, free: 24.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003343/11.15, allocations: 255.4 kB / 3.448 GB, free: 23.81 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/11.16, allocations: 0.498 MB / 3.448 GB, free: 23.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.183e-05/11.16, allocations: 49.31 kB / 3.448 GB, free: 23.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/11.16, allocations: 60 kB / 3.448 GB, free: 23.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003186/11.16, allocations: 0.9126 MB / 3.449 GB, free: 22.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.273e-05/11.16, allocations: 7.953 kB / 3.449 GB, free: 22.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/11.16, allocations: 28 kB / 3.449 GB, free: 22.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/11.16, allocations: 15.25 kB / 3.449 GB, free: 22.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002847/11.16, allocations: 0.7096 MB / 3.45 GB, free: 21.77 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.007712/11.17, allocations: 4.154 MB / 3.454 GB, free: 17.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00237/11.17, allocations: 0.6006 MB / 3.455 GB, free: 17.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006377/11.17, allocations: 249.8 kB / 3.455 GB, free: 17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6019/11.78, allocations: 55.16 MB / 3.509 GB, free: 32.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002048/11.78, allocations: 0.5695 MB / 3.509 GB, free: 32.77 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007023/11.78, allocations: 79.75 kB / 3.509 GB, free: 32.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=57): time 5.391e-06/11.78, allocations: 3.906 kB / 3.51 GB, free: 32.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=65): time 0.01575/11.79, allocations: 2.914 MB / 3.512 GB, free: 32.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/11.79, allocations: 274.5 kB / 3.513 GB, free: 31.79 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007124/11.79, allocations: 397.8 kB / 3.513 GB, free: 31.67 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001977/11.79, allocations: 41.2 kB / 3.513 GB, free: 31.64 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000298/11.8, allocations: 327.6 kB / 3.513 GB, free: 31.49 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002948/11.8, allocations: 210.9 kB / 3.514 GB, free: 31.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.465e-05/11.8, allocations: 15.34 kB / 3.514 GB, free: 31.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/11.8, allocations: 373.1 kB / 3.514 GB, free: 31.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006936/11.8, allocations: 243.1 kB / 3.514 GB, free: 31.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008021/11.8, allocations: 441.8 kB / 3.515 GB, free: 30.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008229/11.8, allocations: 351.2 kB / 3.515 GB, free: 30.79 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/11.8, allocations: 5.219 kB / 3.515 GB, free: 30.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00268/11.8, allocations: 0.9263 MB / 3.516 GB, free: 30.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004924/11.8, allocations: 1.986 MB / 3.518 GB, free: 28.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/11.8, allocations: 7.344 kB / 3.518 GB, free: 28.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009111/11.81, allocations: 345.4 kB / 3.518 GB, free: 28.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/11.81, allocations: 130.8 kB / 3.518 GB, free: 28.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002539/11.81, allocations: 0.8005 MB / 3.519 GB, free: 28.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002234/11.82, allocations: 73.84 kB / 3.519 GB, free: 28.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003358/11.82, allocations: 47.53 kB / 3.519 GB, free: 28.05 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/11.82, allocations: 3.594 kB / 3.519 GB, free: 28.05 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003293/11.82, allocations: 0.8815 MB / 3.52 GB, free: 27.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/11.82, allocations: 7.812 kB / 3.52 GB, free: 27.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008624/11.83, allocations: 344.5 kB / 3.52 GB, free: 27.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/11.83, allocations: 128.2 kB / 3.52 GB, free: 27.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002417/11.83, allocations: 0.8018 MB / 3.521 GB, free: 27.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/11.84, allocations: 59.33 kB / 3.521 GB, free: 27.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002739/11.84, allocations: 45.97 kB / 3.521 GB, free: 27.44 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.0005574/11.84, allocations: 224.2 kB / 3.522 GB, free: 27.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003484/11.84, allocations: 69.12 kB / 3.522 GB, free: 27.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.012/11.85, allocations: 4.869 MB / 3.526 GB, free: 26.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.115e-05/11.85, allocations: 31.33 kB / 3.526 GB, free: 26.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.585e-05/11.85, allocations: 3.094 kB / 3.526 GB, free: 26.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-05/11.85, allocations: 7.422 kB / 3.526 GB, free: 26.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.016/11.86, allocations: 6.726 MB / 3.533 GB, free: 26.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-05/11.87, allocations: 3.344 kB / 3.533 GB, free: 26.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/11.87, allocations: 91.91 kB / 3.533 GB, free: 26.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005336/11.87, allocations: 1.28 MB / 3.534 GB, free: 26.22 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002583/11.87, allocations: 26.06 kB / 3.534 GB, free: 26.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004312/11.88, allocations: 2.43 MB / 3.537 GB, free: 25.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/11.88, allocations: 0 / 3.537 GB, free: 25.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01398/11.89, allocations: 5.716 MB / 3.542 GB, free: 25.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005915/11.89, allocations: 238.4 kB / 3.543 GB, free: 25.17 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004218/11.89, allocations: 20.38 kB / 3.543 GB, free: 25.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001831/11.89, allocations: 66.8 kB / 3.543 GB, free: 25.17 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002139/11.89, allocations: 51.06 kB / 3.543 GB, free: 25.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/11.89, allocations: 33.2 kB / 3.543 GB, free: 25.17 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008688/11.89, allocations: 458.5 kB / 3.543 GB, free: 25.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.41e-07/11.89, allocations: 0 / 3.543 GB, free: 25.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007359/11.9, allocations: 1.371 MB / 3.544 GB, free: 25.06 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.01777/11.92, allocations: 4.666 MB / 3.549 GB, free: 23.96 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005939/11.93, allocations: 1.763 MB / 3.551 GB, free: 23.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/11.93, allocations: 2.875 kB / 3.551 GB, free: 23.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001931/11.93, allocations: 0.8636 MB / 3.552 GB, free: 23.55 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002866/11.93, allocations: 288.7 kB / 3.552 GB, free: 23.54 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00873/11.94, allocations: 2.249 MB / 3.554 GB, free: 23.05 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006225/11.94, allocations: 1.099 MB / 3.555 GB, free: 22.35 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001964/11.94, allocations: 0.6245 MB / 3.556 GB, free: 22.33 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007429/11.94, allocations: 386.3 kB / 3.556 GB, free: 22.32 MB / 426.7 MB Notification: Performance of SimCode: time 1.593e-06/11.94, allocations: 0 / 3.556 GB, free: 22.32 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1468/12.09, allocations: 61.9 MB / 3.617 GB, free: 10.07 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002334/12.09, allocations: 213.8 kB / 3.617 GB, free: 9.844 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.594/17.68, allocations: 1.531 kB / 3.617 GB, free: 9.844 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler_res.mat does not exist to compare? outputFormat=mat