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.3_ModelicaTest.MultiBody.Joints.GearConstraint") Notification: Performance of loadModel(ModelicaTest): time 2.352/2.352, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.63e-05/3.653e-05, allocations: 4 kB / 323.4 MB, free: 4.309 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3382, allocations: 58.82 MB / 382.2 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2123/0.5506, allocations: 110.3 MB / 492.5 MB, free: 14.16 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.5509, allocations: 79.97 kB / 492.6 MB, free: 14.08 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.8476/1.399, allocations: 164.2 MB / 0.6414 GB, free: 32.16 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.2e-06/1.399, allocations: 0 / 0.6414 GB, free: 32.16 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0003893/1.399, allocations: 156 kB / 0.6416 GB, free: 32.01 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3112 * Number of variables: 3112 Notification: Performance of Generate backend data structure: time 0.02298/1.422, allocations: 7.507 MB / 0.6489 GB, free: 24.42 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/1.422, allocations: 8.031 kB / 0.6489 GB, free: 24.41 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05072/1.473, allocations: 10.05 MB / 0.6588 GB, free: 14.33 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02281/1.496, allocations: 8.427 MB / 0.667 GB, free: 5.812 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006587/1.496, allocations: 0.6178 MB / 0.6676 GB, free: 5.191 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003576/1.5, allocations: 0.8238 MB / 0.6684 GB, free: 4.367 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05384/1.554, allocations: 20.28 MB / 0.6882 GB, free: 14.63 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003868/1.554, allocations: 87.12 kB / 0.6883 GB, free: 14.54 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002526/1.557, allocations: 399.8 kB / 0.6887 GB, free: 14.15 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004365/1.561, allocations: 2.105 MB / 0.6907 GB, free: 12.04 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04682/1.608, allocations: 17.48 MB / 0.7078 GB, free: 10.55 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7646/2.373, allocations: 85.17 MB / 0.7909 GB, free: 44.49 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02216/2.395, allocations: 7.936 MB / 0.7987 GB, free: 43.23 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008481/2.403, allocations: 5.079 MB / 0.8037 GB, free: 42.83 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002761/2.404, allocations: 57.78 kB / 0.8037 GB, free: 42.82 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.327e-05/2.404, allocations: 80.31 kB / 0.8038 GB, free: 42.75 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=450): time 1.093e-05/2.404, allocations: 2.594 kB / 0.8038 GB, free: 42.75 MB / 0.4949 GB Notification: Performance of matching and sorting (n=501): time 0.1173/2.521, allocations: 37.65 MB / 0.8406 GB, free: 29.91 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.618e-05/2.521, allocations: 227.5 kB / 0.8408 GB, free: 29.69 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01674/2.538, allocations: 5.698 MB / 0.8463 GB, free: 26.51 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001191/2.539, allocations: 93.14 kB / 0.8464 GB, free: 26.42 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.006345/2.546, allocations: 5.698 MB / 0.852 GB, free: 21.6 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.003469/2.549, allocations: 1.824 MB / 0.8538 GB, free: 19.98 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001631/2.551, allocations: 223.7 kB / 0.854 GB, free: 19.77 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.001164/2.552, allocations: 0.7964 MB / 0.8548 GB, free: 19.1 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0164/2.568, allocations: 4.81 MB / 0.8595 GB, free: 14.75 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0187/2.587, allocations: 10.89 MB / 0.8701 GB, free: 1.777 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01666/2.604, allocations: 7.399 MB / 0.8773 GB, free: 12.02 MB / 0.5106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002039/2.604, allocations: 64 kB / 0.8774 GB, free: 11.96 MB / 0.5106 GB Notification: Performance of matching and sorting (n=1490) (initialization): time 0.04374/2.648, allocations: 16.39 MB / 0.8934 GB, free: 13.75 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001877/2.648, allocations: 96 kB / 0.8935 GB, free: 13.66 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003253/2.649, allocations: 216 kB / 0.8937 GB, free: 13.45 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006286/2.655, allocations: 1.716 MB / 0.8954 GB, free: 12.11 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01265/2.668, allocations: 2.602 MB / 0.8979 GB, free: 9.871 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02454/2.692, allocations: 14.04 MB / 0.9116 GB, free: 12.8 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01096/2.703, allocations: 0.6623 MB / 0.9123 GB, free: 12.25 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002597/2.706, allocations: 0.6333 MB / 0.9129 GB, free: 11.63 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 979 * Number of states: 0 () * Number of discrete variables: 51 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (1366): * Single equations (assignments): 1353 * 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.003539/2.709, allocations: 0.9414 MB / 0.9138 GB, free: 10.7 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001755/2.711, allocations: 0.6131 MB / 0.9144 GB, free: 10.07 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02512/2.736, allocations: 9.604 MB / 0.9238 GB, free: 2.02 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001981/2.736, allocations: 95.17 kB / 0.9239 GB, free: 1.934 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.415e-05/2.737, allocations: 8 kB / 0.9239 GB, free: 1.926 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.97e-05/2.737, allocations: 21.09 kB / 0.9239 GB, free: 1.926 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4091/3.146, allocations: 21.67 MB / 0.9451 GB, free: 132.3 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.785e-05/3.146, allocations: 10.38 kB / 0.9451 GB, free: 132.3 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005614/3.151, allocations: 0.7971 MB / 0.9459 GB, free: 132.3 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005577/3.157, allocations: 1.36 MB / 0.9472 GB, free: 132.2 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009795/3.158, allocations: 94.81 kB / 0.9473 GB, free: 132.2 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01827/3.176, allocations: 12.88 MB / 0.9599 GB, free: 127.1 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.355e-05/3.176, allocations: 17.95 kB / 0.9599 GB, free: 127.1 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03766/3.214, allocations: 17.14 MB / 0.9766 GB, free: 123.6 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006937/3.221, allocations: 1.388 MB / 0.978 GB, free: 123.2 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003228/3.224, allocations: 82.89 kB / 0.978 GB, free: 123.2 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008842/3.233, allocations: 313 kB / 0.9783 GB, free: 123.1 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001977/3.235, allocations: 303.3 kB / 0.9786 GB, free: 123.1 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001227/3.237, allocations: 126.1 kB / 0.9788 GB, free: 123 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.01441/3.251, allocations: 3.951 MB / 0.9826 GB, free: 121.7 MB / 0.5418 GB Notification: Performance of sort global known variables: time 2.317e-06/3.251, allocations: 0 / 0.9826 GB, free: 121.7 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0219/3.273, allocations: 2.04 MB / 0.9846 GB, free: 121.4 MB / 0.5418 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.0018/3.275, allocations: 258.7 kB / 0.9849 GB, free: 121.3 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.03329/3.308, allocations: 11.63 MB / 0.9962 GB, free: 117.6 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.996e-05/3.308, allocations: 5.938 kB / 0.9962 GB, free: 117.6 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.01194/3.32, allocations: 4.795 MB / 1.001 GB, free: 115.6 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005109/3.325, allocations: 0.739 MB / 1.002 GB, free: 115.2 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04116/3.367, allocations: 17.34 MB / 1.019 GB, free: 103.2 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01334/3.38, allocations: 6.273 MB / 1.025 GB, free: 98.61 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.01467/3.395, allocations: 4.119 MB / 1.029 GB, free: 96.17 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002656/3.397, allocations: 452.6 kB / 1.029 GB, free: 95.75 MB / 0.5418 GB Notification: Performance of SimCode: time 2.632e-06/3.397, allocations: 0 / 1.029 GB, free: 95.75 MB / 0.5418 GB Notification: Performance of Templates: time 0.1809/3.578, allocations: 68.53 MB / 1.096 GB, free: 37.75 MB / 0.5418 GB