Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.828/1.828, allocations: 171.2 MB / 178.8 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.761e-05/2.788e-05, allocations: 0 / 219.6 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2617, allocations: 38.76 MB / 258.3 MB, free: 12.07 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1273/0.3891, allocations: 71.59 MB / 329.9 MB, free: 6.242 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/0.3894, allocations: 71.97 kB / 330 MB, free: 6.172 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07145/0.4609, allocations: 15.97 MB / 346 MB, free: 6.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4609, allocations: 0 / 346 MB, free: 6.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.579e-05/0.461, allocations: 16 kB / 346 MB, free: 6.074 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.003432/0.4644, allocations: 1.08 MB / 347 MB, free: 4.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/0.4645, allocations: 8.031 kB / 347.1 MB, free: 4.922 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004279/0.465, allocations: 106.9 kB / 347.2 MB, free: 4.816 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001517/0.4665, allocations: 0.5271 MB / 347.7 MB, free: 4.246 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003132/0.4668, allocations: 126.8 kB / 347.8 MB, free: 4.102 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/0.467, allocations: 43.95 kB / 347.9 MB, free: 4.059 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001524/0.4686, allocations: 494.5 kB / 348.3 MB, free: 3.578 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/0.4703, allocations: 0.7197 MB / 349.1 MB, free: 2.758 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.1e-05/0.4704, allocations: 0 / 349.1 MB, free: 2.758 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.662e-05/0.4705, allocations: 4 kB / 349.1 MB, free: 2.754 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.131e-05/0.4705, allocations: 12 kB / 349.1 MB, free: 2.742 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006053/0.4766, allocations: 2.039 MB / 351.1 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002057/0.4787, allocations: 0.9626 MB / 352.1 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00084/0.4796, allocations: 321.2 kB / 352.4 MB, free: 15.26 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001149/0.4797, allocations: 16.77 kB / 352.4 MB, free: 15.24 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.475e-05/0.4798, allocations: 47.34 kB / 352.4 MB, free: 15.18 MB / 314.7 MB Notification: Performance of pre-optimization done (n=78): time 4.969e-06/0.4798, allocations: 0 / 352.4 MB, free: 15.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=78): time 0.003622/0.4835, allocations: 0.8634 MB / 353.3 MB, free: 14.3 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004232/0.4839, allocations: 0.8235 MB / 354.1 MB, free: 13.28 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.485, allocations: 478.6 kB / 354.6 MB, free: 12.8 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002307/0.4852, allocations: 25.7 kB / 354.6 MB, free: 12.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003307/0.4856, allocations: 355.3 kB / 355 MB, free: 12.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000348/0.4859, allocations: 260.1 kB / 355.2 MB, free: 12.17 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.749e-05/0.486, allocations: 0 / 355.2 MB, free: 12.17 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.4862, allocations: 338.8 kB / 355.6 MB, free: 11.83 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006276/0.4868, allocations: 217.5 kB / 355.8 MB, free: 11.62 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009218/0.4877, allocations: 474.4 kB / 356.2 MB, free: 11.05 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007162/0.4885, allocations: 249.2 kB / 356.5 MB, free: 10.81 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.4885, allocations: 0 / 356.5 MB, free: 10.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003534/0.492, allocations: 0.8662 MB / 357.3 MB, free: 9.93 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.225e-05/0.4922, allocations: 92.66 kB / 357.4 MB, free: 9.824 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.4922, allocations: 0 / 357.4 MB, free: 9.824 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/0.4932, allocations: 207.3 kB / 357.6 MB, free: 9.609 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/0.4947, allocations: 151.8 kB / 357.8 MB, free: 9.461 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009995/0.5047, allocations: 6.001 MB / 363.8 MB, free: 3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/0.5062, allocations: 111.5 kB / 363.9 MB, free: 2.891 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/0.5063, allocations: 24 kB / 363.9 MB, free: 2.867 MB / 314.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: pipe1.flowPort_b.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real 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 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 (73): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004035/0.5067, allocations: 137.1 kB / 364.1 MB, free: 2.727 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003556/0.5103, allocations: 0.8617 MB / 364.9 MB, free: 1.844 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004099/0.5108, allocations: 83.06 kB / 365 MB, free: 1.762 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002899/0.5111, allocations: 83.86 kB / 365.1 MB, free: 1.672 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/0.5111, allocations: 8 kB / 365.1 MB, free: 1.664 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.5111, allocations: 4 kB / 365.1 MB, free: 1.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003422/0.5146, allocations: 1.15 MB / 366.2 MB, free: 404 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2252/0.7398, allocations: 1.758 MB / 368 MB, free: 88.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/0.7399, allocations: 0 / 368 MB, free: 88.94 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001592/0.7415, allocations: 155.3 kB / 368.1 MB, free: 88.94 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007279/0.7422, allocations: 161.8 kB / 368.3 MB, free: 88.92 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001391/0.7424, allocations: 10.28 kB / 368.3 MB, free: 88.92 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007024/0.7494, allocations: 4.629 MB / 372.9 MB, free: 85.32 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.7495, allocations: 1.469 kB / 372.9 MB, free: 85.32 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004182/0.7537, allocations: 1.254 MB / 374.2 MB, free: 85.11 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003608/0.7541, allocations: 163.5 kB / 374.4 MB, free: 84.98 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002463/0.7544, allocations: 5.5 kB / 374.4 MB, free: 84.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009528/0.7553, allocations: 47.86 kB / 374.4 MB, free: 84.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002685/0.7556, allocations: 68 kB / 374.5 MB, free: 84.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.944e-05/0.7557, allocations: 23.7 kB / 374.5 MB, free: 84.97 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006857/0.7564, allocations: 370.8 kB / 374.9 MB, free: 84.89 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.413e-06/0.7564, allocations: 0 / 374.9 MB, free: 84.89 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001435/0.7579, allocations: 254.3 kB / 375.1 MB, free: 84.88 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.004258/0.7621, allocations: 1.835 MB / 376.9 MB, free: 84.13 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002211/0.7644, allocations: 1.202 MB / 378.1 MB, free: 83.51 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/0.7645, allocations: 1.969 kB / 378.2 MB, free: 83.51 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001717/0.7662, allocations: 0.7021 MB / 378.9 MB, free: 83.2 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/0.7678, allocations: 186.5 kB / 379 MB, free: 83.19 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004747/0.7726, allocations: 1.423 MB / 380.5 MB, free: 82.74 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004436/0.7731, allocations: 0.9529 MB / 381.4 MB, free: 82.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006728/0.7737, allocations: 296.2 kB / 381.7 MB, free: 81.82 MB / 314.7 MB Notification: Performance of SimCode: time 1.323e-06/0.7738, allocations: 0 / 381.7 MB, free: 81.82 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.19/3.963, allocations: 24.36 MB / 406.1 MB, free: 65.04 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat does not exist to compare? outputFormat=mat