Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_3_2_2_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.021/2.021, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.273e-05/4.283e-05, allocations: 3.984 kB / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1057, allocations: 44.51 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4422/0.5481, allocations: 71.3 MB / 371.3 MB, free: 21.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000331/0.5485, allocations: 71.47 kB / 371.4 MB, free: 21.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008297/0.5568, allocations: 1.77 MB / 373.1 MB, free: 21.38 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.5568, allocations: 0 / 373.1 MB, free: 21.38 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.5569, allocations: 1.094 kB / 373.1 MB, free: 21.38 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000468/0.5573, allocations: 365.3 kB / 373.5 MB, free: 21.02 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/0.5574, allocations: 9.906 kB / 373.5 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.002e-05/0.5575, allocations: 39.31 kB / 373.5 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001429/0.5576, allocations: 14.98 kB / 373.5 MB, free: 20.97 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.5578, allocations: 171.3 kB / 373.7 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.5578, allocations: 6.938 kB / 373.7 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.119e-05/0.5578, allocations: 13.72 kB / 373.7 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.5581, allocations: 79.8 kB / 373.8 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.5581, allocations: 0 / 373.8 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.5581, allocations: 4.594 kB / 373.8 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.5581, allocations: 10.95 kB / 373.8 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.5583, allocations: 52.5 kB / 373.9 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009236/0.5593, allocations: 397.5 kB / 374.3 MB, free: 20.44 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.5595, allocations: 71.3 kB / 374.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.268e-05/0.5596, allocations: 28.55 kB / 374.4 MB, free: 20.41 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.5596, allocations: 5.969 kB / 374.4 MB, free: 20.4 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.5597, allocations: 35.44 kB / 374.4 MB, free: 20.36 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 3.327e-06/0.5597, allocations: 3.984 kB / 374.4 MB, free: 20.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002493/0.5599, allocations: 71.91 kB / 374.5 MB, free: 20.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.56, allocations: 62.06 kB / 374.5 MB, free: 20.25 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.244e-05/0.5601, allocations: 97.59 kB / 374.6 MB, free: 20.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.5601, allocations: 30.7 kB / 374.7 MB, free: 20.13 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.856e-05/0.5602, allocations: 101.3 kB / 374.8 MB, free: 20.04 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.5602, allocations: 30.45 kB / 374.8 MB, free: 20.02 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.735e-06/0.5602, allocations: 5.312 kB / 374.8 MB, free: 20.02 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.175e-05/0.5603, allocations: 315 kB / 375.1 MB, free: 19.7 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.573e-05/0.5604, allocations: 19.5 kB / 375.1 MB, free: 19.7 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.38e-05/0.5605, allocations: 43.17 kB / 375.2 MB, free: 19.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.701e-05/0.5606, allocations: 31.78 kB / 375.2 MB, free: 19.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5606, allocations: 0 / 375.2 MB, free: 19.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000249/0.5609, allocations: 107.1 kB / 375.3 MB, free: 19.63 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.5609, allocations: 5.438 kB / 375.3 MB, free: 19.63 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.5609, allocations: 0 / 375.3 MB, free: 19.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.561, allocations: 2.5 kB / 375.3 MB, free: 19.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.5612, allocations: 23.55 kB / 375.3 MB, free: 19.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.5612, allocations: 5.375 kB / 375.3 MB, free: 19.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.5614, allocations: 15.75 kB / 375.4 MB, free: 19.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.5614, allocations: 4.438 kB / 375.4 MB, free: 19.62 MB / 314.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 (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.174e-05/0.5615, allocations: 106 kB / 375.5 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.816e-05/0.5615, allocations: 7.75 kB / 375.5 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.787e-05/0.5616, allocations: 12 kB / 375.5 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.5616, allocations: 2.031 kB / 375.5 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.5616, allocations: 0 / 375.5 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.5616, allocations: 1.922 kB / 375.5 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002671/0.5619, allocations: 193.6 kB / 375.7 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.5619, allocations: 0 / 375.7 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.5621, allocations: 22.8 kB / 375.7 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.525e-06/0.5622, allocations: 1.094 kB / 375.7 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.5622, allocations: 1.641 kB / 375.7 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.5622, allocations: 256 / 375.7 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.5622, allocations: 5.656 kB / 375.7 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003361/0.5626, allocations: 190 kB / 375.9 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.251e-05/0.5626, allocations: 90.53 kB / 376 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.5627, allocations: 1.578 kB / 376 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.5628, allocations: 2.875 kB / 376 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.308e-05/0.5628, allocations: 7.875 kB / 376 MB, free: 19.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.5628, allocations: 1.641 kB / 376 MB, free: 19.05 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.656e-05/0.5629, allocations: 85.02 kB / 376.1 MB, free: 18.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.5629, allocations: 1.438 kB / 376.1 MB, free: 18.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004015/0.5633, allocations: 34.06 kB / 376.1 MB, free: 18.97 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mass1.T,mass2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005349/0.5639, allocations: 0.7249 MB / 376.8 MB, free: 18.3 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002109/0.5641, allocations: 57.16 kB / 376.9 MB, free: 18.3 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5641, allocations: 1.719 kB / 376.9 MB, free: 18.3 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.569e-05/0.5642, allocations: 22.34 kB / 376.9 MB, free: 18.3 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.5645, allocations: 3.719 kB / 376.9 MB, free: 18.3 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009282/0.5654, allocations: 281.6 kB / 377.2 MB, free: 18.08 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.5656, allocations: 0.6991 MB / 377.9 MB, free: 17.38 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.891e-05/0.5657, allocations: 4.781 kB / 377.9 MB, free: 17.38 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.176e-05/0.5658, allocations: 26.38 kB / 377.9 MB, free: 17.37 MB / 314.7 MB Notification: Performance of SimCode: time 1.012e-06/0.5658, allocations: 1.062 kB / 377.9 MB, free: 17.37 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0242/0.59, allocations: 1.505 MB / 379.4 MB, free: 17.14 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001972/0.5902, allocations: 154.9 kB / 379.6 MB, free: 16.91 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.505/3.095, allocations: 3.938 kB / 379.6 MB, free: 16.91 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat does not exist to compare? outputFormat=mat