Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_trunk_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.041/2.041, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.716e-05/3.727e-05, allocations: 4 kB / 292.2 MB, free: 8.766 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1235, allocations: 50.4 MB / 342.6 MB, free: 6.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.481/0.6046, allocations: 81.24 MB / 423.9 MB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/0.605, allocations: 76.95 kB / 423.9 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06887/0.6739, allocations: 15.84 MB / 439.8 MB, free: 15.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.6739, allocations: 0 / 439.8 MB, free: 15.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.403e-05/0.674, allocations: 19.98 kB / 439.8 MB, free: 15.58 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002755/0.6768, allocations: 1.042 MB / 440.8 MB, free: 14.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.871e-05/0.6768, allocations: 8.031 kB / 440.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002409/0.6771, allocations: 118.9 kB / 441 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002863/0.6774, allocations: 110.8 kB / 441.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.6786, allocations: 0.5144 MB / 441.6 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003109/0.6789, allocations: 152.6 kB / 441.7 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/0.6791, allocations: 67.75 kB / 441.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0018/0.6809, allocations: 0.8025 MB / 442.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/0.681, allocations: 0 / 442.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.6811, allocations: 29.75 kB / 442.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.117e-05/0.6811, allocations: 16 kB / 442.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/0.6826, allocations: 0.4978 MB / 443.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005537/0.6881, allocations: 2.131 MB / 445.3 MB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002467/0.6906, allocations: 0.8952 MB / 446.2 MB, free: 10.24 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008694/0.6915, allocations: 335.7 kB / 446.5 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.945e-05/0.6917, allocations: 20.84 kB / 446.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.059e-05/0.6917, allocations: 53.03 kB / 446.6 MB, free: 9.973 MB / 362.7 MB Notification: Performance of pre-optimization done (n=74): time 4.328e-06/0.6917, allocations: 0 / 446.6 MB, free: 9.973 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.00337/0.6951, allocations: 0.8463 MB / 447.4 MB, free: 9.305 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004699/0.6956, allocations: 0.8193 MB / 448.2 MB, free: 8.293 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.6968, allocations: 0.5519 MB / 448.8 MB, free: 7.867 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001997/0.697, allocations: 44.7 kB / 448.8 MB, free: 7.828 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003052/0.6974, allocations: 357.4 kB / 449.2 MB, free: 7.586 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003196/0.6977, allocations: 261.5 kB / 449.4 MB, free: 7.363 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.179e-05/0.6978, allocations: 13.5 kB / 449.5 MB, free: 7.359 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.6979, allocations: 347.2 kB / 449.8 MB, free: 7.023 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006396/0.6986, allocations: 211 kB / 450 MB, free: 6.902 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.6996, allocations: 0.491 MB / 450.5 MB, free: 6.422 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008268/0.7005, allocations: 349.2 kB / 450.8 MB, free: 6.066 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.7005, allocations: 0 / 450.8 MB, free: 6.066 MB / 362.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003555/0.704, allocations: 0.9455 MB / 451.8 MB, free: 5.078 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.873e-05/0.7042, allocations: 85.09 kB / 451.9 MB, free: 4.977 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.7042, allocations: 4 kB / 451.9 MB, free: 4.973 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008146/0.705, allocations: 191.3 kB / 452.1 MB, free: 4.773 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/0.7062, allocations: 131.8 kB / 452.2 MB, free: 4.645 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009913/0.7161, allocations: 6.219 MB / 458.4 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/0.7175, allocations: 103.3 kB / 458.5 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-05/0.7176, allocations: 28 kB / 458.5 MB, free: 13.76 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 (71): * Single equations (assignments): 64 * 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.0002826/0.7179, allocations: 156.9 kB / 458.7 MB, free: 13.6 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002113/0.7181, allocations: 87.25 kB / 458.8 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002773/0.7184, allocations: 92.05 kB / 458.9 MB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.7185, allocations: 8 kB / 458.9 MB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/0.7185, allocations: 7.953 kB / 458.9 MB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003246/0.7217, allocations: 1.139 MB / 460 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005551/0.7273, allocations: 1.852 MB / 461.9 MB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.7273, allocations: 0 / 461.9 MB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00125/0.7286, allocations: 127.9 kB / 462 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006354/0.7293, allocations: 162.6 kB / 462.1 MB, free: 9.926 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-05/0.7293, allocations: 16 kB / 462.2 MB, free: 9.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00852/0.7379, allocations: 4.809 MB / 467 MB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.7379, allocations: 4.125 kB / 467 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004304/0.7422, allocations: 1.272 MB / 468.2 MB, free: 3.387 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006457/0.7429, allocations: 239.9 kB / 468.5 MB, free: 3.133 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001886/0.7431, allocations: 20 kB / 468.5 MB, free: 3.113 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009024/0.7441, allocations: 47.97 kB / 468.5 MB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002502/0.7443, allocations: 56.64 kB / 468.6 MB, free: 3.012 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.297e-05/0.7444, allocations: 23.98 kB / 468.6 MB, free: 2.988 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009481/0.7454, allocations: 455.1 kB / 469.1 MB, free: 2.551 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.7454, allocations: 4 kB / 469.1 MB, free: 2.547 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001452/0.7469, allocations: 291.7 kB / 469.4 MB, free: 2.262 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (62): * Single equations (assignments): 59 * 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.004926/0.7518, allocations: 2.001 MB / 471.4 MB, free: 212 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00277/0.7546, allocations: 1.19 MB / 472.6 MB, free: 14.94 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/0.7547, allocations: 8.062 kB / 472.6 MB, free: 14.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001936/0.7566, allocations: 0.6838 MB / 473.2 MB, free: 14.22 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/0.7584, allocations: 195 kB / 473.4 MB, free: 14.02 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005787/0.7642, allocations: 1.436 MB / 474.9 MB, free: 12.54 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009828/0.7652, allocations: 0.9674 MB / 475.8 MB, free: 11.54 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009508/0.7662, allocations: 303.3 kB / 476.1 MB, free: 11.24 MB / 394.7 MB Notification: Performance of SimCode: time 1.413e-06/0.7662, allocations: 0 / 476.1 MB, free: 11.24 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.212/3.979, allocations: 24.18 MB / 0.4886 GB, free: 3.047 MB / 410.7 MB