Running command: translateModel(ModelicaTest.MultiBody.Joints.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.GearConstraint") Notification: Performance of loadModel(ModelicaTest): time 2.272/2.272, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.455e-05/3.468e-05, allocations: 7.984 kB / 304.9 MB, free: 5.168 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3262, allocations: 54.85 MB / 359.8 MB, free: 3.133 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1609/0.4872, allocations: 104 MB / 463.8 MB, free: 8.898 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/0.4875, allocations: 75.95 kB / 463.9 MB, free: 8.824 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8764/1.364, allocations: 163.5 MB / 0.6127 GB, free: 75.81 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.774e-06/1.364, allocations: 0 / 0.6127 GB, free: 75.81 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005589/1.364, allocations: 159.9 kB / 0.6128 GB, free: 75.65 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3109 * Number of variables: 3109 Notification: Performance of Generate backend data structure: time 0.02431/1.389, allocations: 7.504 MB / 0.6202 GB, free: 68.06 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/1.389, allocations: 12.03 kB / 0.6202 GB, free: 68.05 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04906/1.438, allocations: 10.05 MB / 0.63 GB, free: 57.98 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02284/1.461, allocations: 8.416 MB / 0.6382 GB, free: 49.47 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006373/1.462, allocations: 0.6217 MB / 0.6388 GB, free: 48.84 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003585/1.465, allocations: 0.8238 MB / 0.6396 GB, free: 48.02 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04524/1.51, allocations: 20.26 MB / 0.6594 GB, free: 26.3 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003474/1.511, allocations: 91.2 kB / 0.6595 GB, free: 26.21 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002306/1.513, allocations: 391.8 kB / 0.6598 GB, free: 25.83 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002937/1.516, allocations: 2.105 MB / 0.6619 GB, free: 23.71 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03762/1.554, allocations: 17.47 MB / 0.679 GB, free: 6.227 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6895/2.243, allocations: 85.06 MB / 0.762 GB, free: 31.53 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02096/2.264, allocations: 7.94 MB / 0.7698 GB, free: 30.27 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008557/2.273, allocations: 5.073 MB / 0.7747 GB, free: 30.21 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002951/2.273, allocations: 72.55 kB / 0.7748 GB, free: 30.21 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.165e-05/2.273, allocations: 80.66 kB / 0.7749 GB, free: 30.16 MB / 474.8 MB Notification: Performance of pre-optimization done (n=450): time 1.02e-05/2.273, allocations: 0 / 0.7749 GB, free: 30.16 MB / 474.8 MB Notification: Performance of matching and sorting (n=501): time 0.1178/2.391, allocations: 37.63 MB / 0.8116 GB, free: 18.84 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.868e-05/2.391, allocations: 235.5 kB / 0.8119 GB, free: 18.61 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01114/2.402, allocations: 5.669 MB / 0.8174 GB, free: 16.66 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008342/2.403, allocations: 93.92 kB / 0.8175 GB, free: 16.57 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003837/2.407, allocations: 5.687 MB / 0.823 GB, free: 12.33 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002151/2.409, allocations: 1.814 MB / 0.8248 GB, free: 10.99 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001109/2.41, allocations: 225.2 kB / 0.825 GB, free: 10.82 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.00077/2.411, allocations: 0.7959 MB / 0.8258 GB, free: 10.3 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009615/2.421, allocations: 4.804 MB / 0.8305 GB, free: 8.676 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01428/2.435, allocations: 10.88 MB / 0.8411 GB, free: 14.64 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01614/2.451, allocations: 7.305 MB / 0.8483 GB, free: 8.68 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002399/2.452, allocations: 60 kB / 0.8483 GB, free: 8.621 MB / 490.8 MB Notification: Performance of matching and sorting (n=1487) (initialization): time 0.0443/2.496, allocations: 16.47 MB / 0.8644 GB, free: 10.91 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001858/2.496, allocations: 102.3 kB / 0.8645 GB, free: 10.82 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003226/2.496, allocations: 217.9 kB / 0.8647 GB, free: 10.61 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00609/2.503, allocations: 1.714 MB / 0.8664 GB, free: 9.273 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01205/2.515, allocations: 2.594 MB / 0.8689 GB, free: 7.043 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02357/2.538, allocations: 14.03 MB / 0.8826 GB, free: 9.934 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01075/2.549, allocations: 0.664 MB / 0.8833 GB, free: 9.383 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002519/2.552, allocations: 0.6275 MB / 0.8839 GB, free: 8.77 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 976 * Number of states: 0 () * Number of discrete variables: 48 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1363): * Single equations (assignments): 1350 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 42,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003102/2.555, allocations: 0.93 MB / 0.8848 GB, free: 7.844 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001674/2.556, allocations: 0.6131 MB / 0.8854 GB, free: 7.223 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3231/2.88, allocations: 9.625 MB / 0.8948 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001739/2.88, allocations: 93.12 kB / 0.8949 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.662e-05/2.88, allocations: 12.62 kB / 0.8949 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001031/2.88, allocations: 21.78 kB / 0.8949 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05224/2.932, allocations: 21.55 MB / 0.9159 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.136e-05/2.932, allocations: 14.38 kB / 0.916 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004953/2.937, allocations: 0.7924 MB / 0.9167 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005333/2.943, allocations: 1.358 MB / 0.9181 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009363/2.944, allocations: 93.06 kB / 0.9181 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01799/2.962, allocations: 12.87 MB / 0.9307 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.449e-05/2.962, allocations: 17 kB / 0.9307 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02942/2.991, allocations: 17.12 MB / 0.9475 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00429/2.995, allocations: 1.387 MB / 0.9488 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001518/2.997, allocations: 83.38 kB / 0.9489 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004558/3.002, allocations: 313.4 kB / 0.9492 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001079/3.003, allocations: 305 kB / 0.9495 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004911/3.003, allocations: 128.8 kB / 0.9496 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007809/3.011, allocations: 3.937 MB / 0.9534 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.67e-07/3.011, allocations: 0 / 0.9534 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01199/3.023, allocations: 2.037 MB / 0.9554 GB, free: 106.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (385): * Single equations (assignments): 372 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 39,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009613/3.024, allocations: 251.4 kB / 0.9557 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02425/3.048, allocations: 11.62 MB / 0.967 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-05/3.048, allocations: 3.906 kB / 0.967 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01194/3.06, allocations: 4.8 MB / 0.9717 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005298/3.066, allocations: 0.7292 MB / 0.9724 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04036/3.106, allocations: 17.33 MB / 0.9893 GB, free: 89.15 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01282/3.119, allocations: 6.273 MB / 0.9955 GB, free: 84.53 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01337/3.132, allocations: 4.112 MB / 0.9995 GB, free: 82.05 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002759/3.135, allocations: 454.9 kB / 0.9999 GB, free: 81.63 MB / 0.5105 GB Notification: Performance of SimCode: time 1.726e-06/3.135, allocations: 0 / 0.9999 GB, free: 81.63 MB / 0.5105 GB Notification: Performance of Templates: time 0.1761/3.311, allocations: 68.38 MB / 1.067 GB, free: 21.5 MB / 0.5105 GB