Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_3_2_1_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.853/1.853, allocations: 171.2 MB / 183.3 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 5.804e-05/5.833e-05, allocations: 4 kB / 225.1 MB, free: 2.207 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.275, allocations: 38.76 MB / 263.8 MB, free: 9.805 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.129/0.404, allocations: 71.31 MB / 335.2 MB, free: 2.387 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/0.4044, allocations: 67.95 kB / 335.2 MB, free: 2.32 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06666/0.4711, allocations: 15.43 MB / 350.7 MB, free: 2.777 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4711, allocations: 0 / 350.7 MB, free: 2.777 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.76e-05/0.4712, allocations: 12 kB / 350.7 MB, free: 2.766 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.002709/0.4739, allocations: 1.029 MB / 351.7 MB, free: 1.668 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.474, allocations: 8.031 kB / 351.7 MB, free: 1.66 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002469/0.4743, allocations: 107.7 kB / 351.8 MB, free: 1.547 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002825/0.4746, allocations: 102.9 kB / 351.9 MB, free: 1.445 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.4758, allocations: 0.5003 MB / 352.4 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003079/0.4761, allocations: 162.3 kB / 352.6 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/0.4763, allocations: 63.94 kB / 352.6 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/0.4781, allocations: 0.7964 MB / 353.4 MB, free: 15.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.224e-05/0.4782, allocations: 3.906 kB / 353.4 MB, free: 15.76 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.4783, allocations: 32 kB / 353.5 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.376e-05/0.4783, allocations: 16 kB / 353.5 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001464/0.4798, allocations: 0.4933 MB / 354 MB, free: 15.22 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005335/0.4852, allocations: 2.092 MB / 356.1 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002489/0.4877, allocations: 0.9201 MB / 357 MB, free: 12.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000896/0.4886, allocations: 331.2 kB / 357.3 MB, free: 11.72 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.822e-05/0.4887, allocations: 16.83 kB / 357.3 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.703e-05/0.4888, allocations: 51.34 kB / 357.4 MB, free: 11.65 MB / 314.7 MB Notification: Performance of pre-optimization done (n=74): time 3.627e-06/0.4888, allocations: 0 / 357.4 MB, free: 11.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.003579/0.4924, allocations: 0.8734 MB / 358.2 MB, free: 10.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004025/0.4928, allocations: 0.8274 MB / 359.1 MB, free: 9.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.494, allocations: 0.5269 MB / 359.6 MB, free: 9.199 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001759/0.4942, allocations: 47.34 kB / 359.6 MB, free: 9.148 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003576/0.4945, allocations: 321 kB / 360 MB, free: 8.832 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003093/0.4949, allocations: 256.2 kB / 360.2 MB, free: 8.578 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.075e-05/0.4949, allocations: 16 kB / 360.2 MB, free: 8.562 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002142/0.4952, allocations: 386.8 kB / 360.6 MB, free: 8.176 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006705/0.4958, allocations: 213.6 kB / 360.8 MB, free: 7.969 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/0.4969, allocations: 488 kB / 361.3 MB, free: 7.395 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007996/0.4977, allocations: 346.3 kB / 361.6 MB, free: 7.043 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.4977, allocations: 0 / 361.6 MB, free: 7.043 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003804/0.5015, allocations: 1.031 MB / 362.7 MB, free: 5.973 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.477e-05/0.5016, allocations: 85.11 kB / 362.7 MB, free: 5.871 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.5016, allocations: 4 kB / 362.7 MB, free: 5.867 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001118/0.5028, allocations: 215.2 kB / 363 MB, free: 5.645 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.5039, allocations: 127.9 kB / 363.1 MB, free: 5.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.252/0.7559, allocations: 6.216 MB / 369.3 MB, free: 86.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002067/0.7581, allocations: 104.6 kB / 369.4 MB, free: 86.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002863/0.7584, allocations: 30.14 kB / 369.4 MB, free: 86.5 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.0004572/0.7589, allocations: 155.2 kB / 369.6 MB, free: 86.4 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004586/0.7594, allocations: 83.22 kB / 369.7 MB, free: 86.4 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004016/0.7598, allocations: 94.56 kB / 369.8 MB, free: 86.38 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.459e-05/0.7599, allocations: 8.656 kB / 369.8 MB, free: 86.38 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.7599, allocations: 0.625 kB / 369.8 MB, free: 86.38 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005522/0.7654, allocations: 1.163 MB / 370.9 MB, free: 85.82 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008245/0.7738, allocations: 1.848 MB / 372.8 MB, free: 85.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.7738, allocations: 0 / 372.8 MB, free: 85.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001781/0.7756, allocations: 131.1 kB / 372.9 MB, free: 85.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001131/0.7768, allocations: 170.5 kB / 373.1 MB, free: 85.45 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001353/0.777, allocations: 22.23 kB / 373.1 MB, free: 85.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01155/0.7885, allocations: 4.794 MB / 377.9 MB, free: 81.6 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.7886, allocations: 3.094 kB / 377.9 MB, free: 81.6 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006408/0.795, allocations: 1.284 MB / 379.2 MB, free: 81.32 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004777/0.7956, allocations: 168.6 kB / 379.3 MB, free: 81.19 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00037/0.796, allocations: 17.78 kB / 379.4 MB, free: 81.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001511/0.7975, allocations: 46.72 kB / 379.4 MB, free: 81.19 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003685/0.7979, allocations: 59.67 kB / 379.5 MB, free: 81.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.585e-05/0.7981, allocations: 21.62 kB / 379.5 MB, free: 81.19 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001153/0.7992, allocations: 428.1 kB / 379.9 MB, free: 81.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.102e-06/0.7993, allocations: 2.156 kB / 379.9 MB, free: 81.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002233/0.8015, allocations: 288.2 kB / 380.2 MB, free: 81.08 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.006911/0.8085, allocations: 2.003 MB / 382.2 MB, free: 80 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003927/0.8125, allocations: 1.234 MB / 383.4 MB, free: 79.13 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-05/0.8126, allocations: 2.75 kB / 383.4 MB, free: 79.13 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002598/0.8152, allocations: 0.7121 MB / 384.1 MB, free: 78.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002326/0.8176, allocations: 196.1 kB / 384.3 MB, free: 78.63 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007556/0.8251, allocations: 1.405 MB / 385.7 MB, free: 78.01 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004955/0.8257, allocations: 0.9472 MB / 386.7 MB, free: 77.3 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007215/0.8265, allocations: 94.66 kB / 386.8 MB, free: 77.29 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005179/0.827, allocations: 284 kB / 387 MB, free: 77.08 MB / 314.7 MB Notification: Performance of SimCode: time 1.052e-06/0.827, allocations: 3.875 kB / 387 MB, free: 77.08 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06991/0.8969, allocations: 21.86 MB / 408.9 MB, free: 59.58 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/0.8972, allocations: 188.5 kB / 409.1 MB, free: 59.36 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.786/4.683, allocations: 0 / 409.1 MB, free: 59.36 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat does not exist to compare? outputFormat=mat