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.3_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadModel(Modelica): time 2.012/2.012, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.629e-05/3.635e-05, allocations: 0 / 269.3 MB, free: 6.41 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08395/0.08402, allocations: 47.58 MB / 316.9 MB, free: 6.746 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3656/0.4496, allocations: 77.95 MB / 394.9 MB, free: 10.17 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003359/0.45, allocations: 71.95 kB / 394.9 MB, free: 10.13 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04538/0.4954, allocations: 7.615 MB / 402.6 MB, free: 3.699 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.199e-06/0.4955, allocations: 0 / 402.6 MB, free: 3.699 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.037e-05/0.4955, allocations: 12.12 kB / 402.6 MB, free: 3.688 MB / 314.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.001513/0.497, allocations: 0.6273 MB / 403.2 MB, free: 3.031 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.4971, allocations: 12.03 kB / 403.2 MB, free: 3.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.4972, allocations: 31.62 kB / 403.2 MB, free: 2.988 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004079/0.4977, allocations: 253.2 kB / 403.5 MB, free: 2.723 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004241/0.4981, allocations: 133.8 kB / 403.6 MB, free: 2.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.462e-05/0.4982, allocations: 33.91 kB / 403.7 MB, free: 2.566 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007098/0.4989, allocations: 313 kB / 404 MB, free: 2.34 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.499, allocations: 0 / 404 MB, free: 2.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.718e-05/0.499, allocations: 9.75 kB / 404 MB, free: 2.336 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.4991, allocations: 4 kB / 404 MB, free: 2.332 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000701/0.4998, allocations: 273.2 kB / 404.2 MB, free: 2.156 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001827/0.5016, allocations: 0.9753 MB / 405.2 MB, free: 1.301 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007253/0.5024, allocations: 326.5 kB / 405.5 MB, free: 1.047 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003582/0.5027, allocations: 151.8 kB / 405.7 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.5028, allocations: 11.81 kB / 405.7 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.5028, allocations: 34.56 kB / 405.7 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 2.932e-06/0.5028, allocations: 0 / 405.7 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of matching and sorting (n=38): time 0.003433/0.5063, allocations: 1.847 MB / 407.6 MB, free: 15.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.901e-05/0.5064, allocations: 110.8 kB / 407.7 MB, free: 14.88 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002488/0.5067, allocations: 173.3 kB / 407.9 MB, free: 14.73 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.05e-05/0.5067, allocations: 33.64 kB / 407.9 MB, free: 14.69 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.5068, allocations: 150.6 kB / 408 MB, free: 14.57 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/0.507, allocations: 145.4 kB / 408.2 MB, free: 14.44 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.08e-05/0.5071, allocations: 3.938 kB / 408.2 MB, free: 14.44 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.5072, allocations: 334.1 kB / 408.5 MB, free: 14.12 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003259/0.5076, allocations: 127 kB / 408.6 MB, free: 14.04 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003755/0.508, allocations: 174.7 kB / 408.8 MB, free: 13.9 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003258/0.5083, allocations: 134.3 kB / 408.9 MB, free: 13.81 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.586e-06/0.5083, allocations: 0 / 408.9 MB, free: 13.81 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009063/0.5092, allocations: 356.7 kB / 409.3 MB, free: 13.55 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.5093, allocations: 11.98 kB / 409.3 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.971e-06/0.5093, allocations: 0 / 409.3 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.5093, allocations: 4 kB / 409.3 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009812/0.5103, allocations: 171.8 kB / 409.5 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.5104, allocations: 3.953 kB / 409.5 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003041/0.5107, allocations: 31.86 kB / 409.5 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.425e-05/0.5107, allocations: 15.88 kB / 409.5 MB, free: 13.33 MB / 330.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.0001462/0.5109, allocations: 120.3 kB / 409.6 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.511, allocations: 23.72 kB / 409.7 MB, free: 13.19 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.17e-05/0.5111, allocations: 36.64 kB / 409.7 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.5111, allocations: 7.984 kB / 409.7 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.602e-06/0.5112, allocations: 4 kB / 409.7 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.5112, allocations: 7.938 kB / 409.7 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002316/0.5135, allocations: 1.202 MB / 410.9 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.068e-06/0.5136, allocations: 4.094 kB / 410.9 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/0.5148, allocations: 207.1 kB / 411.1 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.858e-06/0.5148, allocations: 4 kB / 411.1 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.752e-05/0.5149, allocations: 18.73 kB / 411.1 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.94e-06/0.5149, allocations: 7.938 kB / 411.1 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.629e-06/0.5149, allocations: 3.938 kB / 411.1 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.5162, allocations: 0.8371 MB / 412 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002126/0.5165, allocations: 125.2 kB / 412.1 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.64e-05/0.5165, allocations: 11.08 kB / 412.1 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000628/0.5172, allocations: 70.25 kB / 412.2 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.5173, allocations: 38.88 kB / 412.2 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.052e-05/0.5174, allocations: 15.31 kB / 412.2 MB, free: 10.82 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001793/0.5176, allocations: 144 kB / 412.4 MB, free: 10.7 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.09e-07/0.5176, allocations: 0 / 412.4 MB, free: 10.7 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006443/0.5182, allocations: 85.94 kB / 412.5 MB, free: 10.62 MB / 330.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.0001803/0.5184, allocations: 113.5 kB / 412.6 MB, free: 10.51 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006058/0.5191, allocations: 252.4 kB / 412.8 MB, free: 10.33 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.275e-06/0.5191, allocations: 4 kB / 412.8 MB, free: 10.33 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004223/0.5195, allocations: 173.3 kB / 413 MB, free: 10.21 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006296/0.5202, allocations: 58.34 kB / 413.1 MB, free: 10.16 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005874/0.526, allocations: 1.357 MB / 414.4 MB, free: 8.84 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005061/0.5266, allocations: 0.7763 MB / 415.2 MB, free: 8.035 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000281/0.5269, allocations: 42.97 kB / 415.2 MB, free: 7.992 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.5271, allocations: 31.42 kB / 415.3 MB, free: 7.961 MB / 330.7 MB Notification: Performance of SimCode: time 1.69e-06/0.5271, allocations: 192 / 415.3 MB, free: 7.961 MB / 330.7 MB Notification: Performance of Templates: time 0.01426/0.5413, allocations: 3.695 MB / 419 MB, free: 4.289 MB / 330.7 MB