Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.09/2.09, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.637e-05/3.635e-05, allocations: 4 kB / 292.2 MB, free: 8.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1442, allocations: 50.41 MB / 342.6 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.499/0.6432, allocations: 81.35 MB / 424 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.6435, allocations: 71.02 kB / 424.1 MB, free: 12.87 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08542/0.729, allocations: 18.98 MB / 443 MB, free: 12.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.729, allocations: 0 / 443 MB, free: 12.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001073/0.7292, allocations: 24 kB / 443.1 MB, free: 12.94 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.003852/0.733, allocations: 1.15 MB / 444.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.938e-05/0.7331, allocations: 8.031 kB / 444.2 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004331/0.7335, allocations: 126.8 kB / 444.4 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004691/0.734, allocations: 126.6 kB / 444.5 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001905/0.736, allocations: 0.5961 MB / 445.1 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003762/0.7364, allocations: 158.7 kB / 445.2 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002447/0.7366, allocations: 68.94 kB / 445.3 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002312/0.739, allocations: 0.9258 MB / 446.2 MB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.595e-05/0.7391, allocations: 0 / 446.2 MB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001338/0.7392, allocations: 32.88 kB / 446.3 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.806e-05/0.7392, allocations: 16 kB / 446.3 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/0.7411, allocations: 0.5643 MB / 446.8 MB, free: 9.652 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007954/0.7491, allocations: 2.59 MB / 449.4 MB, free: 7.492 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00503/0.7542, allocations: 0.8793 MB / 450.3 MB, free: 6.586 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001124/0.7554, allocations: 326.2 kB / 450.6 MB, free: 6.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.382e-05/0.7555, allocations: 16.77 kB / 450.6 MB, free: 6.254 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.636e-05/0.7556, allocations: 51.34 kB / 450.7 MB, free: 6.195 MB / 362.7 MB Notification: Performance of pre-optimization done (n=74): time 4.087e-06/0.7556, allocations: 0 / 450.7 MB, free: 6.195 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.002352/0.758, allocations: 0.6908 MB / 451.4 MB, free: 5.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004601/0.7585, allocations: 0.949 MB / 452.3 MB, free: 4.305 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/0.7601, allocations: 0.6803 MB / 453 MB, free: 3.621 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002434/0.7603, allocations: 49.7 kB / 453.1 MB, free: 3.566 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004724/0.7608, allocations: 412.6 kB / 453.5 MB, free: 3.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003752/0.7612, allocations: 256.2 kB / 453.7 MB, free: 2.906 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.676e-05/0.7613, allocations: 12 kB / 453.7 MB, free: 2.895 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.7614, allocations: 334 kB / 454 MB, free: 2.562 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007814/0.7622, allocations: 229.5 kB / 454.3 MB, free: 2.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/0.7635, allocations: 0.549 MB / 454.8 MB, free: 1.664 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009583/0.7645, allocations: 375 kB / 455.2 MB, free: 1.285 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/0.7645, allocations: 4 kB / 455.2 MB, free: 1.281 MB / 362.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002626/0.7671, allocations: 0.8987 MB / 456.1 MB, free: 348 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.865e-05/0.7673, allocations: 89.09 kB / 456.2 MB, free: 240 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.7673, allocations: 0 / 456.2 MB, free: 240 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005226/0.7678, allocations: 124.3 kB / 456.3 MB, free: 100 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/0.7694, allocations: 163.8 kB / 456.5 MB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00775/0.7772, allocations: 6.77 MB / 463.2 MB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/0.7788, allocations: 111.3 kB / 463.3 MB, free: 8.391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001647/0.779, allocations: 27.98 kB / 463.4 MB, free: 8.363 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.0003195/0.7793, allocations: 164.8 kB / 463.5 MB, free: 8.195 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003277/0.7796, allocations: 102.9 kB / 463.6 MB, free: 8.094 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003686/0.78, allocations: 101.6 kB / 463.7 MB, free: 7.988 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/0.7801, allocations: 8 kB / 463.7 MB, free: 7.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/0.7801, allocations: 7.891 kB / 463.7 MB, free: 7.973 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001872/0.782, allocations: 0.9184 MB / 464.7 MB, free: 6.945 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004656/0.7867, allocations: 1.734 MB / 466.4 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.7867, allocations: 0 / 466.4 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001666/0.7884, allocations: 159.8 kB / 466.5 MB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000182/0.7886, allocations: 25.08 kB / 466.6 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001216/0.7888, allocations: 23.92 kB / 466.6 MB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001268/0.79, allocations: 1.3 MB / 467.9 MB, free: 3.492 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.7901, allocations: 0 / 467.9 MB, free: 3.492 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002848/0.7929, allocations: 1.014 MB / 468.9 MB, free: 2.457 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007393/0.7937, allocations: 255.7 kB / 469.2 MB, free: 2.188 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002292/0.794, allocations: 20 kB / 469.2 MB, free: 2.168 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.7951, allocations: 55.88 kB / 469.2 MB, free: 2.113 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/0.7952, allocations: 44.7 kB / 469.3 MB, free: 2.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.957e-05/0.7953, allocations: 20 kB / 469.3 MB, free: 2.051 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001197/0.7965, allocations: 0.5304 MB / 469.8 MB, free: 1.527 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.7966, allocations: 0 / 469.8 MB, free: 1.527 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001549/0.7981, allocations: 299.7 kB / 470.1 MB, free: 1.234 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.003415/0.8016, allocations: 1.614 MB / 471.7 MB, free: 15.59 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003042/0.8047, allocations: 1.29 MB / 473 MB, free: 14.21 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/0.8047, allocations: 4 kB / 473 MB, free: 14.21 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.8058, allocations: 388.6 kB / 473.4 MB, free: 13.82 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002282/0.8081, allocations: 256.1 kB / 473.7 MB, free: 13.57 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005833/0.814, allocations: 1.461 MB / 475.1 MB, free: 12.07 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00081/0.8149, allocations: 0.9992 MB / 476.1 MB, free: 11.04 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00104/0.8159, allocations: 115.3 kB / 476.2 MB, free: 10.92 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008721/0.8168, allocations: 359.3 kB / 476.6 MB, free: 10.57 MB / 394.7 MB Notification: Performance of SimCode: time 1.473e-06/0.8169, allocations: 0 / 476.6 MB, free: 10.57 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1015/0.9184, allocations: 23.42 MB / 0.4883 GB, free: 3.441 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003644/0.9188, allocations: 187.5 kB / 0.4885 GB, free: 3.219 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.769/4.688, allocations: 0 / 0.4885 GB, free: 3.219 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat does not exist to compare? outputFormat=mat