Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_trunk_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.122/2.122, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.356e-05/4.36e-05, allocations: 0 / 292.2 MB, free: 8.758 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1609, allocations: 50.42 MB / 342.6 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4533/0.6143, allocations: 82.25 MB / 424.9 MB, free: 11.94 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/0.6146, allocations: 70.39 kB / 424.9 MB, free: 11.9 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09471/0.7093, allocations: 16.65 MB / 441.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.7094, allocations: 224 / 441.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.185e-05/0.7095, allocations: 16 kB / 441.6 MB, free: 13.89 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.003845/0.7133, allocations: 1.113 MB / 442.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.317e-05/0.7134, allocations: 8.031 kB / 442.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004019/0.7138, allocations: 117.7 kB / 442.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004227/0.7143, allocations: 118 kB / 443 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001642/0.7159, allocations: 0.5445 MB / 443.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003422/0.7163, allocations: 151.5 kB / 443.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001759/0.7165, allocations: 65.59 kB / 443.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002094/0.7186, allocations: 0.8275 MB / 444.5 MB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.281e-05/0.7187, allocations: 0 / 444.5 MB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001234/0.7188, allocations: 34.12 kB / 444.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/0.7189, allocations: 12 kB / 444.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001596/0.7205, allocations: 0.5168 MB / 445.1 MB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006567/0.7271, allocations: 2.249 MB / 447.4 MB, free: 9.082 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002187/0.7293, allocations: 0.9776 MB / 448.3 MB, free: 8.262 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000906/0.7303, allocations: 351.4 kB / 448.7 MB, free: 8.051 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.52e-05/0.7304, allocations: 16.02 kB / 448.7 MB, free: 8.039 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.294e-05/0.7305, allocations: 54.53 kB / 448.7 MB, free: 7.984 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 3.676e-06/0.7305, allocations: 4 kB / 448.8 MB, free: 7.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.003713/0.7342, allocations: 0.8832 MB / 449.6 MB, free: 7.289 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004854/0.7348, allocations: 0.8265 MB / 450.5 MB, free: 6.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.736, allocations: 0.5736 MB / 451 MB, free: 5.828 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002494/0.7363, allocations: 48.64 kB / 451.1 MB, free: 5.789 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003254/0.7366, allocations: 363.1 kB / 451.4 MB, free: 5.543 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004246/0.7371, allocations: 272 kB / 451.7 MB, free: 5.273 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.089e-05/0.7371, allocations: 16 kB / 451.7 MB, free: 5.258 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.7373, allocations: 342.8 kB / 452.1 MB, free: 4.914 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000735/0.7381, allocations: 229.5 kB / 452.3 MB, free: 4.691 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/0.7392, allocations: 0.4923 MB / 452.8 MB, free: 4.094 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008973/0.7401, allocations: 357.2 kB / 453.1 MB, free: 3.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.932e-06/0.7401, allocations: 4 kB / 453.1 MB, free: 3.727 MB / 362.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003696/0.7438, allocations: 0.9767 MB / 454.1 MB, free: 2.707 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.744, allocations: 86.52 kB / 454.2 MB, free: 2.605 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.744, allocations: 4 kB / 454.2 MB, free: 2.602 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008484/0.7449, allocations: 191.3 kB / 454.4 MB, free: 2.402 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/0.7463, allocations: 163.8 kB / 454.5 MB, free: 2.242 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01141/0.7578, allocations: 6.223 MB / 460.8 MB, free: 11.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/0.7594, allocations: 115.4 kB / 460.9 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/0.7596, allocations: 28 kB / 460.9 MB, free: 11.35 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 67 * 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.0003126/0.7599, allocations: 156.9 kB / 461.1 MB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002735/0.7602, allocations: 90.97 kB / 461.1 MB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003202/0.7605, allocations: 96.52 kB / 461.2 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.7605, allocations: 15.89 kB / 461.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.7606, allocations: 192 / 461.3 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003534/0.7641, allocations: 1.181 MB / 462.4 MB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006353/0.7705, allocations: 1.922 MB / 464.4 MB, free: 7.695 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.938e-06/0.7706, allocations: 0 / 464.4 MB, free: 7.695 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001583/0.7722, allocations: 159.8 kB / 464.5 MB, free: 7.539 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007102/0.7729, allocations: 158.6 kB / 464.7 MB, free: 7.375 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001652/0.7732, allocations: 12 kB / 464.7 MB, free: 7.363 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008812/0.782, allocations: 4.797 MB / 469.5 MB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.7821, allocations: 0 / 469.5 MB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004671/0.7867, allocations: 1.309 MB / 470.8 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007157/0.7875, allocations: 251.8 kB / 471 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002017/0.7877, allocations: 20 kB / 471 MB, free: 0.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/0.7888, allocations: 59.97 kB / 471.1 MB, free: 496 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000332/0.7891, allocations: 64.62 kB / 471.2 MB, free: 432 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.512e-05/0.7892, allocations: 24 kB / 471.2 MB, free: 408 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009713/0.7902, allocations: 463.2 kB / 471.6 MB, free: 15.95 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.7902, allocations: 0 / 471.6 MB, free: 15.95 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001538/0.7918, allocations: 315.5 kB / 472 MB, free: 15.64 MB / 394.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.005831/0.7976, allocations: 1.885 MB / 473.8 MB, free: 13.72 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003773/0.8015, allocations: 1.229 MB / 475.1 MB, free: 12.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/0.8015, allocations: 4 kB / 475.1 MB, free: 12.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002737/0.8043, allocations: 0.7189 MB / 475.8 MB, free: 11.66 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002441/0.8068, allocations: 215.1 kB / 476 MB, free: 11.45 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006873/0.8137, allocations: 1.487 MB / 477.5 MB, free: 9.918 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/0.8147, allocations: 0.9715 MB / 478.5 MB, free: 8.922 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001093/0.8159, allocations: 323.3 kB / 478.8 MB, free: 8.605 MB / 394.7 MB Notification: Performance of SimCode: time 1.243e-06/0.8159, allocations: 4 kB / 478.8 MB, free: 8.602 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.153/3.969, allocations: 25.72 MB / 0.4927 GB, free: 14.88 MB / 426.7 MB