Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.858/1.858, allocations: 171.2 MB / 183.8 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.463e-05/3.466e-05, allocations: 4 kB / 225.1 MB, free: 2.703 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2828, allocations: 38.77 MB / 263.8 MB, free: 9.758 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1292/0.4121, allocations: 71.23 MB / 335.1 MB, free: 2.418 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002981/0.4124, allocations: 75.95 kB / 335.2 MB, free: 2.344 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04321/0.4557, allocations: 9.704 MB / 344.9 MB, free: 8.578 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4557, allocations: 4 kB / 344.9 MB, free: 8.574 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.231e-05/0.4558, allocations: 12 kB / 344.9 MB, free: 8.562 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.001895/0.4577, allocations: 0.7336 MB / 345.6 MB, free: 7.777 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/0.4577, allocations: 8.031 kB / 345.6 MB, free: 7.77 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001807/0.4579, allocations: 79.22 kB / 345.7 MB, free: 7.684 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/0.4581, allocations: 67.33 kB / 345.8 MB, free: 7.617 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008491/0.459, allocations: 401.6 kB / 346.2 MB, free: 7.188 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001467/0.4591, allocations: 62.81 kB / 346.2 MB, free: 7.121 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-05/0.4593, allocations: 39.95 kB / 346.3 MB, free: 7.082 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.4604, allocations: 460.3 kB / 346.7 MB, free: 6.578 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.4604, allocations: 0 / 346.7 MB, free: 6.578 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.433e-05/0.4605, allocations: 16 kB / 346.7 MB, free: 6.562 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.4605, allocations: 8 kB / 346.7 MB, free: 6.555 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008566/0.4614, allocations: 289.4 kB / 347 MB, free: 6.273 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003731/0.4651, allocations: 1.327 MB / 348.3 MB, free: 4.867 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.4665, allocations: 433.9 kB / 348.8 MB, free: 4.418 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000421/0.467, allocations: 168.7 kB / 348.9 MB, free: 4.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.786e-05/0.4671, allocations: 4 kB / 348.9 MB, free: 4.246 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.657e-05/0.4671, allocations: 42.55 kB / 349 MB, free: 4.195 MB / 298.7 MB Notification: Performance of pre-optimization done (n=38): time 2.956e-06/0.4671, allocations: 0 / 349 MB, free: 4.195 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.001159/0.4683, allocations: 371.1 kB / 349.3 MB, free: 3.82 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002531/0.4686, allocations: 452.9 kB / 349.8 MB, free: 3.273 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007918/0.4694, allocations: 391.2 kB / 350.2 MB, free: 2.891 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.474e-05/0.4695, allocations: 41.69 kB / 350.2 MB, free: 2.844 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002336/0.4697, allocations: 270.9 kB / 350.5 MB, free: 2.578 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/0.4699, allocations: 130.1 kB / 350.6 MB, free: 2.449 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.47, allocations: 8 kB / 350.6 MB, free: 2.441 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.4701, allocations: 326.8 kB / 350.9 MB, free: 2.113 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003516/0.4705, allocations: 112 kB / 351 MB, free: 2.004 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000519/0.471, allocations: 258.4 kB / 351.3 MB, free: 1.699 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004121/0.4714, allocations: 161.7 kB / 351.4 MB, free: 1.535 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.4714, allocations: 0 / 351.4 MB, free: 1.535 MB / 298.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001071/0.4725, allocations: 393.5 kB / 351.8 MB, free: 1.133 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.535e-05/0.4726, allocations: 33.7 kB / 351.9 MB, free: 1.094 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.4726, allocations: 0 / 351.9 MB, free: 1.094 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002388/0.4729, allocations: 53.69 kB / 351.9 MB, free: 1.035 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008463/0.4737, allocations: 99.91 kB / 352 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003179/0.4769, allocations: 2.736 MB / 354.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008031/0.4778, allocations: 63.7 kB / 354.8 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.808e-05/0.4779, allocations: 12 kB / 354.8 MB, free: 13.86 MB / 314.7 MB 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.0001906/0.4781, allocations: 132.9 kB / 354.9 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.4782, allocations: 51.34 kB / 355 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001737/0.4784, allocations: 56.88 kB / 355 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.4784, allocations: 4 kB / 355.1 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.4784, allocations: 7.938 kB / 355.1 MB, free: 13.6 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009994/0.4794, allocations: 0.6763 MB / 355.7 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002239/0.4817, allocations: 0.9886 MB / 356.7 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.4817, allocations: 4 kB / 356.7 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009149/0.4827, allocations: 103.9 kB / 356.8 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-05/0.4827, allocations: 0 / 356.8 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.276e-05/0.4827, allocations: 15.89 kB / 356.8 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.4828, allocations: 0 / 356.8 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4828, allocations: 80 / 356.8 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/0.4842, allocations: 0.5772 MB / 357.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002147/0.4844, allocations: 140.4 kB / 357.6 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.4845, allocations: 8 kB / 357.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006156/0.4852, allocations: 31.94 kB / 357.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.4853, allocations: 27.95 kB / 357.6 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.515e-05/0.4853, allocations: 16 kB / 357.6 MB, free: 10.8 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005951/0.4859, allocations: 317.2 kB / 358 MB, free: 10.5 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.486, allocations: 0 / 358 MB, free: 10.5 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007337/0.4867, allocations: 151.8 kB / 358.1 MB, free: 10.35 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.00241/0.4891, allocations: 1.146 MB / 359.2 MB, free: 9.176 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002094/0.4913, allocations: 0.565 MB / 359.8 MB, free: 8.578 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/0.4913, allocations: 0 / 359.8 MB, free: 8.578 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000668/0.492, allocations: 151.9 kB / 360 MB, free: 8.43 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001641/0.4937, allocations: 134 kB / 360.1 MB, free: 8.301 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003544/0.4973, allocations: 0.8056 MB / 360.9 MB, free: 7.445 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004978/0.4978, allocations: 0.8394 MB / 361.7 MB, free: 6.578 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005118/0.4983, allocations: 171.4 kB / 361.9 MB, free: 6.41 MB / 314.7 MB Notification: Performance of SimCode: time 1.383e-06/0.4984, allocations: 0 / 361.9 MB, free: 6.41 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.223/3.722, allocations: 10.6 MB / 372.5 MB, free: 90.68 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat does not exist to compare? outputFormat=mat