Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") Notification: Performance of loadModel(Modelica): time 1.784/1.784, allocations: 194.9 MB / 208.5 MB, free: 3.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.66e-05/2.706e-05, allocations: 6.531 kB / 255.4 MB, free: 3.191 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07633/0.07638, allocations: 44.51 MB / 299.9 MB, free: 6.617 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3185/0.3949, allocations: 71.31 MB / 371.2 MB, free: 21.54 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.3952, allocations: 66.45 kB / 371.2 MB, free: 21.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006745/0.4019, allocations: 1.767 MB / 373 MB, free: 21.14 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.052e-06/0.402, allocations: 0 / 373 MB, free: 21.14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.461e-05/0.402, allocations: 1.312 kB / 373 MB, free: 21.14 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.0003184/0.4023, allocations: 360.8 kB / 373.4 MB, free: 20.79 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.4024, allocations: 13.25 kB / 373.4 MB, free: 20.78 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.4025, allocations: 12.94 kB / 373.4 MB, free: 20.78 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.875e-05/0.4026, allocations: 173 kB / 373.5 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.4027, allocations: 7.25 kB / 373.6 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.389e-05/0.4027, allocations: 9.75 kB / 373.6 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.4029, allocations: 83.59 kB / 373.6 MB, free: 20.54 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.4029, allocations: 0 / 373.6 MB, free: 20.54 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.4029, allocations: 1.344 kB / 373.6 MB, free: 20.54 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.347e-06/0.403, allocations: 6.484 kB / 373.7 MB, free: 20.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.4031, allocations: 51.8 kB / 373.7 MB, free: 20.53 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006954/0.4038, allocations: 397.5 kB / 374.1 MB, free: 20.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.404, allocations: 77.14 kB / 374.2 MB, free: 20.21 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.25e-05/0.4041, allocations: 41.95 kB / 374.2 MB, free: 20.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.747e-06/0.4041, allocations: 1.062 kB / 374.2 MB, free: 20.2 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.393e-05/0.4041, allocations: 32.5 kB / 374.2 MB, free: 20.16 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 2.382e-06/0.4042, allocations: 0 / 374.2 MB, free: 20.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002028/0.4044, allocations: 71.67 kB / 374.3 MB, free: 20.12 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.377e-05/0.4044, allocations: 52.62 kB / 374.4 MB, free: 20.06 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.988e-05/0.4045, allocations: 105.7 kB / 374.5 MB, free: 19.96 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.4045, allocations: 30.52 kB / 374.5 MB, free: 19.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/0.4046, allocations: 172.4 kB / 374.7 MB, free: 19.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.4046, allocations: 30.86 kB / 374.7 MB, free: 19.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8e-06/0.4046, allocations: 3.5 kB / 374.7 MB, free: 19.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.07e-05/0.4047, allocations: 321.8 kB / 375 MB, free: 19.44 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.663e-05/0.4048, allocations: 19.09 kB / 375 MB, free: 19.44 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.016e-05/0.4048, allocations: 42.64 kB / 375.1 MB, free: 19.41 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.527e-05/0.4049, allocations: 32.3 kB / 375.1 MB, free: 19.41 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4049, allocations: 0 / 375.1 MB, free: 19.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000204/0.4052, allocations: 101.8 kB / 375.2 MB, free: 19.37 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.4052, allocations: 5.438 kB / 375.2 MB, free: 19.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.639e-06/0.4052, allocations: 1.438 kB / 375.2 MB, free: 19.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.4052, allocations: 1.75 kB / 375.2 MB, free: 19.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.4054, allocations: 22.23 kB / 375.2 MB, free: 19.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.887e-06/0.4054, allocations: 2.047 kB / 375.2 MB, free: 19.37 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.768e-05/0.4055, allocations: 13.14 kB / 375.2 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.4055, allocations: 10.17 kB / 375.3 MB, free: 19.36 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 5.033e-05/0.4056, allocations: 108 kB / 375.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/0.4056, allocations: 5.625 kB / 375.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.33e-05/0.4057, allocations: 10.28 kB / 375.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.541e-06/0.4057, allocations: 0.875 kB / 375.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.105e-06/0.4057, allocations: 0 / 375.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.801e-06/0.4057, allocations: 1.531 kB / 375.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.4059, allocations: 199.2 kB / 375.6 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.368e-06/0.4059, allocations: 4 kB / 375.6 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.4061, allocations: 18.31 kB / 375.6 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.63e-06/0.4061, allocations: 1.859 kB / 375.6 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.4061, allocations: 0 / 375.6 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.468e-06/0.4062, allocations: 1.094 kB / 375.6 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.069e-06/0.4062, allocations: 0.7031 kB / 375.6 MB, free: 19.04 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.4064, allocations: 190.9 kB / 375.8 MB, free: 18.9 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.713e-05/0.4064, allocations: 82.97 kB / 375.9 MB, free: 18.8 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.4065, allocations: 6.656 kB / 375.9 MB, free: 18.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.567e-05/0.4066, allocations: 6.406 kB / 375.9 MB, free: 18.8 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.091e-05/0.4066, allocations: 3.391 kB / 375.9 MB, free: 18.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.011e-06/0.4066, allocations: 7.156 kB / 375.9 MB, free: 18.79 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.369e-05/0.4067, allocations: 84.06 kB / 376 MB, free: 18.72 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.4067, allocations: 0 / 376 MB, free: 18.72 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003306/0.407, allocations: 23.38 kB / 376 MB, free: 18.71 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 9.877e-05/0.4071, allocations: 100.8 kB / 376.1 MB, free: 18.63 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001552/0.4073, allocations: 56.98 kB / 376.2 MB, free: 18.62 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.77e-06/0.4073, allocations: 3.938 kB / 376.2 MB, free: 18.62 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.172e-05/0.4074, allocations: 27.62 kB / 376.2 MB, free: 18.61 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.4076, allocations: 11.78 kB / 376.2 MB, free: 18.61 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005453/0.4082, allocations: 271.5 kB / 376.5 MB, free: 18.4 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001525/0.4083, allocations: 0.6955 MB / 377.2 MB, free: 17.7 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.012e-05/0.4084, allocations: 11.62 kB / 377.2 MB, free: 17.7 MB / 314.7 MB Notification: Performance of SimCode: time 1.295e-06/0.4084, allocations: 0 / 377.2 MB, free: 17.7 MB / 314.7 MB Notification: Performance of Templates: time 0.002661/0.4111, allocations: 0.927 MB / 378.1 MB, free: 17.64 MB / 314.7 MB