Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.936/1.936, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.565e-05/2.569e-05, allocations: 4 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3216, allocations: 44.49 MB / 294.2 MB, free: 14.28 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1312/0.4529, allocations: 70.65 MB / 364.8 MB, free: 11.34 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/0.4532, allocations: 71.97 kB / 364.9 MB, free: 11.27 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00711/0.4603, allocations: 1.746 MB / 366.7 MB, free: 9.523 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.4603, allocations: 0 / 366.7 MB, free: 9.523 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.839e-06/0.4604, allocations: 8 kB / 366.7 MB, free: 9.516 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.0004781/0.4609, allocations: 362.3 kB / 367 MB, free: 9.117 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.4609, allocations: 8.031 kB / 367 MB, free: 9.109 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.4611, allocations: 11.91 kB / 367 MB, free: 9.098 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.4613, allocations: 174.9 kB / 367.2 MB, free: 8.887 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.4613, allocations: 0 / 367.2 MB, free: 8.887 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.156e-05/0.4613, allocations: 8 kB / 367.2 MB, free: 8.879 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001783/0.4615, allocations: 47.98 kB / 367.3 MB, free: 8.832 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.4617, allocations: 69.67 kB / 367.3 MB, free: 8.758 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.4617, allocations: 4 kB / 367.3 MB, free: 8.754 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.4618, allocations: 3.953 kB / 367.3 MB, free: 8.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.4618, allocations: 0 / 367.3 MB, free: 8.75 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008966/0.4627, allocations: 369.2 kB / 367.7 MB, free: 8.352 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.4629, allocations: 70.5 kB / 367.8 MB, free: 8.273 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.083e-05/0.463, allocations: 28.86 kB / 367.8 MB, free: 8.242 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.463, allocations: 3.984 kB / 367.8 MB, free: 8.238 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.463, allocations: 34.5 kB / 367.8 MB, free: 8.195 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 2.034e-06/0.4631, allocations: 0 / 367.8 MB, free: 8.195 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002186/0.4633, allocations: 69.59 kB / 367.9 MB, free: 8.121 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.4633, allocations: 55.41 kB / 368 MB, free: 8.055 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.105e-05/0.4634, allocations: 97 kB / 368.1 MB, free: 7.953 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.4635, allocations: 25.7 kB / 368.1 MB, free: 7.922 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.242e-05/0.4636, allocations: 170.3 kB / 368.2 MB, free: 7.754 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.566e-05/0.4636, allocations: 27.56 kB / 368.3 MB, free: 7.727 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-06/0.4636, allocations: 0 / 368.3 MB, free: 7.727 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.4638, allocations: 322.8 kB / 368.6 MB, free: 7.402 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.991e-05/0.4638, allocations: 20 kB / 368.6 MB, free: 7.383 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.567e-05/0.4639, allocations: 42.52 kB / 368.7 MB, free: 7.332 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.991e-05/0.464, allocations: 23.98 kB / 368.7 MB, free: 7.309 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.464, allocations: 0 / 368.7 MB, free: 7.309 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002096/0.4642, allocations: 93.56 kB / 368.8 MB, free: 7.211 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.4643, allocations: 7.938 kB / 368.8 MB, free: 7.203 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4643, allocations: 4 kB / 368.8 MB, free: 7.199 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.4643, allocations: 3.984 kB / 368.8 MB, free: 7.195 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/0.4645, allocations: 24.05 kB / 368.8 MB, free: 7.172 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.4646, allocations: 8.312 kB / 368.8 MB, free: 7.164 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.035e-05/0.4647, allocations: 7.906 kB / 368.8 MB, free: 7.156 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.4647, allocations: 8 kB / 368.8 MB, free: 7.148 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 9.256e-05/0.4648, allocations: 116.6 kB / 368.9 MB, free: 7.027 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001453/0.4649, allocations: 69.69 kB / 369 MB, free: 6.953 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.102e-05/0.465, allocations: 3.906 kB / 369 MB, free: 6.949 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.84e-05/0.465, allocations: 8.625 kB / 369 MB, free: 6.941 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.4651, allocations: 4 kB / 369 MB, free: 6.938 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.4651, allocations: 0 / 369 MB, free: 6.938 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.4651, allocations: 0 / 369 MB, free: 6.938 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002345/0.4653, allocations: 166.2 kB / 369.2 MB, free: 6.738 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.4653, allocations: 0 / 369.2 MB, free: 6.738 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/0.4655, allocations: 19.98 kB / 369.2 MB, free: 6.719 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-06/0.4656, allocations: 4 kB / 369.2 MB, free: 6.715 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.4656, allocations: 0 / 369.2 MB, free: 6.715 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.4656, allocations: 3.938 kB / 369.2 MB, free: 6.711 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.4656, allocations: 0 / 369.2 MB, free: 6.711 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.4659, allocations: 187.4 kB / 369.4 MB, free: 6.512 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.696e-05/0.4659, allocations: 89.03 kB / 369.5 MB, free: 6.406 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.466, allocations: 0 / 369.5 MB, free: 6.406 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.4661, allocations: 0 / 369.5 MB, free: 6.406 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.172e-05/0.4661, allocations: 4 kB / 369.5 MB, free: 6.402 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.4662, allocations: 0 / 369.5 MB, free: 6.402 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.573e-05/0.4662, allocations: 91.27 kB / 369.6 MB, free: 6.312 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4662, allocations: 0 / 369.6 MB, free: 6.312 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003394/0.4666, allocations: 24 kB / 369.6 MB, free: 6.289 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.0005489/0.4671, allocations: 0.7202 MB / 370.3 MB, free: 5.543 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00017/0.4673, allocations: 59.86 kB / 370.4 MB, free: 5.484 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.4673, allocations: 0 / 370.4 MB, free: 5.484 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.653e-05/0.4674, allocations: 16.19 kB / 370.4 MB, free: 5.469 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.4677, allocations: 8 kB / 370.4 MB, free: 5.461 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000885/0.4686, allocations: 293.5 kB / 370.7 MB, free: 5.129 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.4689, allocations: 0.7079 MB / 371.4 MB, free: 4.395 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.062e-05/0.469, allocations: 23.44 kB / 371.4 MB, free: 4.371 MB / 314.7 MB Notification: Performance of SimCode: time 9.92e-07/0.469, allocations: 0 / 371.4 MB, free: 4.371 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.525/2.994, allocations: 1.336 MB / 372.8 MB, free: 3.031 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat does not exist to compare? outputFormat=mat