Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.897/1.897, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.579e-05/3.594e-05, allocations: 4 kB / 225.1 MB, free: 2.703 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.285, allocations: 38.76 MB / 263.8 MB, free: 9.883 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.142/0.4271, allocations: 71.32 MB / 335.1 MB, free: 2.453 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/0.4274, allocations: 71.97 kB / 335.2 MB, free: 2.383 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07185/0.4993, allocations: 15.42 MB / 350.6 MB, free: 2.848 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.35e-06/0.4994, allocations: 0 / 350.6 MB, free: 2.848 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.164e-05/0.4995, allocations: 19.94 kB / 350.7 MB, free: 2.828 MB / 298.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.003695/0.5032, allocations: 1.022 MB / 351.7 MB, free: 1.738 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.768e-05/0.5033, allocations: 8.031 kB / 351.7 MB, free: 1.73 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003712/0.5037, allocations: 119.7 kB / 351.8 MB, free: 1.605 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004144/0.5041, allocations: 102.9 kB / 351.9 MB, free: 1.504 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001795/0.5059, allocations: 0.5003 MB / 352.4 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004279/0.5064, allocations: 154.3 kB / 352.5 MB, free: 0.793 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002204/0.5066, allocations: 60 kB / 352.6 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002639/0.5093, allocations: 0.7964 MB / 353.4 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.02e-05/0.5094, allocations: 3.906 kB / 353.4 MB, free: 15.83 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001594/0.5095, allocations: 32 kB / 353.4 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.509e-05/0.5096, allocations: 12 kB / 353.5 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002215/0.5118, allocations: 0.4972 MB / 353.9 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007394/0.5192, allocations: 2.088 MB / 356 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003341/0.5226, allocations: 0.9149 MB / 357 MB, free: 12.13 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/0.5239, allocations: 335.2 kB / 357.3 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001215/0.524, allocations: 12.84 kB / 357.3 MB, free: 11.79 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.849e-05/0.5241, allocations: 47.34 kB / 357.3 MB, free: 11.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=74): time 5.18e-06/0.5241, allocations: 4 kB / 357.3 MB, free: 11.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.004986/0.5291, allocations: 0.8772 MB / 358.2 MB, free: 10.83 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005056/0.5297, allocations: 0.8274 MB / 359 MB, free: 9.809 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/0.5312, allocations: 0.527 MB / 359.6 MB, free: 9.277 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002278/0.5315, allocations: 47.34 kB / 359.6 MB, free: 9.227 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004053/0.5319, allocations: 343.5 kB / 360 MB, free: 8.891 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004037/0.5323, allocations: 256.2 kB / 360.2 MB, free: 8.637 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.925e-05/0.5324, allocations: 16 kB / 360.2 MB, free: 8.621 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.5327, allocations: 342.8 kB / 360.6 MB, free: 8.277 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009442/0.5336, allocations: 213.6 kB / 360.8 MB, free: 8.07 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001366/0.535, allocations: 488 kB / 361.2 MB, free: 7.496 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.5361, allocations: 348.2 kB / 361.6 MB, free: 7.141 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.5361, allocations: 0 / 361.6 MB, free: 7.141 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00493/0.5411, allocations: 0.9805 MB / 362.6 MB, free: 6.121 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.523e-05/0.5412, allocations: 81.11 kB / 362.6 MB, free: 6.023 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.5413, allocations: 4 kB / 362.6 MB, free: 6.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001481/0.5427, allocations: 219.2 kB / 362.9 MB, free: 5.793 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/0.5443, allocations: 123.9 kB / 363 MB, free: 5.672 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2334/0.7777, allocations: 6.217 MB / 369.2 MB, free: 86.42 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.7791, allocations: 105.7 kB / 369.3 MB, free: 86.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-05/0.7792, allocations: 24.12 kB / 369.3 MB, free: 86.42 MB / 314.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 {1 5,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002783/0.7795, allocations: 158.8 kB / 369.5 MB, free: 86.31 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002413/0.7797, allocations: 84.59 kB / 369.6 MB, free: 86.31 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002809/0.78, allocations: 95.22 kB / 369.7 MB, free: 86.29 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.7801, allocations: 7.531 kB / 369.7 MB, free: 86.29 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.799e-06/0.7801, allocations: 0.875 kB / 369.7 MB, free: 86.29 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003512/0.7836, allocations: 1.164 MB / 370.8 MB, free: 85.73 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005323/0.789, allocations: 1.849 MB / 372.7 MB, free: 85.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.789, allocations: 2.25 kB / 372.7 MB, free: 85.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/0.7903, allocations: 133.4 kB / 372.8 MB, free: 85.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007184/0.791, allocations: 164.9 kB / 373 MB, free: 85.36 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.978e-05/0.7911, allocations: 21.62 kB / 373 MB, free: 85.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007116/0.7982, allocations: 4.793 MB / 377.8 MB, free: 81.51 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.7983, allocations: 0 / 377.8 MB, free: 81.51 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003981/0.8023, allocations: 1.292 MB / 379.1 MB, free: 81.23 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003287/0.8027, allocations: 165.5 kB / 379.2 MB, free: 81.1 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002092/0.8029, allocations: 21.91 kB / 379.3 MB, free: 81.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008523/0.8038, allocations: 43.72 kB / 379.3 MB, free: 81.1 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002463/0.804, allocations: 63.27 kB / 379.4 MB, free: 81.1 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.456e-05/0.8041, allocations: 25.2 kB / 379.4 MB, free: 81.1 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007354/0.8049, allocations: 425.3 kB / 379.8 MB, free: 81 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.8049, allocations: 0 / 379.8 MB, free: 81 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00128/0.8062, allocations: 281.8 kB / 380.1 MB, free: 80.99 MB / 314.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.004287/0.8105, allocations: 2.018 MB / 382.1 MB, free: 79.92 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002628/0.8132, allocations: 1.223 MB / 383.3 MB, free: 79.05 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.856e-06/0.8132, allocations: 2.625 kB / 383.3 MB, free: 79.05 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001723/0.8149, allocations: 0.7186 MB / 384 MB, free: 78.6 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/0.8165, allocations: 201.5 kB / 384.2 MB, free: 78.55 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004235/0.8207, allocations: 1.437 MB / 385.7 MB, free: 77.89 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004241/0.8212, allocations: 0.9419 MB / 386.6 MB, free: 77.18 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006081/0.8218, allocations: 288.6 kB / 386.9 MB, free: 76.98 MB / 314.7 MB Notification: Performance of SimCode: time 1.162e-06/0.8218, allocations: 0 / 386.9 MB, free: 76.98 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.166/3.988, allocations: 23.43 MB / 410.3 MB, free: 57.9 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat does not exist to compare? outputFormat=mat