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_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadModel(Modelica): time 1.801/1.801, allocations: 171.2 MB / 183.4 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.965e-05/2.983e-05, allocations: 4 kB / 225 MB, free: 2.34 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2143, allocations: 38.76 MB / 263.8 MB, free: 9.832 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1027/0.3171, allocations: 67.38 MB / 331.1 MB, free: 6.359 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/0.3174, allocations: 67.95 kB / 331.2 MB, free: 6.293 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02022/0.3376, allocations: 4.687 MB / 335.9 MB, free: 1.59 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.348e-06/0.3377, allocations: 3.938 kB / 335.9 MB, free: 1.586 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.534e-05/0.3377, allocations: 4 kB / 335.9 MB, free: 1.582 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.001599/0.3393, allocations: 0.4901 MB / 336.4 MB, free: 1.047 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.745e-05/0.3394, allocations: 12.03 kB / 336.4 MB, free: 1.035 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001383/0.3396, allocations: 19.81 kB / 336.4 MB, free: 1.016 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005467/0.3402, allocations: 223.1 kB / 336.6 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004151/0.3406, allocations: 69.67 kB / 336.7 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.3407, allocations: 27.84 kB / 336.7 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008844/0.3416, allocations: 211.2 kB / 337 MB, free: 452 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.955e-05/0.3417, allocations: 8 kB / 337 MB, free: 444 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.086e-05/0.3418, allocations: 4 kB / 337 MB, free: 440 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.3418, allocations: 8 kB / 337 MB, free: 432 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000735/0.3426, allocations: 160.3 kB / 337.1 MB, free: 272 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001986/0.3446, allocations: 0.6743 MB / 337.8 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008305/0.3454, allocations: 197.1 kB / 338 MB, free: 15.33 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004105/0.3459, allocations: 105.8 kB / 338.1 MB, free: 15.22 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.3459, allocations: 0 / 338.1 MB, free: 15.22 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.163e-05/0.346, allocations: 34.56 kB / 338.1 MB, free: 15.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 4.04e-06/0.346, allocations: 224 / 338.1 MB, free: 15.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.00374/0.3498, allocations: 1.196 MB / 339.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.749e-05/0.3499, allocations: 81.11 kB / 339.4 MB, free: 13.7 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002929/0.3502, allocations: 146.5 kB / 339.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.74e-05/0.3503, allocations: 29.7 kB / 339.6 MB, free: 13.51 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.3505, allocations: 120.4 kB / 339.7 MB, free: 13.39 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.3506, allocations: 94.64 kB / 339.8 MB, free: 13.3 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.581e-05/0.3507, allocations: 4 kB / 339.8 MB, free: 13.29 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002301/0.351, allocations: 330.8 kB / 340.1 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003882/0.3514, allocations: 72 kB / 340.2 MB, free: 12.89 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004445/0.3519, allocations: 123.3 kB / 340.3 MB, free: 12.76 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003848/0.3523, allocations: 75.97 kB / 340.4 MB, free: 12.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.295e-06/0.3523, allocations: 0 / 340.4 MB, free: 12.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001102/0.3534, allocations: 246 kB / 340.6 MB, free: 12.44 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.3535, allocations: 4 kB / 340.6 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.3535, allocations: 0 / 340.6 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.338e-05/0.3536, allocations: 7.953 kB / 340.6 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.3546, allocations: 95.94 kB / 340.7 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.934e-05/0.3547, allocations: 4 kB / 340.7 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003685/0.3551, allocations: 19.98 kB / 340.7 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/0.3551, allocations: 11.94 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.0001788/0.3553, allocations: 117.6 kB / 340.9 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.3555, allocations: 27.7 kB / 340.9 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.3557, allocations: 21.64 kB / 340.9 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.3557, allocations: 4 kB / 340.9 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.3557, allocations: 7.953 kB / 340.9 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/0.3558, allocations: 4 kB / 340.9 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002738/0.3585, allocations: 0.8198 MB / 341.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.901e-06/0.3586, allocations: 0 / 341.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001347/0.3599, allocations: 119.9 kB / 341.9 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.667e-05/0.36, allocations: 4 kB / 341.9 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.452e-05/0.36, allocations: 7.984 kB / 341.9 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.398e-05/0.3601, allocations: 4 kB / 341.9 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-05/0.3601, allocations: 7.938 kB / 341.9 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/0.3617, allocations: 0.5498 MB / 342.4 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002538/0.362, allocations: 108.9 kB / 342.6 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.747e-05/0.3621, allocations: 12 kB / 342.6 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007095/0.3628, allocations: 31.97 kB / 342.6 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.363, allocations: 23.91 kB / 342.6 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.948e-05/0.363, allocations: 11.98 kB / 342.6 MB, free: 10.25 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002198/0.3633, allocations: 128.9 kB / 342.8 MB, free: 10.12 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.635e-06/0.3633, allocations: 0 / 342.8 MB, free: 10.12 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009452/0.3643, allocations: 52 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.0002499/0.3646, allocations: 118.2 kB / 342.9 MB, free: 9.953 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007362/0.3653, allocations: 159.9 kB / 343.1 MB, free: 9.797 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.3654, allocations: 0 / 343.1 MB, free: 9.797 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004672/0.3658, allocations: 99.86 kB / 343.2 MB, free: 9.699 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008506/0.3667, allocations: 56.45 kB / 343.2 MB, free: 9.645 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008145/0.3749, allocations: 0.9938 MB / 344.2 MB, free: 8.617 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006276/0.3756, allocations: 0.7404 MB / 345 MB, free: 7.848 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003135/0.3759, allocations: 26.05 kB / 345 MB, free: 7.824 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/0.3761, allocations: 27.42 kB / 345 MB, free: 7.797 MB / 298.7 MB Notification: Performance of SimCode: time 2.46e-06/0.3761, allocations: 0 / 345 MB, free: 7.797 MB / 298.7 MB Notification: Performance of Templates: time 0.01115/0.3873, allocations: 2.294 MB / 347.3 MB, free: 5.512 MB / 298.7 MB