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.805/1.805, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.004e-05/3.03e-05, allocations: 4 kB / 255.3 MB, free: 3.211 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07771/0.07776, allocations: 44.5 MB / 299.8 MB, free: 6.648 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3142/0.392, allocations: 71.31 MB / 371.1 MB, free: 21.46 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.3922, allocations: 65.89 kB / 371.2 MB, free: 21.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006798/0.3991, allocations: 1.758 MB / 373 MB, free: 21.08 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.133e-06/0.3991, allocations: 1.062 kB / 373 MB, free: 21.08 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.3991, allocations: 1.125 kB / 373 MB, free: 21.08 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.0003304/0.3995, allocations: 369 kB / 373.3 MB, free: 20.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.3995, allocations: 9.281 kB / 373.3 MB, free: 20.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.3997, allocations: 11.67 kB / 373.3 MB, free: 20.71 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.56e-05/0.3998, allocations: 177.8 kB / 373.5 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.3998, allocations: 8.156 kB / 373.5 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.407e-05/0.3999, allocations: 10.08 kB / 373.5 MB, free: 20.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.4001, allocations: 76.95 kB / 373.6 MB, free: 20.47 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.4001, allocations: 0.9375 kB / 373.6 MB, free: 20.47 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.4001, allocations: 8.656 kB / 373.6 MB, free: 20.46 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.079e-06/0.4001, allocations: 6.297 kB / 373.6 MB, free: 20.46 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.4003, allocations: 48.41 kB / 373.7 MB, free: 20.46 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007078/0.401, allocations: 395.8 kB / 374.1 MB, free: 20.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.4012, allocations: 79.3 kB / 374.1 MB, free: 20.15 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.885e-05/0.4013, allocations: 34.19 kB / 374.2 MB, free: 20.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.4013, allocations: 1.938 kB / 374.2 MB, free: 20.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.4013, allocations: 32.3 kB / 374.2 MB, free: 20.1 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 2.567e-06/0.4013, allocations: 0 / 374.2 MB, free: 20.1 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002036/0.4015, allocations: 78.53 kB / 374.3 MB, free: 20.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.193e-05/0.4016, allocations: 61.22 kB / 374.3 MB, free: 19.98 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.592e-05/0.4017, allocations: 101.5 kB / 374.4 MB, free: 19.89 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.4017, allocations: 30.73 kB / 374.5 MB, free: 19.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.163e-05/0.4017, allocations: 170.4 kB / 374.6 MB, free: 19.7 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.4018, allocations: 32 kB / 374.7 MB, free: 19.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-06/0.4018, allocations: 0 / 374.7 MB, free: 19.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.29e-05/0.4019, allocations: 318.7 kB / 375 MB, free: 19.37 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.742e-05/0.4019, allocations: 22.75 kB / 375 MB, free: 19.37 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.985e-05/0.402, allocations: 42.59 kB / 375 MB, free: 19.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.268e-05/0.4021, allocations: 27.81 kB / 375.1 MB, free: 19.34 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.51e-06/0.4021, allocations: 1 kB / 375.1 MB, free: 19.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002016/0.4023, allocations: 101.2 kB / 375.2 MB, free: 19.3 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.4024, allocations: 6.172 kB / 375.2 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.069e-06/0.4024, allocations: 1.469 kB / 375.2 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.4024, allocations: 1.219 kB / 375.2 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.4026, allocations: 30.42 kB / 375.2 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.688e-06/0.4026, allocations: 1.859 kB / 375.2 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.226e-05/0.4027, allocations: 16.89 kB / 375.2 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.4027, allocations: 3.469 kB / 375.2 MB, free: 19.29 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.013e-05/0.4028, allocations: 105.8 kB / 375.3 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.993e-05/0.4028, allocations: 2.875 kB / 375.3 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.279e-05/0.4029, allocations: 10.06 kB / 375.3 MB, free: 19.17 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.249e-06/0.4029, allocations: 1.344 kB / 375.3 MB, free: 19.17 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.861e-06/0.4029, allocations: 4.844 kB / 375.4 MB, free: 19.17 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.158e-06/0.4029, allocations: 1.312 kB / 375.4 MB, free: 19.17 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.4031, allocations: 199.2 kB / 375.5 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.292e-06/0.4031, allocations: 0 / 375.5 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.4033, allocations: 22.06 kB / 375.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/0.4033, allocations: 0.6562 kB / 375.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.4033, allocations: 1.25 kB / 375.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.585e-06/0.4033, allocations: 1 kB / 375.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.319e-06/0.4034, allocations: 4.641 kB / 375.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.4036, allocations: 190.9 kB / 375.8 MB, free: 18.82 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.663e-05/0.4036, allocations: 84.56 kB / 375.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.4037, allocations: 1.891 kB / 375.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.344e-05/0.4038, allocations: 5.25 kB / 375.9 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.884e-05/0.4038, allocations: 4.625 kB / 375.9 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.87e-06/0.4038, allocations: 1.75 kB / 375.9 MB, free: 18.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.606e-05/0.4039, allocations: 88.98 kB / 375.9 MB, free: 18.65 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.35e-07/0.4039, allocations: 3.938 kB / 376 MB, free: 18.64 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003376/0.4042, allocations: 27.58 kB / 376 MB, free: 18.64 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.0001083/0.4043, allocations: 106.4 kB / 376.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001682/0.4045, allocations: 56.59 kB / 376.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.209e-06/0.4045, allocations: 3.938 kB / 376.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.848e-05/0.4046, allocations: 20.33 kB / 376.2 MB, free: 18.54 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.4048, allocations: 14.42 kB / 376.2 MB, free: 18.54 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005345/0.4054, allocations: 267.7 kB / 376.4 MB, free: 18.33 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001404/0.4055, allocations: 0.6959 MB / 377.1 MB, free: 17.63 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.4056, allocations: 11.22 kB / 377.1 MB, free: 17.62 MB / 314.7 MB Notification: Performance of SimCode: time 1.451e-06/0.4056, allocations: 5.062 kB / 377.1 MB, free: 17.62 MB / 314.7 MB Notification: Performance of Templates: time 0.002623/0.4082, allocations: 0.9238 MB / 378.1 MB, free: 17.57 MB / 314.7 MB