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.2_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") Notification: Performance of loadModel(ModelicaTest): time 2.206/2.206, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.389e-05/3.407e-05, allocations: 4 kB / 304.9 MB, free: 5.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4748/0.4748, allocations: 54.86 MB / 359.8 MB, free: 3.129 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1783/0.6532, allocations: 83.18 MB / 443 MB, free: 13.75 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.6535, allocations: 72.7 kB / 443 MB, free: 13.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01768/0.6712, allocations: 4.296 MB / 447.3 MB, free: 9.402 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.801e-06/0.6712, allocations: 4 kB / 447.3 MB, free: 9.398 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.759e-05/0.6712, allocations: 4 kB / 447.3 MB, free: 9.395 MB / 378.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.0009304/0.6722, allocations: 0.5015 MB / 447.8 MB, free: 8.852 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.6722, allocations: 8.031 kB / 447.9 MB, free: 8.844 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.953e-05/0.6723, allocations: 23.72 kB / 447.9 MB, free: 8.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.6727, allocations: 240 kB / 448.1 MB, free: 8.547 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.966e-05/0.6728, allocations: 12.44 kB / 448.1 MB, free: 8.531 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.034e-05/0.6728, allocations: 35.92 kB / 448.2 MB, free: 8.496 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005781/0.6734, allocations: 238.4 kB / 448.4 MB, free: 8.262 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.6735, allocations: 8.797 kB / 448.4 MB, free: 8.254 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.127e-05/0.6735, allocations: 8 kB / 448.4 MB, free: 8.246 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.6735, allocations: 8 kB / 448.4 MB, free: 8.238 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005277/0.6741, allocations: 192.8 kB / 448.6 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/0.6758, allocations: 0.7101 MB / 449.3 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000511/0.6763, allocations: 211 kB / 449.5 MB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003116/0.6766, allocations: 137.3 kB / 449.7 MB, free: 6.934 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.616e-05/0.6767, allocations: 4.172 kB / 449.7 MB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.6767, allocations: 34.8 kB / 449.7 MB, free: 6.887 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 3.386e-06/0.6768, allocations: 4 kB / 449.7 MB, free: 6.883 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.002958/0.6797, allocations: 1.153 MB / 450.8 MB, free: 5.633 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.6798, allocations: 59.41 kB / 450.9 MB, free: 5.562 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002233/0.68, allocations: 165.8 kB / 451.1 MB, free: 5.395 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.475e-05/0.6801, allocations: 33.7 kB / 451.1 MB, free: 5.355 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.6802, allocations: 124.6 kB / 451.2 MB, free: 5.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.6804, allocations: 126.4 kB / 451.3 MB, free: 5.105 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.761e-05/0.6804, allocations: 4 kB / 451.3 MB, free: 5.102 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.6806, allocations: 330.8 kB / 451.7 MB, free: 4.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002843/0.6809, allocations: 108 kB / 451.8 MB, free: 4.664 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003227/0.6812, allocations: 151.3 kB / 451.9 MB, free: 4.504 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000262/0.6815, allocations: 97.52 kB / 452 MB, free: 4.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.629e-06/0.6815, allocations: 0 / 452 MB, free: 4.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009989/0.6825, allocations: 382 kB / 452.4 MB, free: 4.027 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.6826, allocations: 8 kB / 452.4 MB, free: 4.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/0.6826, allocations: 11.23 kB / 452.4 MB, free: 4.012 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005863/0.6832, allocations: 184.7 kB / 452.6 MB, free: 3.828 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003054/0.6835, allocations: 57.5 kB / 452.6 MB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000966/0.6845, allocations: 0.7085 MB / 453.4 MB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003408/0.6849, allocations: 55.95 kB / 453.4 MB, free: 2.984 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.312e-05/0.685, allocations: 12 kB / 453.4 MB, free: 2.973 MB / 378.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 ($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.0001593/0.6851, allocations: 127.9 kB / 453.5 MB, free: 2.844 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.183e-05/0.6852, allocations: 23.72 kB / 453.6 MB, free: 2.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/0.6864, allocations: 425.1 kB / 454 MB, free: 2.398 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.813e-06/0.6864, allocations: 4 kB / 454 MB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.351e-06/0.6865, allocations: 3.984 kB / 454 MB, free: 2.391 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.6865, allocations: 0 / 454 MB, free: 2.391 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002055/0.6885, allocations: 0.9178 MB / 454.9 MB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.811e-06/0.6886, allocations: 0 / 454.9 MB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003363/0.6889, allocations: 55.91 kB / 455 MB, free: 1.348 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005063/0.6894, allocations: 169.7 kB / 455.1 MB, free: 1.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.756e-05/0.6895, allocations: 15.98 kB / 455.1 MB, free: 1.164 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008426/0.6904, allocations: 0.6772 MB / 455.8 MB, free: 472 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.747e-06/0.6904, allocations: 0 / 455.8 MB, free: 472 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00143/0.6918, allocations: 0.6303 MB / 456.5 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001903/0.692, allocations: 124.8 kB / 456.6 MB, free: 15.65 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.534e-05/0.6921, allocations: 15.98 kB / 456.6 MB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003518/0.6925, allocations: 44.03 kB / 456.6 MB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/0.6927, allocations: 59.88 kB / 456.7 MB, free: 15.53 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-05/0.6927, allocations: 11.98 kB / 456.7 MB, free: 15.52 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000165/0.6929, allocations: 136.8 kB / 456.8 MB, free: 15.39 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.98e-07/0.6929, allocations: 0 / 456.8 MB, free: 15.39 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005256/0.6935, allocations: 83.94 kB / 456.9 MB, free: 15.3 MB / 394.7 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.0002596/0.6937, allocations: 139.8 kB / 457.1 MB, free: 15.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008424/0.6946, allocations: 302.1 kB / 457.4 MB, free: 14.86 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.024e-06/0.6946, allocations: 0 / 457.4 MB, free: 14.86 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004506/0.6951, allocations: 151.8 kB / 457.5 MB, free: 14.71 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.6955, allocations: 28.69 kB / 457.5 MB, free: 14.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.6976, allocations: 0.6641 MB / 458.2 MB, free: 13.99 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004747/0.6981, allocations: 0.7605 MB / 459 MB, free: 13.2 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001217/0.6982, allocations: 30 kB / 459 MB, free: 13.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.009e-05/0.6983, allocations: 27.42 kB / 459 MB, free: 13.14 MB / 394.7 MB Notification: Performance of SimCode: time 1.759e-06/0.6984, allocations: 0 / 459 MB, free: 13.14 MB / 394.7 MB Notification: Performance of Templates: time 0.01188/0.7102, allocations: 4.338 MB / 463.3 MB, free: 8.824 MB / 394.7 MB