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_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2") Notification: Performance of loadModel(ModelicaTest): time 2.33/2.33, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.48e-05/3.502e-05, allocations: 4 kB / 323.4 MB, free: 4.312 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3225, allocations: 58.83 MB / 382.2 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1659/0.4884, allocations: 109.5 MB / 491.7 MB, free: 15.02 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/0.4887, allocations: 79.95 kB / 491.7 MB, free: 14.94 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.601/2.09, allocations: 285.9 MB / 0.7595 GB, free: 55.41 MB / 0.4949 GB Notification: Performance of FrontEnd: time 3.502e-06/2.09, allocations: 0 / 0.7595 GB, free: 55.41 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0007218/2.09, allocations: 283.7 kB / 0.7597 GB, free: 55.4 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5460 * Number of variables: 5460 Notification: Performance of Generate backend data structure: time 0.04158/2.132, allocations: 13.2 MB / 0.7726 GB, free: 50.23 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/2.132, allocations: 10.28 kB / 0.7726 GB, free: 50.23 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1116/2.244, allocations: 18.53 MB / 0.7907 GB, free: 49.23 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04285/2.287, allocations: 14.9 MB / 0.8053 GB, free: 47.7 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001292/2.288, allocations: 1.104 MB / 0.8063 GB, free: 47.67 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008788/2.297, allocations: 1.467 MB / 0.8078 GB, free: 47.66 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09301/2.39, allocations: 36.07 MB / 0.843 GB, free: 35.15 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007801/2.391, allocations: 143.6 kB / 0.8431 GB, free: 35.07 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006148/2.397, allocations: 0.6632 MB / 0.8438 GB, free: 34.51 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005806/2.403, allocations: 3.718 MB / 0.8474 GB, free: 31.41 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07337/2.476, allocations: 32.07 MB / 0.8787 GB, free: 2.945 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6683/3.144, allocations: 141.3 MB / 1.017 GB, free: 38.92 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04611/3.191, allocations: 15.55 MB / 1.032 GB, free: 37.04 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01908/3.21, allocations: 9.568 MB / 1.041 GB, free: 36.97 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0765/3.286, allocations: 35.72 MB / 1.076 GB, free: 23.89 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.387e-05/3.286, allocations: 103.1 kB / 1.076 GB, free: 23.8 MB / 0.573 GB Notification: Performance of pre-optimization done (n=747): time 1.327e-05/3.286, allocations: 0 / 1.076 GB, free: 23.8 MB / 0.573 GB Notification: Performance of matching and sorting (n=829): time 0.5918/3.878, allocations: 69.93 MB / 1.145 GB, free: 114.4 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/3.878, allocations: 316.3 kB / 1.145 GB, free: 114.1 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02095/3.899, allocations: 9.29 MB / 1.154 GB, free: 113.3 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001355/3.901, allocations: 140.2 kB / 1.154 GB, free: 113.3 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.007211/3.908, allocations: 9.83 MB / 1.164 GB, free: 108.1 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003825/3.912, allocations: 2.999 MB / 1.167 GB, free: 106.3 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002203/3.914, allocations: 362.4 kB / 1.167 GB, free: 106.3 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.001495/3.916, allocations: 1.101 MB / 1.168 GB, free: 106 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01662/3.932, allocations: 8.126 MB / 1.176 GB, free: 106 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02196/3.954, allocations: 17.58 MB / 1.193 GB, free: 93.91 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02317/3.977, allocations: 12.08 MB / 1.205 GB, free: 93.77 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003153/3.978, allocations: 95.12 kB / 1.205 GB, free: 93.77 MB / 0.573 GB Notification: Performance of matching and sorting (n=2404) (initialization): time 0.06212/4.04, allocations: 26.58 MB / 1.231 GB, free: 87.89 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002665/4.04, allocations: 145.9 kB / 1.231 GB, free: 87.89 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004079/4.041, allocations: 330.1 kB / 1.231 GB, free: 87.89 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008555/4.049, allocations: 2.413 MB / 1.234 GB, free: 87.48 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02012/4.069, allocations: 4.285 MB / 1.238 GB, free: 87 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02409/4.094, allocations: 14.38 MB / 1.252 GB, free: 79.67 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01795/4.111, allocations: 1.093 MB / 1.253 GB, free: 79.36 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003762/4.115, allocations: 0.9938 MB / 1.254 GB, free: 79.23 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1513 * Number of states: 0 () * Number of discrete variables: 93 (torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],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 (2208): * Single equations (assignments): 2191 * 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.005012/4.12, allocations: 1.414 MB / 1.255 GB, free: 78.08 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002647/4.123, allocations: 1.019 MB / 1.256 GB, free: 77.52 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05294/4.176, allocations: 15.81 MB / 1.272 GB, free: 66.26 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003838/4.176, allocations: 167.6 kB / 1.272 GB, free: 66.11 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.303e-05/4.177, allocations: 12 kB / 1.272 GB, free: 66.1 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001866/4.177, allocations: 33.33 kB / 1.272 GB, free: 66.1 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1412/4.318, allocations: 34.7 MB / 1.306 GB, free: 37.23 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.196e-05/4.318, allocations: 8 kB / 1.306 GB, free: 37.22 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01371/4.332, allocations: 1.397 MB / 1.307 GB, free: 36.12 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007532/4.339, allocations: 1.771 MB / 1.309 GB, free: 34.87 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001509/4.341, allocations: 139.7 kB / 1.309 GB, free: 34.74 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02119/4.362, allocations: 12.91 MB / 1.322 GB, free: 23.22 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.523e-06/4.362, allocations: 12.06 kB / 1.322 GB, free: 23.21 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4145/4.777, allocations: 27.58 MB / 1.349 GB, free: 99.96 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00716/4.784, allocations: 2.252 MB / 1.351 GB, free: 99.87 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003201/4.787, allocations: 122.5 kB / 1.351 GB, free: 99.87 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008084/4.795, allocations: 0.5364 MB / 1.352 GB, free: 99.87 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001841/4.797, allocations: 448.4 kB / 1.352 GB, free: 99.86 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001016/4.798, allocations: 190.4 kB / 1.352 GB, free: 99.86 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01502/4.813, allocations: 6.422 MB / 1.358 GB, free: 99.53 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.282e-06/4.813, allocations: 0 / 1.358 GB, free: 99.53 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01912/4.832, allocations: 3.452 MB / 1.362 GB, free: 99.52 MB / 0.573 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 (655): * Single equations (assignments): 638 * 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.001643/4.834, allocations: 311.3 kB / 1.362 GB, free: 99.44 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03791/4.872, allocations: 19.01 MB / 1.381 GB, free: 99.06 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/4.872, allocations: 0 / 1.381 GB, free: 99.06 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0155/4.888, allocations: 7.564 MB / 1.388 GB, free: 98.79 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008671/4.896, allocations: 1.26 MB / 1.389 GB, free: 98.74 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07242/4.969, allocations: 29.31 MB / 1.418 GB, free: 93.66 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02647/4.995, allocations: 10.58 MB / 1.428 GB, free: 90.92 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.02441/5.02, allocations: 6.672 MB / 1.435 GB, free: 90.81 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005039/5.025, allocations: 0.7255 MB / 1.435 GB, free: 90.79 MB / 0.573 GB Notification: Performance of SimCode: time 1.904e-06/5.025, allocations: 0 / 1.435 GB, free: 90.79 MB / 0.573 GB Notification: Performance of Templates: time 0.3018/5.327, allocations: 99.31 MB / 1.532 GB, free: 20.3 MB / 0.573 GB