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.933/1.933, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.917e-05/1.932e-05, allocations: 0 / 249.6 MB, free: 15.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2518, allocations: 44.5 MB / 294.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1697/0.4215, allocations: 72.95 MB / 367.1 MB, free: 9.051 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.4217, allocations: 71.91 kB / 367.1 MB, free: 8.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03239/0.4541, allocations: 7.445 MB / 374.6 MB, free: 1.516 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.022e-06/0.4542, allocations: 0 / 374.6 MB, free: 1.516 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.002e-05/0.4542, allocations: 4 kB / 374.6 MB, free: 1.512 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.001469/0.4557, allocations: 0.6311 MB / 375.2 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.4558, allocations: 8.031 kB / 375.2 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.857e-05/0.4559, allocations: 27.72 kB / 375.2 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004358/0.4563, allocations: 258.5 kB / 375.5 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004336/0.4568, allocations: 127.9 kB / 375.6 MB, free: 380 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.53e-05/0.4569, allocations: 12 kB / 375.6 MB, free: 368 kB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007065/0.4576, allocations: 261 kB / 375.9 MB, free: 108 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006821/0.4583, allocations: 275 kB / 376.2 MB, free: 15.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.021e-05/0.4583, allocations: 7.906 kB / 376.2 MB, free: 15.81 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.311e-05/0.4584, allocations: 4 kB / 376.2 MB, free: 15.81 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.4584, allocations: 4 kB / 376.2 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001795/0.4602, allocations: 0.9297 MB / 377.1 MB, free: 14.83 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006898/0.4609, allocations: 295.8 kB / 377.4 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003514/0.4613, allocations: 150.5 kB / 377.5 MB, free: 14.36 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.4613, allocations: 3.984 kB / 377.5 MB, free: 14.36 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.4614, allocations: 46.55 kB / 377.6 MB, free: 14.3 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 3.359e-06/0.4614, allocations: 0 / 377.6 MB, free: 14.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=38): time 0.004172/0.4656, allocations: 1.753 MB / 379.3 MB, free: 12.29 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.4658, allocations: 106.8 kB / 379.4 MB, free: 12.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003526/0.4661, allocations: 151.1 kB / 379.6 MB, free: 12 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.933e-05/0.4662, allocations: 33.69 kB / 379.6 MB, free: 11.96 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.4665, allocations: 211.3 kB / 379.8 MB, free: 11.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002658/0.4668, allocations: 130 kB / 380 MB, free: 11.62 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.291e-05/0.4668, allocations: 0 / 380 MB, free: 11.62 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002524/0.4671, allocations: 326.8 kB / 380.3 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005876/0.4677, allocations: 116.9 kB / 380.4 MB, free: 11.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006404/0.4684, allocations: 172.6 kB / 380.6 MB, free: 10.99 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004821/0.4689, allocations: 110.7 kB / 380.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.8e-06/0.4689, allocations: 0 / 380.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001375/0.4703, allocations: 326 kB / 381 MB, free: 10.56 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.09e-05/0.4704, allocations: 8 kB / 381 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.4704, allocations: 0 / 381 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.021e-05/0.4704, allocations: 8.078 kB / 381 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001578/0.472, allocations: 179.8 kB / 381.2 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.851e-05/0.4721, allocations: 3.984 kB / 381.2 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005087/0.4726, allocations: 27.94 kB / 381.2 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.046e-05/0.4727, allocations: 12 kB / 381.2 MB, free: 10.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.000206/0.4729, allocations: 112.7 kB / 381.3 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002506/0.4732, allocations: 23.72 kB / 381.4 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.4733, allocations: 29.95 kB / 381.4 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.999e-05/0.4734, allocations: 8.656 kB / 381.4 MB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.657e-06/0.4734, allocations: 0 / 381.4 MB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.4734, allocations: 4 kB / 381.4 MB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002626/0.476, allocations: 1.132 MB / 382.5 MB, free: 8.934 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.008e-06/0.4761, allocations: 0 / 382.5 MB, free: 8.934 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00114/0.4772, allocations: 208 kB / 382.7 MB, free: 8.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-05/0.4773, allocations: 4 kB / 382.7 MB, free: 8.727 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.464e-05/0.4773, allocations: 11.98 kB / 382.7 MB, free: 8.715 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-05/0.4773, allocations: 11.92 kB / 382.8 MB, free: 8.703 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.526e-06/0.4774, allocations: 4 kB / 382.8 MB, free: 8.699 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.4787, allocations: 0.8054 MB / 383.6 MB, free: 7.805 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002114/0.4789, allocations: 124.8 kB / 383.7 MB, free: 7.664 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.98e-05/0.479, allocations: 4 kB / 383.7 MB, free: 7.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005573/0.4796, allocations: 51.95 kB / 383.7 MB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.4797, allocations: 43.89 kB / 383.8 MB, free: 7.566 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.535e-05/0.4798, allocations: 19.98 kB / 383.8 MB, free: 7.547 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001429/0.4799, allocations: 123.3 kB / 383.9 MB, free: 7.426 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.88e-07/0.4799, allocations: 0 / 383.9 MB, free: 7.426 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006448/0.4806, allocations: 68 kB / 384 MB, free: 7.359 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.0001845/0.4808, allocations: 113.1 kB / 384.1 MB, free: 7.242 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006018/0.4814, allocations: 246.5 kB / 384.3 MB, free: 7.004 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.48e-06/0.4814, allocations: 0 / 384.3 MB, free: 7.004 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004057/0.4818, allocations: 164.9 kB / 384.5 MB, free: 6.844 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006202/0.4825, allocations: 47.95 kB / 384.5 MB, free: 6.797 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005649/0.4881, allocations: 1.362 MB / 385.9 MB, free: 5.379 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000531/0.4887, allocations: 0.7801 MB / 386.7 MB, free: 4.574 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001942/0.4889, allocations: 35.42 kB / 386.7 MB, free: 4.539 MB / 330.7 MB Notification: Performance of SimCode: time 1.715e-06/0.4889, allocations: 0 / 386.7 MB, free: 4.539 MB / 330.7 MB Notification: Performance of Templates: time 0.009665/0.4986, allocations: 3.659 MB / 390.4 MB, free: 0.8828 MB / 330.7 MB "Error: Could not read variable elastoBacklash.bEps in file Modelica_3.2.2_cpp_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat. Warning: Get data of variable elastoBacklash.bEps from file Modelica_3.2.2_cpp_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat failed! Error: Could not read variable elastoBacklash2.bEps in file Modelica_3.2.2_cpp_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat. Warning: Get data of variable elastoBacklash2.bEps from file Modelica_3.2.2_cpp_Modelica.Mechanics.Rotational.Examples.Backlash_res.mat failed! " Variables in the reference:time,elastoBacklash.phi_rel,elastoBacklash.w_rel,springDamper.phi_rel,springDamper.w_rel Variables in the result:elastoBacklash.a_rel,elastoBacklash.b,elastoBacklash.bMax,elastoBacklash.bMin,elastoBacklash.c,elastoBacklash.d,der(elastoBacklash.phi_rel),der(elastoBacklash.w_rel),elastoBacklash.flange_a.phi,elastoBacklash.flange_a.tau,elastoBacklash.flange_b.phi,elastoBacklash.flange_b.tau,elastoBacklash.lossPower,elastoBacklash.phi_diff,elastoBacklash.phi_nominal,elastoBacklash.phi_rel,elastoBacklash.phi_rel0,elastoBacklash.stateSelect,elastoBacklash.tau,elastoBacklash.tau_c,elastoBacklash.tau_d,elastoBacklash.useHeatPort,elastoBacklash.w_rel,elastoBacklash2.a_rel,elastoBacklash2.b,elastoBacklash2.bMax,elastoBacklash2.bMin,elastoBacklash2.c,elastoBacklash2.d,der(elastoBacklash2.phi_rel),der(elastoBacklash2.w_rel),elastoBacklash2.flange_a.phi,elastoBacklash2.flange_a.tau,elastoBacklash2.flange_b.phi,elastoBacklash2.flange_b.tau,elastoBacklash2.lossPower,elastoBacklash2.phi_diff,elastoBacklash2.phi_nominal,elastoBacklash2.phi_rel,elastoBacklash2.phi_rel0,elastoBacklash2.stateSelect,elastoBacklash2.tau,elastoBacklash2.tau_c,elastoBacklash2.tau_d,elastoBacklash2.useHeatPort,elastoBacklash2.w_rel,fixed1.flange.phi,fixed1.flange.tau,fixed1.phi0,fixed2.flange.phi,fixed2.flange.tau,fixed2.phi0,fixed3.flange.phi,fixed3.flange.tau,fixed3.phi0,inertia1.J,inertia1.a,der(inertia1.phi),der(inertia1.w),inertia1.flange_a.phi,inertia1.flange_a.tau,inertia1.flange_b.phi,inertia1.flange_b.tau,inertia1.phi,inertia1.stateSelect,inertia1.w,inertia2.J,inertia2.a,der(inertia2.phi),der(inertia2.w),inertia2.flange_a.phi,inertia2.flange_a.tau,inertia2.flange_b.phi,inertia2.flange_b.tau,inertia2.phi,inertia2.stateSelect,inertia2.w,inertia3.J,inertia3.a,der(inertia3.phi),der(inertia3.w),inertia3.flange_a.phi,inertia3.flange_a.tau,inertia3.flange_b.phi,inertia3.flange_b.tau,inertia3.phi,inertia3.stateSelect,inertia3.w,springDamper.a_rel,springDamper.c,springDamper.d,der(springDamper.phi_rel),der(springDamper.w_rel),springDamper.flange_a.phi,springDamper.flange_a.tau,springDamper.flange_b.phi,springDamper.flange_b.tau,springDamper.lossPower,springDamper.phi_nominal,springDamper.phi_rel,springDamper.phi_rel0,springDamper.stateSelect,springDamper.tau,springDamper.tau_c,springDamper.tau_d,springDamper.useHeatPort,springDamper.w_rel,time