Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gc1.actuatedRevolute_b.phi|gc1.actuatedRevolute_b.w|gc2.actuatedRevolute_b.phi|gc2.actuatedRevolute_b.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2") Notification: Performance of loadModel(ModelicaTest): time 2.505/2.505, allocations: 270 MB / 283.6 MB, free: 1.895 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.535e-05/3.555e-05, allocations: 4 kB / 348.4 MB, free: 2.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3298, allocations: 61.88 MB / 410.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1802/0.5101, allocations: 110.5 MB / 0.5086 GB, free: 12.04 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/0.5104, allocations: 79.95 kB / 0.5087 GB, free: 11.96 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.651/2.161, allocations: 280.9 MB / 0.783 GB, free: 57.18 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.275e-06/2.161, allocations: 3.938 kB / 0.783 GB, free: 57.18 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0007192/2.162, allocations: 278.6 kB / 0.7833 GB, free: 57.17 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5288 * Number of variables: 5288 Notification: Performance of Generate backend data structure: time 0.03933/2.201, allocations: 12.87 MB / 0.7958 GB, free: 52.14 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/2.202, allocations: 6.656 kB / 0.7958 GB, free: 52.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09938/2.301, allocations: 18.46 MB / 0.8139 GB, free: 51.11 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03973/2.341, allocations: 14.09 MB / 0.8276 GB, free: 49.52 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001261/2.342, allocations: 1.065 MB / 0.8287 GB, free: 49.49 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007262/2.349, allocations: 1.425 MB / 0.83 GB, free: 49.47 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1346/2.484, allocations: 35.15 MB / 0.8644 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007837/2.485, allocations: 130.7 kB / 0.8645 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006116/2.491, allocations: 0.647 MB / 0.8651 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005647/2.497, allocations: 3.59 MB / 0.8686 GB, free: 20.23 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08923/2.586, allocations: 31.29 MB / 0.8992 GB, free: 7.781 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5931/3.179, allocations: 137.2 MB / 1.033 GB, free: 50.64 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.045/3.224, allocations: 15 MB / 1.048 GB, free: 48.78 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01654/3.241, allocations: 9.236 MB / 1.057 GB, free: 47.11 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07778/3.319, allocations: 34.5 MB / 1.091 GB, free: 32.68 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.964e-05/3.319, allocations: 94.73 kB / 1.091 GB, free: 32.59 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=705): time 1.264e-05/3.319, allocations: 0 / 1.091 GB, free: 32.59 MB / 0.5886 GB Notification: Performance of matching and sorting (n=787): time 0.6176/3.936, allocations: 68.81 MB / 1.158 GB, free: 121 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/3.936, allocations: 305.5 kB / 1.158 GB, free: 120.7 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02118/3.958, allocations: 9.076 MB / 1.167 GB, free: 120 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.001405/3.959, allocations: 132.5 kB / 1.167 GB, free: 119.9 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.007327/3.966, allocations: 9.574 MB / 1.176 GB, free: 114.8 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.003667/3.97, allocations: 2.851 MB / 1.179 GB, free: 113.1 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002047/3.972, allocations: 344.6 kB / 1.18 GB, free: 113.1 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.001437/3.974, allocations: 1.081 MB / 1.181 GB, free: 112.8 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01691/3.991, allocations: 7.802 MB / 1.188 GB, free: 112.7 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02211/4.013, allocations: 17.04 MB / 1.205 GB, free: 101 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02303/4.036, allocations: 11.66 MB / 1.216 GB, free: 100.8 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003899/4.036, allocations: 95.95 kB / 1.216 GB, free: 100.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2328) (initialization): time 0.06151/4.098, allocations: 25.7 MB / 1.241 GB, free: 95.58 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002363/4.098, allocations: 147.4 kB / 1.242 GB, free: 95.58 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003661/4.098, allocations: 324 kB / 1.242 GB, free: 95.58 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008594/4.107, allocations: 2.391 MB / 1.244 GB, free: 95.18 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02044/4.127, allocations: 4.137 MB / 1.248 GB, free: 94.71 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02448/4.152, allocations: 14.34 MB / 1.262 GB, free: 87.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01775/4.17, allocations: 1.063 MB / 1.263 GB, free: 87.11 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003542/4.173, allocations: 0.9649 MB / 1.264 GB, free: 86.97 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1479 * Number of states: 0 () * Number of discrete variables: 97 (torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueArrow.arrowLine.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedFrame3.color_x[3],fixedFrame3.color_x[2],fixedFrame3.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],gc2.fixedTranslation2.color[3],gc2.fixedTranslation2.color[2],gc2.fixedTranslation2.color[1],gc2.fixedTranslation1.color[3],gc2.fixedTranslation1.color[2],gc2.fixedTranslation1.color[1],gc2.actuatedRevolute_b.cylinderColor[3],gc2.actuatedRevolute_b.cylinderColor[2],gc2.actuatedRevolute_b.cylinderColor[1],gc2.actuatedRevolute_a.cylinderColor[3],gc2.actuatedRevolute_a.cylinderColor[2],gc2.actuatedRevolute_a.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],gc1.fixedTranslation2.color[3],gc1.fixedTranslation2.color[2],gc1.fixedTranslation2.color[1],gc1.fixedTranslation1.color[3],gc1.fixedTranslation1.color[2],gc1.fixedTranslation1.color[1],gc1.actuatedRevolute_b.cylinderColor[3],gc1.actuatedRevolute_b.cylinderColor[2],gc1.actuatedRevolute_b.cylinderColor[1],gc1.actuatedRevolute_a.cylinderColor[3],gc1.actuatedRevolute_a.cylinderColor[2],gc1.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2132): * Single equations (assignments): 2115 * Array equations: 15 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,77.8%) 36,(3,77.8%) 36} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004551/4.178, allocations: 1.385 MB / 1.266 GB, free: 85.86 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002297/4.18, allocations: 0.9839 MB / 1.267 GB, free: 85.32 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03194/4.212, allocations: 15.08 MB / 1.281 GB, free: 73.45 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002237/4.212, allocations: 160.2 kB / 1.281 GB, free: 73.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.949e-05/4.213, allocations: 14.53 kB / 1.281 GB, free: 73.29 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001273/4.213, allocations: 33.48 kB / 1.281 GB, free: 73.29 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09171/4.304, allocations: 33.31 MB / 1.314 GB, free: 45.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.962e-05/4.305, allocations: 8.094 kB / 1.314 GB, free: 45.55 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008494/4.313, allocations: 1.315 MB / 1.315 GB, free: 44.52 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007336/4.32, allocations: 1.766 MB / 1.317 GB, free: 43.27 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001379/4.322, allocations: 129.4 kB / 1.317 GB, free: 43.15 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02138/4.343, allocations: 12.93 MB / 1.33 GB, free: 31.61 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.09e-05/4.343, allocations: 11.94 kB / 1.33 GB, free: 31.59 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.431/4.774, allocations: 26.49 MB / 1.356 GB, free: 111.5 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003425/4.778, allocations: 0.9628 MB / 1.357 GB, free: 111.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003742/4.782, allocations: 117.5 kB / 1.357 GB, free: 111.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008604/4.79, allocations: 0.513 MB / 1.357 GB, free: 111.4 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002192/4.792, allocations: 420.1 kB / 1.358 GB, free: 111.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001341/4.794, allocations: 179.6 kB / 1.358 GB, free: 111.4 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.01632/4.81, allocations: 6.272 MB / 1.364 GB, free: 111 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.172e-06/4.81, allocations: 1.656 kB / 1.364 GB, free: 111 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.02079/4.831, allocations: 3.321 MB / 1.367 GB, free: 111 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 4 (gc1.actuatedRevolute_b.phi,gc1.actuatedRevolute_b.w,gc2.actuatedRevolute_b.phi,gc2.actuatedRevolute_b.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (611): * Single equations (assignments): 594 * Array equations: 15 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 32,(1,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001829/4.833, allocations: 308.4 kB / 1.367 GB, free: 110.9 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.03712/4.87, allocations: 18.23 MB / 1.385 GB, free: 110.6 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/4.87, allocations: 3.625 kB / 1.385 GB, free: 110.6 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.02344/4.893, allocations: 7.203 MB / 1.392 GB, free: 110.3 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01699/4.911, allocations: 1.249 MB / 1.394 GB, free: 110.2 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1092/5.02, allocations: 28.31 MB / 1.421 GB, free: 105.3 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02568/5.046, allocations: 10.29 MB / 1.431 GB, free: 104.2 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.02681/5.072, allocations: 6.483 MB / 1.438 GB, free: 104.1 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007682/5.08, allocations: 0.6958 MB / 1.438 GB, free: 104.1 MB / 0.5886 GB Notification: Performance of SimCode: time 2.704e-06/5.08, allocations: 0 / 1.438 GB, free: 104.1 MB / 0.5886 GB Notification: Performance of Templates: time 0.2981/5.378, allocations: 96.16 MB / 1.532 GB, free: 38.59 MB / 0.5886 GB