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.893/1.893, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.434e-05/4.413e-05, allocations: 4 kB / 225.1 MB, free: 2.609 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2764, allocations: 38.76 MB / 263.8 MB, free: 9.871 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1311/0.4076, allocations: 71.32 MB / 335.2 MB, free: 2.441 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/0.4079, allocations: 67.97 kB / 335.2 MB, free: 2.375 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07026/0.4782, allocations: 15.43 MB / 350.7 MB, free: 2.828 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4782, allocations: 0 / 350.7 MB, free: 2.828 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.578e-05/0.4783, allocations: 19.98 kB / 350.7 MB, free: 2.809 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.002996/0.4813, allocations: 1.022 MB / 351.7 MB, free: 1.719 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/0.4814, allocations: 8.031 kB / 351.7 MB, free: 1.711 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003518/0.4818, allocations: 107.7 kB / 351.8 MB, free: 1.598 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003365/0.4821, allocations: 102.9 kB / 351.9 MB, free: 1.496 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.4835, allocations: 0.5081 MB / 352.4 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003246/0.4838, allocations: 150.4 kB / 352.6 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/0.484, allocations: 59.98 kB / 352.6 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001932/0.486, allocations: 0.7939 MB / 353.4 MB, free: 15.83 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.444e-05/0.4861, allocations: 3.906 kB / 353.4 MB, free: 15.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.4862, allocations: 32 kB / 353.5 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.934e-05/0.4862, allocations: 16 kB / 353.5 MB, free: 15.78 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001546/0.4878, allocations: 498.5 kB / 354 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006006/0.4938, allocations: 2.084 MB / 356 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002658/0.4965, allocations: 0.9023 MB / 356.9 MB, free: 12.14 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/0.4976, allocations: 334.9 kB / 357.3 MB, free: 11.81 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.481e-05/0.4977, allocations: 16.84 kB / 357.3 MB, free: 11.79 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.213e-05/0.4978, allocations: 51.33 kB / 357.3 MB, free: 11.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=74): time 3.176e-06/0.4978, allocations: 0 / 357.3 MB, free: 11.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.003556/0.5014, allocations: 0.8384 MB / 358.2 MB, free: 10.88 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004858/0.502, allocations: 0.8235 MB / 359 MB, free: 9.852 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.5032, allocations: 0.527 MB / 359.5 MB, free: 9.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002277/0.5035, allocations: 47.34 kB / 359.6 MB, free: 9.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003363/0.5038, allocations: 351.4 kB / 359.9 MB, free: 8.926 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000381/0.5042, allocations: 252.2 kB / 360.2 MB, free: 8.676 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.777e-05/0.5043, allocations: 16 kB / 360.2 MB, free: 8.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.5045, allocations: 350.8 kB / 360.5 MB, free: 8.309 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000697/0.5052, allocations: 209.6 kB / 360.7 MB, free: 8.105 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/0.5063, allocations: 478.5 kB / 361.2 MB, free: 7.539 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009054/0.5072, allocations: 352.2 kB / 361.5 MB, free: 7.18 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.5072, allocations: 0 / 361.5 MB, free: 7.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003721/0.511, allocations: 0.9454 MB / 362.5 MB, free: 6.199 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001044/0.5111, allocations: 89.11 kB / 362.6 MB, free: 6.094 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.5112, allocations: 4 kB / 362.6 MB, free: 6.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008685/0.512, allocations: 191.3 kB / 362.8 MB, free: 5.891 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/0.5133, allocations: 135.8 kB / 362.9 MB, free: 5.758 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2342/0.7475, allocations: 6.191 MB / 369.1 MB, free: 86.58 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.7489, allocations: 107 kB / 369.2 MB, free: 86.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/0.749, allocations: 24.2 kB / 369.2 MB, free: 86.58 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 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002994/0.7494, allocations: 160.5 kB / 369.4 MB, free: 86.47 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002819/0.7497, allocations: 89.41 kB / 369.5 MB, free: 86.47 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003323/0.75, allocations: 91.94 kB / 369.5 MB, free: 86.45 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.919e-05/0.75, allocations: 7.531 kB / 369.6 MB, free: 86.45 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.75, allocations: 0.5625 kB / 369.6 MB, free: 86.45 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003647/0.7537, allocations: 1.145 MB / 370.7 MB, free: 85.9 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00574/0.7595, allocations: 1.822 MB / 372.5 MB, free: 85.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/0.7596, allocations: 5.297 kB / 372.5 MB, free: 85.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001279/0.7609, allocations: 133.6 kB / 372.7 MB, free: 85.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006078/0.7615, allocations: 156.2 kB / 372.8 MB, free: 85.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001275/0.7617, allocations: 17.12 kB / 372.8 MB, free: 85.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00735/0.769, allocations: 4.792 MB / 377.6 MB, free: 81.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.7691, allocations: 1.125 kB / 377.6 MB, free: 81.68 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003993/0.7731, allocations: 1.265 MB / 378.9 MB, free: 81.4 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003183/0.7735, allocations: 169.4 kB / 379.1 MB, free: 81.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002213/0.7737, allocations: 19.47 kB / 379.1 MB, free: 81.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009005/0.7746, allocations: 44.03 kB / 379.1 MB, free: 81.27 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002355/0.7749, allocations: 66.23 kB / 379.2 MB, free: 81.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.098e-05/0.775, allocations: 19.97 kB / 379.2 MB, free: 81.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000735/0.7757, allocations: 430 kB / 379.6 MB, free: 81.17 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.7757, allocations: 0 / 379.6 MB, free: 81.17 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001444/0.7772, allocations: 286 kB / 379.9 MB, free: 81.16 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.004332/0.7815, allocations: 1.993 MB / 381.9 MB, free: 80.18 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002364/0.784, allocations: 1.185 MB / 383.1 MB, free: 79.34 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/0.784, allocations: 6.906 kB / 383.1 MB, free: 79.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001798/0.7858, allocations: 0.6897 MB / 383.8 MB, free: 78.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/0.7874, allocations: 191.8 kB / 384 MB, free: 78.86 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00458/0.7921, allocations: 1.433 MB / 385.4 MB, free: 78.21 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004336/0.7925, allocations: 0.9448 MB / 386.3 MB, free: 77.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006421/0.7932, allocations: 293 kB / 386.6 MB, free: 77.29 MB / 314.7 MB Notification: Performance of SimCode: time 1.503e-06/0.7932, allocations: 4 kB / 386.6 MB, free: 77.29 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.135/3.928, allocations: 23.35 MB / 410 MB, free: 58.38 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