Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_3_2_1_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.886/1.886, allocations: 171.3 MB / 178.4 MB, free: 160 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.829e-05/2.842e-05, allocations: 4 kB / 219.6 MB, free: 6.945 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2961, allocations: 38.76 MB / 258.3 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1314/0.4276, allocations: 70.57 MB / 328.9 MB, free: 7.195 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/0.428, allocations: 71.97 kB / 329 MB, free: 7.125 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04228/0.4703, allocations: 9.585 MB / 338.6 MB, free: 13.49 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4703, allocations: 0 / 338.6 MB, free: 13.49 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.281e-05/0.4704, allocations: 16 kB / 338.6 MB, free: 13.47 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001893/0.4723, allocations: 0.7453 MB / 339.3 MB, free: 12.67 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.895e-05/0.4724, allocations: 8.031 kB / 339.3 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001917/0.4726, allocations: 67.25 kB / 339.4 MB, free: 12.6 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008779/0.4735, allocations: 384 kB / 339.8 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000141/0.4736, allocations: 54.47 kB / 339.8 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.469e-05/0.4737, allocations: 20.34 kB / 339.8 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008134/0.4746, allocations: 265.5 kB / 340.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009454/0.4755, allocations: 413.3 kB / 340.5 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.4756, allocations: 0 / 340.5 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.397e-05/0.4756, allocations: 0 / 340.5 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.4756, allocations: 8 kB / 340.5 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003515/0.4792, allocations: 1.232 MB / 341.8 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/0.4805, allocations: 413.8 kB / 342.2 MB, free: 9.648 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003862/0.4809, allocations: 148.8 kB / 342.3 MB, free: 9.5 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.616e-05/0.481, allocations: 4 kB / 342.3 MB, free: 9.496 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.481, allocations: 46.5 kB / 342.4 MB, free: 9.441 MB / 298.7 MB Notification: Performance of pre-optimization done (n=38): time 4.007e-06/0.4811, allocations: 4 kB / 342.4 MB, free: 9.438 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.00138/0.4824, allocations: 370.9 kB / 342.7 MB, free: 9.062 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003298/0.4828, allocations: 452.9 kB / 343.2 MB, free: 8.516 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000944/0.4838, allocations: 341.3 kB / 343.5 MB, free: 8.172 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001457/0.4839, allocations: 29.7 kB / 343.5 MB, free: 8.137 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003423/0.4843, allocations: 240.5 kB / 343.8 MB, free: 7.898 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002208/0.4845, allocations: 126.1 kB / 343.9 MB, free: 7.773 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-05/0.4846, allocations: 0 / 343.9 MB, free: 7.773 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002565/0.4849, allocations: 358.8 kB / 344.2 MB, free: 7.414 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004315/0.4853, allocations: 100 kB / 344.3 MB, free: 7.316 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000649/0.486, allocations: 238.5 kB / 344.6 MB, free: 7.031 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005156/0.4865, allocations: 141 kB / 344.7 MB, free: 6.898 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.4865, allocations: 0 / 344.7 MB, free: 6.898 MB / 298.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001644/0.4882, allocations: 386.6 kB / 345.1 MB, free: 6.508 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.11e-05/0.4883, allocations: 33.7 kB / 345.1 MB, free: 6.469 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.4883, allocations: 0 / 345.1 MB, free: 6.469 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004727/0.4888, allocations: 57.62 kB / 345.2 MB, free: 6.406 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.4899, allocations: 99.91 kB / 345.3 MB, free: 6.309 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00389/0.4938, allocations: 2.626 MB / 347.9 MB, free: 3.453 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009238/0.4948, allocations: 51.89 kB / 347.9 MB, free: 3.402 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-05/0.4948, allocations: 15.98 kB / 348 MB, free: 3.387 MB / 298.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real pump.h:VARIABLE(unit = "J/kg" protected = true ) "Medium's specific enthalpy" type: Real pipe.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003465/0.4952, allocations: 125 kB / 348.1 MB, free: 3.258 MB / 298.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001393/0.4966, allocations: 358.4 kB / 348.4 MB, free: 2.895 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001792/0.4968, allocations: 55.39 kB / 348.5 MB, free: 2.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001928/0.497, allocations: 44.91 kB / 348.5 MB, free: 2.793 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.729e-06/0.497, allocations: 4 kB / 348.5 MB, free: 2.789 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.4971, allocations: 0 / 348.5 MB, free: 2.789 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001233/0.4983, allocations: 0.665 MB / 349.2 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00273/0.5011, allocations: 0.9072 MB / 350.1 MB, free: 1.062 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.5011, allocations: 0 / 350.1 MB, free: 1.062 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/0.5023, allocations: 99.88 kB / 350.2 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.469e-05/0.5024, allocations: 4 kB / 350.2 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.98e-05/0.5024, allocations: 4 kB / 350.2 MB, free: 0.957 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.06e-05/0.5025, allocations: 11.92 kB / 350.2 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.5025, allocations: 0 / 350.2 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/0.5042, allocations: 0.5462 MB / 350.8 MB, free: 388 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002583/0.5045, allocations: 132.4 kB / 350.9 MB, free: 236 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/0.5047, allocations: 4 kB / 350.9 MB, free: 232 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000784/0.5055, allocations: 32.03 kB / 350.9 MB, free: 200 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.5057, allocations: 19.97 kB / 350.9 MB, free: 180 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.628e-05/0.5057, allocations: 15.98 kB / 351 MB, free: 164 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000663/0.5064, allocations: 267 kB / 351.2 MB, free: 15.9 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.42e-07/0.5064, allocations: 0 / 351.2 MB, free: 15.9 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001056/0.5075, allocations: 139.7 kB / 351.4 MB, free: 15.77 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002158/0.5097, allocations: 1.11 MB / 352.5 MB, free: 14.63 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001608/0.5113, allocations: 0.5497 MB / 353 MB, free: 14.05 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/0.5114, allocations: 8.125 kB / 353 MB, free: 14.04 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004863/0.5119, allocations: 143.9 kB / 353.2 MB, free: 13.9 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/0.5131, allocations: 109.8 kB / 353.3 MB, free: 13.79 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003354/0.5165, allocations: 0.7343 MB / 354 MB, free: 13.02 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006854/0.5172, allocations: 0.843 MB / 354.9 MB, free: 12.14 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006457/0.5179, allocations: 52.16 kB / 354.9 MB, free: 12.09 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000539/0.5185, allocations: 167.4 kB / 355.1 MB, free: 11.93 MB / 314.7 MB Notification: Performance of SimCode: time 1.202e-06/0.5185, allocations: 0 / 355.1 MB, free: 11.93 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08275/0.6013, allocations: 10.42 MB / 365.5 MB, free: 1.527 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003157/0.6016, allocations: 147.6 kB / 365.6 MB, free: 1.328 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.131/3.733, allocations: 0 / 365.6 MB, free: 1.328 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat does not exist to compare? outputFormat=mat