Running command: translateModel(ModelicaTest.MultiBody.Joints.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.GearConstraint") Notification: Performance of loadModel(ModelicaTest): time 2.309/2.309, allocations: 270 MB / 282.7 MB, free: 1.824 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.426e-05/3.428e-05, allocations: 4 kB / 347 MB, free: 3.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3229, allocations: 61.87 MB / 408.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1686/0.4915, allocations: 111.4 MB / 0.5081 GB, free: 11.17 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/0.4918, allocations: 79.95 kB / 0.5082 GB, free: 11.09 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8093/1.301, allocations: 162.3 MB / 0.6666 GB, free: 3.805 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.172e-06/1.301, allocations: 0 / 0.6666 GB, free: 3.805 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004512/1.302, allocations: 152 kB / 0.6668 GB, free: 3.656 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.02466/1.326, allocations: 7.354 MB / 0.674 GB, free: 12.22 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/1.326, allocations: 12.03 kB / 0.674 GB, free: 12.21 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05266/1.379, allocations: 10.01 MB / 0.6838 GB, free: 2.172 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02577/1.405, allocations: 8.026 MB / 0.6916 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008757/1.406, allocations: 0.6057 MB / 0.6922 GB, free: 9.445 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003776/1.41, allocations: 0.8005 MB / 0.693 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05224/1.462, allocations: 19.81 MB / 0.7123 GB, free: 3.406 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004266/1.462, allocations: 91.2 kB / 0.7124 GB, free: 3.316 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003247/1.466, allocations: 379.8 kB / 0.7128 GB, free: 2.945 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003947/1.47, allocations: 2.046 MB / 0.7148 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6765/2.146, allocations: 17.06 MB / 0.7314 GB, free: 85.1 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1094/2.255, allocations: 83.55 MB / 0.813 GB, free: 37.96 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02004/2.276, allocations: 7.717 MB / 0.8205 GB, free: 34.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008054/2.284, allocations: 4.907 MB / 0.8253 GB, free: 32.66 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002546/2.284, allocations: 64.55 kB / 0.8254 GB, free: 32.65 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.831e-05/2.284, allocations: 72.75 kB / 0.8255 GB, free: 32.59 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=429): time 9.648e-06/2.284, allocations: 0 / 0.8255 GB, free: 32.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=476): time 0.1033/2.387, allocations: 34.58 MB / 0.8592 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.555e-05/2.388, allocations: 230.2 kB / 0.8595 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01097/2.399, allocations: 5.583 MB / 0.8649 GB, free: 6.008 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007761/2.399, allocations: 96.17 kB / 0.865 GB, free: 5.914 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003543/2.403, allocations: 5.409 MB / 0.8703 GB, free: 1.059 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002313/2.405, allocations: 1.735 MB / 0.872 GB, free: 15.52 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001087/2.406, allocations: 219.9 kB / 0.8722 GB, free: 15.31 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0009683/2.407, allocations: 0.7896 MB / 0.873 GB, free: 14.64 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0104/2.418, allocations: 4.596 MB / 0.8774 GB, free: 10.49 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01662/2.434, allocations: 10.57 MB / 0.8878 GB, free: 13.76 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01483/2.449, allocations: 7.051 MB / 0.8947 GB, free: 7.988 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002156/2.45, allocations: 60 kB / 0.8947 GB, free: 7.93 MB / 0.5418 GB Notification: Performance of matching and sorting (n=1448) (initialization): time 0.03987/2.489, allocations: 15.62 MB / 0.91 GB, free: 10.33 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001875/2.49, allocations: 99.83 kB / 0.9101 GB, free: 10.24 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00031/2.49, allocations: 212 kB / 0.9103 GB, free: 10.03 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006082/2.496, allocations: 1.716 MB / 0.9119 GB, free: 8.695 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01158/2.508, allocations: 2.515 MB / 0.9144 GB, free: 6.531 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3563/2.864, allocations: 13.99 MB / 0.9281 GB, free: 116.1 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01014/2.874, allocations: 0.6416 MB / 0.9287 GB, free: 116.1 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002164/2.876, allocations: 0.6188 MB / 0.9293 GB, free: 116.1 MB / 0.5574 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.002315/2.879, allocations: 0.9116 MB / 0.9302 GB, free: 116 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001316/2.88, allocations: 0.5999 MB / 0.9308 GB, free: 116 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02001/2.9, allocations: 9.115 MB / 0.9397 GB, free: 115.7 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001437/2.9, allocations: 84.7 kB / 0.9398 GB, free: 115.7 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.961e-05/2.9, allocations: 10.84 kB / 0.9398 GB, free: 115.7 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.829e-05/2.9, allocations: 21.66 kB / 0.9398 GB, free: 115.7 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04722/2.948, allocations: 20.68 MB / 0.96 GB, free: 114.5 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.78e-05/2.948, allocations: 10.75 kB / 0.96 GB, free: 114.5 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004788/2.952, allocations: 0.7474 MB / 0.9607 GB, free: 114.5 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004897/2.957, allocations: 1.357 MB / 0.962 GB, free: 114.4 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009002/2.958, allocations: 88.06 kB / 0.9621 GB, free: 114.4 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01794/2.976, allocations: 12.86 MB / 0.9747 GB, free: 109.3 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.51e-05/2.976, allocations: 17.56 kB / 0.9747 GB, free: 109.3 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02642/3.003, allocations: 16.35 MB / 0.9907 GB, free: 102.5 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001618/3.004, allocations: 0.6199 MB / 0.9913 GB, free: 102.2 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001261/3.006, allocations: 90.44 kB / 0.9914 GB, free: 102.1 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003421/3.009, allocations: 303.7 kB / 0.9917 GB, free: 102.1 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008012/3.01, allocations: 282.7 kB / 0.9919 GB, free: 102 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004534/3.01, allocations: 122.4 kB / 0.992 GB, free: 102 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.00708/3.018, allocations: 3.872 MB / 0.9958 GB, free: 100.7 MB / 0.5574 GB Notification: Performance of sort global known variables: time 9.27e-07/3.018, allocations: 3.219 kB / 0.9958 GB, free: 100.7 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01148/3.029, allocations: 1.973 MB / 0.9978 GB, free: 100.4 MB / 0.5574 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.001024/3.03, allocations: 257.4 kB / 0.998 GB, free: 100.3 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.02117/3.051, allocations: 11.13 MB / 1.009 GB, free: 96.73 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.194e-05/3.051, allocations: 0 / 1.009 GB, free: 96.73 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.008567/3.06, allocations: 4.561 MB / 1.013 GB, free: 94.89 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004883/3.065, allocations: 0.7146 MB / 1.014 GB, free: 94.58 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03622/3.101, allocations: 17.7 MB / 1.031 GB, free: 82.23 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01215/3.113, allocations: 6.134 MB / 1.037 GB, free: 77.71 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002968/3.116, allocations: 0.5108 MB / 1.038 GB, free: 77.23 MB / 0.5574 GB Notification: Performance of SimCode: time 1.918e-06/3.116, allocations: 0 / 1.038 GB, free: 77.23 MB / 0.5574 GB Notification: Performance of Templates: time 0.6323/3.749, allocations: 249 MB / 1.281 GB, free: 34.28 MB / 0.573 GB