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_4.0.0_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadModel(Modelica): time 1.918/1.918, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.463e-05/3.476e-05, allocations: 11.92 kB / 292.1 MB, free: 8.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09081/0.09087, allocations: 50.41 MB / 342.6 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3575/0.4485, allocations: 79.06 MB / 421.6 MB, free: 15.11 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002023/0.4487, allocations: 65.94 kB / 421.7 MB, free: 15.08 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0327/0.4814, allocations: 7.753 MB / 429.4 MB, free: 8.516 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.309e-06/0.4815, allocations: 0 / 429.4 MB, free: 8.516 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.53e-05/0.4815, allocations: 7.938 kB / 429.4 MB, free: 8.508 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001474/0.483, allocations: 0.6157 MB / 430.1 MB, free: 7.863 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.4831, allocations: 16.02 kB / 430.1 MB, free: 7.848 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.4832, allocations: 31.72 kB / 430.1 MB, free: 7.816 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004138/0.4836, allocations: 258.4 kB / 430.4 MB, free: 7.547 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004034/0.484, allocations: 127.2 kB / 430.5 MB, free: 7.418 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.722e-05/0.4841, allocations: 30.69 kB / 430.5 MB, free: 7.398 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000701/0.4848, allocations: 309.8 kB / 430.8 MB, free: 7.172 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/0.4849, allocations: 11.78 kB / 430.8 MB, free: 7.164 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.483e-05/0.4849, allocations: 15.06 kB / 430.8 MB, free: 7.156 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.485, allocations: 4 kB / 430.8 MB, free: 7.152 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000695/0.4857, allocations: 268.7 kB / 431.1 MB, free: 6.977 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.4874, allocations: 0.9759 MB / 432.1 MB, free: 6.125 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007127/0.4882, allocations: 310.7 kB / 432.4 MB, free: 5.883 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003607/0.4886, allocations: 161.1 kB / 432.5 MB, free: 5.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.4886, allocations: 0 / 432.5 MB, free: 5.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.4886, allocations: 37.75 kB / 432.6 MB, free: 5.727 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 2.494e-06/0.4887, allocations: 0 / 432.6 MB, free: 5.727 MB / 346.7 MB Notification: Performance of matching and sorting (n=38): time 0.003325/0.492, allocations: 1.84 MB / 434.4 MB, free: 3.855 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.079e-05/0.4921, allocations: 114.1 kB / 434.5 MB, free: 3.723 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.4923, allocations: 178 kB / 434.7 MB, free: 3.566 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.056e-05/0.4924, allocations: 32.89 kB / 434.7 MB, free: 3.531 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.4925, allocations: 146.4 kB / 434.9 MB, free: 3.41 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.4927, allocations: 135.6 kB / 435 MB, free: 3.293 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-05/0.4927, allocations: 11.12 kB / 435 MB, free: 3.289 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.4929, allocations: 336.5 kB / 435.4 MB, free: 2.961 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003235/0.4933, allocations: 124.6 kB / 435.5 MB, free: 2.887 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003816/0.4937, allocations: 176.3 kB / 435.6 MB, free: 2.75 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003191/0.494, allocations: 117.5 kB / 435.8 MB, free: 2.676 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.687e-06/0.494, allocations: 0 / 435.8 MB, free: 2.676 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008882/0.4949, allocations: 375.9 kB / 436.1 MB, free: 2.398 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.4949, allocations: 8 kB / 436.1 MB, free: 2.391 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.495, allocations: 3.984 kB / 436.1 MB, free: 2.387 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.495, allocations: 4 kB / 436.1 MB, free: 2.383 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008913/0.4959, allocations: 171.6 kB / 436.3 MB, free: 2.219 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.4959, allocations: 4 kB / 436.3 MB, free: 2.215 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002724/0.4962, allocations: 27.86 kB / 436.3 MB, free: 2.195 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.906e-05/0.4963, allocations: 19.38 kB / 436.4 MB, free: 2.18 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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.0001337/0.4964, allocations: 123 kB / 436.5 MB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.4966, allocations: 27.72 kB / 436.5 MB, free: 2.035 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.483e-05/0.4966, allocations: 37.52 kB / 436.5 MB, free: 2.02 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.63e-06/0.4967, allocations: 4 kB / 436.6 MB, free: 2.016 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.616e-06/0.4967, allocations: 0 / 436.6 MB, free: 2.016 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.4967, allocations: 3.984 kB / 436.6 MB, free: 2.012 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002275/0.499, allocations: 1.212 MB / 437.8 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.259e-06/0.499, allocations: 4 kB / 437.8 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/0.5001, allocations: 203 kB / 438 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/0.5002, allocations: 4 kB / 438 MB, free: 0.707 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.802e-05/0.5002, allocations: 22.73 kB / 438 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.762e-06/0.5002, allocations: 4 kB / 438 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.214e-06/0.5003, allocations: 3.938 kB / 438 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001299/0.5016, allocations: 0.8212 MB / 438.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001928/0.5018, allocations: 125.3 kB / 438.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.411e-05/0.5019, allocations: 7.75 kB / 439 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005719/0.5024, allocations: 65.12 kB / 439 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.5026, allocations: 42.95 kB / 439.1 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.822e-05/0.5026, allocations: 15.19 kB / 439.1 MB, free: 15.69 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001728/0.5028, allocations: 150 kB / 439.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.67e-07/0.5028, allocations: 0 / 439.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006003/0.5034, allocations: 86.62 kB / 439.3 MB, free: 15.48 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 6 (elastoBacklash2.phi_rel,elastoBacklash2.w_rel,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 (38): * Single equations (assignments): 38 * 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.0001793/0.5036, allocations: 114.7 kB / 439.4 MB, free: 15.37 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006005/0.5042, allocations: 259.9 kB / 439.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.814e-06/0.5043, allocations: 0 / 439.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004182/0.5047, allocations: 173.3 kB / 439.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006184/0.5053, allocations: 56.27 kB / 439.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005602/0.5109, allocations: 1.354 MB / 441.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005087/0.5115, allocations: 0.7763 MB / 442 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002511/0.5117, allocations: 38.95 kB / 442.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.5119, allocations: 31.42 kB / 442.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of SimCode: time 1.675e-06/0.5119, allocations: 0 / 442.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of Templates: time 0.01078/0.5227, allocations: 3.706 MB / 445.8 MB, free: 9.16 MB / 362.7 MB