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_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") Notification: Performance of loadModel(Modelica): time 2.045/2.045, allocations: 194.9 MB / 208 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.718e-05/4.753e-05, allocations: 7.984 kB / 255.4 MB, free: 2.707 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1017, allocations: 44.5 MB / 299.9 MB, free: 6.145 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3846/0.4864, allocations: 71.31 MB / 371.2 MB, free: 21.61 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/0.4867, allocations: 67.44 kB / 371.3 MB, free: 21.61 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006799/0.4935, allocations: 1.765 MB / 373 MB, free: 21.22 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.718e-06/0.4935, allocations: 0 / 373 MB, free: 21.22 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.629e-06/0.4935, allocations: 2.219 kB / 373 MB, free: 21.22 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.0003387/0.4939, allocations: 363.5 kB / 373.4 MB, free: 20.86 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.4939, allocations: 9.391 kB / 373.4 MB, free: 20.86 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.4941, allocations: 11.53 kB / 373.4 MB, free: 20.86 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.577e-05/0.4942, allocations: 178.5 kB / 373.6 MB, free: 20.64 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.4942, allocations: 3.938 kB / 373.6 MB, free: 20.64 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.4943, allocations: 10.06 kB / 373.6 MB, free: 20.64 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.4945, allocations: 82.31 kB / 373.7 MB, free: 20.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.4945, allocations: 1.312 kB / 373.7 MB, free: 20.61 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.4945, allocations: 3.438 kB / 373.7 MB, free: 20.61 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.4946, allocations: 5.984 kB / 373.7 MB, free: 20.61 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.4947, allocations: 53.78 kB / 373.7 MB, free: 20.61 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007048/0.4954, allocations: 396.4 kB / 374.1 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.4956, allocations: 69.66 kB / 374.2 MB, free: 20.3 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.033e-05/0.4957, allocations: 37.47 kB / 374.2 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.229e-06/0.4957, allocations: 0.6562 kB / 374.2 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.4957, allocations: 32.16 kB / 374.3 MB, free: 20.25 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 2.423e-06/0.4957, allocations: 0 / 374.3 MB, free: 20.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002008/0.496, allocations: 71.72 kB / 374.3 MB, free: 20.21 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.16e-05/0.496, allocations: 53.66 kB / 374.4 MB, free: 20.15 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.254e-05/0.4961, allocations: 109 kB / 374.5 MB, free: 20.05 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.4961, allocations: 31.08 kB / 374.5 MB, free: 20.02 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.168e-05/0.4961, allocations: 100.8 kB / 374.6 MB, free: 19.92 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.4962, allocations: 32.34 kB / 374.6 MB, free: 19.9 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/0.4962, allocations: 1.859 kB / 374.6 MB, free: 19.9 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.382e-05/0.4963, allocations: 319.3 kB / 375 MB, free: 19.59 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.872e-05/0.4963, allocations: 20.28 kB / 375 MB, free: 19.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.931e-05/0.4964, allocations: 50.02 kB / 375 MB, free: 19.55 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.689e-05/0.4965, allocations: 29.08 kB / 375.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.653e-06/0.4965, allocations: 4.969 kB / 375.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002012/0.4967, allocations: 99.56 kB / 375.2 MB, free: 19.51 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.4968, allocations: 7.938 kB / 375.2 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.4968, allocations: 0.5156 kB / 375.2 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.4968, allocations: 1.344 kB / 375.2 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.497, allocations: 26.02 kB / 375.2 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.891e-06/0.497, allocations: 3.109 kB / 375.2 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.117e-05/0.4971, allocations: 12.75 kB / 375.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.301e-05/0.4971, allocations: 6.359 kB / 375.2 MB, free: 19.5 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.334e-05/0.4972, allocations: 112.1 kB / 375.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.748e-05/0.4973, allocations: 2.844 kB / 375.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.109e-05/0.4973, allocations: 7.938 kB / 375.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.124e-06/0.4973, allocations: 2.359 kB / 375.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.392e-06/0.4973, allocations: 1.219 kB / 375.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.033e-06/0.4973, allocations: 0 / 375.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.4976, allocations: 200.5 kB / 375.5 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.279e-06/0.4976, allocations: 4 kB / 375.5 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.4977, allocations: 18.34 kB / 375.6 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.4978, allocations: 1.859 kB / 375.6 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.4978, allocations: 1.844 kB / 375.6 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.989e-06/0.4978, allocations: 0.6562 kB / 375.6 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.659e-06/0.4978, allocations: 0 / 375.6 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.498, allocations: 201.3 kB / 375.8 MB, free: 19.03 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.721e-05/0.4981, allocations: 78.73 kB / 375.8 MB, free: 18.94 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.4981, allocations: 5.766 kB / 375.8 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.169e-05/0.4982, allocations: 2.547 kB / 375.8 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.909e-05/0.4982, allocations: 7.672 kB / 375.8 MB, free: 18.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.4983, allocations: 2.25 kB / 375.8 MB, free: 18.93 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.523e-05/0.4983, allocations: 82.11 kB / 375.9 MB, free: 18.86 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.08e-07/0.4983, allocations: 0 / 375.9 MB, free: 18.86 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003348/0.4987, allocations: 30.53 kB / 376 MB, free: 18.85 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.000104/0.4988, allocations: 104.9 kB / 376.1 MB, free: 18.76 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001609/0.4989, allocations: 56.45 kB / 376.1 MB, free: 18.75 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.538e-06/0.499, allocations: 0 / 376.1 MB, free: 18.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.993e-05/0.499, allocations: 26.73 kB / 376.1 MB, free: 18.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.4993, allocations: 8.594 kB / 376.1 MB, free: 18.75 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000549/0.4998, allocations: 244.7 kB / 376.4 MB, free: 18.57 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/0.5, allocations: 0.6996 MB / 377.1 MB, free: 17.87 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.128e-05/0.5001, allocations: 4.219 kB / 377.1 MB, free: 17.87 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.437e-05/0.5001, allocations: 15.69 kB / 377.1 MB, free: 17.86 MB / 314.7 MB Notification: Performance of SimCode: time 1.531e-06/0.5001, allocations: 0 / 377.1 MB, free: 17.86 MB / 314.7 MB Notification: Performance of Templates: time 0.003267/0.5034, allocations: 0.5654 MB / 377.7 MB, free: 17.81 MB / 314.7 MB