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_trunk_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadModel(Modelica): time 1.945/1.945, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.978e-05/2.98e-05, allocations: 4 kB / 292.7 MB, free: 8.359 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08988/0.08993, allocations: 50.42 MB / 343.1 MB, free: 5.926 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3507/0.4407, allocations: 79.06 MB / 422.1 MB, free: 15.13 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001999/0.4409, allocations: 66.47 kB / 422.2 MB, free: 15.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03364/0.4746, allocations: 7.752 MB / 430 MB, free: 8.527 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.017e-06/0.4746, allocations: 0 / 430 MB, free: 8.527 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.384e-05/0.4746, allocations: 8 kB / 430 MB, free: 8.52 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.001533/0.4762, allocations: 0.6171 MB / 430.6 MB, free: 7.875 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.4762, allocations: 8.031 kB / 430.6 MB, free: 7.867 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.4764, allocations: 31.72 kB / 430.6 MB, free: 7.836 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004308/0.4768, allocations: 265.5 kB / 430.9 MB, free: 7.559 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004304/0.4773, allocations: 130 kB / 431 MB, free: 7.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.178e-05/0.4774, allocations: 26.62 kB / 431 MB, free: 7.414 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000719/0.4781, allocations: 311.9 kB / 431.3 MB, free: 7.188 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.969e-05/0.4781, allocations: 11.84 kB / 431.4 MB, free: 7.176 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.326e-05/0.4782, allocations: 7.188 kB / 431.4 MB, free: 7.176 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.4782, allocations: 12 kB / 431.4 MB, free: 7.164 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007034/0.4789, allocations: 265.1 kB / 431.6 MB, free: 6.992 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001806/0.4807, allocations: 0.9736 MB / 432.6 MB, free: 6.141 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007354/0.4815, allocations: 310.6 kB / 432.9 MB, free: 5.898 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003654/0.4819, allocations: 156.9 kB / 433.1 MB, free: 5.793 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.4819, allocations: 11.98 kB / 433.1 MB, free: 5.781 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.482, allocations: 38.44 kB / 433.1 MB, free: 5.738 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 6.733e-06/0.482, allocations: 0 / 433.1 MB, free: 5.738 MB / 346.7 MB Notification: Performance of matching and sorting (n=38): time 0.003397/0.4854, allocations: 1.841 MB / 434.9 MB, free: 3.867 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.148e-05/0.4855, allocations: 106.8 kB / 435.1 MB, free: 3.738 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002455/0.4858, allocations: 185.4 kB / 435.2 MB, free: 3.574 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.923e-05/0.4858, allocations: 32.77 kB / 435.3 MB, free: 3.543 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.486, allocations: 145.6 kB / 435.4 MB, free: 3.418 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.4861, allocations: 136 kB / 435.5 MB, free: 3.301 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.4862, allocations: 7.312 kB / 435.5 MB, free: 3.301 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.4864, allocations: 342.6 kB / 435.9 MB, free: 2.969 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003337/0.4867, allocations: 120.7 kB / 436 MB, free: 2.898 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003783/0.4871, allocations: 178.6 kB / 436.2 MB, free: 2.758 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000317/0.4874, allocations: 119.3 kB / 436.3 MB, free: 2.684 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.612e-06/0.4875, allocations: 0 / 436.3 MB, free: 2.684 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008955/0.4884, allocations: 365.9 kB / 436.6 MB, free: 2.414 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.4884, allocations: 8.75 kB / 436.7 MB, free: 2.406 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.4884, allocations: 11.92 kB / 436.7 MB, free: 2.395 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.4884, allocations: 0 / 436.7 MB, free: 2.395 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009786/0.4894, allocations: 167.4 kB / 436.8 MB, free: 2.234 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.4895, allocations: 8 kB / 436.8 MB, free: 2.227 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000298/0.4898, allocations: 31.48 kB / 436.9 MB, free: 2.203 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-05/0.4898, allocations: 11.19 kB / 436.9 MB, free: 2.195 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.0001332/0.49, allocations: 127.8 kB / 437 MB, free: 2.074 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.4901, allocations: 27.72 kB / 437 MB, free: 2.047 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.446e-05/0.4902, allocations: 38.33 kB / 437.1 MB, free: 2.031 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.405e-06/0.4902, allocations: 4 kB / 437.1 MB, free: 2.027 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.475e-06/0.4903, allocations: 4 kB / 437.1 MB, free: 2.023 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.4903, allocations: 3.984 kB / 437.1 MB, free: 2.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00234/0.4926, allocations: 1.204 MB / 438.3 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.754e-06/0.4927, allocations: 0 / 438.3 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00122/0.4939, allocations: 207.8 kB / 438.5 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.184e-05/0.4939, allocations: 4 kB / 438.5 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.445e-05/0.494, allocations: 15.17 kB / 438.5 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.763e-06/0.494, allocations: 7.938 kB / 438.5 MB, free: 0.707 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.36e-06/0.494, allocations: 8 kB / 438.5 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/0.4954, allocations: 0.8206 MB / 439.3 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/0.4956, allocations: 124.8 kB / 439.5 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.632e-05/0.4957, allocations: 10.19 kB / 439.5 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000614/0.4963, allocations: 62.88 kB / 439.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.4965, allocations: 42.27 kB / 439.6 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.232e-05/0.4965, allocations: 15.44 kB / 439.6 MB, free: 15.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001917/0.4967, allocations: 151 kB / 439.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.19e-07/0.4967, allocations: 0 / 439.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006648/0.4974, allocations: 85.06 kB / 439.8 MB, free: 15.5 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.0001862/0.4976, allocations: 118.9 kB / 439.9 MB, free: 15.38 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006152/0.4982, allocations: 251.9 kB / 440.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.4983, allocations: 4 kB / 440.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004356/0.4987, allocations: 170.3 kB / 440.4 MB, free: 15.08 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006455/0.4994, allocations: 60.39 kB / 440.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005947/0.5053, allocations: 1.357 MB / 441.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005166/0.5059, allocations: 0.7763 MB / 442.5 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002738/0.5062, allocations: 38.97 kB / 442.6 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.5064, allocations: 31.42 kB / 442.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of SimCode: time 2.046e-06/0.5064, allocations: 0 / 442.6 MB, free: 12.84 MB / 362.7 MB Notification: Performance of Templates: time 0.01104/0.5174, allocations: 3.701 MB / 446.3 MB, free: 9.172 MB / 362.7 MB