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.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") Notification: Performance of loadModel(ModelicaTest): time 1.931/1.931, allocations: 209.3 MB / 221.5 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.324e-05/3.331e-05, allocations: 4 kB / 273.1 MB, free: 3.168 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08635/0.0864, allocations: 48.69 MB / 321.8 MB, free: 2.379 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3892/0.4757, allocations: 76.8 MB / 398.6 MB, free: 7.445 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/0.476, allocations: 73.48 kB / 398.6 MB, free: 7.441 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02435/0.5004, allocations: 4.312 MB / 403 MB, free: 5.898 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.135e-06/0.5005, allocations: 0 / 403 MB, free: 5.898 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.218e-05/0.5005, allocations: 7.844 kB / 403 MB, free: 5.895 MB / 314.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.001205/0.5017, allocations: 0.515 MB / 403.5 MB, free: 5.445 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/0.5018, allocations: 11.69 kB / 403.5 MB, free: 5.445 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.5019, allocations: 23.25 kB / 403.5 MB, free: 5.434 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004229/0.5024, allocations: 235.5 kB / 403.7 MB, free: 5.199 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.27e-05/0.5025, allocations: 14.94 kB / 403.8 MB, free: 5.199 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.5026, allocations: 27.8 kB / 403.8 MB, free: 5.195 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008362/0.5034, allocations: 256.1 kB / 404 MB, free: 5.113 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.102e-05/0.5035, allocations: 11.89 kB / 404 MB, free: 5.102 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.085e-05/0.5036, allocations: 10.91 kB / 404.1 MB, free: 5.102 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.5036, allocations: 7.844 kB / 404.1 MB, free: 5.098 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008332/0.5045, allocations: 213.2 kB / 404.3 MB, free: 5.082 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002475/0.507, allocations: 0.7371 MB / 405 MB, free: 4.629 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009094/0.5079, allocations: 240.5 kB / 405.2 MB, free: 4.582 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000438/0.5084, allocations: 134 kB / 405.4 MB, free: 4.57 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.856e-05/0.5084, allocations: 0 / 405.4 MB, free: 4.57 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.5085, allocations: 42.39 kB / 405.4 MB, free: 4.523 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 3.601e-06/0.5085, allocations: 0 / 405.4 MB, free: 4.523 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.003969/0.5125, allocations: 1.224 MB / 406.6 MB, free: 3.875 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.5126, allocations: 51.41 kB / 406.7 MB, free: 3.812 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000308/0.5129, allocations: 171.9 kB / 406.9 MB, free: 3.703 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.095e-05/0.513, allocations: 36.23 kB / 406.9 MB, free: 3.672 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.235e-05/0.5131, allocations: 133.4 kB / 407 MB, free: 3.562 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.5132, allocations: 118.3 kB / 407.1 MB, free: 3.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/0.5133, allocations: 7 kB / 407.1 MB, free: 3.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.335e-05/0.5134, allocations: 329.5 kB / 407.5 MB, free: 3.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004458/0.5139, allocations: 116.4 kB / 407.6 MB, free: 3.156 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004972/0.5144, allocations: 158.4 kB / 407.7 MB, free: 3.113 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003786/0.5148, allocations: 109.7 kB / 407.8 MB, free: 3.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.981e-06/0.5148, allocations: 0 / 407.8 MB, free: 3.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001662/0.5165, allocations: 480.6 kB / 408.3 MB, free: 2.969 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.5165, allocations: 15.7 kB / 408.3 MB, free: 2.961 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.5166, allocations: 0 / 408.3 MB, free: 2.961 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008804/0.5175, allocations: 242.7 kB / 408.6 MB, free: 2.902 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004375/0.5179, allocations: 50.16 kB / 408.6 MB, free: 2.891 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00111/0.5191, allocations: 0.7356 MB / 409.4 MB, free: 2.348 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005133/0.5196, allocations: 56.23 kB / 409.4 MB, free: 2.328 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.377e-05/0.5197, allocations: 19.17 kB / 409.4 MB, free: 2.324 MB / 314.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.0001585/0.5199, allocations: 126.8 kB / 409.5 MB, free: 2.207 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.52, allocations: 27.23 kB / 409.6 MB, free: 2.191 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.5201, allocations: 33.62 kB / 409.6 MB, free: 2.184 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.5202, allocations: 7.828 kB / 409.6 MB, free: 2.18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.606e-06/0.5202, allocations: 0 / 409.6 MB, free: 2.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.541e-06/0.5202, allocations: 3.594 kB / 409.6 MB, free: 2.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002953/0.5232, allocations: 0.9798 MB / 410.6 MB, free: 17.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.471e-06/0.5232, allocations: 3.875 kB / 410.6 MB, free: 17.65 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004664/0.5237, allocations: 50.62 kB / 410.7 MB, free: 17.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007739/0.5245, allocations: 223.3 kB / 410.9 MB, free: 17.58 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.652e-05/0.5246, allocations: 14.89 kB / 410.9 MB, free: 17.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001184/0.5258, allocations: 0.7078 MB / 411.6 MB, free: 17.02 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.246e-06/0.5258, allocations: 4.062 kB / 411.6 MB, free: 17.02 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002023/0.5279, allocations: 0.6736 MB / 412.3 MB, free: 16.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002865/0.5282, allocations: 130.1 kB / 412.4 MB, free: 16.63 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.5283, allocations: 10.22 kB / 412.4 MB, free: 16.63 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005536/0.5289, allocations: 54.28 kB / 412.5 MB, free: 16.61 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001919/0.5291, allocations: 58.03 kB / 412.5 MB, free: 16.58 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-05/0.5292, allocations: 7.625 kB / 412.5 MB, free: 16.58 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002384/0.5294, allocations: 148.1 kB / 412.7 MB, free: 16.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.19e-06/0.5294, allocations: 3.938 kB / 412.7 MB, free: 16.49 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007972/0.5303, allocations: 72.34 kB / 412.7 MB, free: 16.49 MB / 330.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.0003265/0.5306, allocations: 137.6 kB / 412.9 MB, free: 16.38 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001122/0.5317, allocations: 292 kB / 413.2 MB, free: 16.36 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.28e-06/0.5318, allocations: 0 / 413.2 MB, free: 16.36 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005443/0.5323, allocations: 145.4 kB / 413.3 MB, free: 16.35 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000551/0.5329, allocations: 26.58 kB / 413.3 MB, free: 16.34 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002971/0.5359, allocations: 0.6634 MB / 414 MB, free: 16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006052/0.5365, allocations: 0.7666 MB / 414.8 MB, free: 15.27 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002112/0.5368, allocations: 21.39 kB / 414.8 MB, free: 15.26 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.5369, allocations: 22.03 kB / 414.8 MB, free: 15.25 MB / 330.7 MB Notification: Performance of SimCode: time 2.356e-06/0.5369, allocations: 0 / 414.8 MB, free: 15.25 MB / 330.7 MB Notification: Performance of Templates: time 0.01605/0.553, allocations: 4.169 MB / 419 MB, free: 13.12 MB / 330.7 MB