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_trunk_ModelicaTest.Rotational.TestBearingConversion") Notification: Performance of loadModel(ModelicaTest): time 2.652/2.652, allocations: 270.1 MB / 283.6 MB, free: 1.762 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.398e-05/3.421e-05, allocations: 4 kB / 348.4 MB, free: 2.664 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3486, allocations: 61.89 MB / 410.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1606/0.5092, allocations: 103.1 MB / 0.5014 GB, free: 3.41 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.5095, allocations: 63.97 kB / 0.5015 GB, free: 3.348 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6891/1.199, allocations: 66.24 MB / 0.5661 GB, free: 75.64 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.77e-06/1.199, allocations: 0 / 0.5661 GB, free: 75.64 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001547/1.199, allocations: 67.98 kB / 0.5662 GB, free: 75.57 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.008328/1.207, allocations: 2.868 MB / 0.569 GB, free: 72.65 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/1.207, allocations: 8.031 kB / 0.569 GB, free: 72.64 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002034/1.209, allocations: 407.9 kB / 0.5694 GB, free: 72.24 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002938/1.212, allocations: 1.294 MB / 0.5707 GB, free: 70.89 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008369/1.213, allocations: 0.5806 MB / 0.5712 GB, free: 70.25 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006973/1.214, allocations: 311.6 kB / 0.5715 GB, free: 69.95 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0066/1.22, allocations: 3.138 MB / 0.5746 GB, free: 66.7 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001547/1.221, allocations: 39.61 kB / 0.5746 GB, free: 66.66 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003925/1.221, allocations: 112 kB / 0.5747 GB, free: 66.55 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.704e-05/1.221, allocations: 72 kB / 0.5748 GB, free: 66.48 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006766/1.228, allocations: 3.043 MB / 0.5778 GB, free: 63.44 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02045/1.248, allocations: 9.793 MB / 0.5873 GB, free: 53.4 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005777/1.254, allocations: 2.886 MB / 0.5902 GB, free: 50.33 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003537/1.258, allocations: 1.558 MB / 0.5917 GB, free: 48.73 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003881/1.258, allocations: 220 kB / 0.5919 GB, free: 48.48 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.476e-05/1.258, allocations: 97.05 kB / 0.592 GB, free: 48.37 MB / 442.7 MB Notification: Performance of pre-optimization done (n=366): time 9.255e-06/1.258, allocations: 0 / 0.592 GB, free: 48.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=429): time 0.03282/1.291, allocations: 17.38 MB / 0.609 GB, free: 29.89 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001476/1.291, allocations: 0.6162 MB / 0.6096 GB, free: 29.14 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00233/1.294, allocations: 1.295 MB / 0.6108 GB, free: 27.85 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007712/1.294, allocations: 121.7 kB / 0.6109 GB, free: 27.72 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007014/1.295, allocations: 0.8997 MB / 0.6118 GB, free: 26.81 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00156/1.297, allocations: 1.437 MB / 0.6132 GB, free: 25.35 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004593/1.297, allocations: 87.98 kB / 0.6133 GB, free: 25.27 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002233/1.297, allocations: 467 kB / 0.6138 GB, free: 24.8 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003491/1.301, allocations: 1.352 MB / 0.6151 GB, free: 23.44 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004432/1.305, allocations: 2.047 MB / 0.6171 GB, free: 21.12 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003531/1.309, allocations: 1.37 MB / 0.6184 GB, free: 19.76 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.178e-05/1.309, allocations: 4 kB / 0.6184 GB, free: 19.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=538) (initialization): time 0.01178/1.321, allocations: 4.567 MB / 0.6229 GB, free: 15.15 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.088e-05/1.321, allocations: 12.84 kB / 0.6229 GB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.727e-05/1.321, allocations: 28.09 kB / 0.6229 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005122/1.326, allocations: 1.729 MB / 0.6246 GB, free: 13.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004366/1.331, allocations: 0.8152 MB / 0.6254 GB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0227/1.353, allocations: 16.24 MB / 0.6413 GB, free: 11.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004265/1.358, allocations: 387.6 kB / 0.6416 GB, free: 11.03 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009389/1.359, allocations: 183.9 kB / 0.6418 GB, free: 10.85 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.001173/1.36, allocations: 360.1 kB / 0.6421 GB, free: 10.49 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00133/1.361, allocations: 292.5 kB / 0.6424 GB, free: 10.2 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004751/1.366, allocations: 1.537 MB / 0.6439 GB, free: 8.629 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.143e-05/1.366, allocations: 44 kB / 0.644 GB, free: 8.586 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.189e-05/1.366, allocations: 12 kB / 0.644 GB, free: 8.574 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.175e-05/1.366, allocations: 23.92 kB / 0.644 GB, free: 8.551 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.02992/1.396, allocations: 10.05 MB / 0.6538 GB, free: 14.28 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-05/1.396, allocations: 8 kB / 0.6538 GB, free: 14.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004751/1.401, allocations: 0.7381 MB / 0.6545 GB, free: 13.53 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005738/1.407, allocations: 1.591 MB / 0.6561 GB, free: 11.91 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008967/1.408, allocations: 139.8 kB / 0.6562 GB, free: 11.78 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02659/1.434, allocations: 15.72 MB / 0.6716 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.182e-05/1.434, allocations: 15.94 kB / 0.6716 GB, free: 11.15 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01831/1.453, allocations: 7.848 MB / 0.6793 GB, free: 2.883 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002544/1.455, allocations: 0.6966 MB / 0.6799 GB, free: 2.164 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001097/1.456, allocations: 116 kB / 0.68 GB, free: 2.051 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004499/1.461, allocations: 351.7 kB / 0.6804 GB, free: 1.707 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002097/1.463, allocations: 0.6134 MB / 0.681 GB, free: 1.094 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007965/1.464, allocations: 171.8 kB / 0.6811 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002308/1.466, allocations: 0.9848 MB / 0.6821 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.54e-07/1.466, allocations: 0 / 0.6821 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006543/1.473, allocations: 0.9882 MB / 0.6831 GB, free: 14.96 MB / 0.4948 GB 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.001136/1.474, allocations: 313.5 kB / 0.6834 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01156/1.486, allocations: 4.537 MB / 0.6878 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/1.486, allocations: 0 / 0.6878 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01098/1.497, allocations: 3.649 MB / 0.6914 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004184/1.501, allocations: 382 kB / 0.6917 GB, free: 5.949 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0183/1.519, allocations: 6.95 MB / 0.6985 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00311/1.522, allocations: 1.904 MB / 0.7004 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002901/1.525, allocations: 446.8 kB / 0.7008 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001367/1.527, allocations: 243.3 kB / 0.701 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of SimCode: time 2.223e-06/1.527, allocations: 0 / 0.701 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.4287/1.955, allocations: 51.46 MB / 0.7513 GB, free: 135.3 MB / 0.5105 GB