Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.031/2.031, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.08e-05/4.087e-05, allocations: 4.984 kB / 292.2 MB, free: 8.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1131, allocations: 50.41 MB / 342.6 MB, free: 5.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4619/0.575, allocations: 76.66 MB / 419.3 MB, free: 1.195 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.5753, allocations: 71.56 kB / 419.4 MB, free: 1.16 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007537/0.5829, allocations: 1.774 MB / 421.1 MB, free: 15.64 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5829, allocations: 0 / 421.1 MB, free: 15.64 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.367e-06/0.583, allocations: 0 / 421.1 MB, free: 15.64 MB / 346.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.0005005/0.5835, allocations: 369.9 kB / 421.5 MB, free: 15.24 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.5835, allocations: 8.031 kB / 421.5 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.596e-05/0.5836, allocations: 42.48 kB / 421.6 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/0.5837, allocations: 7.906 kB / 421.6 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.5839, allocations: 171 kB / 421.7 MB, free: 14.97 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.5839, allocations: 14.72 kB / 421.7 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.159e-05/0.584, allocations: 11.73 kB / 421.8 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.5842, allocations: 83.08 kB / 421.8 MB, free: 14.89 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.5843, allocations: 0 / 421.8 MB, free: 14.89 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.5843, allocations: 11.92 kB / 421.9 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.5843, allocations: 0 / 421.9 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.5845, allocations: 47.61 kB / 421.9 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009553/0.5854, allocations: 397.9 kB / 422.3 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.5857, allocations: 69.98 kB / 422.4 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.507e-05/0.5858, allocations: 40.56 kB / 422.4 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.5858, allocations: 0 / 422.4 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/0.5859, allocations: 38.56 kB / 422.4 MB, free: 14.31 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 2.374e-06/0.5859, allocations: 0 / 422.4 MB, free: 14.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003316/0.5862, allocations: 81.09 kB / 422.5 MB, free: 14.24 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.5863, allocations: 51.41 kB / 422.6 MB, free: 14.18 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.5864, allocations: 100.9 kB / 422.7 MB, free: 14.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.5864, allocations: 25.7 kB / 422.7 MB, free: 14.04 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.215e-05/0.5865, allocations: 103.8 kB / 422.8 MB, free: 13.94 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.332e-05/0.5866, allocations: 27.31 kB / 422.8 MB, free: 13.92 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-06/0.5866, allocations: 3.938 kB / 422.8 MB, free: 13.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.5867, allocations: 326.6 kB / 423.1 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.147e-05/0.5868, allocations: 19.31 kB / 423.2 MB, free: 13.58 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.019e-05/0.5869, allocations: 46.72 kB / 423.2 MB, free: 13.54 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.057e-05/0.587, allocations: 27.61 kB / 423.2 MB, free: 13.52 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.587, allocations: 0 / 423.2 MB, free: 13.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002384/0.5873, allocations: 97.06 kB / 423.3 MB, free: 13.43 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/0.5873, allocations: 16.02 kB / 423.3 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.5873, allocations: 0 / 423.3 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.5874, allocations: 0 / 423.3 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.5876, allocations: 23.98 kB / 423.4 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.5876, allocations: 0 / 423.4 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.5878, allocations: 15.84 kB / 423.4 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.5878, allocations: 0 / 423.4 MB, free: 13.38 MB / 346.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.826e-05/0.5879, allocations: 116.5 kB / 423.5 MB, free: 13.26 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.625e-05/0.5879, allocations: 7.906 kB / 423.5 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.108e-05/0.588, allocations: 16.45 kB / 423.5 MB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.588, allocations: 0 / 423.5 MB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.946e-06/0.588, allocations: 0 / 423.5 MB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.588, allocations: 3.938 kB / 423.5 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000292/0.5883, allocations: 189.1 kB / 423.7 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.5884, allocations: 0 / 423.7 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.5886, allocations: 16 kB / 423.7 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/0.5886, allocations: 7.984 kB / 423.7 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.5886, allocations: 0 / 423.7 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.5886, allocations: 3.953 kB / 423.7 MB, free: 12.99 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.5886, allocations: 4 kB / 423.7 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003199/0.589, allocations: 186.6 kB / 423.9 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.698e-05/0.5891, allocations: 85.05 kB / 424 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.5891, allocations: 0 / 424 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.5892, allocations: 4 kB / 424 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.501e-05/0.5892, allocations: 7.938 kB / 424 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.5893, allocations: 4.25 kB / 424 MB, free: 12.69 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.242e-05/0.5893, allocations: 91.09 kB / 424.1 MB, free: 12.61 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5893, allocations: 0 / 424.1 MB, free: 12.61 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003964/0.5897, allocations: 31.72 kB / 424.1 MB, free: 12.58 MB / 346.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.0006904/0.5905, allocations: 0.7157 MB / 424.9 MB, free: 11.86 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002065/0.5907, allocations: 63.23 kB / 424.9 MB, free: 11.81 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5907, allocations: 3.938 kB / 424.9 MB, free: 11.8 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.735e-05/0.5908, allocations: 23.75 kB / 424.9 MB, free: 11.79 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.5911, allocations: 15.81 kB / 425 MB, free: 11.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009935/0.5921, allocations: 282.9 kB / 425.2 MB, free: 11.47 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.5925, allocations: 0.6965 MB / 425.9 MB, free: 10.75 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.492e-05/0.5926, allocations: 3.984 kB / 425.9 MB, free: 10.75 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.446e-05/0.5927, allocations: 23.12 kB / 426 MB, free: 10.73 MB / 346.7 MB Notification: Performance of SimCode: time 1.293e-06/0.5927, allocations: 0 / 426 MB, free: 10.73 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01985/0.6125, allocations: 1.502 MB / 427.5 MB, free: 9.297 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003537/0.613, allocations: 151.1 kB / 427.6 MB, free: 9.074 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.52/3.133, allocations: 0 / 427.6 MB, free: 9.074 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat does not exist to compare? outputFormat=mat