Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3") Notification: Performance of loadModel(ModelicaTest): time 2.248/2.248, allocations: 270 MB / 282.7 MB, free: 1.852 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.146e-05/3.159e-05, allocations: 8 kB / 347 MB, free: 3.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3175, allocations: 61.89 MB / 408.9 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1632/0.4807, allocations: 108.8 MB / 0.5055 GB, free: 13.8 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/0.4811, allocations: 79.95 kB / 0.5056 GB, free: 13.73 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.69/1.171, allocations: 129.4 MB / 0.6319 GB, free: 7.828 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.503e-06/1.171, allocations: 0 / 0.6319 GB, free: 7.828 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003726/1.172, allocations: 131.9 kB / 0.6321 GB, free: 7.699 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2149 * Number of variables: 2149 Notification: Performance of Generate backend data structure: time 0.01968/1.191, allocations: 6.709 MB / 0.6386 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/1.191, allocations: 8.031 kB / 0.6386 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04841/1.24, allocations: 9.375 MB / 0.6478 GB, free: 7.504 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0253/1.265, allocations: 8.424 MB / 0.656 GB, free: 15 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005769/1.266, allocations: 468.4 kB / 0.6565 GB, free: 14.54 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002521/1.268, allocations: 0.6285 MB / 0.6571 GB, free: 13.91 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04324/1.311, allocations: 15.71 MB / 0.6724 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003676/1.312, allocations: 87.23 kB / 0.6725 GB, free: 12.88 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002102/1.314, allocations: 299.9 kB / 0.6728 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003022/1.317, allocations: 1.463 MB / 0.6742 GB, free: 11.12 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03748/1.355, allocations: 13.44 MB / 0.6873 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4118/1.766, allocations: 68.99 MB / 0.7547 GB, free: 64.45 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02399/1.79, allocations: 7.102 MB / 0.7616 GB, free: 63.77 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007423/1.798, allocations: 5.08 MB / 0.7666 GB, free: 63.73 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03158/1.829, allocations: 17.3 MB / 0.7835 GB, free: 61.42 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.584e-05/1.83, allocations: 62.66 kB / 0.7836 GB, free: 61.38 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=289): time 7.4e-06/1.83, allocations: 0 / 0.7836 GB, free: 61.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=373): time 0.1664/1.996, allocations: 48.53 MB / 0.831 GB, free: 46.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.369e-05/1.996, allocations: 327.5 kB / 0.8313 GB, free: 46.02 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008141/2.004, allocations: 4.796 MB / 0.8359 GB, free: 41.87 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009181/2.005, allocations: 81.7 kB / 0.836 GB, free: 41.78 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002339/2.008, allocations: 4.088 MB / 0.84 GB, free: 38.28 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001625/2.009, allocations: 1.361 MB / 0.8413 GB, free: 37.08 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006717/2.01, allocations: 160 kB / 0.8415 GB, free: 36.92 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004373/2.01, allocations: 0.6513 MB / 0.8421 GB, free: 36.36 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007631/2.018, allocations: 4.563 MB / 0.8466 GB, free: 32.26 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009773/2.028, allocations: 8.803 MB / 0.8552 GB, free: 22.13 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01061/2.038, allocations: 6.297 MB / 0.8613 GB, free: 17.02 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.802e-05/2.039, allocations: 46.81 kB / 0.8614 GB, free: 16.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1059) (initialization): time 0.03824/2.077, allocations: 16.92 MB / 0.8779 GB, free: 3.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001034/2.077, allocations: 72.06 kB / 0.878 GB, free: 3.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001426/2.077, allocations: 148 kB / 0.8781 GB, free: 3.535 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01631/2.093, allocations: 4.765 MB / 0.8828 GB, free: 300 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009353/2.103, allocations: 1.941 MB / 0.8847 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05051/2.153, allocations: 25.34 MB / 0.9094 GB, free: 5.137 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008898/2.162, allocations: 0.5954 MB / 0.91 GB, free: 4.543 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001586/2.164, allocations: 471.9 kB / 0.9104 GB, free: 4.082 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 676 * Number of states: 0 () * Number of discrete variables: 59 (torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],bodyBox3.color[3],bodyBox3.color[2],bodyBox3.color[1],bodyBox3.body.sphereColor[3],bodyBox3.body.sphereColor[2],bodyBox3.body.sphereColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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],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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (956): * Single equations (assignments): 950 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 15,(14,42.9%) 41,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001966/2.166, allocations: 0.7156 MB / 0.9111 GB, free: 3.363 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001396/2.167, allocations: 0.5323 MB / 0.9117 GB, free: 2.824 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.033/2.2, allocations: 12.52 MB / 0.9239 GB, free: 6.238 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.015e-05/2.2, allocations: 36 kB / 0.9239 GB, free: 6.203 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.274e-05/2.2, allocations: 20 kB / 0.9239 GB, free: 6.184 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-05/2.201, allocations: 19.88 kB / 0.924 GB, free: 6.168 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3655/2.566, allocations: 22.26 MB / 0.9457 GB, free: 139 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.784e-05/2.566, allocations: 3.281 kB / 0.9457 GB, free: 139 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004214/2.57, allocations: 0.6478 MB / 0.9463 GB, free: 139 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01623/2.587, allocations: 4.524 MB / 0.9508 GB, free: 139 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007096/2.587, allocations: 68.66 kB / 0.9508 GB, free: 139 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04318/2.63, allocations: 24.61 MB / 0.9749 GB, free: 135.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.003e-06/2.631, allocations: 5.828 kB / 0.9749 GB, free: 135.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03921/2.67, allocations: 18.72 MB / 0.9931 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00151/2.671, allocations: 0.554 MB / 0.9937 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001326/2.673, allocations: 60.41 kB / 0.9937 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004226/2.677, allocations: 340.7 kB / 0.9941 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009854/2.678, allocations: 237 kB / 0.9943 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000532/2.678, allocations: 96.33 kB / 0.9944 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.006193/2.685, allocations: 3.405 MB / 0.9977 GB, free: 127.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7.94e-07/2.685, allocations: 0 / 0.9977 GB, free: 127.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.008725/2.693, allocations: 1.835 MB / 0.9995 GB, free: 127.1 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (gearConstraint.actuatedRevolute_a.phi,gearConstraint.actuatedRevolute_a.w,revolute1.phi,revolute1.w,revolute2.phi,revolute2.w,revolute3.phi,revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (283): * Single equations (assignments): 277 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 12,(14,43.4%) 41,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008293/2.694, allocations: 226.6 kB / 0.9997 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02377/2.718, allocations: 11.8 MB / 1.011 GB, free: 123 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.94e-06/2.718, allocations: 0 / 1.011 GB, free: 123 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0119/2.73, allocations: 5.719 MB / 1.017 GB, free: 118.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003942/2.734, allocations: 0.6978 MB / 1.018 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02805/2.762, allocations: 15.23 MB / 1.032 GB, free: 104.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006742/2.769, allocations: 4.936 MB / 1.037 GB, free: 100.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002738/2.772, allocations: 441 kB / 1.038 GB, free: 100.5 MB / 0.5573 GB Notification: Performance of SimCode: time 1.842e-06/2.772, allocations: 3.969 kB / 1.038 GB, free: 100.5 MB / 0.5573 GB Notification: Performance of Templates: time 0.5317/3.303, allocations: 174.7 MB / 1.208 GB, free: 117.9 MB / 0.5573 GB