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 2.294/2.294, allocations: 194.9 MB / 211.2 MB, free: 8.836 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.766e-05/2.773e-05, allocations: 4 kB / 258.8 MB, free: 9.199 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.3771, allocations: 44.5 MB / 303.3 MB, free: 12.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.004611/0.3818, allocations: 1.865 MB / 305.1 MB, free: 11.22 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002614/0.3845, allocations: 0.6918 MB / 305.8 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00031/0.3849, allocations: 9.719 kB / 305.8 MB, free: 10.65 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001214/0.385, allocations: 26.83 kB / 305.9 MB, free: 10.63 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005614/0.3856, allocations: 109.3 kB / 306 MB, free: 10.53 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006042/0.3862, allocations: 86.61 kB / 306.1 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006752/0.3869, allocations: 228.6 kB / 306.3 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/0.3871, allocations: 38.88 kB / 306.3 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003904/0.3875, allocations: 148.4 kB / 306.5 MB, free: 10.19 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004336/0.388, allocations: 175.7 kB / 306.6 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.3881, allocations: 21.5 kB / 306.7 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.089e-05/0.3882, allocations: 17.19 kB / 306.7 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.3884, allocations: 57.47 kB / 306.7 MB, free: 10.03 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.3885, allocations: 31.34 kB / 306.8 MB, free: 10.03 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006145/0.3892, allocations: 295.1 kB / 307.1 MB, free: 9.812 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.3892, allocations: 0 / 307.1 MB, free: 9.812 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.717e-06/0.3892, allocations: 3.938 kB / 307.1 MB, free: 9.809 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.665e-05/0.3892, allocations: 0 / 307.1 MB, free: 9.809 MB / 250.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.003266/0.3925, allocations: 0.6445 MB / 307.7 MB, free: 9.285 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.88e-05/0.3926, allocations: 8.031 kB / 307.7 MB, free: 9.277 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002219/0.3929, allocations: 39.62 kB / 307.7 MB, free: 9.238 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006993/0.3936, allocations: 262.5 kB / 308 MB, free: 8.941 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008456/0.3944, allocations: 131.9 kB / 308.1 MB, free: 8.801 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.3946, allocations: 31.91 kB / 308.2 MB, free: 8.77 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002237/0.3969, allocations: 404 kB / 308.6 MB, free: 8.359 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.242e-05/0.3969, allocations: 4 kB / 308.6 MB, free: 8.355 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.622e-05/0.397, allocations: 19.98 kB / 308.6 MB, free: 8.336 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.3971, allocations: 4 kB / 308.6 MB, free: 8.332 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003285/0.4004, allocations: 466 kB / 309 MB, free: 7.883 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002946/0.4034, allocations: 0.9671 MB / 310 MB, free: 6.859 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002767/0.4062, allocations: 459.5 kB / 310.5 MB, free: 6.383 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.613e-05/0.4063, allocations: 4 kB / 310.5 MB, free: 6.379 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.081e-05/0.4064, allocations: 30.56 kB / 310.5 MB, free: 6.34 MB / 250.7 MB Notification: Performance of pre-optimization done (n=32): time 5.14e-06/0.4064, allocations: 0 / 310.5 MB, free: 6.34 MB / 250.7 MB Notification: Performance of matching and sorting (n=38): time 0.01253/0.4189, allocations: 2.524 MB / 313 MB, free: 3.551 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.4191, allocations: 118.8 kB / 313.1 MB, free: 3.41 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004036/0.4195, allocations: 175.5 kB / 313.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.4196, allocations: 33.7 kB / 313.3 MB, free: 3.195 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.4199, allocations: 207.1 kB / 313.5 MB, free: 2.988 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002355/0.4201, allocations: 134 kB / 313.7 MB, free: 2.855 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.477e-05/0.4202, allocations: 8 kB / 313.7 MB, free: 2.848 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000198/0.4204, allocations: 326.8 kB / 314 MB, free: 2.52 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007966/0.4212, allocations: 112.8 kB / 314.1 MB, free: 2.41 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008873/0.4221, allocations: 169.4 kB / 314.3 MB, free: 2.223 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008618/0.423, allocations: 134.9 kB / 314.4 MB, free: 2.094 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.207e-06/0.423, allocations: 0 / 314.4 MB, free: 2.094 MB / 250.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001993/0.4251, allocations: 357.2 kB / 314.7 MB, free: 1.738 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.554e-05/0.4251, allocations: 11.95 kB / 314.8 MB, free: 1.727 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.4252, allocations: 0 / 314.8 MB, free: 1.727 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.87e-05/0.4252, allocations: 4 kB / 314.8 MB, free: 1.723 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001944/0.4272, allocations: 171.9 kB / 314.9 MB, free: 1.555 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.631e-05/0.4272, allocations: 11.92 kB / 314.9 MB, free: 1.543 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006752/0.4279, allocations: 31.97 kB / 315 MB, free: 1.512 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-05/0.428, allocations: 12 kB / 315 MB, free: 1.5 MB / 250.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.0003448/0.4284, allocations: 141.8 kB / 315.1 MB, free: 1.352 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002256/0.4286, allocations: 27.72 kB / 315.2 MB, free: 1.324 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001347/0.4288, allocations: 37.47 kB / 315.2 MB, free: 1.285 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/0.4288, allocations: 8.922 kB / 315.2 MB, free: 1.277 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.4288, allocations: 0 / 315.2 MB, free: 1.277 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.4288, allocations: 4 kB / 315.2 MB, free: 1.273 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006133/0.435, allocations: 1.401 MB / 316.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/0.4351, allocations: 4.094 kB / 316.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002457/0.4375, allocations: 215.8 kB / 316.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.997e-05/0.4376, allocations: 4 kB / 316.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.623e-05/0.4377, allocations: 15.98 kB / 316.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.819e-05/0.4378, allocations: 11.95 kB / 316.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/0.4378, allocations: 4 kB / 316.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005762/0.4436, allocations: 1.133 MB / 318 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003922/0.444, allocations: 132.8 kB / 318.1 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/0.4442, allocations: 11.98 kB / 318.1 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.4452, allocations: 59.95 kB / 318.2 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002038/0.4455, allocations: 43.88 kB / 318.2 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.739e-05/0.4455, allocations: 12 kB / 318.2 MB, free: 14.03 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002569/0.4458, allocations: 151.5 kB / 318.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.4458, allocations: 4 kB / 318.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00135/0.4472, allocations: 84 kB / 318.5 MB, free: 13.79 MB / 266.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.0002996/0.4475, allocations: 109.1 kB / 318.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002963/0.4505, allocations: 407.7 kB / 319 MB, free: 13.28 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/0.4506, allocations: 192 / 319 MB, free: 13.28 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001921/0.4525, allocations: 280 kB / 319.3 MB, free: 13 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.4538, allocations: 69.5 kB / 319.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01381/0.4677, allocations: 1.743 MB / 321.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006331/0.4684, allocations: 0.7764 MB / 321.8 MB, free: 10.34 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003535/0.4687, allocations: 39.42 kB / 321.9 MB, free: 10.3 MB / 266.7 MB Notification: Performance of SimCode: time 1.162e-06/0.4688, allocations: 3.938 kB / 321.9 MB, free: 10.29 MB / 266.7 MB Notification: Performance of Templates: time 0.01376/0.4825, allocations: 3.716 MB / 325.6 MB, free: 6.586 MB / 266.7 MB