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.3_ModelicaTest.Rotational.TestBearingConversion") Notification: Performance of loadModel(ModelicaTest): time 2.502/2.502, allocations: 249.5 MB / 261.6 MB, free: 2.172 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.342e-05/3.397e-05, allocations: 0 / 323.4 MB, free: 4.32 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3215, allocations: 58.82 MB / 382.2 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1556/0.4771, allocations: 101.7 MB / 483.9 MB, free: 6.848 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/0.4774, allocations: 63.97 kB / 483.9 MB, free: 6.785 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.5689/1.046, allocations: 65.24 MB / 0.5363 GB, free: 113.5 MB / 458.8 MB Notification: Performance of FrontEnd: time 1.958e-06/1.046, allocations: 0 / 0.5363 GB, free: 113.5 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0001717/1.047, allocations: 69.84 kB / 0.5364 GB, free: 113.5 MB / 458.8 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.009458/1.056, allocations: 2.866 MB / 0.5392 GB, free: 112.5 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/1.056, allocations: 12.53 kB / 0.5392 GB, free: 112.5 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002359/1.058, allocations: 410.6 kB / 0.5396 GB, free: 112.3 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003445/1.062, allocations: 1.29 MB / 0.5408 GB, free: 111.9 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009195/1.063, allocations: 0.5838 MB / 0.5414 GB, free: 111.6 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009896/1.064, allocations: 313.3 kB / 0.5417 GB, free: 111.5 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008508/1.072, allocations: 3.127 MB / 0.5447 GB, free: 111.2 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001855/1.073, allocations: 41.17 kB / 0.5448 GB, free: 111.2 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004035/1.073, allocations: 118.5 kB / 0.5449 GB, free: 111.2 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.297e-05/1.073, allocations: 69.69 kB / 0.545 GB, free: 111.2 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008293/1.081, allocations: 3.044 MB / 0.5479 GB, free: 111.2 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02217/1.104, allocations: 9.782 MB / 0.5575 GB, free: 106.6 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006119/1.11, allocations: 2.882 MB / 0.5603 GB, free: 105.1 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004006/1.114, allocations: 1.566 MB / 0.5618 GB, free: 104.4 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000462/1.114, allocations: 224.3 kB / 0.562 GB, free: 104.2 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.263e-05/1.114, allocations: 91.28 kB / 0.5621 GB, free: 104.1 MB / 458.8 MB Notification: Performance of pre-optimization done (n=366): time 1e-05/1.114, allocations: 0 / 0.5621 GB, free: 104.1 MB / 458.8 MB Notification: Performance of matching and sorting (n=429): time 0.03394/1.148, allocations: 17.41 MB / 0.5791 GB, free: 89.48 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/1.149, allocations: 0.6077 MB / 0.5797 GB, free: 88.74 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002305/1.151, allocations: 1.297 MB / 0.581 GB, free: 87.57 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007426/1.152, allocations: 124.3 kB / 0.5811 GB, free: 87.45 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006747/1.152, allocations: 0.9015 MB / 0.582 GB, free: 86.62 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001327/1.154, allocations: 1.436 MB / 0.5834 GB, free: 85.35 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003343/1.154, allocations: 80 kB / 0.5835 GB, free: 85.27 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0002139/1.154, allocations: 473 kB / 0.5839 GB, free: 84.85 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003331/1.158, allocations: 1.349 MB / 0.5852 GB, free: 83.54 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004277/1.162, allocations: 2.046 MB / 0.5872 GB, free: 81.31 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003628/1.166, allocations: 1.37 MB / 0.5886 GB, free: 80.09 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.96e-05/1.166, allocations: 4 kB / 0.5886 GB, free: 80.09 MB / 458.8 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.0124/1.178, allocations: 4.573 MB / 0.593 GB, free: 75.84 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.373e-05/1.178, allocations: 16 kB / 0.5931 GB, free: 75.83 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.862e-05/1.178, allocations: 20 kB / 0.5931 GB, free: 75.81 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005239/1.184, allocations: 1.736 MB / 0.5948 GB, free: 74.33 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004239/1.188, allocations: 0.808 MB / 0.5956 GB, free: 73.65 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02078/1.209, allocations: 16.24 MB / 0.6114 GB, free: 57.35 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003794/1.212, allocations: 380.6 kB / 0.6118 GB, free: 57.05 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004652/1.213, allocations: 184.9 kB / 0.612 GB, free: 56.88 MB / 458.8 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.0008488/1.214, allocations: 363.8 kB / 0.6123 GB, free: 56.52 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009995/1.215, allocations: 296.7 kB / 0.6126 GB, free: 56.23 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003887/1.219, allocations: 1.539 MB / 0.6141 GB, free: 54.89 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.691e-05/1.219, allocations: 44 kB / 0.6141 GB, free: 54.85 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.757e-05/1.219, allocations: 4 kB / 0.6141 GB, free: 54.85 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.913e-05/1.219, allocations: 26.36 kB / 0.6142 GB, free: 54.84 MB / 458.8 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.02407/1.243, allocations: 10.05 MB / 0.624 GB, free: 44.81 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.572e-05/1.243, allocations: 12.78 kB / 0.624 GB, free: 44.8 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004537/1.248, allocations: 0.7373 MB / 0.6247 GB, free: 44.06 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00499/1.253, allocations: 1.6 MB / 0.6263 GB, free: 42.46 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007927/1.253, allocations: 139.9 kB / 0.6264 GB, free: 42.33 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01992/1.273, allocations: 15.69 MB / 0.6417 GB, free: 25.76 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.265e-05/1.273, allocations: 19.88 kB / 0.6417 GB, free: 25.74 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01529/1.289, allocations: 7.861 MB / 0.6494 GB, free: 17.46 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002327/1.291, allocations: 0.7041 MB / 0.6501 GB, free: 16.73 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000936/1.292, allocations: 112 kB / 0.6502 GB, free: 16.62 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004505/1.297, allocations: 351.7 kB / 0.6506 GB, free: 16.28 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001901/1.299, allocations: 0.6174 MB / 0.6512 GB, free: 15.66 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004969/1.299, allocations: 163.9 kB / 0.6513 GB, free: 15.5 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.001871/1.301, allocations: 0.981 MB / 0.6523 GB, free: 14.53 MB / 458.8 MB Notification: Performance of sort global known variables: time 8.95e-07/1.301, allocations: 0 / 0.6523 GB, free: 14.53 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.005874/1.307, allocations: 0.9921 MB / 0.6532 GB, free: 13.54 MB / 458.8 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.001008/1.308, allocations: 319.9 kB / 0.6535 GB, free: 13.22 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.009581/1.318, allocations: 4.525 MB / 0.658 GB, free: 8.602 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/1.318, allocations: 0 / 0.658 GB, free: 8.602 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.009661/1.327, allocations: 3.648 MB / 0.6615 GB, free: 4.902 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003981/1.331, allocations: 395.9 kB / 0.6619 GB, free: 4.527 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01623/1.348, allocations: 6.951 MB / 0.6687 GB, free: 13.51 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002627/1.35, allocations: 1.893 MB / 0.6705 GB, free: 11.58 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.002731/1.353, allocations: 450.8 kB / 0.671 GB, free: 11.14 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001187/1.354, allocations: 239.3 kB / 0.6712 GB, free: 10.9 MB / 474.8 MB Notification: Performance of SimCode: time 1.939e-06/1.354, allocations: 0 / 0.6712 GB, free: 10.9 MB / 474.8 MB Notification: Performance of Templates: time 0.4111/1.765, allocations: 51.45 MB / 0.7214 GB, free: 143.6 MB / 0.4949 GB