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.96/1.96, allocations: 171.2 MB / 183.3 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.589e-05/3.595e-05, allocations: 4 kB / 225.1 MB, free: 2.215 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3367, allocations: 38.77 MB / 263.9 MB, free: 9.812 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.183/0.5198, allocations: 71.84 MB / 335.7 MB, free: 1.863 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.5201, allocations: 67.97 kB / 335.8 MB, free: 1.797 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08218/0.6023, allocations: 15.6 MB / 351.4 MB, free: 2.082 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.6024, allocations: 0 / 351.4 MB, free: 2.082 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001233/0.6025, allocations: 12 kB / 351.4 MB, free: 2.07 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.005298/0.6079, allocations: 1.049 MB / 352.4 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.054e-05/0.608, allocations: 12.03 kB / 352.4 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006194/0.6086, allocations: 119.5 kB / 352.5 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000644/0.6093, allocations: 102.9 kB / 352.6 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002515/0.6119, allocations: 0.5077 MB / 353.1 MB, free: 172 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005862/0.6125, allocations: 150.9 kB / 353.3 MB, free: 0 / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003984/0.613, allocations: 64.22 kB / 353.4 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00349/0.6165, allocations: 0.7847 MB / 354.1 MB, free: 15.05 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.983e-05/0.6166, allocations: 3.938 kB / 354.1 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000209/0.6169, allocations: 32 kB / 354.2 MB, free: 15.01 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.79e-05/0.6169, allocations: 12 kB / 354.2 MB, free: 15 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003037/0.62, allocations: 0.4971 MB / 354.7 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01047/0.6305, allocations: 2.065 MB / 356.8 MB, free: 12.35 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003302/0.6339, allocations: 0.9267 MB / 357.7 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001634/0.6356, allocations: 331 kB / 358 MB, free: 11.01 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001759/0.6359, allocations: 16.75 kB / 358 MB, free: 11 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.109e-05/0.636, allocations: 51.34 kB / 358.1 MB, free: 10.94 MB / 314.7 MB Notification: Performance of pre-optimization done (n=74): time 6.392e-06/0.636, allocations: 0 / 358.1 MB, free: 10.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.006466/0.6425, allocations: 0.8812 MB / 359 MB, free: 10.04 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000629/0.6432, allocations: 0.8235 MB / 359.8 MB, free: 9.016 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001916/0.6451, allocations: 0.5269 MB / 360.3 MB, free: 8.484 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003311/0.6455, allocations: 49.7 kB / 360.3 MB, free: 8.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000711/0.6463, allocations: 325 kB / 360.7 MB, free: 8.109 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006542/0.647, allocations: 256.2 kB / 360.9 MB, free: 7.855 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.6471, allocations: 16 kB / 360.9 MB, free: 7.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0004094/0.6476, allocations: 382.8 kB / 361.3 MB, free: 7.457 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/0.6489, allocations: 217.6 kB / 361.5 MB, free: 7.246 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001966/0.6509, allocations: 0.4921 MB / 362 MB, free: 6.656 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001625/0.6526, allocations: 350.3 kB / 362.4 MB, free: 6.301 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.146e-05/0.6527, allocations: 3.938 kB / 362.4 MB, free: 6.297 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.006727/0.6595, allocations: 1.031 MB / 363.4 MB, free: 5.227 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001354/0.6597, allocations: 85.11 kB / 363.5 MB, free: 5.125 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.6597, allocations: 3.938 kB / 363.5 MB, free: 5.121 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001698/0.6614, allocations: 207.3 kB / 363.7 MB, free: 4.906 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001927/0.6634, allocations: 151.8 kB / 363.8 MB, free: 4.758 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2628/0.9263, allocations: 6.198 MB / 370 MB, free: 85.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/0.9279, allocations: 119.2 kB / 370.1 MB, free: 85.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001785/0.9281, allocations: 24.44 kB / 370.2 MB, free: 85.41 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.0003189/0.9285, allocations: 154.4 kB / 370.3 MB, free: 85.3 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002964/0.9288, allocations: 80.31 kB / 370.4 MB, free: 85.3 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002984/0.9291, allocations: 92.09 kB / 370.5 MB, free: 85.29 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/0.9291, allocations: 12.72 kB / 370.5 MB, free: 85.29 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.9291, allocations: 0.8438 kB / 370.5 MB, free: 85.29 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003717/0.9329, allocations: 1.168 MB / 371.7 MB, free: 84.73 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005642/0.9386, allocations: 1.861 MB / 373.5 MB, free: 84.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/0.9386, allocations: 0 / 373.5 MB, free: 84.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001417/0.9401, allocations: 149.1 kB / 373.7 MB, free: 84.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007398/0.9409, allocations: 166.7 kB / 373.8 MB, free: 84.36 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001372/0.941, allocations: 21.56 kB / 373.9 MB, free: 84.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007363/0.9484, allocations: 4.78 MB / 378.6 MB, free: 80.52 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.9485, allocations: 2.906 kB / 378.6 MB, free: 80.52 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004207/0.9527, allocations: 1.272 MB / 379.9 MB, free: 80.3 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003168/0.9531, allocations: 168.5 kB / 380.1 MB, free: 80.16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000227/0.9533, allocations: 20.66 kB / 380.1 MB, free: 80.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.9543, allocations: 62.28 kB / 380.2 MB, free: 80.16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002551/0.9546, allocations: 65.19 kB / 380.2 MB, free: 80.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-05/0.9547, allocations: 20.88 kB / 380.2 MB, free: 80.16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007409/0.9554, allocations: 424.7 kB / 380.7 MB, free: 80.06 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.9555, allocations: 0 / 380.7 MB, free: 80.06 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001364/0.9568, allocations: 283.4 kB / 380.9 MB, free: 80.05 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.004556/0.9614, allocations: 1.874 MB / 382.8 MB, free: 79.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002453/0.9639, allocations: 1.227 MB / 384 MB, free: 78.21 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/0.964, allocations: 8.625 kB / 384 MB, free: 78.21 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001839/0.9659, allocations: 0.7317 MB / 384.8 MB, free: 77.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/0.9676, allocations: 199.3 kB / 385 MB, free: 77.69 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004915/0.9725, allocations: 1.433 MB / 386.4 MB, free: 77.08 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004405/0.973, allocations: 0.9538 MB / 387.4 MB, free: 76.37 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007075/0.9737, allocations: 86.8 kB / 387.4 MB, free: 76.36 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005376/0.9743, allocations: 285.5 kB / 387.7 MB, free: 76.15 MB / 314.7 MB Notification: Performance of SimCode: time 1.232e-06/0.9743, allocations: 4 kB / 387.7 MB, free: 76.15 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06428/1.039, allocations: 22.13 MB / 409.9 MB, free: 58.33 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00025/1.039, allocations: 184.1 kB / 410 MB, free: 58.1 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.889/4.928, allocations: 4 kB / 410 MB, free: 58.09 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