Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Thermal_HeatTransfer_Examples_TwoMasses",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.632/2.632, allocations: 195 MB / 202.9 MB, free: 6.715 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.239e-05/2.239e-05, allocations: 2.156 kB / 249.8 MB, free: 5.219 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1278, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5388/0.6667, allocations: 70.64 MB / 364.9 MB, free: 6.922 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/0.667, allocations: 70.31 kB / 365 MB, free: 6.922 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007868/0.6749, allocations: 1.751 MB / 366.7 MB, free: 22.53 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6749, allocations: 4 kB / 366.8 MB, free: 22.53 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.6749, allocations: 3.906 kB / 366.8 MB, free: 22.53 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.0004225/0.6754, allocations: 358.5 kB / 367.1 MB, free: 22.17 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.6754, allocations: 11.69 kB / 367.1 MB, free: 22.17 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001553/0.6756, allocations: 9.312 kB / 367.1 MB, free: 22.16 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.6757, allocations: 175.2 kB / 367.3 MB, free: 21.96 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.6758, allocations: 3.875 kB / 367.3 MB, free: 21.96 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.6758, allocations: 3.875 kB / 367.3 MB, free: 21.96 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000181/0.676, allocations: 50.94 kB / 367.4 MB, free: 21.95 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.6762, allocations: 71.28 kB / 367.4 MB, free: 21.92 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.6762, allocations: 0 / 367.4 MB, free: 21.92 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.6762, allocations: 7.562 kB / 367.4 MB, free: 21.92 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.6763, allocations: 3.719 kB / 367.4 MB, free: 21.92 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008379/0.6771, allocations: 372.7 kB / 367.8 MB, free: 21.66 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.6773, allocations: 60.56 kB / 367.9 MB, free: 21.64 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.149e-05/0.6774, allocations: 33.77 kB / 367.9 MB, free: 21.63 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.6774, allocations: 3.75 kB / 367.9 MB, free: 21.63 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.6774, allocations: 31.44 kB / 367.9 MB, free: 21.59 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 1.994e-06/0.6774, allocations: 0 / 367.9 MB, free: 21.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002203/0.6777, allocations: 73.59 kB / 368 MB, free: 21.55 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.6777, allocations: 57.92 kB / 368.1 MB, free: 21.48 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.01e-05/0.6778, allocations: 95.75 kB / 368.1 MB, free: 21.39 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.6778, allocations: 25.7 kB / 368.2 MB, free: 21.36 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.858e-05/0.6779, allocations: 101.3 kB / 368.3 MB, free: 21.27 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.6779, allocations: 32.55 kB / 368.3 MB, free: 21.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-06/0.678, allocations: 0 / 368.3 MB, free: 21.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.6781, allocations: 318.2 kB / 368.6 MB, free: 20.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.974e-05/0.6782, allocations: 20.38 kB / 368.6 MB, free: 20.93 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.575e-05/0.6782, allocations: 50.31 kB / 368.7 MB, free: 20.9 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.608e-05/0.6783, allocations: 17.91 kB / 368.7 MB, free: 20.9 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.6783, allocations: 0 / 368.7 MB, free: 20.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002169/0.6786, allocations: 92.55 kB / 368.8 MB, free: 20.86 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.6786, allocations: 7.719 kB / 368.8 MB, free: 20.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.6786, allocations: 256 / 368.8 MB, free: 20.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.6786, allocations: 4.062 kB / 368.8 MB, free: 20.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.6789, allocations: 37.44 kB / 368.8 MB, free: 20.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.6789, allocations: 0 / 368.8 MB, free: 20.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.679, allocations: 7.75 kB / 368.8 MB, free: 20.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.679, allocations: 3.781 kB / 368.9 MB, free: 20.85 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.867e-05/0.6792, allocations: 111.9 kB / 369 MB, free: 20.73 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001588/0.6793, allocations: 69.22 kB / 369 MB, free: 20.7 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/0.6794, allocations: 0 / 369 MB, free: 20.7 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.447e-05/0.6794, allocations: 21.12 kB / 369 MB, free: 20.69 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.6794, allocations: 0 / 369 MB, free: 20.69 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.6795, allocations: 0 / 369 MB, free: 20.69 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.6795, allocations: 0 / 369 MB, free: 20.69 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/0.6797, allocations: 166.5 kB / 369.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.6798, allocations: 0 / 369.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002132/0.68, allocations: 16.94 kB / 369.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.68, allocations: 3.938 kB / 369.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.68, allocations: 0 / 369.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.68, allocations: 2.531 kB / 369.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.6801, allocations: 3.75 kB / 369.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.6803, allocations: 189.8 kB / 369.4 MB, free: 20.38 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.374e-05/0.6804, allocations: 84.8 kB / 369.5 MB, free: 20.28 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.6804, allocations: 0 / 369.5 MB, free: 20.28 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.6806, allocations: 2.297 kB / 369.5 MB, free: 20.28 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.997e-05/0.6806, allocations: 3.812 kB / 369.5 MB, free: 20.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-06/0.6806, allocations: 6.312 kB / 369.5 MB, free: 20.28 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.311e-05/0.6807, allocations: 82.84 kB / 369.6 MB, free: 20.2 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6807, allocations: 8 kB / 369.6 MB, free: 20.2 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004206/0.6811, allocations: 23.03 kB / 369.6 MB, free: 20.19 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.0006206/0.6818, allocations: 0.7227 MB / 370.4 MB, free: 19.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001757/0.682, allocations: 45.44 kB / 370.4 MB, free: 19.52 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.682, allocations: 4.188 kB / 370.4 MB, free: 19.52 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.07e-05/0.682, allocations: 26.75 kB / 370.4 MB, free: 19.52 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.6823, allocations: 8.672 kB / 370.4 MB, free: 19.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009221/0.6833, allocations: 274.1 kB / 370.7 MB, free: 19.3 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.6836, allocations: 0.6933 MB / 371.4 MB, free: 18.6 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.531e-05/0.6837, allocations: 6.578 kB / 371.4 MB, free: 18.6 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.627e-05/0.6838, allocations: 16.95 kB / 371.4 MB, free: 18.59 MB / 314.7 MB Notification: Performance of SimCode: time 1.914e-06/0.6838, allocations: 3.781 kB / 371.4 MB, free: 18.59 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04731/0.7311, allocations: 1.227 MB / 372.7 MB, free: 18.5 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002562/0.7314, allocations: 143.5 kB / 372.8 MB, free: 18.31 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.846/3.578, allocations: 0 / 372.8 MB, free: 18.31 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat does not exist to compare? outputFormat=mat