Running command: translateModel(Modelica.Mechanics.Rotational.Examples.FirstGrounded,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper.phi_rel|damper.w_rel|inertia3.phi|inertia3.w",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Rotational.Examples.FirstGrounded") Notification: Performance of loadModel(Modelica): time 1.684/1.684, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.814e-05/2.826e-05, allocations: 4 kB / 225 MB, free: 2.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2112, allocations: 38.77 MB / 263.8 MB, free: 9.82 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1032/0.3145, allocations: 67.77 MB / 331.5 MB, free: 5.957 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/0.3147, allocations: 71.95 kB / 331.6 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01491/0.3297, allocations: 3.616 MB / 335.2 MB, free: 2.254 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.079e-06/0.3297, allocations: 4 kB / 335.2 MB, free: 2.25 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.765e-05/0.3297, allocations: 4 kB / 335.2 MB, free: 2.246 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007304/0.3305, allocations: 478.2 kB / 335.7 MB, free: 1.73 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.3305, allocations: 8.031 kB / 335.7 MB, free: 1.723 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.81e-05/0.3306, allocations: 31.62 kB / 335.7 MB, free: 1.691 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003354/0.331, allocations: 219.4 kB / 336 MB, free: 1.434 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.331, allocations: 12.44 kB / 336 MB, free: 1.422 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.358e-05/0.3311, allocations: 27.94 kB / 336 MB, free: 1.395 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004482/0.3315, allocations: 193 kB / 336.2 MB, free: 1.191 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.3316, allocations: 8 kB / 336.2 MB, free: 1.184 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.3316, allocations: 8 kB / 336.2 MB, free: 1.176 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.3316, allocations: 7.984 kB / 336.2 MB, free: 1.168 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002976/0.332, allocations: 104.9 kB / 336.3 MB, free: 1.066 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.3333, allocations: 0.7132 MB / 337 MB, free: 308 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000317/0.3336, allocations: 134.6 kB / 337.2 MB, free: 164 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.3338, allocations: 60.86 kB / 337.2 MB, free: 100 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.3338, allocations: 8 kB / 337.2 MB, free: 92 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.504e-05/0.3339, allocations: 34.56 kB / 337.3 MB, free: 48 kB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 3.002e-06/0.3339, allocations: 0 / 337.3 MB, free: 48 kB / 282.7 MB Notification: Performance of matching and sorting (n=24): time 0.001864/0.3358, allocations: 0.8128 MB / 338.1 MB, free: 15.15 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.3359, allocations: 59.41 kB / 338.1 MB, free: 15.08 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.3361, allocations: 154.6 kB / 338.3 MB, free: 14.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.3361, allocations: 29.7 kB / 338.3 MB, free: 14.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.3362, allocations: 144.3 kB / 338.5 MB, free: 14.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.3e-05/0.3364, allocations: 90.64 kB / 338.5 MB, free: 14.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.426e-05/0.3364, allocations: 4 kB / 338.5 MB, free: 14.64 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.3366, allocations: 326.8 kB / 338.9 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.3367, allocations: 59.92 kB / 338.9 MB, free: 14.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.3369, allocations: 92.27 kB / 339 MB, free: 14.15 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.3371, allocations: 67.91 kB / 339.1 MB, free: 14.08 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.109e-06/0.3371, allocations: 0 / 339.1 MB, free: 14.08 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005803/0.3377, allocations: 238.3 kB / 339.3 MB, free: 13.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.3377, allocations: 8 kB / 339.3 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.717e-06/0.3378, allocations: 3.938 kB / 339.3 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001929/0.338, allocations: 28.84 kB / 339.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002961/0.3383, allocations: 51.91 kB / 339.4 MB, free: 13.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001638/0.3399, allocations: 1.371 MB / 340.8 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.3401, allocations: 15.97 kB / 340.8 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.3402, allocations: 12 kB / 340.8 MB, free: 12.21 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001324/0.3403, allocations: 124.9 kB / 340.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.311e-05/0.3404, allocations: 15.81 kB / 340.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.172e-05/0.3405, allocations: 21.66 kB / 341 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.3405, allocations: 8 kB / 341 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.974e-06/0.3405, allocations: 0 / 341 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.274e-06/0.3405, allocations: 3.984 kB / 341 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001256/0.3418, allocations: 0.6374 MB / 341.6 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.611e-06/0.3418, allocations: 0 / 341.6 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003131/0.3421, allocations: 47.91 kB / 341.7 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001701/0.3423, allocations: 36.98 kB / 341.7 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.3424, allocations: 8.062 kB / 341.7 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001614/0.344, allocations: 1.378 MB / 343.1 MB, free: 9.715 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.375e-06/0.344, allocations: 4.062 kB / 343.1 MB, free: 9.711 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007495/0.3448, allocations: 403 kB / 343.5 MB, free: 9.281 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.3449, allocations: 112.8 kB / 343.6 MB, free: 9.152 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.803e-05/0.345, allocations: 12 kB / 343.6 MB, free: 9.141 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.3452, allocations: 4 kB / 343.6 MB, free: 9.137 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.905e-05/0.3453, allocations: 19.97 kB / 343.6 MB, free: 9.117 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/0.3453, allocations: 4 kB / 343.6 MB, free: 9.113 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001501/0.3454, allocations: 133.2 kB / 343.8 MB, free: 8.984 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.37e-07/0.3455, allocations: 0 / 343.8 MB, free: 8.984 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004627/0.3459, allocations: 56 kB / 343.8 MB, free: 8.93 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001612/0.3461, allocations: 111.2 kB / 343.9 MB, free: 8.812 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006316/0.3467, allocations: 261.8 kB / 344.2 MB, free: 8.547 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.494e-06/0.3468, allocations: 0 / 344.2 MB, free: 8.547 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003745/0.3472, allocations: 193.7 kB / 344.4 MB, free: 8.348 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/0.3476, allocations: 44.28 kB / 344.4 MB, free: 8.305 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.3489, allocations: 0.5396 MB / 344.9 MB, free: 7.742 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004541/0.3493, allocations: 0.7555 MB / 345.7 MB, free: 6.957 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001096/0.3495, allocations: 18.06 kB / 345.7 MB, free: 6.938 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.088e-05/0.3495, allocations: 19.44 kB / 345.7 MB, free: 6.922 MB / 298.7 MB Notification: Performance of SimCode: time 1.566e-06/0.3496, allocations: 4 kB / 345.7 MB, free: 6.918 MB / 298.7 MB Notification: Performance of Templates: time 0.007595/0.3572, allocations: 2.156 MB / 347.9 MB, free: 4.773 MB / 298.7 MB