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.1_cpp_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") Notification: Performance of loadModel(Modelica): time 1.724/1.724, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 6.532e-05/6.558e-05, allocations: 6.812 kB / 225 MB, free: 2.715 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3002, allocations: 38.77 MB / 263.8 MB, free: 9.879 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1004/0.4007, allocations: 66.01 MB / 329.8 MB, free: 7.77 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/0.401, allocations: 67.97 kB / 329.8 MB, free: 7.703 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006907/0.4079, allocations: 1.765 MB / 331.6 MB, free: 5.934 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.017e-06/0.408, allocations: 0 / 331.6 MB, free: 5.934 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.408, allocations: 4 kB / 331.6 MB, free: 5.93 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.00044/0.4085, allocations: 362.3 kB / 332 MB, free: 5.531 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.4085, allocations: 8.031 kB / 332 MB, free: 5.523 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.4087, allocations: 11.91 kB / 332 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.4088, allocations: 170.9 kB / 332.1 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.4089, allocations: 15.94 kB / 332.2 MB, free: 5.289 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.4089, allocations: 11.95 kB / 332.2 MB, free: 5.277 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.4091, allocations: 73.69 kB / 332.2 MB, free: 5.199 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.4092, allocations: 7.938 kB / 332.2 MB, free: 5.191 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.4092, allocations: 4 kB / 332.3 MB, free: 5.188 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.928e-06/0.4092, allocations: 0 / 332.3 MB, free: 5.188 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.4094, allocations: 47.98 kB / 332.3 MB, free: 5.141 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008334/0.4102, allocations: 420.4 kB / 332.7 MB, free: 4.68 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.4104, allocations: 62.52 kB / 332.8 MB, free: 4.609 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.286e-05/0.4105, allocations: 36.84 kB / 332.8 MB, free: 4.57 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.4105, allocations: 0 / 332.8 MB, free: 4.57 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.4106, allocations: 38.56 kB / 332.8 MB, free: 4.523 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 2.28e-06/0.4106, allocations: 0 / 332.8 MB, free: 4.523 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002205/0.4108, allocations: 69.83 kB / 332.9 MB, free: 4.449 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.4109, allocations: 55.41 kB / 333 MB, free: 4.383 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.404e-05/0.411, allocations: 97 kB / 333.1 MB, free: 4.281 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.411, allocations: 29.7 kB / 333.1 MB, free: 4.246 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.4111, allocations: 170.3 kB / 333.3 MB, free: 4.078 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.4112, allocations: 27.56 kB / 333.3 MB, free: 4.051 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.686e-06/0.4112, allocations: 0 / 333.3 MB, free: 4.051 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.4114, allocations: 326.8 kB / 333.6 MB, free: 3.723 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.217e-05/0.4115, allocations: 20 kB / 333.6 MB, free: 3.703 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.239e-05/0.4116, allocations: 42.52 kB / 333.7 MB, free: 3.652 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.48e-05/0.4116, allocations: 23.98 kB / 333.7 MB, free: 3.629 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.562e-06/0.4117, allocations: 3.953 kB / 333.7 MB, free: 3.625 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000226/0.4119, allocations: 109.5 kB / 333.8 MB, free: 3.512 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.4119, allocations: 8 kB / 333.8 MB, free: 3.504 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.348e-06/0.412, allocations: 0 / 333.8 MB, free: 3.504 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.412, allocations: 3.984 kB / 333.8 MB, free: 3.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.4121, allocations: 20 kB / 333.8 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.4122, allocations: 4 kB / 333.8 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.765e-05/0.4123, allocations: 7.984 kB / 333.8 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.4123, allocations: 4 kB / 333.8 MB, free: 3.465 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 9.474e-05/0.4124, allocations: 113 kB / 334 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.4124, allocations: 11.86 kB / 334 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.186e-05/0.4125, allocations: 8.625 kB / 334 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.4125, allocations: 0 / 334 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.938e-06/0.4125, allocations: 0 / 334 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.655e-06/0.4125, allocations: 0 / 334 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.4128, allocations: 189.6 kB / 334.2 MB, free: 3.098 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.307e-06/0.4128, allocations: 4 kB / 334.2 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.413, allocations: 23.94 kB / 334.2 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.88e-06/0.413, allocations: 0 / 334.2 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.4131, allocations: 4 kB / 334.2 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.293e-06/0.4131, allocations: 0 / 334.2 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.705e-06/0.4131, allocations: 3.938 kB / 334.2 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/0.4134, allocations: 195.4 kB / 334.4 MB, free: 2.855 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.933e-05/0.4135, allocations: 81.02 kB / 334.5 MB, free: 2.758 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.4135, allocations: 7.891 kB / 334.5 MB, free: 2.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.4136, allocations: 11.98 kB / 334.5 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.512e-05/0.4136, allocations: 0 / 334.5 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.898e-06/0.4137, allocations: 8.062 kB / 334.5 MB, free: 2.73 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.998e-05/0.4137, allocations: 87.53 kB / 334.6 MB, free: 2.645 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.43e-07/0.4137, allocations: 0 / 334.6 MB, free: 2.645 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003419/0.4141, allocations: 23.94 kB / 334.6 MB, free: 2.621 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.000145/0.4142, allocations: 103.2 kB / 334.7 MB, free: 2.508 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001589/0.4144, allocations: 51.94 kB / 334.8 MB, free: 2.457 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.368e-06/0.4144, allocations: 0 / 334.8 MB, free: 2.457 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.043e-05/0.4145, allocations: 24.28 kB / 334.8 MB, free: 2.434 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.4147, allocations: 8.156 kB / 334.8 MB, free: 2.426 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006174/0.4154, allocations: 265.7 kB / 335 MB, free: 2.141 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.4158, allocations: 0.7004 MB / 335.7 MB, free: 1.414 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.306e-05/0.4158, allocations: 11.44 kB / 335.8 MB, free: 1.402 MB / 282.7 MB Notification: Performance of SimCode: time 1.424e-06/0.4158, allocations: 0 / 335.8 MB, free: 1.402 MB / 282.7 MB Notification: Performance of Templates: time 0.002642/0.4185, allocations: 0.9263 MB / 336.7 MB, free: 488 kB / 282.7 MB