Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.591/2.591, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.449e-05/4.475e-05, allocations: 2.219 kB / 249.8 MB, free: 5.254 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1286, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5911/0.7198, allocations: 76.93 MB / 371.2 MB, free: 7.176 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003326/0.7202, allocations: 77 kB / 371.3 MB, free: 7.172 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1175/0.8377, allocations: 16.1 MB / 387.4 MB, free: 18.58 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.467e-06/0.8378, allocations: 0 / 387.4 MB, free: 18.58 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000116/0.838, allocations: 15.5 kB / 387.4 MB, free: 18.58 MB / 314.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.004746/0.8427, allocations: 1.08 MB / 388.5 MB, free: 17.8 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.614e-05/0.8428, allocations: 13.62 kB / 388.5 MB, free: 17.8 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000416/0.8432, allocations: 95.44 kB / 388.6 MB, free: 17.74 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004705/0.8437, allocations: 109.2 kB / 388.7 MB, free: 17.69 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001986/0.8457, allocations: 0.5272 MB / 389.2 MB, free: 17.35 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004378/0.8462, allocations: 132.9 kB / 389.3 MB, free: 17.25 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002649/0.8465, allocations: 35.59 kB / 389.4 MB, free: 17.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002208/0.8487, allocations: 0.4914 MB / 389.9 MB, free: 17.21 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002317/0.8511, allocations: 0.7297 MB / 390.6 MB, free: 16.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.746e-05/0.8512, allocations: 0 / 390.6 MB, free: 16.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001612/0.8514, allocations: 7.938 kB / 390.6 MB, free: 16.82 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.358e-05/0.8515, allocations: 15.59 kB / 390.6 MB, free: 16.82 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008668/0.8601, allocations: 2.082 MB / 392.7 MB, free: 15.81 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002932/0.8631, allocations: 0.9403 MB / 393.6 MB, free: 15.38 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00129/0.8645, allocations: 329.5 kB / 394 MB, free: 15.35 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001598/0.8647, allocations: 18.11 kB / 394 MB, free: 15.35 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.306e-05/0.8648, allocations: 53.39 kB / 394 MB, free: 15.3 MB / 314.7 MB Notification: Performance of pre-optimization done (n=78): time 5.29e-06/0.8648, allocations: 0 / 394 MB, free: 15.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=78): time 0.005348/0.8702, allocations: 0.8577 MB / 394.9 MB, free: 15.06 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005391/0.8708, allocations: 0.8188 MB / 395.7 MB, free: 14.06 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.8721, allocations: 479.1 kB / 396.2 MB, free: 13.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002926/0.8724, allocations: 29.58 kB / 396.2 MB, free: 13.88 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000436/0.8729, allocations: 338.1 kB / 396.5 MB, free: 13.71 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005633/0.8734, allocations: 269.7 kB / 396.8 MB, free: 13.5 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.832e-05/0.8736, allocations: 3.875 kB / 396.8 MB, free: 13.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003195/0.8739, allocations: 381.2 kB / 397.2 MB, free: 13.17 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000893/0.8748, allocations: 219.8 kB / 397.4 MB, free: 13.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/0.876, allocations: 472 kB / 397.8 MB, free: 12.88 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009968/0.8771, allocations: 256.8 kB / 398.1 MB, free: 12.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.125e-05/0.8771, allocations: 3.984 kB / 398.1 MB, free: 12.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.005591/0.8827, allocations: 0.9053 MB / 399 MB, free: 12.6 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001219/0.8829, allocations: 84.3 kB / 399.1 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.8829, allocations: 3.875 kB / 399.1 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001602/0.8845, allocations: 199.8 kB / 399.3 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002007/0.8866, allocations: 156.2 kB / 399.4 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0132/0.8999, allocations: 6.025 MB / 405.5 MB, free: 7.199 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/0.9017, allocations: 93.92 kB / 405.6 MB, free: 7.156 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001804/0.902, allocations: 22.31 kB / 405.6 MB, free: 7.156 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 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.0004942/0.9025, allocations: 133 kB / 405.7 MB, free: 7.035 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003706/0.9029, allocations: 89.61 kB / 405.8 MB, free: 6.992 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003649/0.9033, allocations: 80.56 kB / 405.9 MB, free: 6.969 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.9033, allocations: 15.75 kB / 405.9 MB, free: 6.961 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.9033, allocations: 0 / 405.9 MB, free: 6.961 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004449/0.9078, allocations: 1.151 MB / 407 MB, free: 6.266 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007948/0.9158, allocations: 1.781 MB / 408.8 MB, free: 5.547 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.488e-05/0.9159, allocations: 4 kB / 408.8 MB, free: 5.543 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002042/0.9179, allocations: 154 kB / 409 MB, free: 5.516 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001017/0.919, allocations: 175.6 kB / 409.1 MB, free: 5.453 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000189/0.9192, allocations: 3.875 kB / 409.1 MB, free: 5.453 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01088/0.9301, allocations: 4.636 MB / 413.8 MB, free: 1.504 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/0.9302, allocations: 0 / 413.8 MB, free: 1.504 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005471/0.9357, allocations: 1.261 MB / 415 MB, free: 1.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004419/0.9362, allocations: 162.3 kB / 415.2 MB, free: 1.012 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003229/0.9365, allocations: 7.906 kB / 415.2 MB, free: 1.008 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001405/0.9379, allocations: 46.91 kB / 415.3 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003914/0.9383, allocations: 69.3 kB / 415.3 MB, free: 0.957 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.704e-05/0.9385, allocations: 26.42 kB / 415.4 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008302/0.9393, allocations: 369.7 kB / 415.7 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.9393, allocations: 0 / 415.7 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00176/0.9411, allocations: 271.6 kB / 416 MB, free: 0.8203 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.006252/0.9474, allocations: 1.841 MB / 417.8 MB, free: 15.93 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003505/0.951, allocations: 1.193 MB / 419 MB, free: 15.12 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/0.951, allocations: 4 kB / 419 MB, free: 15.12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002685/0.9537, allocations: 0.6988 MB / 419.7 MB, free: 14.51 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002141/0.9559, allocations: 178.3 kB / 419.9 MB, free: 14.38 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006394/0.9624, allocations: 1.365 MB / 421.3 MB, free: 13.06 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008896/0.9633, allocations: 0.9677 MB / 422.2 MB, free: 12.06 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001011/0.9644, allocations: 82.02 kB / 422.3 MB, free: 11.98 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009083/0.9653, allocations: 303.3 kB / 422.6 MB, free: 11.69 MB / 330.7 MB Notification: Performance of SimCode: time 1.592e-06/0.9653, allocations: 0 / 422.6 MB, free: 11.69 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1235/1.089, allocations: 21.71 MB / 444.3 MB, free: 6.035 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003566/1.089, allocations: 153.4 kB / 444.5 MB, free: 5.844 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.225/6.314, allocations: 3.938 kB / 444.5 MB, free: 5.84 MB / 346.7 MB