Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") Notification: Performance of loadModel(Modelica): time 1.999/1.999, allocations: 225.8 MB / 239.4 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.268e-05/2.283e-05, allocations: 0 / 292.6 MB, free: 8.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09115/0.0912, allocations: 50.42 MB / 343.1 MB, free: 5.883 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3735/0.4647, allocations: 76.64 MB / 419.7 MB, free: 1.484 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003406/0.4651, allocations: 69.77 kB / 419.8 MB, free: 1.449 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01152/0.4766, allocations: 1.776 MB / 421.6 MB, free: 15.93 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.294e-06/0.4767, allocations: 0 / 421.6 MB, free: 15.93 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.651e-05/0.4767, allocations: 4 kB / 421.6 MB, free: 15.92 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.0007021/0.4775, allocations: 364.8 kB / 421.9 MB, free: 15.53 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.945e-05/0.4775, allocations: 8.031 kB / 421.9 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002468/0.4778, allocations: 15.91 kB / 421.9 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.4781, allocations: 167 kB / 422.1 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.4781, allocations: 7.438 kB / 422.1 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.856e-05/0.4782, allocations: 14.03 kB / 422.1 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003469/0.4786, allocations: 81.88 kB / 422.2 MB, free: 15.22 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.4786, allocations: 0 / 422.2 MB, free: 15.22 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.4787, allocations: 3.562 kB / 422.2 MB, free: 15.22 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.074e-06/0.4787, allocations: 0 / 422.2 MB, free: 15.22 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002638/0.479, allocations: 52.11 kB / 422.3 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.4804, allocations: 404.4 kB / 422.7 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002902/0.4807, allocations: 66.44 kB / 422.7 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.4809, allocations: 34.91 kB / 422.8 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.4809, allocations: 7.953 kB / 422.8 MB, free: 14.69 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.583e-05/0.481, allocations: 34.56 kB / 422.8 MB, free: 14.65 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 3.706e-06/0.481, allocations: 0 / 422.8 MB, free: 14.65 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003639/0.4814, allocations: 68.03 kB / 422.9 MB, free: 14.59 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.082e-05/0.4815, allocations: 55.41 kB / 422.9 MB, free: 14.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.4816, allocations: 100.4 kB / 423 MB, free: 14.42 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.5e-05/0.4817, allocations: 33.02 kB / 423 MB, free: 14.38 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.4818, allocations: 99.59 kB / 423.1 MB, free: 14.29 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.368e-05/0.4819, allocations: 35.36 kB / 423.2 MB, free: 14.25 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.476e-05/0.482, allocations: 4 kB / 423.2 MB, free: 14.25 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002473/0.4822, allocations: 318.1 kB / 423.5 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.4824, allocations: 18.62 kB / 423.5 MB, free: 13.92 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.4825, allocations: 39.64 kB / 423.6 MB, free: 13.88 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.4827, allocations: 38.05 kB / 423.6 MB, free: 13.86 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.089e-06/0.4827, allocations: 4 kB / 423.6 MB, free: 13.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004338/0.4832, allocations: 92.62 kB / 423.7 MB, free: 13.77 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.4832, allocations: 11.89 kB / 423.7 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.595e-06/0.4833, allocations: 0 / 423.7 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.4833, allocations: 0 / 423.7 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002896/0.4836, allocations: 23.98 kB / 423.7 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.4837, allocations: 4.078 kB / 423.7 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.4838, allocations: 14.66 kB / 423.7 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.202e-05/0.4839, allocations: 8.047 kB / 423.7 MB, free: 13.71 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 0.0001421/0.4841, allocations: 112.5 kB / 423.9 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.994e-05/0.4842, allocations: 15.88 kB / 423.9 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.172e-05/0.4843, allocations: 11.95 kB / 423.9 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.594e-06/0.4843, allocations: 0 / 423.9 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.166e-06/0.4843, allocations: 0 / 423.9 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.4843, allocations: 4 kB / 423.9 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004924/0.4848, allocations: 187.8 kB / 424.1 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.869e-06/0.4849, allocations: 0 / 424.1 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000273/0.4852, allocations: 16 kB / 424.1 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.958e-06/0.4852, allocations: 4 kB / 424.1 MB, free: 13.33 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.4852, allocations: 0 / 424.1 MB, free: 13.33 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.168e-05/0.4853, allocations: 7.938 kB / 424.1 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.413e-06/0.4853, allocations: 0 / 424.1 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004711/0.4858, allocations: 193 kB / 424.3 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.618e-05/0.4859, allocations: 81.05 kB / 424.4 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.865e-05/0.4859, allocations: 4.281 kB / 424.4 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.4862, allocations: 11.19 kB / 424.4 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.4862, allocations: 11.94 kB / 424.4 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.4863, allocations: 0 / 424.4 MB, free: 13.02 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.496e-05/0.4864, allocations: 82.53 kB / 424.5 MB, free: 12.94 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.226e-06/0.4864, allocations: 0 / 424.5 MB, free: 12.94 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007591/0.4872, allocations: 35.09 kB / 424.5 MB, free: 12.91 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.0002087/0.4874, allocations: 103.2 kB / 424.6 MB, free: 12.8 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002926/0.4877, allocations: 58.42 kB / 424.7 MB, free: 12.76 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.239e-06/0.4878, allocations: 4.125 kB / 424.7 MB, free: 12.75 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.372e-05/0.4879, allocations: 19.62 kB / 424.7 MB, free: 12.74 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.4883, allocations: 3.375 kB / 424.7 MB, free: 12.74 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.4894, allocations: 243.8 kB / 424.9 MB, free: 12.49 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005972/0.49, allocations: 0.7004 MB / 425.6 MB, free: 11.76 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.761e-05/0.4902, allocations: 0 / 425.6 MB, free: 11.76 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.096e-05/0.4902, allocations: 11.44 kB / 425.6 MB, free: 11.75 MB / 346.7 MB Notification: Performance of SimCode: time 2.237e-06/0.4902, allocations: 0 / 425.6 MB, free: 11.75 MB / 346.7 MB Notification: Performance of Templates: time 0.0054/0.4957, allocations: 0.5823 MB / 426.2 MB, free: 11.18 MB / 346.7 MB