Running command: translateModel(Modelica.Mechanics.Rotational.Examples.Backlash,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|elastoBacklash.phi_rel|elastoBacklash.w_rel|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadModel(Modelica): time 1.617/1.617, allocations: 171.2 MB / 183.8 MB, free: 11.94 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.612e-05/3.618e-05, allocations: 11.38 kB / 225 MB, free: 2.703 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.215, allocations: 38.76 MB / 263.7 MB, free: 9.875 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1066/0.3217, allocations: 67.37 MB / 331.1 MB, free: 6.402 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/0.3219, allocations: 67.91 kB / 331.2 MB, free: 6.336 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02045/0.3424, allocations: 4.69 MB / 335.9 MB, free: 1.633 MB / 282.7 MB Notification: Performance of FrontEnd: time 2e-06/0.3425, allocations: 0 / 335.9 MB, free: 1.633 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.687e-05/0.3425, allocations: 4 kB / 335.9 MB, free: 1.629 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0009905/0.3435, allocations: 0.4939 MB / 336.4 MB, free: 1.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.3435, allocations: 11.97 kB / 336.4 MB, free: 1.078 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.993e-05/0.3436, allocations: 19.81 kB / 336.4 MB, free: 1.059 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/0.344, allocations: 227.9 kB / 336.6 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000231/0.3442, allocations: 65.67 kB / 336.7 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.884e-05/0.3443, allocations: 27.86 kB / 336.7 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004864/0.3448, allocations: 207.2 kB / 336.9 MB, free: 496 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.3449, allocations: 3.938 kB / 336.9 MB, free: 492 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.467e-05/0.3449, allocations: 12 kB / 336.9 MB, free: 480 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.773e-06/0.3449, allocations: 4 kB / 336.9 MB, free: 476 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004409/0.3454, allocations: 160.3 kB / 337.1 MB, free: 316 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.3467, allocations: 0.6744 MB / 337.8 MB, free: 15.58 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004932/0.3472, allocations: 197.1 kB / 338 MB, free: 15.37 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/0.3474, allocations: 93.91 kB / 338.1 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.3475, allocations: 7.938 kB / 338.1 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.3475, allocations: 38.53 kB / 338.1 MB, free: 15.22 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 2.724e-06/0.3475, allocations: 224 / 338.1 MB, free: 15.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.002269/0.3498, allocations: 1.195 MB / 339.3 MB, free: 13.84 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.3499, allocations: 81.11 kB / 339.4 MB, free: 13.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001986/0.3501, allocations: 139.2 kB / 339.5 MB, free: 13.6 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.349e-05/0.3502, allocations: 29.7 kB / 339.5 MB, free: 13.56 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.3503, allocations: 190.8 kB / 339.7 MB, free: 13.38 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.3504, allocations: 90.64 kB / 339.8 MB, free: 13.29 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.28e-05/0.3504, allocations: 8 kB / 339.8 MB, free: 13.28 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3506, allocations: 318.8 kB / 340.1 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.3508, allocations: 75.98 kB / 340.2 MB, free: 12.88 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002428/0.3511, allocations: 123.2 kB / 340.3 MB, free: 12.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002136/0.3513, allocations: 82.22 kB / 340.4 MB, free: 12.67 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.427e-06/0.3513, allocations: 0 / 340.4 MB, free: 12.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000603/0.352, allocations: 233.4 kB / 340.6 MB, free: 12.44 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.352, allocations: 4 kB / 340.6 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.168e-06/0.352, allocations: 0 / 340.6 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.352, allocations: 7.953 kB / 340.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005674/0.3526, allocations: 103.9 kB / 340.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.3526, allocations: 4 kB / 340.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.3528, allocations: 16 kB / 340.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.3529, allocations: 4 kB / 340.8 MB, free: 12.3 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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 0.0001219/0.353, allocations: 121.4 kB / 340.9 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.36e-05/0.3531, allocations: 19.72 kB / 340.9 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.438e-05/0.3532, allocations: 21.66 kB / 340.9 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.085e-06/0.3532, allocations: 7.953 kB / 340.9 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.993e-06/0.3532, allocations: 0 / 340.9 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.284e-06/0.3532, allocations: 7.984 kB / 341 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/0.3548, allocations: 0.8286 MB / 341.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.8e-06/0.3548, allocations: 0 / 341.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006998/0.3556, allocations: 120 kB / 341.9 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.116e-05/0.3556, allocations: 8 kB / 341.9 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/0.3556, allocations: 8 kB / 341.9 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.3557, allocations: 0 / 341.9 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.248e-06/0.3557, allocations: 4 kB / 341.9 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008988/0.3566, allocations: 0.5534 MB / 342.5 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.3567, allocations: 112.9 kB / 342.6 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.808e-05/0.3568, allocations: 8 kB / 342.6 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003678/0.3572, allocations: 31.97 kB / 342.6 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.012e-05/0.3573, allocations: 23.91 kB / 342.6 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.187e-05/0.3573, allocations: 12 kB / 342.7 MB, free: 10.25 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001361/0.3575, allocations: 120.9 kB / 342.8 MB, free: 10.13 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.51e-07/0.3575, allocations: 4 kB / 342.8 MB, free: 10.13 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004934/0.358, allocations: 56 kB / 342.8 MB, free: 10.07 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (elastoBacklash.phi_rel,elastoBacklash.w_rel,springDamper.phi_rel,springDamper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * 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.0001667/0.3582, allocations: 107.3 kB / 342.9 MB, free: 9.961 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004269/0.3586, allocations: 164 kB / 343.1 MB, free: 9.801 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.018e-06/0.3586, allocations: 3.938 kB / 343.1 MB, free: 9.797 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002557/0.3589, allocations: 103.8 kB / 343.2 MB, free: 9.695 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000478/0.3594, allocations: 51.33 kB / 343.3 MB, free: 9.648 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004379/0.3638, allocations: 1.02 MB / 344.3 MB, free: 8.586 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004561/0.3643, allocations: 0.7365 MB / 345 MB, free: 7.82 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.3644, allocations: 27.42 kB / 345 MB, free: 7.793 MB / 298.7 MB Notification: Performance of SimCode: time 2.124e-06/0.3644, allocations: 4 kB / 345 MB, free: 7.789 MB / 298.7 MB Notification: Performance of Templates: time 0.005553/0.37, allocations: 2.477 MB / 347.5 MB, free: 5.312 MB / 298.7 MB