Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_3_2_2_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.324/2.324, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.067e-05/3.073e-05, allocations: 8 kB / 255.5 MB, free: 2.605 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1088, allocations: 44.51 MB / 300 MB, free: 6.039 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4625/0.5714, allocations: 77.17 MB / 377.1 MB, free: 12.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/0.5718, allocations: 76.86 kB / 377.2 MB, free: 12.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06655/0.6383, allocations: 15.65 MB / 392.9 MB, free: 10.71 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.6384, allocations: 0 / 392.9 MB, free: 10.71 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.734e-05/0.6385, allocations: 15.59 kB / 392.9 MB, free: 10.71 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.00288/0.6413, allocations: 1.046 MB / 393.9 MB, free: 10.05 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.6414, allocations: 13.5 kB / 393.9 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000291/0.6417, allocations: 118 kB / 394.1 MB, free: 9.996 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002993/0.642, allocations: 101.7 kB / 394.2 MB, free: 9.949 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/0.6433, allocations: 0.5156 MB / 394.7 MB, free: 9.66 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002731/0.6436, allocations: 149 kB / 394.8 MB, free: 9.566 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/0.6438, allocations: 61.56 kB / 394.9 MB, free: 9.562 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/0.6453, allocations: 0.7762 MB / 395.7 MB, free: 9.246 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.138e-05/0.6454, allocations: 2.625 kB / 395.7 MB, free: 9.246 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.6455, allocations: 29.16 kB / 395.7 MB, free: 9.246 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.6455, allocations: 15.53 kB / 395.7 MB, free: 9.246 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.6469, allocations: 496.8 kB / 396.2 MB, free: 9.242 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005191/0.6521, allocations: 2.09 MB / 398.3 MB, free: 8.625 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/0.6538, allocations: 0.9116 MB / 399.2 MB, free: 8.199 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000736/0.6546, allocations: 330.4 kB / 399.5 MB, free: 8.188 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.55e-05/0.6547, allocations: 12 kB / 399.5 MB, free: 8.188 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.331e-05/0.6547, allocations: 61.02 kB / 399.6 MB, free: 8.141 MB / 314.7 MB Notification: Performance of pre-optimization done (n=74): time 4.198e-06/0.6547, allocations: 0 / 399.6 MB, free: 8.141 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.003186/0.6579, allocations: 0.8384 MB / 400.4 MB, free: 8.008 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002127/0.6582, allocations: 0.8221 MB / 401.2 MB, free: 7.008 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009835/0.6592, allocations: 0.5294 MB / 401.8 MB, free: 6.883 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000234/0.6594, allocations: 44.89 kB / 401.8 MB, free: 6.852 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002638/0.6597, allocations: 328.8 kB / 402.1 MB, free: 6.719 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000248/0.66, allocations: 258.1 kB / 402.4 MB, free: 6.555 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.027e-05/0.6601, allocations: 17.88 kB / 402.4 MB, free: 6.551 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.6602, allocations: 384.5 kB / 402.8 MB, free: 6.238 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006444/0.6608, allocations: 214.4 kB / 403 MB, free: 6.238 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000836/0.6617, allocations: 487.2 kB / 403.5 MB, free: 5.973 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007058/0.6624, allocations: 360.1 kB / 403.8 MB, free: 5.848 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.6624, allocations: 0 / 403.8 MB, free: 5.848 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003282/0.6657, allocations: 0.9873 MB / 404.8 MB, free: 5.617 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.252e-05/0.6659, allocations: 92.39 kB / 404.9 MB, free: 5.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.6659, allocations: 0 / 404.9 MB, free: 5.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007384/0.6666, allocations: 199.4 kB / 405.1 MB, free: 5.477 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.6679, allocations: 141.1 kB / 405.2 MB, free: 5.473 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009389/0.6773, allocations: 6.206 MB / 411.4 MB, free: 16.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/0.6788, allocations: 118.9 kB / 411.6 MB, free: 16.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-05/0.6789, allocations: 22.69 kB / 411.6 MB, free: 16.2 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 (69): * Single equations (assignments): 62 * 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.0002742/0.6792, allocations: 159.1 kB / 411.7 MB, free: 16.08 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002049/0.6794, allocations: 85.92 kB / 411.8 MB, free: 16.04 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002563/0.6796, allocations: 89.02 kB / 411.9 MB, free: 16 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.6797, allocations: 7.75 kB / 411.9 MB, free: 16 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.6797, allocations: 0 / 411.9 MB, free: 16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002983/0.6827, allocations: 1.155 MB / 413.1 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004997/0.6877, allocations: 1.846 MB / 414.9 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.6878, allocations: 3.719 kB / 414.9 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001321/0.6891, allocations: 146.6 kB / 415.1 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005495/0.6897, allocations: 162.6 kB / 415.2 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.004e-05/0.6898, allocations: 14.56 kB / 415.2 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00795/0.6977, allocations: 4.782 MB / 420 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.6978, allocations: 4.125 kB / 420 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003984/0.7018, allocations: 1.269 MB / 421.3 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003997/0.7022, allocations: 165.8 kB / 421.4 MB, free: 9.875 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002144/0.7025, allocations: 18.5 kB / 421.5 MB, free: 9.875 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009631/0.7034, allocations: 59.72 kB / 421.5 MB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002382/0.7037, allocations: 68.48 kB / 421.6 MB, free: 9.832 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.106e-05/0.7038, allocations: 17.88 kB / 421.6 MB, free: 9.832 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007425/0.7045, allocations: 423.7 kB / 422 MB, free: 9.715 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.7045, allocations: 0 / 422 MB, free: 9.715 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001309/0.7058, allocations: 289.1 kB / 422.3 MB, free: 9.695 MB / 330.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.004231/0.7101, allocations: 1.845 MB / 424.1 MB, free: 8.816 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002326/0.7124, allocations: 1.2 MB / 425.3 MB, free: 8.148 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.7125, allocations: 3.875 kB / 425.4 MB, free: 8.148 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001752/0.7142, allocations: 0.7029 MB / 426.1 MB, free: 7.785 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/0.716, allocations: 204.2 kB / 426.3 MB, free: 7.73 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004313/0.7203, allocations: 1.389 MB / 427.6 MB, free: 7.02 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000591/0.721, allocations: 0.9541 MB / 428.6 MB, free: 6.203 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006573/0.7216, allocations: 92.77 kB / 428.7 MB, free: 6.156 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005079/0.7221, allocations: 285.1 kB / 429 MB, free: 6.125 MB / 330.7 MB Notification: Performance of SimCode: time 1.193e-06/0.7222, allocations: 0 / 429 MB, free: 6.125 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06984/0.792, allocations: 22.19 MB / 451.2 MB, free: 7.496 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002622/0.7923, allocations: 179.1 kB / 451.3 MB, free: 7.27 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.862/4.654, allocations: 4 kB / 451.3 MB, free: 7.266 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat does not exist to compare? outputFormat=mat