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_trunk_cpp_Modelica.Mechanics.Rotational.Examples.Backlash") Notification: Performance of loadModel(Modelica): time 2.263/2.263, allocations: 224.7 MB / 241.1 MB, free: 1.703 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.959e-05/2.952e-05, allocations: 4 kB / 294.6 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1101, allocations: 50.42 MB / 345 MB, free: 8.965 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.Backlash): time 0.003387/0.1135, allocations: 1.884 MB / 346.9 MB, free: 7.066 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001805/0.1154, allocations: 0.6594 MB / 347.5 MB, free: 6.406 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001757/0.1156, allocations: 11.94 kB / 347.5 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.746e-05/0.1157, allocations: 27.77 kB / 347.6 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003718/0.1161, allocations: 115.7 kB / 347.7 MB, free: 6.254 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004013/0.1165, allocations: 87.83 kB / 347.8 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004252/0.1169, allocations: 223.5 kB / 348 MB, free: 5.949 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.1171, allocations: 48.23 kB / 348 MB, free: 5.902 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002542/0.1174, allocations: 147.7 kB / 348.2 MB, free: 5.758 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003004/0.1177, allocations: 175.5 kB / 348.3 MB, free: 5.586 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.492e-05/0.1178, allocations: 16 kB / 348.4 MB, free: 5.57 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.893e-05/0.1179, allocations: 16 kB / 348.4 MB, free: 5.555 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.699e-05/0.118, allocations: 59.81 kB / 348.4 MB, free: 5.496 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.1181, allocations: 32 kB / 348.5 MB, free: 5.465 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004296/0.1185, allocations: 287.5 kB / 348.7 MB, free: 5.184 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1185, allocations: 0 / 348.7 MB, free: 5.184 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.995e-06/0.1185, allocations: 0 / 348.7 MB, free: 5.184 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.379e-05/0.1186, allocations: 3.938 kB / 348.7 MB, free: 5.18 MB / 282.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.002405/0.121, allocations: 0.6513 MB / 349.4 MB, free: 4.48 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/0.1211, allocations: 12.02 kB / 349.4 MB, free: 4.469 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001532/0.1212, allocations: 39.58 kB / 349.4 MB, free: 4.43 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004963/0.1217, allocations: 274.3 kB / 349.7 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006285/0.1224, allocations: 131.9 kB / 349.8 MB, free: 3.977 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.564e-05/0.1225, allocations: 24 kB / 349.9 MB, free: 3.953 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/0.1242, allocations: 412 kB / 350.3 MB, free: 3.539 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.198e-05/0.1242, allocations: 3.906 kB / 350.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.586e-05/0.1243, allocations: 15.95 kB / 350.3 MB, free: 3.52 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.1243, allocations: 4 kB / 350.3 MB, free: 3.516 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002382/0.1267, allocations: 456.7 kB / 350.7 MB, free: 3.07 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002144/0.1289, allocations: 0.9631 MB / 351.7 MB, free: 2.047 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00199/0.1309, allocations: 455.7 kB / 352.1 MB, free: 1.574 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.601e-05/0.131, allocations: 11.94 kB / 352.2 MB, free: 1.562 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.1311, allocations: 30.56 kB / 352.2 MB, free: 1.523 MB / 282.7 MB Notification: Performance of pre-optimization done (n=32): time 3.286e-06/0.1311, allocations: 4 kB / 352.2 MB, free: 1.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=38): time 0.009149/0.1402, allocations: 2.512 MB / 354.7 MB, free: 14.74 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.333e-05/0.1404, allocations: 110.8 kB / 354.8 MB, free: 14.61 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003051/0.1407, allocations: 182.3 kB / 355 MB, free: 14.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.301e-05/0.1408, allocations: 29.7 kB / 355 MB, free: 14.39 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.1409, allocations: 207 kB / 355.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/0.1411, allocations: 137.9 kB / 355.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.1412, allocations: 12 kB / 355.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.1414, allocations: 326.8 kB / 355.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005686/0.1419, allocations: 116.8 kB / 355.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006009/0.1426, allocations: 169.4 kB / 356 MB, free: 13.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005924/0.1432, allocations: 124.2 kB / 356.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.1432, allocations: 3.953 kB / 356.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001583/0.1448, allocations: 373.1 kB / 356.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/0.1448, allocations: 4 kB / 356.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.1449, allocations: 0 / 356.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.1449, allocations: 4 kB / 356.5 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/0.1463, allocations: 171.9 kB / 356.6 MB, free: 12.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.76e-05/0.1463, allocations: 4 kB / 356.6 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004444/0.1468, allocations: 31.91 kB / 356.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/0.1468, allocations: 15.94 kB / 356.7 MB, free: 12.69 MB / 298.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.0002679/0.1471, allocations: 153.7 kB / 356.8 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.1473, allocations: 31.67 kB / 356.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.397e-05/0.1474, allocations: 33.52 kB / 356.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.1474, allocations: 4 kB / 356.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.1474, allocations: 0 / 356.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.1474, allocations: 4 kB / 356.9 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00423/0.1517, allocations: 1.39 MB / 358.3 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.1517, allocations: 4.188 kB / 358.3 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00182/0.1536, allocations: 215.7 kB / 358.5 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.49e-05/0.1536, allocations: 8 kB / 358.5 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.914e-05/0.1537, allocations: 15.98 kB / 358.5 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.118e-05/0.1537, allocations: 4 kB / 358.5 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.832e-06/0.1537, allocations: 4.469 kB / 358.5 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004024/0.1578, allocations: 1.133 MB / 359.7 MB, free: 9.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000257/0.1581, allocations: 128.8 kB / 359.8 MB, free: 9.355 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.758e-05/0.1582, allocations: 15.92 kB / 359.8 MB, free: 9.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007595/0.159, allocations: 59.95 kB / 359.9 MB, free: 9.281 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001731/0.1592, allocations: 51.83 kB / 359.9 MB, free: 9.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.917e-05/0.1592, allocations: 19.92 kB / 359.9 MB, free: 9.211 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002082/0.1594, allocations: 152.6 kB / 360.1 MB, free: 9.062 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1594, allocations: 0 / 360.1 MB, free: 9.062 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006433/0.1601, allocations: 80 kB / 360.2 MB, free: 8.984 MB / 298.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.0001904/0.1603, allocations: 115.1 kB / 360.3 MB, free: 8.863 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001913/0.1622, allocations: 404.2 kB / 360.7 MB, free: 8.469 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.1623, allocations: 3.938 kB / 360.7 MB, free: 8.465 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001362/0.1636, allocations: 280.3 kB / 361 MB, free: 8.191 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008613/0.1645, allocations: 59.38 kB / 361 MB, free: 8.133 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009918/0.1745, allocations: 1.754 MB / 362.8 MB, free: 6.324 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004482/0.175, allocations: 0.7763 MB / 363.5 MB, free: 5.523 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002487/0.1752, allocations: 35.42 kB / 363.6 MB, free: 5.488 MB / 298.7 MB Notification: Performance of SimCode: time 1.543e-06/0.1752, allocations: 0 / 363.6 MB, free: 5.488 MB / 298.7 MB Notification: Performance of Templates: time 0.009632/0.1849, allocations: 3.727 MB / 367.3 MB, free: 1.77 MB / 298.7 MB