Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.74/1.74, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.241e-05/4.247e-05, allocations: 4 kB / 225.1 MB, free: 2.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3013, allocations: 38.76 MB / 263.8 MB, free: 9.77 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1219/0.4232, allocations: 66.02 MB / 329.9 MB, free: 7.652 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003139/0.4236, allocations: 67.97 kB / 329.9 MB, free: 7.586 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009548/0.4332, allocations: 1.773 MB / 331.7 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.231e-06/0.4333, allocations: 3.984 kB / 331.7 MB, free: 5.805 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.4333, allocations: 4 kB / 331.7 MB, free: 5.801 MB / 282.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.0005981/0.4339, allocations: 354.3 kB / 332.1 MB, free: 5.41 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.762e-05/0.434, allocations: 8.031 kB / 332.1 MB, free: 5.402 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.248e-05/0.4341, allocations: 46.55 kB / 332.1 MB, free: 5.348 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001884/0.4343, allocations: 11.91 kB / 332.1 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.4345, allocations: 170.8 kB / 332.3 MB, free: 5.133 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.4345, allocations: 8 kB / 332.3 MB, free: 5.125 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.915e-05/0.4346, allocations: 15.95 kB / 332.3 MB, free: 5.109 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002841/0.4349, allocations: 77.67 kB / 332.4 MB, free: 5.027 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.4349, allocations: 7.906 kB / 332.4 MB, free: 5.02 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.4349, allocations: 0 / 332.4 MB, free: 5.02 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.435, allocations: 0 / 332.4 MB, free: 5.02 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002227/0.4352, allocations: 51.98 kB / 332.4 MB, free: 4.969 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.4364, allocations: 404.6 kB / 332.8 MB, free: 4.523 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.4366, allocations: 66.56 kB / 332.9 MB, free: 4.449 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.4368, allocations: 36.8 kB / 332.9 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.4368, allocations: 0 / 332.9 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.4368, allocations: 38.72 kB / 333 MB, free: 4.363 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 2.164e-06/0.4368, allocations: 0 / 333 MB, free: 4.363 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002913/0.4372, allocations: 65.67 kB / 333 MB, free: 4.293 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.4372, allocations: 55.41 kB / 333.1 MB, free: 4.227 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.4374, allocations: 96.98 kB / 333.2 MB, free: 4.125 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.4374, allocations: 29.7 kB / 333.2 MB, free: 4.09 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.4375, allocations: 174.2 kB / 333.4 MB, free: 3.918 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.061e-05/0.4376, allocations: 31.55 kB / 333.4 MB, free: 3.887 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.163e-05/0.4376, allocations: 4 kB / 333.4 MB, free: 3.883 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.4378, allocations: 314.8 kB / 333.7 MB, free: 3.566 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.409e-05/0.4379, allocations: 20 kB / 333.7 MB, free: 3.547 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.4381, allocations: 54.5 kB / 333.8 MB, free: 3.484 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.4382, allocations: 27.95 kB / 333.8 MB, free: 3.457 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4382, allocations: 0 / 333.8 MB, free: 3.457 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000331/0.4386, allocations: 105.5 kB / 333.9 MB, free: 3.348 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.4386, allocations: 8 kB / 333.9 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.4386, allocations: 0 / 333.9 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.4387, allocations: 0 / 333.9 MB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002867/0.439, allocations: 23.98 kB / 334 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.439, allocations: 4.25 kB / 334 MB, free: 3.312 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.4391, allocations: 8.062 kB / 334 MB, free: 3.305 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.4392, allocations: 11.98 kB / 334 MB, free: 3.293 MB / 282.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 0.0001178/0.4393, allocations: 116.9 kB / 334.1 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.442e-05/0.4394, allocations: 3.906 kB / 334.1 MB, free: 3.168 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.685e-05/0.4394, allocations: 12.62 kB / 334.1 MB, free: 3.16 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.4395, allocations: 0 / 334.1 MB, free: 3.16 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.4395, allocations: 0 / 334.1 MB, free: 3.16 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.4395, allocations: 3.984 kB / 334.1 MB, free: 3.156 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003888/0.4399, allocations: 185.6 kB / 334.3 MB, free: 2.926 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/0.4399, allocations: 7.953 kB / 334.3 MB, free: 2.918 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002573/0.4402, allocations: 19.98 kB / 334.3 MB, free: 2.898 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.289e-06/0.4402, allocations: 4 kB / 334.3 MB, free: 2.895 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.4403, allocations: 4 kB / 334.3 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.4403, allocations: 0 / 334.3 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.4403, allocations: 0 / 334.3 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003801/0.4407, allocations: 199.3 kB / 334.5 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.848e-05/0.4408, allocations: 84.97 kB / 334.6 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.4408, allocations: 0 / 334.6 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.441, allocations: 8.062 kB / 334.6 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.247e-05/0.441, allocations: 0 / 334.6 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.441, allocations: 11.98 kB / 334.6 MB, free: 2.559 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.126e-05/0.4411, allocations: 79.28 kB / 334.7 MB, free: 2.48 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.4411, allocations: 0 / 334.7 MB, free: 2.48 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006274/0.4418, allocations: 31.94 kB / 334.7 MB, free: 2.449 MB / 282.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.0007663/0.4426, allocations: 0.7319 MB / 335.5 MB, free: 1.688 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002377/0.4428, allocations: 51.94 kB / 335.5 MB, free: 1.637 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4428, allocations: 4 kB / 335.5 MB, free: 1.633 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.854e-05/0.4429, allocations: 19.94 kB / 335.5 MB, free: 1.613 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.4433, allocations: 8 kB / 335.6 MB, free: 1.605 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.4446, allocations: 299.6 kB / 335.9 MB, free: 1.273 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.445, allocations: 0.6965 MB / 336.5 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.354e-05/0.4451, allocations: 19.44 kB / 336.6 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of SimCode: time 1.012e-06/0.4451, allocations: 4 kB / 336.6 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.446/2.892, allocations: 1.348 MB / 337.9 MB, free: 15.18 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat does not exist to compare? outputFormat=mat