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.1_cpp_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadModel(Modelica): time 1.797/1.797, allocations: 171.2 MB / 186.3 MB, free: 1.406 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.806e-05/3.807e-05, allocations: 4 kB / 228.1 MB, free: 5.906 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09303/0.0931, allocations: 38.77 MB / 266.9 MB, free: 15.05 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.002805/0.09597, allocations: 1.559 MB / 268.4 MB, free: 13.47 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001419/0.09744, allocations: 0.5659 MB / 269 MB, free: 12.91 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.0976, allocations: 8 kB / 269 MB, free: 12.9 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.648e-05/0.09767, allocations: 19.84 kB / 269 MB, free: 12.88 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002463/0.09793, allocations: 75.75 kB / 269.1 MB, free: 12.8 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.09822, allocations: 51.95 kB / 269.2 MB, free: 12.75 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002729/0.0985, allocations: 143.7 kB / 269.3 MB, free: 12.61 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.09865, allocations: 31.95 kB / 269.3 MB, free: 12.58 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.09883, allocations: 91.73 kB / 269.4 MB, free: 12.49 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/0.09904, allocations: 107.7 kB / 269.5 MB, free: 12.39 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.702e-05/0.09911, allocations: 8 kB / 269.5 MB, free: 12.38 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.296e-05/0.09917, allocations: 12 kB / 269.5 MB, free: 12.37 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.638e-05/0.09924, allocations: 43.83 kB / 269.6 MB, free: 12.32 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.886e-05/0.09932, allocations: 20 kB / 269.6 MB, free: 12.3 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003024/0.09963, allocations: 183.8 kB / 269.8 MB, free: 12.12 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.09965, allocations: 0 / 269.8 MB, free: 12.12 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.09966, allocations: 0 / 269.8 MB, free: 12.12 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.09968, allocations: 0 / 269.8 MB, free: 12.12 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001586/0.1013, allocations: 0.5144 MB / 270.3 MB, free: 11.56 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.1013, allocations: 8.031 kB / 270.3 MB, free: 11.55 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.615e-05/0.1014, allocations: 23.72 kB / 270.3 MB, free: 11.53 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000364/0.1018, allocations: 223.3 kB / 270.6 MB, free: 11.27 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003432/0.1022, allocations: 73.62 kB / 270.6 MB, free: 11.2 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.963e-05/0.1023, allocations: 23.91 kB / 270.6 MB, free: 11.17 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009474/0.1032, allocations: 259.1 kB / 270.9 MB, free: 10.91 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.1033, allocations: 0 / 270.9 MB, free: 10.91 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.674e-05/0.1033, allocations: 12 kB / 270.9 MB, free: 10.89 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.1033, allocations: 4 kB / 270.9 MB, free: 10.89 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/0.1046, allocations: 260.3 kB / 271.2 MB, free: 10.64 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00144/0.1061, allocations: 0.6821 MB / 271.9 MB, free: 9.898 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.1073, allocations: 272.9 kB / 272.1 MB, free: 9.613 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.1073, allocations: 0 / 272.1 MB, free: 9.613 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.153e-05/0.1074, allocations: 46.89 kB / 272.2 MB, free: 9.559 MB / 234.7 MB Notification: Performance of pre-optimization done (n=21): time 4.098e-06/0.1074, allocations: 0 / 272.2 MB, free: 9.559 MB / 234.7 MB Notification: Performance of matching and sorting (n=25): time 0.00507/0.1125, allocations: 1.536 MB / 273.7 MB, free: 7.844 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.686e-05/0.1126, allocations: 85.05 kB / 273.8 MB, free: 7.742 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.1128, allocations: 146.5 kB / 273.9 MB, free: 7.582 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 4.258e-05/0.1129, allocations: 33.7 kB / 274 MB, free: 7.543 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.113, allocations: 186.7 kB / 274.1 MB, free: 7.359 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.1131, allocations: 86.75 kB / 274.2 MB, free: 7.273 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.312e-05/0.1131, allocations: 4 kB / 274.2 MB, free: 7.27 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1133, allocations: 322.8 kB / 274.5 MB, free: 6.945 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003168/0.1136, allocations: 71.95 kB / 274.6 MB, free: 6.875 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003418/0.114, allocations: 99.38 kB / 274.7 MB, free: 6.766 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003462/0.1143, allocations: 80.92 kB / 274.8 MB, free: 6.688 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1144, allocations: 0 / 274.8 MB, free: 6.688 MB / 234.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008466/0.1152, allocations: 249.2 kB / 275 MB, free: 6.438 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.1153, allocations: 9.359 kB / 275 MB, free: 6.43 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.1153, allocations: 4 kB / 275 MB, free: 6.426 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.1153, allocations: 0 / 275 MB, free: 6.426 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008171/0.1161, allocations: 103.9 kB / 275.2 MB, free: 6.324 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.1162, allocations: 7.984 kB / 275.2 MB, free: 6.316 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/0.1164, allocations: 12 kB / 275.2 MB, free: 6.305 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/0.1165, allocations: 12 kB / 275.2 MB, free: 6.293 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001865/0.1167, allocations: 141.7 kB / 275.3 MB, free: 6.145 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.8e-05/0.1168, allocations: 15.81 kB / 275.3 MB, free: 6.129 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.1169, allocations: 25.48 kB / 275.4 MB, free: 6.102 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.1169, allocations: 4 kB / 275.4 MB, free: 6.098 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/0.1169, allocations: 0 / 275.4 MB, free: 6.098 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.117, allocations: 3.984 kB / 275.4 MB, free: 6.094 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002478/0.1194, allocations: 0.9253 MB / 276.3 MB, free: 5.086 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.1195, allocations: 0 / 276.3 MB, free: 5.086 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/0.1205, allocations: 116 kB / 276.4 MB, free: 4.973 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.214e-05/0.1206, allocations: 4 kB / 276.4 MB, free: 4.969 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.876e-05/0.1206, allocations: 11.98 kB / 276.4 MB, free: 4.957 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.877e-06/0.1206, allocations: 4 kB / 276.4 MB, free: 4.953 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.1206, allocations: 3.938 kB / 276.4 MB, free: 4.949 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002314/0.123, allocations: 0.7093 MB / 277.1 MB, free: 4.18 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/0.1232, allocations: 108.9 kB / 277.2 MB, free: 4.055 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.658e-05/0.1233, allocations: 11.98 kB / 277.3 MB, free: 4.043 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004636/0.1237, allocations: 35.98 kB / 277.3 MB, free: 4.008 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.1238, allocations: 23.91 kB / 277.3 MB, free: 3.984 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.162e-05/0.1239, allocations: 11.98 kB / 277.3 MB, free: 3.973 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001597/0.1241, allocations: 120.9 kB / 277.4 MB, free: 3.855 MB / 234.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1241, allocations: 0 / 277.4 MB, free: 3.855 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0004995/0.1246, allocations: 56 kB / 277.5 MB, free: 3.801 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (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 (25): * Single equations (assignments): 25 * 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.0001661/0.1248, allocations: 107.1 kB / 277.6 MB, free: 3.688 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.1259, allocations: 239.8 kB / 277.8 MB, free: 3.453 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.1259, allocations: 0 / 277.8 MB, free: 3.453 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007012/0.1266, allocations: 160 kB / 278 MB, free: 3.297 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005828/0.1272, allocations: 44.19 kB / 278 MB, free: 3.254 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007146/0.1344, allocations: 1.29 MB / 279.3 MB, free: 1.918 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004172/0.1348, allocations: 0.7519 MB / 280.1 MB, free: 1.141 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.135, allocations: 23.44 kB / 280.1 MB, free: 1.117 MB / 234.7 MB Notification: Performance of SimCode: time 1.483e-06/0.135, allocations: 0 / 280.1 MB, free: 1.117 MB / 234.7 MB Notification: Performance of Templates: time 0.2178/0.3528, allocations: 2.48 MB / 282.6 MB, free: 14.27 MB / 234.7 MB