Running command: translateModel(ModelicaTest.Rotational.TestBearingConversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bearingFriction.phi|bearingFriction.w|gear2_1.phi_rel|gear2_1.w_rel|gear2_2.phi_rel|gear2_2.w_rel|inertia1.phi|inertia1.w|inertia11.phi|inertia11.w|inertia2.phi|inertia2.w|inertia20.phi|inertia20.w|inertia21.phi|inertia21.w|inertia3.phi|inertia3.w|inertia5.phi|inertia5.w|inertia7.phi|inertia7.w|inertia9.phi|inertia9.w|position.phi|position.w|position1.phi|position1.w|position2.phi|position2.w|position3.phi|position3.w|position4.phi|position4.w|position5.phi|position5.w|slidingMass.s|slidingMass.v|slidingMass1.s|slidingMass1.v|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward|brake.mode|brake.startBackward|brake.startForward|brake1.mode|brake1.startBackward|brake1.startForward|gear2_1.lossyGear.mode|gear2_2.lossyGear.mode|lossyGear.mode|lossyGear1.mode",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.TestBearingConversion") Notification: Performance of loadModel(ModelicaTest): time 2.458/2.458, allocations: 235 MB / 247.2 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.884e-05/3.906e-05, allocations: 4 kB / 304.9 MB, free: 5.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.385, allocations: 54.86 MB / 359.8 MB, free: 3.031 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1481/0.5332, allocations: 96.29 MB / 456.1 MB, free: 0.668 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002023/0.5334, allocations: 67.97 kB / 456.1 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2762/0.8097, allocations: 63.76 MB / 0.5077 GB, free: 0.7109 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.243e-06/0.8098, allocations: 0 / 0.5077 GB, free: 0.7109 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002157/0.81, allocations: 71.98 kB / 0.5078 GB, free: 0.6406 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 719 * Number of variables: 719 Notification: Performance of Generate backend data structure: time 0.01026/0.8203, allocations: 2.868 MB / 0.5106 GB, free: 13.71 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.8203, allocations: 8.031 kB / 0.5106 GB, free: 13.71 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002743/0.8231, allocations: 411.8 kB / 0.511 GB, free: 13.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004157/0.8273, allocations: 1.29 MB / 0.5122 GB, free: 11.96 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00121/0.8285, allocations: 0.5845 MB / 0.5128 GB, free: 11.31 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001244/0.8298, allocations: 315.6 kB / 0.5131 GB, free: 11 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01003/0.8398, allocations: 3.138 MB / 0.5162 GB, free: 7.754 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002577/0.8401, allocations: 35.7 kB / 0.5162 GB, free: 7.719 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000663/0.8408, allocations: 116 kB / 0.5163 GB, free: 7.605 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.15e-05/0.8409, allocations: 68 kB / 0.5164 GB, free: 7.539 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008555/0.8495, allocations: 3.055 MB / 0.5194 GB, free: 4.484 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3548/1.204, allocations: 9.768 MB / 0.5289 GB, free: 111 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006847/1.211, allocations: 2.873 MB / 0.5317 GB, free: 110.4 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004154/1.215, allocations: 1.559 MB / 0.5332 GB, free: 110.3 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000538/1.216, allocations: 228.2 kB / 0.5334 GB, free: 110.1 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.651e-05/1.216, allocations: 89.25 kB / 0.5335 GB, free: 110 MB / 458.7 MB Notification: Performance of pre-optimization done (n=366): time 1.176e-05/1.216, allocations: 2.75 kB / 0.5335 GB, free: 110 MB / 458.7 MB Notification: Performance of matching and sorting (n=429): time 0.03678/1.253, allocations: 17.4 MB / 0.5505 GB, free: 101.1 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001688/1.253, allocations: 0.6129 MB / 0.5511 GB, free: 100.4 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002786/1.256, allocations: 1.299 MB / 0.5524 GB, free: 100.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008706/1.257, allocations: 119.7 kB / 0.5525 GB, free: 100.2 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009008/1.258, allocations: 0.9021 MB / 0.5534 GB, free: 99.9 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001932/1.26, allocations: 1.438 MB / 0.5548 GB, free: 98.9 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005744/1.26, allocations: 88.81 kB / 0.5549 GB, free: 98.84 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002765/1.261, allocations: 466.3 kB / 0.5553 GB, free: 98.46 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003994/1.265, allocations: 1.342 MB / 0.5566 GB, free: 97.92 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004816/1.269, allocations: 2.053 MB / 0.5586 GB, free: 96.59 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003971/1.273, allocations: 1.365 MB / 0.56 GB, free: 96.12 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-05/1.274, allocations: 7.438 kB / 0.56 GB, free: 96.12 MB / 458.7 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01354/1.287, allocations: 4.583 MB / 0.5645 GB, free: 94.45 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.281e-05/1.287, allocations: 11.72 kB / 0.5645 GB, free: 94.45 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-05/1.287, allocations: 22.12 kB / 0.5645 GB, free: 94.45 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005673/1.293, allocations: 1.741 MB / 0.5662 GB, free: 93.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004686/1.298, allocations: 0.8054 MB / 0.567 GB, free: 93.92 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02243/1.32, allocations: 16.23 MB / 0.5828 GB, free: 80.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004366/1.325, allocations: 384.3 kB / 0.5832 GB, free: 80.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008983/1.325, allocations: 181.4 kB / 0.5834 GB, free: 80.77 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.bearingFriction1.startForward,bearingFriction1.startForward,$PRE.bearingFriction1.startBackward,bearingFriction1.startBackward,bearingFriction1.locked,$PRE.bearingFriction1.mode,bearingFriction1.mode,$PRE.bearingFriction.startForward,bearingFriction.startForward,$PRE.bearingFriction.startBackward,bearingFriction.startBackward,bearingFriction.locked,$PRE.bearingFriction.mode,bearingFriction.mode,brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode,brake1.free,$PRE.brake1.startForward,brake1.startForward,$PRE.brake1.startBackward,brake1.startBackward,brake1.locked,$PRE.brake1.mode,brake1.mode,gear2_2.lossyGear.tau_aPos,gear2_2.lossyGear.startForward,gear2_2.lossyGear.startBackward,gear2_2.lossyGear.locked,$PRE.gear2_2.lossyGear.mode,gear2_2.lossyGear.mode,gear2_2.lossyGear.ideal,gear2_1.lossyGear.tau_aPos,gear2_1.lossyGear.startForward,gear2_1.lossyGear.startBackward,gear2_1.lossyGear.locked,$PRE.gear2_1.lossyGear.mode,gear2_1.lossyGear.mode,gear2_1.lossyGear.ideal,lossyGear1.tau_aPos,lossyGear1.startForward,lossyGear1.startBackward,lossyGear1.locked,$PRE.lossyGear1.mode,lossyGear1.mode,lossyGear1.ideal,lossyGear.tau_aPos,lossyGear.startForward,lossyGear.startBackward,lossyGear.locked,$PRE.lossyGear.mode,lossyGear.mode,lossyGear.ideal,bearingFriction.free,bearingFriction1.free) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (403): * Single equations (assignments): 389 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 8 {1 6,1 12,1 6,1 6,2 22,2 22,2 25,2 24} Notification: Performance of prepare postOptimizeDAE: time 0.0009996/1.327, allocations: 364.2 kB / 0.5837 GB, free: 80.47 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001268/1.328, allocations: 289.5 kB / 0.584 GB, free: 80.33 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004283/1.332, allocations: 1.541 MB / 0.5855 GB, free: 79.61 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.873e-05/1.332, allocations: 47.83 kB / 0.5855 GB, free: 79.6 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.981e-05/1.332, allocations: 7.188 kB / 0.5855 GB, free: 79.6 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.66e-05/1.332, allocations: 24.92 kB / 0.5856 GB, free: 79.6 MB / 458.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02689/1.359, allocations: 10.05 MB / 0.5954 GB, free: 74.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.905e-05/1.359, allocations: 14.31 kB / 0.5954 GB, free: 74.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005071/1.364, allocations: 0.7319 MB / 0.5961 GB, free: 74.75 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005372/1.37, allocations: 1.597 MB / 0.5977 GB, free: 74.29 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008028/1.371, allocations: 140.3 kB / 0.5978 GB, free: 74.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02085/1.392, allocations: 15.71 MB / 0.6131 GB, free: 60.53 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.33e-05/1.392, allocations: 15.94 kB / 0.6132 GB, free: 60.52 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01477/1.406, allocations: 7.855 MB / 0.6208 GB, free: 52.67 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002522/1.409, allocations: 0.7102 MB / 0.6215 GB, free: 52.08 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001257/1.41, allocations: 111 kB / 0.6216 GB, free: 51.97 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004786/1.415, allocations: 353.5 kB / 0.622 GB, free: 51.7 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002027/1.417, allocations: 0.6068 MB / 0.6226 GB, free: 51.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000739/1.418, allocations: 165.3 kB / 0.6227 GB, free: 51.24 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00205/1.42, allocations: 0.9812 MB / 0.6237 GB, free: 50.36 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.024e-06/1.42, allocations: 7.938 kB / 0.6237 GB, free: 50.35 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006129/1.426, allocations: 0.991 MB / 0.6246 GB, free: 49.38 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 40 (slidingMass1.s,slidingMass1.v,slidingMass.s,slidingMass.v,inertia21.phi,inertia21.w,linearSpeedDependentTorque.phi,inertia20.w,position4.phi,position4.w,position5.phi,position5.w,position2.phi,position2.w,position3.phi,position3.w,gear2_2.phi_rel,gear2_2.w_rel,inertia11.phi,inertia11.w,position.phi,position.w,position1.phi,position1.w,gear2_1.phi_rel,gear2_1.w_rel,inertia9.phi,inertia9.w,inertia7.phi,inertia7.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,brake1.phi,inertia3.w,inertia.phi,inertia.w,inertia1.w,bearingFriction1.phi) * Number of discrete variables: 38 (gear2_2.lossyGear.tau_aPos,gear2_2.lossyGear.startForward,gear2_2.lossyGear.startBackward,gear2_2.lossyGear.locked,gear2_2.lossyGear.mode,gear2_1.lossyGear.tau_aPos,gear2_1.lossyGear.startForward,gear2_1.lossyGear.startBackward,gear2_1.lossyGear.locked,gear2_1.lossyGear.mode,lossyGear1.tau_aPos,lossyGear1.startForward,lossyGear1.startBackward,lossyGear1.locked,lossyGear1.mode,lossyGear.tau_aPos,lossyGear.startForward,lossyGear.startBackward,lossyGear.locked,lossyGear.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode,brake1.free,brake1.startForward,brake1.startBackward,brake1.locked,brake1.mode,bearingFriction.startForward,bearingFriction.startBackward,bearingFriction.locked,bearingFriction.mode,bearingFriction1.startForward,bearingFriction1.startBackward,bearingFriction1.locked,bearingFriction1.mode) * Number of discrete states: 16 (bearingFriction1.mode,bearingFriction1.startForward,bearingFriction1.startBackward,bearingFriction.mode,bearingFriction.startForward,bearingFriction.startBackward,brake1.mode,brake1.startForward,brake1.startBackward,brake.mode,brake.startForward,brake.startBackward,lossyGear.mode,lossyGear1.mode,gear2_1.lossyGear.mode,gear2_2.lossyGear.mode) * Top-level inputs: 0 Notification: Strong component statistics for simulation (303): * Single equations (assignments): 293 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 8 {2 21,2 21,2 23,2 23,1 5,1 5,1 9,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001154/1.427, allocations: 321.4 kB / 0.625 GB, free: 49.07 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01006/1.437, allocations: 4.533 MB / 0.6294 GB, free: 44.68 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.401e-05/1.438, allocations: 4 kB / 0.6294 GB, free: 44.68 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009528/1.447, allocations: 3.647 MB / 0.6329 GB, free: 41.17 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003973/1.451, allocations: 375.2 kB / 0.6333 GB, free: 40.87 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01569/1.467, allocations: 6.959 MB / 0.6401 GB, free: 34.58 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001861/1.469, allocations: 1.887 MB / 0.6419 GB, free: 33.07 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002619/1.471, allocations: 453.8 kB / 0.6424 GB, free: 32.74 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001141/1.473, allocations: 239.6 kB / 0.6426 GB, free: 32.55 MB / 458.7 MB Notification: Performance of SimCode: time 1.864e-06/1.473, allocations: 0 / 0.6426 GB, free: 32.55 MB / 458.7 MB Notification: Performance of Templates: time 0.1149/1.587, allocations: 51.48 MB / 0.6929 GB, free: 1.336 MB / 474.7 MB