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.2_cpp_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadModel(Modelica): time 1.927/1.927, allocations: 194.9 MB / 208.5 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.377e-05/3.389e-05, allocations: 6.531 kB / 255.4 MB, free: 3.168 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07822/0.07828, allocations: 44.51 MB / 299.9 MB, free: 6.609 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3241/0.4025, allocations: 73.61 MB / 373.5 MB, free: 22.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/0.4027, allocations: 68.11 kB / 373.5 MB, free: 22.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03247/0.4352, allocations: 7.498 MB / 381 MB, free: 21.65 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.327e-06/0.4353, allocations: 0 / 381 MB, free: 21.65 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.18e-05/0.4353, allocations: 5.375 kB / 381 MB, free: 21.65 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.001372/0.4367, allocations: 0.6233 MB / 381.7 MB, free: 21.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.4367, allocations: 9.25 kB / 381.7 MB, free: 21.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.4369, allocations: 32.14 kB / 381.7 MB, free: 21.22 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.4372, allocations: 258.4 kB / 382 MB, free: 20.99 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003851/0.4376, allocations: 137.2 kB / 382.1 MB, free: 20.92 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.814e-05/0.4377, allocations: 24.22 kB / 382.1 MB, free: 20.92 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006744/0.4384, allocations: 312.3 kB / 382.4 MB, free: 20.86 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.658e-05/0.4385, allocations: 6.938 kB / 382.4 MB, free: 20.86 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.369e-05/0.4385, allocations: 9.062 kB / 382.4 MB, free: 20.86 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.4385, allocations: 6.906 kB / 382.4 MB, free: 20.86 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006696/0.4392, allocations: 274.1 kB / 382.7 MB, free: 20.85 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001575/0.4408, allocations: 0.9767 MB / 383.7 MB, free: 20.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006932/0.4415, allocations: 310.9 kB / 384 MB, free: 20.26 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003613/0.4419, allocations: 159.1 kB / 384.1 MB, free: 20.23 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-05/0.4419, allocations: 8.75 kB / 384.2 MB, free: 20.23 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.442, allocations: 38.34 kB / 384.2 MB, free: 20.19 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 3.701e-06/0.442, allocations: 4 kB / 384.2 MB, free: 20.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=38): time 0.002854/0.4449, allocations: 1.835 MB / 386 MB, free: 18.83 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.4449, allocations: 112.5 kB / 386.1 MB, free: 18.71 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.4452, allocations: 174.7 kB / 386.3 MB, free: 18.61 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.089e-05/0.4452, allocations: 33.02 kB / 386.3 MB, free: 18.58 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.9e-05/0.4453, allocations: 202.7 kB / 386.5 MB, free: 18.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.4454, allocations: 135 kB / 386.7 MB, free: 18.33 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/0.4455, allocations: 12.84 kB / 386.7 MB, free: 18.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.658e-05/0.4456, allocations: 327 kB / 387 MB, free: 18.01 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003591/0.4459, allocations: 121.8 kB / 387.1 MB, free: 18.01 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003477/0.4463, allocations: 179.4 kB / 387.3 MB, free: 17.95 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003059/0.4466, allocations: 122.8 kB / 387.4 MB, free: 17.94 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.099e-06/0.4466, allocations: 3.938 kB / 387.4 MB, free: 17.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008345/0.4475, allocations: 365.6 kB / 387.8 MB, free: 17.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.4475, allocations: 8.578 kB / 387.8 MB, free: 17.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.4476, allocations: 1.469 kB / 387.8 MB, free: 17.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.4476, allocations: 12.42 kB / 387.8 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008975/0.4485, allocations: 175.3 kB / 388 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.4485, allocations: 4.031 kB / 388 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003243/0.4489, allocations: 31.38 kB / 388 MB, free: 17.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.188e-05/0.4489, allocations: 12.69 kB / 388 MB, free: 17.84 MB / 314.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.0001023/0.449, allocations: 123.3 kB / 388.1 MB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.4492, allocations: 30.31 kB / 388.2 MB, free: 17.72 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.751e-05/0.4493, allocations: 35.69 kB / 388.2 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.738e-06/0.4493, allocations: 4.969 kB / 388.2 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.612e-06/0.4493, allocations: 1.75 kB / 388.2 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.4493, allocations: 3.234 kB / 388.2 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001963/0.4513, allocations: 1.203 MB / 389.4 MB, free: 17.06 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.548e-06/0.4513, allocations: 1.688 kB / 389.4 MB, free: 17.06 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/0.4524, allocations: 203.9 kB / 389.6 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.126e-05/0.4525, allocations: 3.062 kB / 389.6 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.435e-05/0.4525, allocations: 10.7 kB / 389.6 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-06/0.4526, allocations: 10.62 kB / 389.6 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.652e-06/0.4526, allocations: 5.812 kB / 389.6 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.4537, allocations: 0.8263 MB / 390.5 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001929/0.4539, allocations: 137.3 kB / 390.6 MB, free: 16.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.697e-05/0.454, allocations: 7.594 kB / 390.6 MB, free: 16.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005963/0.4546, allocations: 62.23 kB / 390.7 MB, free: 16.43 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.4548, allocations: 38.86 kB / 390.7 MB, free: 16.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.834e-05/0.4548, allocations: 21.48 kB / 390.7 MB, free: 16.42 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001396/0.455, allocations: 147.7 kB / 390.9 MB, free: 16.34 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.12e-07/0.455, allocations: 0 / 390.9 MB, free: 16.34 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006332/0.4556, allocations: 87.89 kB / 391 MB, free: 16.34 MB / 314.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.0001449/0.4558, allocations: 115.8 kB / 391.1 MB, free: 16.25 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005688/0.4564, allocations: 253 kB / 391.3 MB, free: 16.23 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.442e-06/0.4564, allocations: 0 / 391.3 MB, free: 16.23 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003909/0.4568, allocations: 173.5 kB / 391.5 MB, free: 16.21 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006321/0.4574, allocations: 57.7 kB / 391.5 MB, free: 16.21 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005754/0.4632, allocations: 1.384 MB / 392.9 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.4635, allocations: 0.7708 MB / 393.7 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.4637, allocations: 34.48 kB / 393.7 MB, free: 14.95 MB / 314.7 MB Notification: Performance of SimCode: time 1.808e-06/0.4637, allocations: 4 kB / 393.7 MB, free: 14.94 MB / 314.7 MB Notification: Performance of Templates: time 0.006331/0.4701, allocations: 3.709 MB / 397.4 MB, free: 14.66 MB / 314.7 MB