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_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2") Notification: Performance of loadModel(ModelicaTest): time 2.311/2.311, allocations: 270 MB / 283.6 MB, free: 3.039 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.41e-05/3.415e-05, allocations: 6.109 kB / 348.4 MB, free: 10.81 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1141, allocations: 61.88 MB / 410.3 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5155/0.6297, allocations: 110.5 MB / 0.5085 GB, free: 9.641 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004575/0.6302, allocations: 91.94 kB / 0.5086 GB, free: 9.551 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.474/2.104, allocations: 280.9 MB / 0.783 GB, free: 16.69 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.21e-06/2.104, allocations: 0 / 0.783 GB, free: 16.69 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0006792/2.105, allocations: 275.9 kB / 0.7833 GB, free: 16.42 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.03975/2.145, allocations: 12.86 MB / 0.7958 GB, free: 3.453 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/2.145, allocations: 12.03 kB / 0.7958 GB, free: 3.441 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09885/2.243, allocations: 18.45 MB / 0.8138 GB, free: 0.9375 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3953/2.639, allocations: 14.07 MB / 0.8276 GB, free: 59.28 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001444/2.64, allocations: 1.072 MB / 0.8286 GB, free: 59.25 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006956/2.647, allocations: 1.426 MB / 0.83 GB, free: 59.23 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0941/2.741, allocations: 35.15 MB / 0.8644 GB, free: 53.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00082/2.742, allocations: 128.8 kB / 0.8645 GB, free: 53.69 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006209/2.748, allocations: 0.6451 MB / 0.8651 GB, free: 53.69 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006084/2.755, allocations: 3.597 MB / 0.8686 GB, free: 53.66 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07863/2.833, allocations: 31.25 MB / 0.8991 GB, free: 49.27 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2276/3.061, allocations: 137.2 MB / 1.033 GB, free: 4.891 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.462/3.523, allocations: 16.36 MB / 1.049 GB, free: 114.1 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01741/3.54, allocations: 9.234 MB / 1.058 GB, free: 114 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07863/3.619, allocations: 34.5 MB / 1.092 GB, free: 111.6 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.227e-05/3.619, allocations: 100.5 kB / 1.092 GB, free: 111.6 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=705): time 1.321e-05/3.619, allocations: 3.75 kB / 1.092 GB, free: 111.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=787): time 0.2526/3.872, allocations: 68.61 MB / 1.159 GB, free: 93.77 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/3.872, allocations: 305.9 kB / 1.159 GB, free: 93.48 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02171/3.894, allocations: 9.074 MB / 1.168 GB, free: 90.25 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.002272/3.896, allocations: 133.6 kB / 1.168 GB, free: 90.14 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.01222/3.908, allocations: 9.577 MB / 1.178 GB, free: 82.83 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.006206/3.915, allocations: 2.854 MB / 1.18 GB, free: 80.72 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00313/3.918, allocations: 343.1 kB / 1.181 GB, free: 80.45 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.00242/3.92, allocations: 1.08 MB / 1.182 GB, free: 79.63 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0304/3.951, allocations: 7.801 MB / 1.189 GB, free: 72.57 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03461/3.985, allocations: 17.04 MB / 1.206 GB, free: 52.45 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02124/4.007, allocations: 11.66 MB / 1.217 GB, free: 43.13 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002642/4.007, allocations: 96 kB / 1.217 GB, free: 43.04 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2328) (initialization): time 0.07026/4.077, allocations: 25.7 MB / 1.243 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004352/4.078, allocations: 146.5 kB / 1.243 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000708/4.078, allocations: 324 kB / 1.243 GB, free: 20.84 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01616/4.095, allocations: 2.401 MB / 1.245 GB, free: 18.97 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03747/4.132, allocations: 4.13 MB / 1.249 GB, free: 15.45 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4037/4.536, allocations: 14.33 MB / 1.263 GB, free: 91.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01768/4.554, allocations: 1.061 MB / 1.264 GB, free: 91.32 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004253/4.558, allocations: 0.9695 MB / 1.265 GB, free: 91.32 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.006183/4.564, allocations: 1.391 MB / 1.267 GB, free: 91.19 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002887/4.567, allocations: 0.9797 MB / 1.268 GB, free: 91.19 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03873/4.606, allocations: 15.07 MB / 1.282 GB, free: 90.8 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002541/4.606, allocations: 163.3 kB / 1.283 GB, free: 90.8 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.239e-05/4.606, allocations: 13.12 kB / 1.283 GB, free: 90.8 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001379/4.606, allocations: 31.08 kB / 1.283 GB, free: 90.8 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08689/4.693, allocations: 33.32 MB / 1.315 GB, free: 89.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.958e-05/4.693, allocations: 7.062 kB / 1.315 GB, free: 89.27 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008647/4.702, allocations: 1.313 MB / 1.316 GB, free: 89.27 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008075/4.71, allocations: 1.769 MB / 1.318 GB, free: 89.25 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001673/4.712, allocations: 122.6 kB / 1.318 GB, free: 89.25 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02341/4.735, allocations: 12.93 MB / 1.331 GB, free: 83.38 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.642e-06/4.735, allocations: 5.906 kB / 1.331 GB, free: 83.38 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0496/4.785, allocations: 25.27 MB / 1.356 GB, free: 73.01 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003261/4.788, allocations: 0.9693 MB / 1.357 GB, free: 72.74 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003665/4.792, allocations: 118.1 kB / 1.357 GB, free: 72.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008354/4.8, allocations: 0.508 MB / 1.357 GB, free: 72.57 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00226/4.803, allocations: 419.5 kB / 1.358 GB, free: 72.51 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00163/4.804, allocations: 183.5 kB / 1.358 GB, free: 72.47 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.01595/4.82, allocations: 6.263 MB / 1.364 GB, free: 70.39 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.198e-06/4.82, allocations: 0 / 1.364 GB, free: 70.39 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.02056/4.841, allocations: 3.33 MB / 1.367 GB, free: 70.02 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.001775/4.843, allocations: 308.7 kB / 1.367 GB, free: 69.85 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.03619/4.879, allocations: 18.24 MB / 1.385 GB, free: 64.23 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/4.879, allocations: 0 / 1.385 GB, free: 64.23 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01517/4.894, allocations: 7.202 MB / 1.392 GB, free: 60.37 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008291/4.902, allocations: 1.243 MB / 1.393 GB, free: 59.33 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06877/4.971, allocations: 28.3 MB / 1.421 GB, free: 34.05 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02527/4.997, allocations: 10.28 MB / 1.431 GB, free: 26.62 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.02381/5.02, allocations: 6.486 MB / 1.437 GB, free: 22.74 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004801/5.025, allocations: 0.7005 MB / 1.438 GB, free: 22.07 MB / 0.5886 GB Notification: Performance of SimCode: time 1.947e-06/5.025, allocations: 0 / 1.438 GB, free: 22.07 MB / 0.5886 GB Notification: Performance of Templates: time 1.153/6.179, allocations: 96.15 MB / 1.532 GB, free: 97.74 MB / 0.6043 GB