Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_3_2_1_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.888/1.888, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.456e-05/3.463e-05, allocations: 0 / 225.1 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2629, allocations: 38.77 MB / 263.9 MB, free: 9.719 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1298/0.3927, allocations: 71.84 MB / 335.7 MB, free: 1.77 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/0.3931, allocations: 71.95 kB / 335.8 MB, free: 1.699 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07054/0.4636, allocations: 15.59 MB / 351.4 MB, free: 1.988 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4637, allocations: 4 kB / 351.4 MB, free: 1.984 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.156e-05/0.4638, allocations: 16 kB / 351.4 MB, free: 1.969 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.003196/0.467, allocations: 1.049 MB / 352.4 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.975e-05/0.4671, allocations: 8.031 kB / 352.4 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003321/0.4674, allocations: 115.6 kB / 352.6 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003689/0.4678, allocations: 106.9 kB / 352.7 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00155/0.4693, allocations: 0.5156 MB / 353.2 MB, free: 64 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003645/0.4698, allocations: 146.9 kB / 353.3 MB, free: 15.9 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002136/0.47, allocations: 60 kB / 353.4 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001898/0.4719, allocations: 0.7899 MB / 354.2 MB, free: 14.95 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.102e-05/0.472, allocations: 0 / 354.2 MB, free: 14.95 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.4721, allocations: 28 kB / 354.2 MB, free: 14.92 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/0.4721, allocations: 12 kB / 354.2 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001564/0.4737, allocations: 498.5 kB / 354.7 MB, free: 14.42 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006034/0.4798, allocations: 2.08 MB / 356.8 MB, free: 12.24 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001906/0.4817, allocations: 0.9017 MB / 357.7 MB, free: 11.26 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008698/0.4826, allocations: 331 kB / 358 MB, free: 10.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.813e-05/0.4828, allocations: 12.77 kB / 358 MB, free: 10.92 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.469e-05/0.4828, allocations: 51.34 kB / 358.1 MB, free: 10.86 MB / 314.7 MB Notification: Performance of pre-optimization done (n=74): time 3.536e-06/0.4828, allocations: 0 / 358.1 MB, free: 10.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.003516/0.4864, allocations: 0.8501 MB / 358.9 MB, free: 9.992 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004125/0.4868, allocations: 0.8196 MB / 359.7 MB, free: 8.973 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001183/0.488, allocations: 0.5269 MB / 360.3 MB, free: 8.441 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002426/0.4883, allocations: 45.7 kB / 360.3 MB, free: 8.391 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004377/0.4887, allocations: 329 kB / 360.6 MB, free: 8.066 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004101/0.4892, allocations: 252.2 kB / 360.9 MB, free: 7.816 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.676e-05/0.4893, allocations: 15.94 kB / 360.9 MB, free: 7.801 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002547/0.4895, allocations: 386.7 kB / 361.3 MB, free: 7.414 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007137/0.4902, allocations: 225.5 kB / 361.5 MB, free: 7.195 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/0.4913, allocations: 490.5 kB / 362 MB, free: 6.617 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008355/0.4922, allocations: 358.3 kB / 362.3 MB, free: 6.254 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.4922, allocations: 0 / 362.3 MB, free: 6.254 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003669/0.4959, allocations: 0.9918 MB / 363.3 MB, free: 5.227 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.567e-05/0.496, allocations: 89.11 kB / 363.4 MB, free: 5.121 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.496, allocations: 4 kB / 363.4 MB, free: 5.117 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008457/0.4969, allocations: 191.3 kB / 363.6 MB, free: 4.918 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/0.4983, allocations: 143.8 kB / 363.7 MB, free: 4.777 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2452/0.7435, allocations: 6.205 MB / 369.9 MB, free: 85.49 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/0.7451, allocations: 113.6 kB / 370 MB, free: 85.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/0.7453, allocations: 28.86 kB / 370.1 MB, free: 85.49 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 (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.0002769/0.7455, allocations: 156.1 kB / 370.2 MB, free: 85.38 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002568/0.7458, allocations: 83.66 kB / 370.3 MB, free: 85.38 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000268/0.7461, allocations: 92.33 kB / 370.4 MB, free: 85.37 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/0.7461, allocations: 7.281 kB / 370.4 MB, free: 85.37 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.7461, allocations: 4 kB / 370.4 MB, free: 85.37 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003761/0.7499, allocations: 1.152 MB / 371.6 MB, free: 84.81 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005378/0.7553, allocations: 1.837 MB / 373.4 MB, free: 84.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/0.7554, allocations: 2.531 kB / 373.4 MB, free: 84.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001421/0.7568, allocations: 145.7 kB / 373.5 MB, free: 84.47 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005804/0.7574, allocations: 161.1 kB / 373.7 MB, free: 84.45 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.074e-05/0.7575, allocations: 12.56 kB / 373.7 MB, free: 84.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007408/0.765, allocations: 4.782 MB / 378.5 MB, free: 80.61 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/0.765, allocations: 0 / 378.5 MB, free: 80.61 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004095/0.7691, allocations: 1.258 MB / 379.7 MB, free: 80.38 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003142/0.7695, allocations: 171.4 kB / 379.9 MB, free: 80.25 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002321/0.7698, allocations: 18.84 kB / 379.9 MB, free: 80.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.7708, allocations: 61.39 kB / 380 MB, free: 80.25 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002535/0.7711, allocations: 67.06 kB / 380.1 MB, free: 80.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.554e-05/0.7711, allocations: 23.5 kB / 380.1 MB, free: 80.25 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007441/0.7719, allocations: 423.5 kB / 380.5 MB, free: 80.14 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.7719, allocations: 0 / 380.5 MB, free: 80.14 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00151/0.7734, allocations: 281 kB / 380.8 MB, free: 80.14 MB / 314.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.004422/0.7779, allocations: 1.849 MB / 382.6 MB, free: 79.2 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002451/0.7804, allocations: 1.202 MB / 383.8 MB, free: 78.36 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/0.7805, allocations: 3.906 kB / 383.8 MB, free: 78.36 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001815/0.7823, allocations: 0.704 MB / 384.5 MB, free: 77.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/0.784, allocations: 203.5 kB / 384.7 MB, free: 77.87 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00491/0.7889, allocations: 1.426 MB / 386.2 MB, free: 77.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004513/0.7894, allocations: 0.9544 MB / 387.1 MB, free: 76.55 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006985/0.7901, allocations: 93.78 kB / 387.2 MB, free: 76.54 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005193/0.7906, allocations: 292.4 kB / 387.5 MB, free: 76.33 MB / 314.7 MB Notification: Performance of SimCode: time 1.412e-06/0.7907, allocations: 0 / 387.5 MB, free: 76.33 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06154/0.8522, allocations: 22.05 MB / 409.5 MB, free: 58.59 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002782/0.8526, allocations: 182.7 kB / 409.7 MB, free: 58.36 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.843/4.696, allocations: 0 / 409.7 MB, free: 58.36 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat does not exist to compare? outputFormat=mat