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_trunk_ModelicaTest.MultiBody.Joints.GearConstraint") Notification: Performance of loadModel(ModelicaTest): time 2.542/2.542, allocations: 270 MB / 283.6 MB, free: 1.801 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.783e-05/3.792e-05, allocations: 11.92 kB / 348.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3531, allocations: 61.88 MB / 410.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1693/0.5224, allocations: 111.4 MB / 0.5095 GB, free: 11.1 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/0.5227, allocations: 79.95 kB / 0.5096 GB, free: 11.02 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8596/1.382, allocations: 162.3 MB / 0.668 GB, free: 3.742 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.595e-06/1.382, allocations: 0 / 0.668 GB, free: 3.742 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004484/1.383, allocations: 156 kB / 0.6682 GB, free: 3.59 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3026 * Number of variables: 3026 Notification: Performance of Generate backend data structure: time 0.02539/1.408, allocations: 7.354 MB / 0.6754 GB, free: 12.15 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/1.408, allocations: 8.031 kB / 0.6754 GB, free: 12.14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05417/1.462, allocations: 10.02 MB / 0.6852 GB, free: 2.102 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02622/1.489, allocations: 8.022 MB / 0.693 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00091/1.49, allocations: 0.6018 MB / 0.6936 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003997/1.494, allocations: 0.8005 MB / 0.6944 GB, free: 8.582 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07663/1.57, allocations: 19.81 MB / 0.7137 GB, free: 3.344 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006977/1.571, allocations: 91.2 kB / 0.7138 GB, free: 3.254 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004859/1.576, allocations: 387.8 kB / 0.7142 GB, free: 2.875 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007051/1.583, allocations: 2.038 MB / 0.7162 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3863/1.969, allocations: 17.06 MB / 0.7328 GB, free: 86.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1109/2.08, allocations: 83.54 MB / 0.8144 GB, free: 39.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02082/2.101, allocations: 7.714 MB / 0.8219 GB, free: 36.04 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008008/2.109, allocations: 4.904 MB / 0.8267 GB, free: 34 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00027/2.11, allocations: 71.27 kB / 0.8268 GB, free: 33.99 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.123e-05/2.11, allocations: 73.94 kB / 0.8269 GB, free: 33.93 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=429): time 9.716e-06/2.11, allocations: 1.969 kB / 0.8269 GB, free: 33.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=476): time 0.1057/2.216, allocations: 34.58 MB / 0.8606 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.549e-05/2.216, allocations: 226.8 kB / 0.8609 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01132/2.227, allocations: 5.593 MB / 0.8663 GB, free: 7.66 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007876/2.228, allocations: 88.83 kB / 0.8664 GB, free: 7.57 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003976/2.232, allocations: 5.572 MB / 0.8718 GB, free: 2.613 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002101/2.234, allocations: 1.736 MB / 0.8735 GB, free: 1.078 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001035/2.235, allocations: 218.4 kB / 0.8738 GB, free: 0.8672 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0007064/2.236, allocations: 0.782 MB / 0.8745 GB, free: 220 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03827/2.274, allocations: 6.2 MB / 0.8806 GB, free: 0 / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01661/2.291, allocations: 10.58 MB / 0.8909 GB, free: 3.273 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01584/2.307, allocations: 7.098 MB / 0.8978 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002232/2.307, allocations: 64 kB / 0.8979 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1448) (initialization): time 0.04094/2.348, allocations: 15.82 MB / 0.9133 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001851/2.348, allocations: 96 kB / 0.9134 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003048/2.348, allocations: 212 kB / 0.9136 GB, free: 15.47 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006117/2.354, allocations: 1.717 MB / 0.9153 GB, free: 14.13 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01169/2.366, allocations: 2.519 MB / 0.9178 GB, free: 11.96 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3595/2.726, allocations: 13.99 MB / 0.9314 GB, free: 119.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01038/2.736, allocations: 0.6482 MB / 0.9321 GB, free: 119.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00258/2.739, allocations: 0.6136 MB / 0.9327 GB, free: 119.5 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 962 * Number of states: 0 () * Number of discrete variables: 53 (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.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,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 (1324): * Single equations (assignments): 1311 * 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.002444/2.741, allocations: 0.908 MB / 0.9335 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001393/2.743, allocations: 0.5996 MB / 0.9341 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0202/2.763, allocations: 9.119 MB / 0.943 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001602/2.763, allocations: 86.78 kB / 0.9431 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.408e-05/2.763, allocations: 10.84 kB / 0.9431 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.415e-05/2.763, allocations: 21.45 kB / 0.9432 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04753/2.811, allocations: 20.68 MB / 0.9634 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.035e-05/2.811, allocations: 10.91 kB / 0.9634 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004961/2.816, allocations: 0.7428 MB / 0.9641 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005483/2.821, allocations: 1.354 MB / 0.9654 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008725/2.822, allocations: 97.48 kB / 0.9655 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01796/2.84, allocations: 12.86 MB / 0.9781 GB, free: 112.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.366e-05/2.84, allocations: 18.66 kB / 0.9781 GB, free: 112.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02788/2.868, allocations: 16.35 MB / 0.994 GB, free: 107.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001673/2.87, allocations: 0.6273 MB / 0.9947 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001721/2.872, allocations: 79.52 kB / 0.9947 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004508/2.876, allocations: 296.9 kB / 0.995 GB, free: 106.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00125/2.877, allocations: 294.1 kB / 0.9953 GB, free: 106.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005733/2.878, allocations: 123.5 kB / 0.9954 GB, free: 106.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.008117/2.886, allocations: 3.87 MB / 0.9992 GB, free: 105.4 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.05e-06/2.886, allocations: 0 / 0.9992 GB, free: 105.4 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01183/2.898, allocations: 1.975 MB / 1.001 GB, free: 105.2 MB / 0.5573 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 (359): * Single equations (assignments): 346 * 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.001136/2.899, allocations: 249.2 kB / 1.001 GB, free: 105.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02719/2.926, allocations: 11.14 MB / 1.012 GB, free: 101.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.879e-05/2.927, allocations: 3.938 kB / 1.012 GB, free: 101.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01426/2.941, allocations: 4.562 MB / 1.017 GB, free: 99.66 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008251/2.949, allocations: 0.7247 MB / 1.017 GB, free: 99.35 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03976/2.989, allocations: 16.76 MB / 1.034 GB, free: 89.61 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01299/3.002, allocations: 6.13 MB / 1.04 GB, free: 85.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01307/3.015, allocations: 3.997 MB / 1.044 GB, free: 82.73 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002446/3.018, allocations: 435 kB / 1.044 GB, free: 82.32 MB / 0.5573 GB Notification: Performance of SimCode: time 2.034e-06/3.018, allocations: 0 / 1.044 GB, free: 82.32 MB / 0.5573 GB Notification: Performance of Templates: time 0.1785/3.196, allocations: 66.22 MB / 1.109 GB, free: 29.31 MB / 0.5573 GB