Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.055/2.055, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.395e-05/2.41e-05, allocations: 0 / 249.7 MB, free: 15.21 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.316, allocations: 44.5 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1419/0.4579, allocations: 76.93 MB / 371.1 MB, free: 5.047 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/0.4582, allocations: 67.97 kB / 371.2 MB, free: 4.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07252/0.5307, allocations: 16.03 MB / 387.2 MB, free: 4.844 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.5308, allocations: 0 / 387.2 MB, free: 4.844 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.292e-05/0.5309, allocations: 16 kB / 387.2 MB, free: 4.828 MB / 330.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.003347/0.5343, allocations: 1.08 MB / 388.3 MB, free: 3.684 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.773e-05/0.5343, allocations: 8.031 kB / 388.3 MB, free: 3.676 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004393/0.5348, allocations: 111.1 kB / 388.4 MB, free: 3.566 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00153/0.5363, allocations: 0.5233 MB / 389 MB, free: 3.004 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003032/0.5367, allocations: 130.4 kB / 389.1 MB, free: 2.855 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001668/0.5369, allocations: 43.91 kB / 389.1 MB, free: 2.812 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00153/0.5384, allocations: 490.5 kB / 389.6 MB, free: 2.336 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/0.5401, allocations: 0.7124 MB / 390.3 MB, free: 1.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.303e-05/0.5402, allocations: 4 kB / 390.3 MB, free: 1.516 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-05/0.5403, allocations: 0 / 390.3 MB, free: 1.516 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.334e-05/0.5404, allocations: 19.98 kB / 390.4 MB, free: 1.496 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006172/0.5465, allocations: 2.055 MB / 392.4 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002102/0.5487, allocations: 0.9465 MB / 393.4 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008786/0.5496, allocations: 323.8 kB / 393.7 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001164/0.5498, allocations: 24.69 kB / 393.7 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.134e-05/0.5498, allocations: 43.34 kB / 393.7 MB, free: 13.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=78): time 3.647e-06/0.5498, allocations: 4 kB / 393.7 MB, free: 13.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=78): time 0.003767/0.5536, allocations: 0.8577 MB / 394.6 MB, free: 13.05 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005154/0.5542, allocations: 0.8235 MB / 395.4 MB, free: 12.03 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.5553, allocations: 474.6 kB / 395.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002317/0.5556, allocations: 29.7 kB / 395.9 MB, free: 11.52 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000337/0.5559, allocations: 355.3 kB / 396.3 MB, free: 11.17 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004057/0.5563, allocations: 264 kB / 396.5 MB, free: 10.91 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.946e-05/0.5564, allocations: 0 / 396.5 MB, free: 10.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.5566, allocations: 339.5 kB / 396.8 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006559/0.5573, allocations: 213.6 kB / 397.1 MB, free: 10.36 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009448/0.5582, allocations: 478.4 kB / 397.5 MB, free: 9.797 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007748/0.559, allocations: 255.4 kB / 397.8 MB, free: 9.551 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.5591, allocations: 0 / 397.8 MB, free: 9.551 MB / 346.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003638/0.5627, allocations: 0.8661 MB / 398.6 MB, free: 8.664 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.5629, allocations: 89.11 kB / 398.7 MB, free: 8.559 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.5629, allocations: 0 / 398.7 MB, free: 8.559 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/0.564, allocations: 199.3 kB / 398.9 MB, free: 8.352 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/0.5654, allocations: 163.8 kB / 399.1 MB, free: 8.191 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00974/0.5752, allocations: 6.009 MB / 405.1 MB, free: 1.723 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/0.5766, allocations: 107.3 kB / 405.2 MB, free: 1.617 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.5768, allocations: 20.19 kB / 405.2 MB, free: 1.598 MB / 346.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 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.0003751/0.5772, allocations: 140.7 kB / 405.4 MB, free: 1.453 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003642/0.5808, allocations: 0.8579 MB / 406.2 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004145/0.5813, allocations: 87.06 kB / 406.3 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002843/0.5816, allocations: 75.88 kB / 406.4 MB, free: 420 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.598e-05/0.5816, allocations: 8 kB / 406.4 MB, free: 412 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.5816, allocations: 11.89 kB / 406.4 MB, free: 400 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003379/0.585, allocations: 1.146 MB / 407.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006054/0.5911, allocations: 1.77 MB / 409.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/0.5912, allocations: 4 kB / 409.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001534/0.5927, allocations: 159.8 kB / 409.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007562/0.5935, allocations: 166.5 kB / 409.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001546/0.5937, allocations: 15.94 kB / 409.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008365/0.6021, allocations: 4.631 MB / 414.3 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.6022, allocations: 0 / 414.3 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004502/0.6067, allocations: 1.254 MB / 415.5 MB, free: 6.695 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004089/0.6071, allocations: 168.1 kB / 415.7 MB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002791/0.6074, allocations: 4 kB / 415.7 MB, free: 6.508 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/0.6085, allocations: 47.84 kB / 415.7 MB, free: 6.461 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003077/0.6088, allocations: 76.66 kB / 415.8 MB, free: 6.387 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-05/0.6089, allocations: 16 kB / 415.8 MB, free: 6.371 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007547/0.6097, allocations: 374.9 kB / 416.2 MB, free: 6.008 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.92e-07/0.6097, allocations: 0 / 416.2 MB, free: 6.008 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001537/0.6112, allocations: 263.5 kB / 416.5 MB, free: 5.75 MB / 362.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.004944/0.6162, allocations: 1.834 MB / 418.3 MB, free: 3.879 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002751/0.619, allocations: 1.194 MB / 419.5 MB, free: 2.609 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/0.6191, allocations: 8.062 kB / 419.5 MB, free: 2.602 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00205/0.6212, allocations: 0.707 MB / 420.2 MB, free: 1.867 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001754/0.623, allocations: 179.2 kB / 420.4 MB, free: 1.695 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00513/0.6281, allocations: 1.394 MB / 421.8 MB, free: 256 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2488/0.877, allocations: 0.9527 MB / 422.7 MB, free: 104.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009037/0.878, allocations: 293.5 kB / 423 MB, free: 104.3 MB / 362.7 MB Notification: Performance of SimCode: time 1.212e-06/0.878, allocations: 0.5938 kB / 423 MB, free: 104.3 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.128/4.006, allocations: 24.41 MB / 447.4 MB, free: 95.71 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat does not exist to compare? outputFormat=mat