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 2.044/2.044, allocations: 194.9 MB / 208.4 MB, free: 3.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.275e-05/3.305e-05, allocations: 4 kB / 255.4 MB, free: 3.109 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09677/0.09684, allocations: 44.51 MB / 299.9 MB, free: 6.543 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4105/0.5074, allocations: 76.65 MB / 376.6 MB, free: 12.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/0.5078, allocations: 73.72 kB / 376.6 MB, free: 12.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06318/0.571, allocations: 15.48 MB / 392.1 MB, free: 11.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.571, allocations: 0 / 392.1 MB, free: 11.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.139e-05/0.5711, allocations: 15.53 kB / 392.1 MB, free: 11.11 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.002432/0.5735, allocations: 1.028 MB / 393.2 MB, free: 10.45 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.186e-05/0.5736, allocations: 11.66 kB / 393.2 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002224/0.5739, allocations: 112.8 kB / 393.3 MB, free: 10.4 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002553/0.5741, allocations: 105.6 kB / 393.4 MB, free: 10.35 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.5752, allocations: 0.5034 MB / 393.9 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002594/0.5755, allocations: 151.9 kB / 394 MB, free: 9.969 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.5756, allocations: 62.25 kB / 394.1 MB, free: 9.965 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001554/0.5772, allocations: 0.8011 MB / 394.9 MB, free: 9.648 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.707e-05/0.5772, allocations: 0 / 394.9 MB, free: 9.648 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.713e-05/0.5774, allocations: 30 kB / 394.9 MB, free: 9.648 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-05/0.5774, allocations: 11.62 kB / 394.9 MB, free: 9.648 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/0.5787, allocations: 0.4975 MB / 395.4 MB, free: 9.637 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004818/0.5836, allocations: 2.103 MB / 397.5 MB, free: 9.008 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002197/0.5858, allocations: 0.9094 MB / 398.5 MB, free: 8.676 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008184/0.5867, allocations: 346 kB / 398.8 MB, free: 8.656 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.496e-05/0.5868, allocations: 11.41 kB / 398.8 MB, free: 8.656 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.843e-05/0.5868, allocations: 53.2 kB / 398.9 MB, free: 8.617 MB / 314.7 MB Notification: Performance of pre-optimization done (n=74): time 3.446e-06/0.5869, allocations: 0 / 398.9 MB, free: 8.617 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.003398/0.5903, allocations: 0.8638 MB / 399.7 MB, free: 8.477 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000223/0.5905, allocations: 0.8262 MB / 400.5 MB, free: 7.473 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.5915, allocations: 0.5355 MB / 401.1 MB, free: 7.344 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002181/0.5918, allocations: 46.11 kB / 401.1 MB, free: 7.312 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002301/0.592, allocations: 343.7 kB / 401.5 MB, free: 7.117 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002644/0.5923, allocations: 262.9 kB / 401.7 MB, free: 6.949 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.596e-05/0.5924, allocations: 14.31 kB / 401.7 MB, free: 6.949 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.917e-05/0.5925, allocations: 331.9 kB / 402.1 MB, free: 6.637 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006052/0.5931, allocations: 213.2 kB / 402.3 MB, free: 6.633 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008334/0.5939, allocations: 492.8 kB / 402.7 MB, free: 6.363 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007139/0.5947, allocations: 345 kB / 403.1 MB, free: 6.246 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.5947, allocations: 0 / 403.1 MB, free: 6.246 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003382/0.5981, allocations: 0.9731 MB / 404.1 MB, free: 6.031 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.466e-05/0.5982, allocations: 86.11 kB / 404.1 MB, free: 5.938 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.5982, allocations: 0 / 404.1 MB, free: 5.938 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/0.5993, allocations: 218.6 kB / 404.4 MB, free: 5.895 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.6004, allocations: 138 kB / 404.5 MB, free: 5.883 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009732/0.6102, allocations: 6.219 MB / 410.7 MB, free: 16.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.6116, allocations: 110.4 kB / 410.8 MB, free: 16.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.093e-05/0.6117, allocations: 22.7 kB / 410.8 MB, free: 16.66 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 {1 5,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002986/0.612, allocations: 156.8 kB / 411 MB, free: 16.54 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/0.6122, allocations: 78.02 kB / 411.1 MB, free: 16.51 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002732/0.6125, allocations: 96.17 kB / 411.2 MB, free: 16.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/0.6125, allocations: 11.88 kB / 411.2 MB, free: 16.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/0.6126, allocations: 0 / 411.2 MB, free: 16.48 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003159/0.6157, allocations: 1.169 MB / 412.3 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00527/0.621, allocations: 1.85 MB / 414.2 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.6211, allocations: 0 / 414.2 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/0.6223, allocations: 131.8 kB / 414.3 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006839/0.623, allocations: 172.4 kB / 414.5 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.615e-05/0.6231, allocations: 21.19 kB / 414.5 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008011/0.6311, allocations: 4.795 MB / 419.3 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.6312, allocations: 0 / 419.3 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004/0.6352, allocations: 1.286 MB / 420.6 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003824/0.6356, allocations: 177 kB / 420.8 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002094/0.6359, allocations: 18 kB / 420.8 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008519/0.6367, allocations: 44.36 kB / 420.8 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002379/0.637, allocations: 59.56 kB / 420.9 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.173e-05/0.6371, allocations: 23.17 kB / 420.9 MB, free: 10.42 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007718/0.6378, allocations: 428.9 kB / 421.3 MB, free: 10.3 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6379, allocations: 0 / 421.3 MB, free: 10.3 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001419/0.6393, allocations: 292.8 kB / 421.6 MB, free: 10.28 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.004707/0.644, allocations: 2.006 MB / 423.6 MB, free: 9.223 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002995/0.6471, allocations: 1.236 MB / 424.8 MB, free: 8.508 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/0.6472, allocations: 7.875 kB / 424.9 MB, free: 8.504 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001972/0.6491, allocations: 0.7133 MB / 425.6 MB, free: 8.105 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001743/0.6509, allocations: 196.7 kB / 425.8 MB, free: 8.051 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004618/0.6556, allocations: 1.413 MB / 427.2 MB, free: 7.285 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006461/0.6563, allocations: 0.9469 MB / 428.1 MB, free: 6.473 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006922/0.657, allocations: 286.7 kB / 428.4 MB, free: 6.441 MB / 330.7 MB Notification: Performance of SimCode: time 1.703e-06/0.657, allocations: 0 / 428.4 MB, free: 6.441 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.206/3.863, allocations: 23.66 MB / 452.1 MB, free: 7.754 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