Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.084/2.084, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.379e-05/4.4e-05, allocations: 4 kB / 292.7 MB, free: 8.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1296, allocations: 50.41 MB / 343.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4968/0.6265, allocations: 81.38 MB / 424.5 MB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/0.6268, allocations: 71.41 kB / 424.6 MB, free: 12.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1094/0.7363, allocations: 18.98 MB / 443.6 MB, free: 12.58 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.7363, allocations: 3.938 kB / 443.6 MB, free: 12.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001574/0.7365, allocations: 24 kB / 443.6 MB, free: 12.55 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.005643/0.7422, allocations: 1.145 MB / 444.8 MB, free: 11.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.68e-05/0.7423, allocations: 12.03 kB / 444.8 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006302/0.7429, allocations: 119.2 kB / 444.9 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00069/0.7437, allocations: 130.6 kB / 445 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002896/0.7466, allocations: 0.5984 MB / 445.6 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000588/0.7473, allocations: 159.2 kB / 445.8 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004056/0.7477, allocations: 69.12 kB / 445.8 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003833/0.7516, allocations: 0.9196 MB / 446.8 MB, free: 9.664 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.945e-05/0.7517, allocations: 0 / 446.8 MB, free: 9.664 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002209/0.7519, allocations: 40.25 kB / 446.8 MB, free: 9.648 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.681e-05/0.752, allocations: 16 kB / 446.8 MB, free: 9.633 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003264/0.7553, allocations: 0.5573 MB / 447.4 MB, free: 9.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01267/0.768, allocations: 2.594 MB / 450 MB, free: 7.199 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007981/0.7761, allocations: 0.8767 MB / 450.8 MB, free: 6.477 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001765/0.7779, allocations: 319.7 kB / 451.2 MB, free: 6.164 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001552/0.7781, allocations: 16.77 kB / 451.2 MB, free: 6.148 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.333e-05/0.7782, allocations: 47.34 kB / 451.2 MB, free: 6.094 MB / 362.7 MB Notification: Performance of pre-optimization done (n=74): time 6.763e-06/0.7783, allocations: 4 kB / 451.2 MB, free: 6.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.00385/0.7821, allocations: 0.6947 MB / 451.9 MB, free: 5.371 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007412/0.7829, allocations: 0.9529 MB / 452.9 MB, free: 4.191 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002564/0.7855, allocations: 0.6803 MB / 453.5 MB, free: 3.508 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003329/0.7859, allocations: 49.69 kB / 453.6 MB, free: 3.453 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007273/0.7867, allocations: 412.6 kB / 454 MB, free: 3.047 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006335/0.7874, allocations: 256.2 kB / 454.3 MB, free: 2.793 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.7875, allocations: 16 kB / 454.3 MB, free: 2.777 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002381/0.7878, allocations: 334 kB / 454.6 MB, free: 2.445 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001276/0.7891, allocations: 229.5 kB / 454.8 MB, free: 2.223 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001974/0.7911, allocations: 0.5451 MB / 455.4 MB, free: 1.551 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001629/0.7928, allocations: 375 kB / 455.7 MB, free: 1.172 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.206e-05/0.7929, allocations: 0 / 455.7 MB, free: 1.172 MB / 362.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004221/0.7971, allocations: 0.8987 MB / 456.6 MB, free: 232 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001267/0.7973, allocations: 89.11 kB / 456.7 MB, free: 124 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.7973, allocations: 0 / 456.7 MB, free: 124 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008201/0.7982, allocations: 124.5 kB / 456.8 MB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002505/0.8007, allocations: 159.8 kB / 457 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01181/0.8126, allocations: 6.782 MB / 463.8 MB, free: 8.379 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002377/0.815, allocations: 111.3 kB / 463.9 MB, free: 8.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002133/0.8153, allocations: 27.98 kB / 463.9 MB, free: 8.242 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 74 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 4 {3 1,1 1,3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004719/0.8158, allocations: 160.8 kB / 464.1 MB, free: 8.078 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004763/0.8163, allocations: 102.9 kB / 464.2 MB, free: 7.977 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004849/0.8168, allocations: 101.6 kB / 464.3 MB, free: 7.871 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/0.8168, allocations: 8 kB / 464.3 MB, free: 7.863 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-05/0.8169, allocations: 7.953 kB / 464.3 MB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002783/0.8197, allocations: 0.9261 MB / 465.2 MB, free: 6.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007043/0.8268, allocations: 1.715 MB / 466.9 MB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.8268, allocations: 4 kB / 466.9 MB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002694/0.8295, allocations: 167.8 kB / 467.1 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002752/0.8299, allocations: 28.83 kB / 467.1 MB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002022/0.8301, allocations: 16 kB / 467.1 MB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002059/0.8322, allocations: 1.304 MB / 468.4 MB, free: 3.375 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.8323, allocations: 0 / 468.4 MB, free: 3.375 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004581/0.8369, allocations: 1.01 MB / 469.4 MB, free: 2.348 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00126/0.8382, allocations: 259.7 kB / 469.7 MB, free: 2.074 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004648/0.8387, allocations: 20 kB / 469.7 MB, free: 2.055 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001847/0.8406, allocations: 51.86 kB / 469.8 MB, free: 2.004 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003153/0.841, allocations: 44.72 kB / 469.8 MB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/0.8411, allocations: 27.92 kB / 469.8 MB, free: 1.934 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001958/0.8431, allocations: 0.5304 MB / 470.4 MB, free: 1.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.923e-06/0.8432, allocations: 0 / 470.4 MB, free: 1.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002461/0.8456, allocations: 299.7 kB / 470.7 MB, free: 1.117 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 71 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00535/0.8511, allocations: 1.602 MB / 472.3 MB, free: 15.48 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004815/0.8559, allocations: 1.297 MB / 473.6 MB, free: 14.1 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.299e-05/0.856, allocations: 0 / 473.6 MB, free: 14.1 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001721/0.8578, allocations: 388.7 kB / 473.9 MB, free: 13.71 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003469/0.8613, allocations: 251.6 kB / 474.2 MB, free: 13.46 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008532/0.8699, allocations: 1.457 MB / 475.6 MB, free: 11.96 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001166/0.8711, allocations: 1.003 MB / 476.7 MB, free: 10.93 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001583/0.8728, allocations: 119.3 kB / 476.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001336/0.8742, allocations: 359.3 kB / 477.1 MB, free: 10.46 MB / 394.7 MB Notification: Performance of SimCode: time 2.294e-06/0.8742, allocations: 3.938 kB / 477.1 MB, free: 10.45 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1221/0.9963, allocations: 23.41 MB / 0.4888 GB, free: 3.336 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000387/0.9968, allocations: 191.5 kB / 0.489 GB, free: 3.109 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.614/4.61, allocations: 0 / 0.489 GB, free: 3.109 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat does not exist to compare? outputFormat=mat