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 1.981/1.981, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.094e-05/3.108e-05, allocations: 5.25 kB / 255.4 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09611/0.09616, allocations: 44.51 MB / 300 MB, free: 6.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4103/0.5065, allocations: 77.16 MB / 377.1 MB, free: 12.75 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/0.5069, allocations: 72.55 kB / 377.2 MB, free: 12.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06668/0.5736, allocations: 15.65 MB / 392.8 MB, free: 11.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.5736, allocations: 0 / 392.8 MB, free: 11.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.991e-05/0.5737, allocations: 19.09 kB / 392.9 MB, free: 11.09 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.003057/0.5768, allocations: 1.049 MB / 393.9 MB, free: 10.42 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.5769, allocations: 11.66 kB / 393.9 MB, free: 10.42 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003514/0.5772, allocations: 109.9 kB / 394 MB, free: 10.37 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003176/0.5776, allocations: 105.7 kB / 394.1 MB, free: 10.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00135/0.5789, allocations: 0.5194 MB / 394.7 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000285/0.5792, allocations: 154.9 kB / 394.8 MB, free: 9.934 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001618/0.5794, allocations: 58.55 kB / 394.9 MB, free: 9.934 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/0.5812, allocations: 0.7846 MB / 395.6 MB, free: 9.617 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.22e-05/0.5813, allocations: 0 / 395.6 MB, free: 9.617 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/0.5814, allocations: 31.66 kB / 395.7 MB, free: 9.613 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.5814, allocations: 15.53 kB / 395.7 MB, free: 9.613 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.5828, allocations: 0.4945 MB / 396.2 MB, free: 9.605 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005569/0.5884, allocations: 2.095 MB / 398.3 MB, free: 8.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001551/0.59, allocations: 0.9165 MB / 399.2 MB, free: 8.551 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006998/0.5907, allocations: 324.7 kB / 399.5 MB, free: 8.543 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/0.5908, allocations: 12.48 kB / 399.5 MB, free: 8.539 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.5909, allocations: 54.09 kB / 399.6 MB, free: 8.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=74): time 3.256e-06/0.5909, allocations: 0 / 399.6 MB, free: 8.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.003373/0.5943, allocations: 0.8772 MB / 400.5 MB, free: 8.359 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002202/0.5946, allocations: 0.8336 MB / 401.3 MB, free: 7.352 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000969/0.5955, allocations: 0.5204 MB / 401.8 MB, free: 7.227 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002131/0.5958, allocations: 46.64 kB / 401.9 MB, free: 7.195 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002692/0.596, allocations: 330.8 kB / 402.2 MB, free: 7.062 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002519/0.5963, allocations: 247.3 kB / 402.4 MB, free: 6.902 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.783e-05/0.5964, allocations: 17.44 kB / 402.4 MB, free: 6.902 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.5965, allocations: 386.8 kB / 402.8 MB, free: 6.586 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006355/0.5972, allocations: 218.4 kB / 403 MB, free: 6.582 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008184/0.598, allocations: 492.6 kB / 403.5 MB, free: 6.312 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006949/0.5987, allocations: 352.4 kB / 403.9 MB, free: 6.195 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.5987, allocations: 0 / 403.9 MB, free: 6.195 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003517/0.6023, allocations: 1.029 MB / 404.9 MB, free: 5.953 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.822e-05/0.6024, allocations: 88.8 kB / 405 MB, free: 5.855 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.6024, allocations: 7.797 kB / 405 MB, free: 5.852 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009539/0.6034, allocations: 205.2 kB / 405.2 MB, free: 5.812 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.6046, allocations: 146.1 kB / 405.3 MB, free: 5.805 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009027/0.6137, allocations: 6.21 MB / 411.5 MB, free: 16.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.6151, allocations: 118.5 kB / 411.6 MB, free: 16.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.53e-05/0.6152, allocations: 19.12 kB / 411.7 MB, free: 16.52 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.0002772/0.6155, allocations: 163.3 kB / 411.8 MB, free: 16.39 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000196/0.6157, allocations: 85.23 kB / 411.9 MB, free: 16.35 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002632/0.616, allocations: 98.72 kB / 412 MB, free: 16.31 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/0.616, allocations: 7.656 kB / 412 MB, free: 16.31 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/0.616, allocations: 192 / 412 MB, free: 16.31 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0031/0.6191, allocations: 1.166 MB / 413.2 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005183/0.6244, allocations: 1.867 MB / 415 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.6244, allocations: 3.938 kB / 415 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001356/0.6258, allocations: 148.7 kB / 415.2 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006603/0.6265, allocations: 163 kB / 415.4 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.046e-05/0.6266, allocations: 15.69 kB / 415.4 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008017/0.6346, allocations: 4.791 MB / 420.2 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6347, allocations: 0 / 420.2 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004154/0.6388, allocations: 1.274 MB / 421.4 MB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003602/0.6392, allocations: 166 kB / 421.6 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002034/0.6395, allocations: 18.44 kB / 421.6 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000941/0.6404, allocations: 69.77 kB / 421.7 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002451/0.6407, allocations: 55.5 kB / 421.7 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.273e-05/0.6407, allocations: 27.02 kB / 421.8 MB, free: 10.13 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007356/0.6415, allocations: 423.4 kB / 422.2 MB, free: 10.01 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6415, allocations: 3.938 kB / 422.2 MB, free: 10.01 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001126/0.6426, allocations: 289.9 kB / 422.5 MB, free: 9.984 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.004281/0.6469, allocations: 1.863 MB / 424.3 MB, free: 9.102 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002376/0.6493, allocations: 1.229 MB / 425.6 MB, free: 8.402 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.814e-06/0.6494, allocations: 3.781 kB / 425.6 MB, free: 8.402 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001715/0.6511, allocations: 0.7332 MB / 426.3 MB, free: 8.004 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/0.6526, allocations: 210.8 kB / 426.5 MB, free: 7.941 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003859/0.6565, allocations: 1.401 MB / 427.9 MB, free: 7.23 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006527/0.6572, allocations: 0.951 MB / 428.8 MB, free: 6.414 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000684/0.6579, allocations: 96.64 kB / 428.9 MB, free: 6.367 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005841/0.6585, allocations: 283.1 kB / 429.2 MB, free: 6.336 MB / 330.7 MB Notification: Performance of SimCode: time 1.112e-06/0.6585, allocations: 0 / 429.2 MB, free: 6.336 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07433/0.7328, allocations: 22.25 MB / 451.5 MB, free: 7.551 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002985/0.7332, allocations: 184.4 kB / 451.6 MB, free: 7.32 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.04/4.773, allocations: 0 / 451.6 MB, free: 7.32 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