Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.983/1.983, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.114e-05/4.12e-05, allocations: 7.984 kB / 255.4 MB, free: 3.078 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1138, allocations: 44.5 MB / 300 MB, free: 6.512 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4363/0.5501, allocations: 76.65 MB / 376.6 MB, free: 12.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/0.5505, allocations: 71.25 kB / 376.7 MB, free: 12.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06213/0.6126, allocations: 15.47 MB / 392.1 MB, free: 10.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.6127, allocations: 1.203 kB / 392.2 MB, free: 10.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.903e-05/0.6127, allocations: 15.38 kB / 392.2 MB, free: 10.73 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: 141 * Number of variables: 141 Notification: Performance of Generate backend data structure: time 0.002333/0.6151, allocations: 1.023 MB / 393.2 MB, free: 10.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.6152, allocations: 15.59 kB / 393.2 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002056/0.6154, allocations: 117.7 kB / 393.3 MB, free: 10.01 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002084/0.6156, allocations: 105.7 kB / 393.4 MB, free: 9.965 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009696/0.6166, allocations: 0.4967 MB / 393.9 MB, free: 9.684 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002522/0.6168, allocations: 156.8 kB / 394.1 MB, free: 9.582 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.617, allocations: 61.44 kB / 394.1 MB, free: 9.582 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.6185, allocations: 0.7911 MB / 394.9 MB, free: 9.266 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/0.6185, allocations: 5.688 kB / 394.9 MB, free: 9.262 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.58e-05/0.6186, allocations: 30.5 kB / 395 MB, free: 9.262 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.6187, allocations: 15.66 kB / 395 MB, free: 9.262 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.6199, allocations: 498.1 kB / 395.5 MB, free: 9.258 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004361/0.6243, allocations: 2.095 MB / 397.6 MB, free: 8.633 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002122/0.6264, allocations: 0.9055 MB / 398.5 MB, free: 8.301 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007434/0.6272, allocations: 344.7 kB / 398.8 MB, free: 8.285 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.139e-05/0.6273, allocations: 18.88 kB / 398.8 MB, free: 8.285 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.6273, allocations: 49.84 kB / 398.9 MB, free: 8.242 MB / 314.7 MB Notification: Performance of pre-optimization done (n=74): time 3.617e-06/0.6273, allocations: 0 / 398.9 MB, free: 8.242 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.002968/0.6303, allocations: 0.8333 MB / 399.7 MB, free: 8.109 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002186/0.6306, allocations: 0.8221 MB / 400.5 MB, free: 7.109 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008684/0.6314, allocations: 0.5309 MB / 401.1 MB, free: 6.984 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.6316, allocations: 47.73 kB / 401.1 MB, free: 6.949 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002253/0.6318, allocations: 340.3 kB / 401.4 MB, free: 6.758 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002246/0.632, allocations: 257.6 kB / 401.7 MB, free: 6.59 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.928e-05/0.6321, allocations: 16.84 kB / 401.7 MB, free: 6.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.227e-05/0.6322, allocations: 338.4 kB / 402 MB, free: 6.277 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00057/0.6328, allocations: 209.2 kB / 402.2 MB, free: 6.277 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008151/0.6336, allocations: 488.8 kB / 402.7 MB, free: 6.008 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006852/0.6343, allocations: 349.5 kB / 403.1 MB, free: 5.887 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.6343, allocations: 0 / 403.1 MB, free: 5.887 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003005/0.6373, allocations: 0.9369 MB / 404 MB, free: 5.684 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.533e-05/0.6374, allocations: 82.55 kB / 404.1 MB, free: 5.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.6374, allocations: 1.641 kB / 404.1 MB, free: 5.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007095/0.6382, allocations: 202.6 kB / 404.3 MB, free: 5.547 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.6392, allocations: 131.7 kB / 404.4 MB, free: 5.539 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008883/0.6481, allocations: 6.212 MB / 410.6 MB, free: 16.35 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.6494, allocations: 104 kB / 410.7 MB, free: 16.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-05/0.6495, allocations: 25.91 kB / 410.7 MB, free: 16.31 MB / 330.7 MB 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 (70): * Single equations (assignments): 63 * 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.0002679/0.6498, allocations: 153.9 kB / 410.9 MB, free: 16.2 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/0.65, allocations: 85.33 kB / 411 MB, free: 16.15 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002451/0.6503, allocations: 93.67 kB / 411.1 MB, free: 16.12 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.6503, allocations: 7.781 kB / 411.1 MB, free: 16.12 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.6503, allocations: 0 / 411.1 MB, free: 16.12 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002872/0.6532, allocations: 1.145 MB / 412.2 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004874/0.6581, allocations: 1.833 MB / 414 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.6581, allocations: 3.969 kB / 414 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001179/0.6593, allocations: 131.2 kB / 414.2 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005464/0.6599, allocations: 158.6 kB / 414.3 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.928e-05/0.66, allocations: 26.36 kB / 414.4 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007764/0.6677, allocations: 4.786 MB / 419.1 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.6678, allocations: 0 / 419.1 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003936/0.6717, allocations: 1.259 MB / 420.4 MB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003178/0.6721, allocations: 173.2 kB / 420.6 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/0.6723, allocations: 19.03 kB / 420.6 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008414/0.6731, allocations: 50.38 kB / 420.6 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002152/0.6734, allocations: 58.88 kB / 420.7 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.641e-05/0.6734, allocations: 23.28 kB / 420.7 MB, free: 10.14 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007297/0.6742, allocations: 423.2 kB / 421.1 MB, free: 10.02 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.6742, allocations: 0 / 421.1 MB, free: 10.02 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001174/0.6754, allocations: 288.2 kB / 421.4 MB, free: 10 MB / 330.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.004068/0.6795, allocations: 1.998 MB / 423.4 MB, free: 8.934 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002213/0.6817, allocations: 1.177 MB / 424.6 MB, free: 8.281 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.6817, allocations: 11.84 kB / 424.6 MB, free: 8.273 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001639/0.6834, allocations: 0.6978 MB / 425.3 MB, free: 7.891 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/0.6848, allocations: 205.5 kB / 425.5 MB, free: 7.828 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003785/0.6886, allocations: 1.395 MB / 426.9 MB, free: 7.074 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005478/0.6892, allocations: 0.9507 MB / 427.8 MB, free: 6.258 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005782/0.6898, allocations: 288.2 kB / 428.1 MB, free: 6.227 MB / 330.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6898, allocations: 4 kB / 428.1 MB, free: 6.223 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.21/3.9, allocations: 23.51 MB / 451.6 MB, free: 7.52 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat does not exist to compare? outputFormat=mat