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_3.2.3_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") Notification: Performance of loadModel(ModelicaTest): time 2.316/2.316, allocations: 249.5 MB / 261.6 MB, free: 2.172 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.367e-05/3.411e-05, allocations: 7.938 kB / 323.4 MB, free: 4.332 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3192, allocations: 58.84 MB / 382.2 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1373/0.4566, allocations: 88.21 MB / 470.4 MB, free: 4.312 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004337/0.4571, allocations: 67.97 kB / 470.5 MB, free: 4.246 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.03647/0.4936, allocations: 4.522 MB / 475 MB, free: 15.71 MB / 410.8 MB Notification: Performance of FrontEnd: time 3.956e-06/0.4937, allocations: 0 / 475 MB, free: 15.71 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.149e-05/0.4937, allocations: 4 kB / 475 MB, free: 15.7 MB / 410.8 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.001883/0.4956, allocations: 0.4982 MB / 475.5 MB, free: 15.16 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 7.87e-05/0.4957, allocations: 16.02 kB / 475.5 MB, free: 15.14 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.4959, allocations: 27.67 kB / 475.6 MB, free: 15.12 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007095/0.4967, allocations: 242.5 kB / 475.8 MB, free: 14.84 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.546e-05/0.4968, allocations: 28.42 kB / 475.8 MB, free: 14.81 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.497, allocations: 20 kB / 475.8 MB, free: 14.79 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.4983, allocations: 234.4 kB / 476.1 MB, free: 14.55 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.603e-05/0.4983, allocations: 7.891 kB / 476.1 MB, free: 14.55 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.148e-05/0.4985, allocations: 12 kB / 476.1 MB, free: 14.54 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.4985, allocations: 4 kB / 476.1 MB, free: 14.53 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.4997, allocations: 188.8 kB / 476.3 MB, free: 14.35 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003352/0.5031, allocations: 0.7093 MB / 477 MB, free: 13.58 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.5042, allocations: 207 kB / 477.2 MB, free: 13.37 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006975/0.505, allocations: 137.3 kB / 477.3 MB, free: 13.23 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.352e-05/0.5051, allocations: 8.188 kB / 477.3 MB, free: 13.23 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.44e-05/0.5052, allocations: 38.8 kB / 477.4 MB, free: 13.18 MB / 410.8 MB Notification: Performance of pre-optimization done (n=27): time 6.794e-06/0.5052, allocations: 0 / 477.4 MB, free: 13.18 MB / 410.8 MB Notification: Performance of matching and sorting (n=35): time 0.006318/0.5115, allocations: 1.148 MB / 478.5 MB, free: 11.94 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.21e-05/0.5117, allocations: 55.41 kB / 478.6 MB, free: 11.87 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004683/0.5122, allocations: 169.7 kB / 478.7 MB, free: 11.7 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001129/0.5123, allocations: 37.7 kB / 478.8 MB, free: 11.65 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.5126, allocations: 128.6 kB / 478.9 MB, free: 11.52 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000278/0.5129, allocations: 114.5 kB / 479 MB, free: 11.41 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-05/0.513, allocations: 12 kB / 479 MB, free: 11.4 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0003315/0.5133, allocations: 338.8 kB / 479.3 MB, free: 11.06 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006435/0.514, allocations: 107.7 kB / 479.5 MB, free: 10.95 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007456/0.5148, allocations: 147.2 kB / 479.6 MB, free: 10.8 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006137/0.5154, allocations: 97.08 kB / 479.7 MB, free: 10.7 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.5154, allocations: 0 / 479.7 MB, free: 10.7 MB / 410.8 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.002258/0.5177, allocations: 389.8 kB / 480.1 MB, free: 10.31 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.562e-05/0.5178, allocations: 8 kB / 480.1 MB, free: 10.3 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.195e-05/0.5178, allocations: 4 kB / 480.1 MB, free: 10.3 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001284/0.5192, allocations: 184.8 kB / 480.3 MB, free: 10.12 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006546/0.5198, allocations: 55.91 kB / 480.3 MB, free: 10.06 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002025/0.5219, allocations: 0.7162 MB / 481 MB, free: 9.32 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000802/0.5227, allocations: 52.05 kB / 481.1 MB, free: 9.27 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.5229, allocations: 12 kB / 481.1 MB, free: 9.258 MB / 410.8 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 ($PRE.bearingFriction1.startForward,bearingFriction1.startForward,$PRE.bearingFriction1.startBackward,bearingFriction1.startBackward,bearingFriction1.locked,$PRE.bearingFriction1.mode,bearingFriction1.mode,bearingFriction1.free) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0003221/0.5232, allocations: 128.9 kB / 481.2 MB, free: 9.125 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001931/0.5235, allocations: 23.72 kB / 481.2 MB, free: 9.102 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002622/0.5261, allocations: 436.9 kB / 481.7 MB, free: 8.668 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.5261, allocations: 0 / 481.7 MB, free: 8.668 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.464e-05/0.5262, allocations: 4 kB / 481.7 MB, free: 8.664 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.5262, allocations: 0 / 481.7 MB, free: 8.664 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004588/0.5308, allocations: 0.9171 MB / 482.6 MB, free: 7.676 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/0.5309, allocations: 4 kB / 482.6 MB, free: 7.672 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007084/0.5316, allocations: 52.03 kB / 482.7 MB, free: 7.621 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001133/0.5328, allocations: 168.7 kB / 482.8 MB, free: 7.453 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.835e-05/0.5329, allocations: 11.98 kB / 482.8 MB, free: 7.441 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001779/0.5347, allocations: 0.6849 MB / 483.5 MB, free: 6.73 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.009e-05/0.5348, allocations: 4.031 kB / 483.5 MB, free: 6.727 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003121/0.5379, allocations: 0.6103 MB / 484.1 MB, free: 6.078 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004085/0.5383, allocations: 120.9 kB / 484.2 MB, free: 5.941 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001052/0.5394, allocations: 19.89 kB / 484.3 MB, free: 5.922 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003746/0.5398, allocations: 52.02 kB / 484.3 MB, free: 5.871 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/0.54, allocations: 51.89 kB / 484.4 MB, free: 5.82 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-05/0.5401, allocations: 15.98 kB / 484.4 MB, free: 5.805 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001974/0.5403, allocations: 135.4 kB / 484.5 MB, free: 5.672 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.082e-06/0.5403, allocations: 3.938 kB / 484.5 MB, free: 5.668 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0005309/0.5408, allocations: 83.98 kB / 484.6 MB, free: 5.586 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (25): * Single equations (assignments): 24 * 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.00026/0.5411, allocations: 127.2 kB / 484.7 MB, free: 5.453 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0008763/0.542, allocations: 309.5 kB / 485 MB, free: 5.145 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.229e-06/0.542, allocations: 96 / 485 MB, free: 5.145 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004277/0.5425, allocations: 151.8 kB / 485.2 MB, free: 4.996 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.5429, allocations: 24.17 kB / 485.2 MB, free: 4.969 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.5451, allocations: 0.6789 MB / 485.9 MB, free: 4.262 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004772/0.5456, allocations: 0.7565 MB / 486.6 MB, free: 3.477 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001275/0.5457, allocations: 26.06 kB / 486.7 MB, free: 3.449 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.588e-05/0.5458, allocations: 27.36 kB / 486.7 MB, free: 3.422 MB / 410.8 MB Notification: Performance of SimCode: time 1.741e-06/0.5458, allocations: 0 / 486.7 MB, free: 3.422 MB / 410.8 MB Notification: Performance of Templates: time 0.01205/0.5579, allocations: 4.331 MB / 491 MB, free: 15.1 MB / 426.8 MB