Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.182/2.182, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.662e-05/4.675e-05, allocations: 0 / 292.2 MB, free: 8.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1571, allocations: 50.41 MB / 342.6 MB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4582/0.6154, allocations: 81.78 MB / 424.4 MB, free: 12.44 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/0.6157, allocations: 77.89 kB / 424.5 MB, free: 12.4 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07418/0.69, allocations: 16.1 MB / 440.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.69, allocations: 0 / 440.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.986e-05/0.6901, allocations: 16 kB / 440.6 MB, free: 14.88 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.003577/0.6937, allocations: 1.074 MB / 441.7 MB, free: 13.79 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.7e-05/0.6938, allocations: 8.031 kB / 441.7 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000376/0.6942, allocations: 113.1 kB / 441.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003879/0.6946, allocations: 114.8 kB / 441.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001575/0.6962, allocations: 0.5217 MB / 442.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003417/0.6966, allocations: 150 kB / 442.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001933/0.6968, allocations: 62.84 kB / 442.6 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001963/0.6987, allocations: 0.8025 MB / 443.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.228e-05/0.6988, allocations: 0 / 443.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.699, allocations: 27.69 kB / 443.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.166e-05/0.699, allocations: 16 kB / 443.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001524/0.7005, allocations: 0.4962 MB / 444 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006452/0.707, allocations: 2.123 MB / 446.1 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001897/0.709, allocations: 0.9061 MB / 447 MB, free: 9.465 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000911/0.7099, allocations: 330.7 kB / 447.3 MB, free: 9.273 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001041/0.7101, allocations: 8.781 kB / 447.3 MB, free: 9.262 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.698e-05/0.7101, allocations: 56.84 kB / 447.4 MB, free: 9.207 MB / 362.7 MB Notification: Performance of pre-optimization done (n=74): time 4.86e-06/0.7102, allocations: 4 kB / 447.4 MB, free: 9.203 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.003664/0.7138, allocations: 0.8503 MB / 448.3 MB, free: 8.539 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005117/0.7144, allocations: 0.8233 MB / 449.1 MB, free: 7.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/0.7158, allocations: 0.5521 MB / 449.6 MB, free: 7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002786/0.7161, allocations: 49.64 kB / 449.7 MB, free: 6.945 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004065/0.7165, allocations: 337 kB / 450 MB, free: 6.609 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003829/0.7169, allocations: 260.2 kB / 450.3 MB, free: 6.352 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.686e-05/0.717, allocations: 16 kB / 450.3 MB, free: 6.336 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002417/0.7172, allocations: 386.8 kB / 450.7 MB, free: 5.949 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007746/0.718, allocations: 221.5 kB / 450.9 MB, free: 5.734 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001089/0.7191, allocations: 0.4892 MB / 451.4 MB, free: 5.145 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008689/0.72, allocations: 345.3 kB / 451.7 MB, free: 4.793 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.72, allocations: 0 / 451.7 MB, free: 4.793 MB / 362.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003877/0.7239, allocations: 1.003 MB / 452.7 MB, free: 3.754 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001071/0.7241, allocations: 89.09 kB / 452.8 MB, free: 3.648 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.7241, allocations: 0 / 452.8 MB, free: 3.648 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008639/0.725, allocations: 199.3 kB / 453 MB, free: 3.441 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/0.7264, allocations: 147.8 kB / 453.1 MB, free: 3.297 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01081/0.7372, allocations: 6.212 MB / 459.3 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/0.7388, allocations: 115.5 kB / 459.5 MB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.739, allocations: 23.94 kB / 459.5 MB, free: 12.42 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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.000312/0.7393, allocations: 160.9 kB / 459.6 MB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000299/0.7396, allocations: 90.92 kB / 459.7 MB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003079/0.7399, allocations: 96.05 kB / 459.8 MB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.74, allocations: 4 kB / 459.8 MB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.74, allocations: 4 kB / 459.8 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003403/0.7434, allocations: 1.158 MB / 461 MB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006143/0.7496, allocations: 1.843 MB / 462.8 MB, free: 8.871 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.369e-05/0.7497, allocations: 0 / 462.8 MB, free: 8.871 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00154/0.7512, allocations: 152 kB / 463 MB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006869/0.752, allocations: 166.7 kB / 463.1 MB, free: 8.551 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001378/0.7521, allocations: 19.95 kB / 463.2 MB, free: 8.531 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00871/0.7608, allocations: 4.789 MB / 467.9 MB, free: 3.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.7609, allocations: 4.125 kB / 467.9 MB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004571/0.7655, allocations: 1.274 MB / 469.2 MB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007591/0.7663, allocations: 243.9 kB / 469.5 MB, free: 1.777 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001997/0.7665, allocations: 23.98 kB / 469.5 MB, free: 1.754 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/0.7676, allocations: 59.95 kB / 469.5 MB, free: 1.695 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002797/0.7679, allocations: 64.62 kB / 469.6 MB, free: 1.633 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.824e-05/0.768, allocations: 19.98 kB / 469.6 MB, free: 1.613 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009204/0.7689, allocations: 443.2 kB / 470.1 MB, free: 1.184 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.11e-07/0.7689, allocations: 0 / 470.1 MB, free: 1.184 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00162/0.7706, allocations: 291.7 kB / 470.3 MB, free: 0.8984 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.005057/0.7757, allocations: 1.85 MB / 472.2 MB, free: 15.02 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002856/0.7786, allocations: 1.205 MB / 473.4 MB, free: 13.73 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.353e-06/0.7787, allocations: 0 / 473.4 MB, free: 13.73 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002101/0.7808, allocations: 0.7073 MB / 474.1 MB, free: 13 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001916/0.7827, allocations: 218.6 kB / 474.3 MB, free: 12.79 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005006/0.7878, allocations: 1.393 MB / 475.7 MB, free: 11.35 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006923/0.7885, allocations: 0.9636 MB / 476.7 MB, free: 10.36 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000792/0.7894, allocations: 94.22 kB / 476.8 MB, free: 10.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006768/0.7901, allocations: 291.3 kB / 477.1 MB, free: 9.98 MB / 394.7 MB Notification: Performance of SimCode: time 1.293e-06/0.7901, allocations: 4 kB / 477.1 MB, free: 9.977 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08038/0.8705, allocations: 22.69 MB / 499.7 MB, free: 3.492 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003739/0.8709, allocations: 189.1 kB / 499.9 MB, free: 3.258 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.86/4.731, allocations: 0 / 499.9 MB, free: 3.258 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat does not exist to compare? outputFormat=mat