Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_3_2_1_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.954/1.954, allocations: 171.2 MB / 178.4 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.402e-05/2.399e-05, allocations: 4 kB / 219.6 MB, free: 6.938 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2808, allocations: 38.77 MB / 258.3 MB, free: 12.29 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1654/0.4463, allocations: 71.59 MB / 329.9 MB, free: 6.254 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004104/0.4468, allocations: 75.94 kB / 330 MB, free: 6.18 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07493/0.5217, allocations: 15.97 MB / 346 MB, free: 6.102 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.5218, allocations: 0 / 346 MB, free: 6.102 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.874e-05/0.5219, allocations: 19.98 kB / 346 MB, free: 6.082 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.003355/0.5252, allocations: 1.076 MB / 347.1 MB, free: 4.941 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.051e-05/0.5253, allocations: 8.031 kB / 347.1 MB, free: 4.934 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003864/0.5257, allocations: 110.8 kB / 347.2 MB, free: 4.824 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/0.5271, allocations: 0.5193 MB / 347.7 MB, free: 4.262 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003162/0.5275, allocations: 134.7 kB / 347.8 MB, free: 4.109 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/0.5277, allocations: 39.95 kB / 347.9 MB, free: 4.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001545/0.5292, allocations: 490.5 kB / 348.4 MB, free: 3.594 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00182/0.5311, allocations: 0.7162 MB / 349.1 MB, free: 2.777 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.509e-05/0.5312, allocations: 0 / 349.1 MB, free: 2.777 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/0.5313, allocations: 4 kB / 349.1 MB, free: 2.773 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/0.5313, allocations: 15.94 kB / 349.1 MB, free: 2.758 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005833/0.5372, allocations: 2.043 MB / 351.1 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002018/0.5393, allocations: 0.9541 MB / 352.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008008/0.5401, allocations: 315.8 kB / 352.4 MB, free: 15.28 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001128/0.5402, allocations: 24.75 kB / 352.4 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.545e-05/0.5403, allocations: 49.2 kB / 352.5 MB, free: 15.2 MB / 314.7 MB Notification: Performance of pre-optimization done (n=78): time 3.777e-06/0.5403, allocations: 0 / 352.5 MB, free: 15.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=78): time 0.003635/0.5439, allocations: 0.8578 MB / 353.3 MB, free: 14.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004445/0.5444, allocations: 0.8273 MB / 354.2 MB, free: 13.3 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.5455, allocations: 474.6 kB / 354.6 MB, free: 12.82 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002396/0.5458, allocations: 29.7 kB / 354.7 MB, free: 12.79 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003791/0.5462, allocations: 336.8 kB / 355 MB, free: 12.46 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003729/0.5466, allocations: 256.1 kB / 355.2 MB, free: 12.2 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.236e-05/0.5466, allocations: 4 kB / 355.2 MB, free: 12.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000223/0.5469, allocations: 379.5 kB / 355.6 MB, free: 11.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007312/0.5476, allocations: 217.6 kB / 355.8 MB, free: 11.61 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.5487, allocations: 470.4 kB / 356.3 MB, free: 11.05 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008569/0.5496, allocations: 259.6 kB / 356.5 MB, free: 10.8 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.5497, allocations: 0 / 356.5 MB, free: 10.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003924/0.5536, allocations: 0.9124 MB / 357.4 MB, free: 9.871 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.5537, allocations: 96.66 kB / 357.5 MB, free: 9.762 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.5538, allocations: 0 / 357.5 MB, free: 9.762 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/0.5548, allocations: 207.2 kB / 357.7 MB, free: 9.547 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/0.5562, allocations: 155.8 kB / 357.9 MB, free: 9.395 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009228/0.5655, allocations: 5.997 MB / 363.9 MB, free: 2.938 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/0.5669, allocations: 99.42 kB / 364 MB, free: 2.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001546/0.5671, allocations: 24.16 kB / 364 MB, free: 2.816 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.0004165/0.5675, allocations: 148.9 kB / 364.2 MB, free: 2.664 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003538/0.5711, allocations: 0.8578 MB / 365 MB, free: 1.785 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003738/0.5715, allocations: 83.06 kB / 365.1 MB, free: 1.703 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002958/0.5718, allocations: 79.88 kB / 365.2 MB, free: 1.617 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.5719, allocations: 8 kB / 365.2 MB, free: 1.609 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.5719, allocations: 192 / 365.2 MB, free: 1.609 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00327/0.5752, allocations: 1.154 MB / 366.3 MB, free: 348 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2231/0.7983, allocations: 1.756 MB / 368.1 MB, free: 89.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.605e-05/0.7984, allocations: 4.453 kB / 368.1 MB, free: 89.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001588/0.8, allocations: 157.1 kB / 368.2 MB, free: 89.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006874/0.8007, allocations: 160.2 kB / 368.4 MB, free: 88.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.871e-05/0.8008, allocations: 13.52 kB / 368.4 MB, free: 88.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007118/0.8079, allocations: 4.62 MB / 373 MB, free: 85.39 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.808, allocations: 3.438 kB / 373 MB, free: 85.39 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004159/0.8121, allocations: 1.252 MB / 374.3 MB, free: 85.18 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003364/0.8125, allocations: 165.1 kB / 374.5 MB, free: 85.05 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002151/0.8128, allocations: 4.969 kB / 374.5 MB, free: 85.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009148/0.8137, allocations: 46.52 kB / 374.5 MB, free: 85.05 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002789/0.814, allocations: 67.3 kB / 374.6 MB, free: 85.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.831e-05/0.8141, allocations: 22.22 kB / 374.6 MB, free: 85.05 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007127/0.8148, allocations: 375 kB / 375 MB, free: 84.96 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.8148, allocations: 0 / 375 MB, free: 84.96 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001412/0.8162, allocations: 254 kB / 375.2 MB, free: 84.95 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.004303/0.8206, allocations: 1.841 MB / 377 MB, free: 84.2 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002196/0.8228, allocations: 1.193 MB / 378.2 MB, free: 83.58 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.8229, allocations: 7.531 kB / 378.3 MB, free: 83.58 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001689/0.8246, allocations: 0.7013 MB / 379 MB, free: 83.27 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/0.8261, allocations: 172.5 kB / 379.1 MB, free: 83.27 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00475/0.8309, allocations: 1.395 MB / 380.5 MB, free: 82.84 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004904/0.8314, allocations: 0.9578 MB / 381.5 MB, free: 82.13 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007046/0.8321, allocations: 92.05 kB / 381.6 MB, free: 82.11 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005473/0.8327, allocations: 293.9 kB / 381.8 MB, free: 81.9 MB / 314.7 MB Notification: Performance of SimCode: time 1.012e-06/0.8327, allocations: 0 / 381.8 MB, free: 81.9 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08216/0.9149, allocations: 20.39 MB / 402.2 MB, free: 68.86 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002674/0.9152, allocations: 148.4 kB / 402.4 MB, free: 68.67 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.825/4.741, allocations: 4 kB / 402.4 MB, free: 68.67 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat does not exist to compare? outputFormat=mat