Running command: translateModel(Modelica.Thermal.HeatTransfer.Examples.TwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass1.T|mass2.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") Notification: Performance of loadModel(Modelica): time 2.118/2.118, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.102e-05/5.131e-05, allocations: 6.031 kB / 292.1 MB, free: 8.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1092, allocations: 50.41 MB / 342.6 MB, free: 5.906 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3741/0.4833, allocations: 76.65 MB / 419.2 MB, free: 1.508 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/0.4836, allocations: 67.53 kB / 419.3 MB, free: 1.477 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006866/0.4904, allocations: 1.777 MB / 421 MB, free: 15.95 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.862e-06/0.4905, allocations: 0 / 421 MB, free: 15.95 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.4905, allocations: 4 kB / 421 MB, free: 15.95 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.0004689/0.491, allocations: 360.8 kB / 421.4 MB, free: 15.55 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.491, allocations: 8.031 kB / 421.4 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.4912, allocations: 11.91 kB / 421.4 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.4914, allocations: 174.9 kB / 421.6 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.4914, allocations: 3.188 kB / 421.6 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.4915, allocations: 17.53 kB / 421.6 MB, free: 15.31 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.4917, allocations: 79.95 kB / 421.7 MB, free: 15.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.4917, allocations: 0 / 421.7 MB, free: 15.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.4917, allocations: 7.234 kB / 421.7 MB, free: 15.24 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.751e-06/0.4917, allocations: 4 kB / 421.7 MB, free: 15.24 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.4919, allocations: 40.81 kB / 421.7 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008422/0.4927, allocations: 405.6 kB / 422.1 MB, free: 14.81 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.4929, allocations: 64.14 kB / 422.2 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.168e-05/0.493, allocations: 36.2 kB / 422.2 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.493, allocations: 7.953 kB / 422.2 MB, free: 14.72 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.4931, allocations: 32.94 kB / 422.3 MB, free: 14.68 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 2.579e-06/0.4931, allocations: 4 kB / 422.3 MB, free: 14.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002264/0.4933, allocations: 77.09 kB / 422.4 MB, free: 14.61 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.4934, allocations: 55.41 kB / 422.4 MB, free: 14.54 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.037e-05/0.4935, allocations: 92.06 kB / 422.5 MB, free: 14.45 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.4935, allocations: 29.7 kB / 422.5 MB, free: 14.41 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.611e-05/0.4936, allocations: 99.31 kB / 422.6 MB, free: 14.31 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/0.4937, allocations: 34.48 kB / 422.7 MB, free: 14.29 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.01e-06/0.4937, allocations: 4 kB / 422.7 MB, free: 14.28 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.4939, allocations: 320.8 kB / 423 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.838e-05/0.4939, allocations: 18.94 kB / 423 MB, free: 13.95 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.428e-05/0.494, allocations: 44.81 kB / 423 MB, free: 13.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.636e-05/0.4941, allocations: 34.67 kB / 423.1 MB, free: 13.88 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.557e-06/0.4941, allocations: 0 / 423.1 MB, free: 13.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002239/0.4944, allocations: 98.61 kB / 423.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.4944, allocations: 15.95 kB / 423.2 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.793e-06/0.4944, allocations: 0 / 423.2 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.4945, allocations: 4 kB / 423.2 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.4946, allocations: 20 kB / 423.2 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.818e-05/0.4947, allocations: 0 / 423.2 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.947e-05/0.4948, allocations: 19.95 kB / 423.2 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.4948, allocations: 4 kB / 423.2 MB, free: 13.74 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 9.361e-05/0.4949, allocations: 108.4 kB / 423.3 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.304e-05/0.495, allocations: 15.91 kB / 423.3 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.131e-05/0.495, allocations: 12.45 kB / 423.4 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.681e-06/0.495, allocations: 0 / 423.4 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.754e-06/0.495, allocations: 0 / 423.4 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.356e-06/0.4951, allocations: 7.984 kB / 423.4 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.4953, allocations: 192.2 kB / 423.6 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.686e-06/0.4954, allocations: 0 / 423.6 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.4955, allocations: 19.98 kB / 423.6 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.886e-06/0.4955, allocations: 0 / 423.6 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.4956, allocations: 0 / 423.6 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.691e-06/0.4956, allocations: 3.953 kB / 423.6 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.089e-06/0.4956, allocations: 8 kB / 423.6 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.4959, allocations: 185.6 kB / 423.8 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.919e-05/0.496, allocations: 85.03 kB / 423.9 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.496, allocations: 4.031 kB / 423.9 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.148e-05/0.4961, allocations: 0 / 423.9 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.208e-05/0.4961, allocations: 7.953 kB / 423.9 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.4962, allocations: 3.938 kB / 423.9 MB, free: 13.05 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.232e-05/0.4962, allocations: 87.33 kB / 424 MB, free: 12.96 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.1e-07/0.4962, allocations: 0 / 424 MB, free: 12.96 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003428/0.4966, allocations: 31.59 kB / 424 MB, free: 12.94 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.0001566/0.4968, allocations: 103.2 kB / 424.1 MB, free: 12.83 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001682/0.497, allocations: 53.19 kB / 424.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.71e-06/0.497, allocations: 0 / 424.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.903e-05/0.497, allocations: 23.31 kB / 424.2 MB, free: 12.77 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.4973, allocations: 8.062 kB / 424.2 MB, free: 12.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006111/0.4979, allocations: 244 kB / 424.4 MB, free: 12.52 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003954/0.4983, allocations: 0.7004 MB / 425.1 MB, free: 11.79 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.4e-05/0.4984, allocations: 3.984 kB / 425.1 MB, free: 11.79 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.595e-05/0.4984, allocations: 11.44 kB / 425.1 MB, free: 11.77 MB / 346.7 MB Notification: Performance of SimCode: time 1.371e-06/0.4984, allocations: 0 / 425.1 MB, free: 11.77 MB / 346.7 MB Notification: Performance of Templates: time 0.003406/0.5019, allocations: 0.5722 MB / 425.7 MB, free: 11.21 MB / 346.7 MB