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_Modelica.Thermal.HeatTransfer.Examples.TwoMasses") Notification: Performance of loadModel(Modelica): time 1.932/1.932, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.065e-05/3.084e-05, allocations: 0 / 225 MB, free: 2.344 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2126, allocations: 38.76 MB / 263.8 MB, free: 9.836 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1427/0.3554, allocations: 66.01 MB / 329.8 MB, free: 7.734 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.3557, allocations: 71.95 kB / 329.9 MB, free: 7.664 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007142/0.3628, allocations: 1.765 MB / 331.6 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.579e-06/0.3629, allocations: 0 / 331.6 MB, free: 5.895 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.3629, allocations: 0 / 331.6 MB, free: 5.895 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.0004625/0.3634, allocations: 366.3 kB / 332 MB, free: 5.492 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.3634, allocations: 8.031 kB / 332 MB, free: 5.484 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.3636, allocations: 23.88 kB / 332 MB, free: 5.461 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.3638, allocations: 170.9 kB / 332.2 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.3638, allocations: 4 kB / 332.2 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.599e-05/0.3639, allocations: 15.95 kB / 332.2 MB, free: 5.234 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.3641, allocations: 77.67 kB / 332.3 MB, free: 5.152 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.3641, allocations: 0 / 332.3 MB, free: 5.152 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.3641, allocations: 4 kB / 332.3 MB, free: 5.148 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.3641, allocations: 0 / 332.3 MB, free: 5.148 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/0.3643, allocations: 51.98 kB / 332.3 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000918/0.3652, allocations: 408.5 kB / 332.7 MB, free: 4.648 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.3654, allocations: 66.56 kB / 332.8 MB, free: 4.574 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.216e-05/0.3655, allocations: 32.86 kB / 332.8 MB, free: 4.539 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.3656, allocations: 7.938 kB / 332.8 MB, free: 4.531 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.3656, allocations: 30.56 kB / 332.9 MB, free: 4.492 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 3.131e-06/0.3656, allocations: 4 kB / 332.9 MB, free: 4.488 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002484/0.3659, allocations: 65.69 kB / 332.9 MB, free: 4.418 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.3659, allocations: 51.41 kB / 333 MB, free: 4.355 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.366, allocations: 97 kB / 333.1 MB, free: 4.254 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.3661, allocations: 25.7 kB / 333.1 MB, free: 4.223 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.299e-05/0.3662, allocations: 107.9 kB / 333.2 MB, free: 4.113 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/0.3662, allocations: 31.55 kB / 333.2 MB, free: 4.082 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.686e-06/0.3662, allocations: 0 / 333.2 MB, free: 4.082 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.3664, allocations: 318.8 kB / 333.5 MB, free: 3.762 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.245e-05/0.3665, allocations: 20 kB / 333.6 MB, free: 3.742 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.708e-05/0.3666, allocations: 46.56 kB / 333.6 MB, free: 3.688 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.3667, allocations: 27.88 kB / 333.6 MB, free: 3.66 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.358e-06/0.3667, allocations: 7.953 kB / 333.6 MB, free: 3.652 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002317/0.367, allocations: 105.5 kB / 333.7 MB, free: 3.543 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.367, allocations: 8 kB / 333.8 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.367, allocations: 3.938 kB / 333.8 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.367, allocations: 256 / 333.8 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.3672, allocations: 27.92 kB / 333.8 MB, free: 3.504 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.678e-05/0.3672, allocations: 8 kB / 333.8 MB, free: 3.496 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.202e-05/0.3673, allocations: 7.906 kB / 333.8 MB, free: 3.488 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.3674, allocations: 4.062 kB / 333.8 MB, free: 3.484 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.608e-05/0.3675, allocations: 110.2 kB / 333.9 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.3e-05/0.3675, allocations: 11.89 kB / 333.9 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.657e-05/0.3676, allocations: 8.625 kB / 333.9 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.3676, allocations: 0 / 333.9 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.502e-06/0.3676, allocations: 0 / 333.9 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.371e-06/0.3676, allocations: 3.984 kB / 333.9 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002857/0.3679, allocations: 189.7 kB / 334.1 MB, free: 3.113 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.583e-06/0.3679, allocations: 4 kB / 334.1 MB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001716/0.3681, allocations: 31.92 kB / 334.2 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.3681, allocations: 0 / 334.2 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.3682, allocations: 0 / 334.2 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.014e-06/0.3682, allocations: 0 / 334.2 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.95e-06/0.3682, allocations: 0 / 334.2 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/0.3685, allocations: 191.5 kB / 334.3 MB, free: 2.875 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.473e-05/0.3686, allocations: 84.95 kB / 334.4 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.3686, allocations: 7.891 kB / 334.4 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.3687, allocations: 12.06 kB / 334.4 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.471e-05/0.3687, allocations: 0 / 334.4 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.3688, allocations: 4 kB / 334.4 MB, free: 2.75 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.465e-05/0.3688, allocations: 87.27 kB / 334.5 MB, free: 2.664 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.03e-07/0.3688, allocations: 0 / 334.5 MB, free: 2.664 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003416/0.3692, allocations: 23.94 kB / 334.6 MB, free: 2.641 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.0001522/0.3694, allocations: 99.25 kB / 334.7 MB, free: 2.531 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001618/0.3695, allocations: 55.98 kB / 334.7 MB, free: 2.477 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.727e-06/0.3696, allocations: 4.062 kB / 334.7 MB, free: 2.473 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.905e-05/0.3696, allocations: 20 kB / 334.7 MB, free: 2.453 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.3699, allocations: 11.98 kB / 334.7 MB, free: 2.441 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006141/0.3705, allocations: 237.5 kB / 335 MB, free: 2.188 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.3709, allocations: 0.6965 MB / 335.7 MB, free: 1.465 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.85e-05/0.371, allocations: 15.88 kB / 335.7 MB, free: 1.449 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.226e-05/0.371, allocations: 11.44 kB / 335.7 MB, free: 1.438 MB / 282.7 MB Notification: Performance of SimCode: time 2.062e-06/0.371, allocations: 0 / 335.7 MB, free: 1.438 MB / 282.7 MB Notification: Performance of Templates: time 0.0033/0.3744, allocations: 0.5727 MB / 336.3 MB, free: 0.8711 MB / 282.7 MB