Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") Notification: Performance of loadModel(ModelicaTest): time 2.379/2.379, allocations: 269 MB / 284.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.499e-05/3.507e-05, allocations: 4 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1639, allocations: 61.88 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.003178/0.1671, allocations: 1.79 MB / 412.7 MB, free: 11.06 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001505/0.1687, allocations: 0.6275 MB / 413.3 MB, free: 10.43 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001595/0.1689, allocations: 7.938 kB / 413.3 MB, free: 10.42 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.169, allocations: 23.84 kB / 413.4 MB, free: 10.4 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002128/0.1693, allocations: 67.77 kB / 413.4 MB, free: 10.33 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003763/0.1697, allocations: 87.81 kB / 413.5 MB, free: 10.25 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003113/0.17, allocations: 152.1 kB / 413.7 MB, free: 10.1 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001974/0.1702, allocations: 56.16 kB / 413.7 MB, free: 10.04 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002432/0.1705, allocations: 107.7 kB / 413.8 MB, free: 9.938 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002693/0.1707, allocations: 131.6 kB / 414 MB, free: 9.809 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001822/0.1709, allocations: 43.97 kB / 414 MB, free: 9.766 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.151e-05/0.171, allocations: 16 kB / 414 MB, free: 9.75 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.608e-05/0.1711, allocations: 51.75 kB / 414.1 MB, free: 9.699 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.836e-05/0.1712, allocations: 20 kB / 414.1 MB, free: 9.68 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004123/0.1716, allocations: 231.7 kB / 414.3 MB, free: 9.453 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1716, allocations: 0 / 414.3 MB, free: 9.453 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.1716, allocations: 0 / 414.3 MB, free: 9.453 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.1717, allocations: 0 / 414.3 MB, free: 9.453 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001195/0.1729, allocations: 0.507 MB / 414.8 MB, free: 8.895 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.1729, allocations: 12.03 kB / 414.8 MB, free: 8.883 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.339e-05/0.173, allocations: 23.72 kB / 414.9 MB, free: 8.859 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003759/0.1734, allocations: 246.6 kB / 415.1 MB, free: 8.578 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.547e-05/0.1735, allocations: 12.44 kB / 415.1 MB, free: 8.566 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.028e-05/0.1736, allocations: 27.91 kB / 415.1 MB, free: 8.539 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008105/0.1744, allocations: 267.1 kB / 415.4 MB, free: 8.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.1744, allocations: 3.984 kB / 415.4 MB, free: 8.266 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.448e-05/0.1745, allocations: 12 kB / 415.4 MB, free: 8.254 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.1745, allocations: 4 kB / 415.4 MB, free: 8.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008145/0.1753, allocations: 241.6 kB / 415.6 MB, free: 8.016 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002028/0.1774, allocations: 0.7324 MB / 416.4 MB, free: 7.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008967/0.1783, allocations: 266.3 kB / 416.6 MB, free: 6.961 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.693e-05/0.1784, allocations: 7.938 kB / 416.6 MB, free: 6.953 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.1784, allocations: 34.56 kB / 416.7 MB, free: 6.91 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 2.755e-06/0.1784, allocations: 0 / 416.7 MB, free: 6.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=33): time 0.005135/0.1836, allocations: 1.511 MB / 418.2 MB, free: 5.297 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.1837, allocations: 55.41 kB / 418.2 MB, free: 5.23 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002713/0.1839, allocations: 174.6 kB / 418.4 MB, free: 5.051 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.771e-05/0.184, allocations: 29.7 kB / 418.4 MB, free: 5.016 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.1841, allocations: 207.1 kB / 418.6 MB, free: 4.812 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.1843, allocations: 106.5 kB / 418.8 MB, free: 4.707 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/0.1843, allocations: 8 kB / 418.8 MB, free: 4.699 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1845, allocations: 330.8 kB / 419.1 MB, free: 4.367 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004231/0.1849, allocations: 119.9 kB / 419.2 MB, free: 4.25 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004705/0.1854, allocations: 167.1 kB / 419.4 MB, free: 4.074 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004046/0.1858, allocations: 112 kB / 419.5 MB, free: 3.965 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1858, allocations: 4 kB / 419.5 MB, free: 3.961 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001503/0.1873, allocations: 450.6 kB / 419.9 MB, free: 3.512 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.1874, allocations: 4 kB / 419.9 MB, free: 3.508 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.1874, allocations: 0 / 419.9 MB, free: 3.508 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008043/0.1882, allocations: 244.7 kB / 420.2 MB, free: 3.266 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004181/0.1887, allocations: 55.91 kB / 420.2 MB, free: 3.211 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001133/0.1898, allocations: 0.7475 MB / 421 MB, free: 2.438 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005486/0.1904, allocations: 52.02 kB / 421 MB, free: 2.387 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-05/0.1904, allocations: 20.05 kB / 421 MB, free: 2.367 MB / 346.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: 8 (bearingFriction1.free,$PRE.bearingFriction1.startForward,bearingFriction1.startForward,$PRE.bearingFriction1.startBackward,bearingFriction1.startBackward,bearingFriction1.locked,$PRE.bearingFriction1.mode,bearingFriction1.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002334/0.1907, allocations: 141.8 kB / 421.2 MB, free: 2.219 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.324e-05/0.1908, allocations: 19.81 kB / 421.2 MB, free: 2.199 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.1909, allocations: 42.59 kB / 421.2 MB, free: 2.16 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.1909, allocations: 8 kB / 421.2 MB, free: 2.152 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.1909, allocations: 0 / 421.2 MB, free: 2.152 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.191, allocations: 0 / 421.2 MB, free: 2.152 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002527/0.1935, allocations: 0.9635 MB / 422.2 MB, free: 1.117 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.1935, allocations: 0 / 422.2 MB, free: 1.117 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004271/0.194, allocations: 47.91 kB / 422.2 MB, free: 1.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007079/0.1947, allocations: 224.6 kB / 422.5 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.354e-05/0.1948, allocations: 7.984 kB / 422.5 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009769/0.1958, allocations: 0.7163 MB / 423.2 MB, free: 100 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.1958, allocations: 0 / 423.2 MB, free: 100 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3213/0.5171, allocations: 0.6463 MB / 423.8 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001999/0.5173, allocations: 126 kB / 424 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.272e-05/0.5174, allocations: 13.59 kB / 424 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00049/0.5179, allocations: 50.64 kB / 424 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000235/0.5182, allocations: 54.75 kB / 424.1 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.191e-05/0.5182, allocations: 14.5 kB / 424.1 MB, free: 13.2 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001869/0.5184, allocations: 142 kB / 424.2 MB, free: 13.12 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5184, allocations: 3.5 kB / 424.2 MB, free: 13.12 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005028/0.5189, allocations: 75.86 kB / 424.3 MB, free: 13.12 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (inertia3.phi,inertia3.w) * Number of discrete variables: 4 (bearingFriction1.startForward,bearingFriction1.startBackward,bearingFriction1.locked,bearingFriction1.mode) * Number of discrete states: 3 (bearingFriction1.mode,bearingFriction1.startBackward,bearingFriction1.startForward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002688/0.5192, allocations: 127.5 kB / 424.4 MB, free: 13.03 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001237/0.5205, allocations: 319.2 kB / 424.7 MB, free: 13.03 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5205, allocations: 6.875 kB / 424.8 MB, free: 13.03 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005937/0.5211, allocations: 155.6 kB / 424.9 MB, free: 13.03 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/0.5215, allocations: 26.97 kB / 424.9 MB, free: 13.02 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003309/0.5249, allocations: 0.9536 MB / 425.9 MB, free: 12.61 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.5252, allocations: 0.7587 MB / 426.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.5253, allocations: 22.52 kB / 426.7 MB, free: 11.9 MB / 346.7 MB Notification: Performance of SimCode: time 9.52e-07/0.5253, allocations: 4 kB / 426.7 MB, free: 11.9 MB / 346.7 MB Notification: Performance of Templates: time 0.01046/0.5358, allocations: 3.949 MB / 430.6 MB, free: 11.65 MB / 346.7 MB