Running command: translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical2") Notification: Performance of loadModel(ModelicaTest): time 2.319/2.319, allocations: 270 MB / 282.7 MB, free: 1.75 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.988e-05/2.995e-05, allocations: 4 kB / 347 MB, free: 3.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3203, allocations: 61.89 MB / 408.8 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1802/0.5006, allocations: 118.6 MB / 0.5151 GB, free: 3.949 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/0.5008, allocations: 71.97 kB / 0.5152 GB, free: 3.879 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.35/1.851, allocations: 221.4 MB / 0.7314 GB, free: 48.91 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.195e-06/1.851, allocations: 0 / 0.7314 GB, free: 48.91 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0006818/1.851, allocations: 274.2 kB / 0.7316 GB, free: 48.91 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4369 * Number of variables: 4369 Notification: Performance of Generate backend data structure: time 0.05835/1.91, allocations: 13.34 MB / 0.7446 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/1.91, allocations: 7.531 kB / 0.7447 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05861/1.968, allocations: 10.81 MB / 0.7552 GB, free: 43.92 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04216/2.011, allocations: 14.64 MB / 0.7695 GB, free: 42.63 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001037/2.012, allocations: 1.04 MB / 0.7705 GB, free: 42.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005506/2.017, allocations: 1.392 MB / 0.7719 GB, free: 42.58 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08191/2.099, allocations: 30.42 MB / 0.8016 GB, free: 36.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007544/2.1, allocations: 152.7 kB / 0.8017 GB, free: 36.29 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00471/2.105, allocations: 0.6372 MB / 0.8024 GB, free: 36.29 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003673/2.108, allocations: 2.137 MB / 0.8044 GB, free: 36.27 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06398/2.172, allocations: 23.75 MB / 0.8276 GB, free: 33.19 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5884/2.761, allocations: 126.1 MB / 0.9508 GB, free: 35.6 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04659/2.807, allocations: 11.83 MB / 0.9623 GB, free: 34.92 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008588/2.816, allocations: 5.538 MB / 0.9678 GB, free: 34.87 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004568/2.821, allocations: 4.827 MB / 0.9725 GB, free: 30.88 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.121e-05/2.821, allocations: 76.66 kB / 0.9725 GB, free: 30.84 MB / 0.573 GB Notification: Performance of pre-optimization done (n=390): time 1.001e-05/2.821, allocations: 3.625 kB / 0.9725 GB, free: 30.84 MB / 0.573 GB Notification: Performance of matching and sorting (n=522): time 0.3833/3.204, allocations: 103.9 MB / 1.074 GB, free: 14.65 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0469/3.251, allocations: 25.12 MB / 1.099 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02031/3.271, allocations: 8.022 MB / 1.106 GB, free: 5.219 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.001313/3.273, allocations: 105.3 kB / 1.106 GB, free: 5.117 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.008817/3.282, allocations: 8.187 MB / 1.114 GB, free: 14.09 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.004022/3.286, allocations: 2.024 MB / 1.116 GB, free: 12.09 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00239/3.288, allocations: 305.3 kB / 1.117 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.00162/3.29, allocations: 0.9615 MB / 1.118 GB, free: 10.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01968/3.309, allocations: 8.898 MB / 1.126 GB, free: 1.922 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02907/3.339, allocations: 17.63 MB / 1.144 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02572/3.364, allocations: 12.28 MB / 1.156 GB, free: 360 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003111/3.365, allocations: 93.2 kB / 1.156 GB, free: 268 kB / 0.6355 GB Notification: Performance of matching and sorting (n=1992) (initialization): time 0.4617/3.826, allocations: 34.15 MB / 1.189 GB, free: 166.4 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003497/3.827, allocations: 140.7 kB / 1.189 GB, free: 166.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.06559/3.892, allocations: 22.77 MB / 1.211 GB, free: 166.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04881/3.941, allocations: 10.91 MB / 1.222 GB, free: 166 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01595/3.957, allocations: 3.638 MB / 1.226 GB, free: 166 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08012/4.037, allocations: 51.22 MB / 1.276 GB, free: 152.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02129/4.059, allocations: 1.759 MB / 1.277 GB, free: 152.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003463/4.062, allocations: 0.925 MB / 1.278 GB, free: 152.2 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1413 * Number of states: 0 () * Number of discrete variables: 88 (freeMotionScalarInit1.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit1.arrow.headAtOrigin,freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.arrowColor[1],freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],rs3.arrow.arrowLine.twoHeadedArrow,rs3.arrow.headAtOrigin,rs3.arrowColor[3],rs3.arrowColor[2],rs3.arrowColor[1],rs2.arrow.arrowLine.twoHeadedArrow,rs2.arrow.headAtOrigin,rs2.arrowColor[3],rs2.arrowColor[2],rs2.arrowColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],sphericalSpherical1.massColor[3],sphericalSpherical1.massColor[2],sphericalSpherical1.massColor[1],sphericalSpherical1.sphereColor[3],sphericalSpherical1.sphereColor[2],sphericalSpherical1.sphereColor[1],sphericalSpherical1.rodColor[3],sphericalSpherical1.rodColor[2],sphericalSpherical1.rodColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.sphereColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],rs1.arrow.arrowLine.twoHeadedArrow,rs1.arrow.headAtOrigin,rs1.arrowColor[3],rs1.arrowColor[2],rs1.arrowColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 (1816): * Single equations (assignments): 1787 * Array equations: 15 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(4,100.0%),(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 6 {1,1,4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,82.8%) 32,(1,100.0%) 3,(4,93.8%) 20,(7,63.3%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004787/4.067, allocations: 1.258 MB / 1.279 GB, free: 151.6 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002172/4.069, allocations: 0.838 MB / 1.28 GB, free: 151.6 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004552/4.074, allocations: 1.537 MB / 1.282 GB, free: 150.6 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.08072/4.155, allocations: 26.59 MB / 1.308 GB, free: 143.7 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.705e-05/4.155, allocations: 27.38 kB / 1.308 GB, free: 143.7 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001012/4.155, allocations: 21.05 kB / 1.308 GB, free: 143.7 MB / 0.6667 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1466/4.301, allocations: 61.42 MB / 1.368 GB, free: 114.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.89e-05/4.302, allocations: 4 kB / 1.368 GB, free: 114.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005679/4.307, allocations: 0.9158 MB / 1.369 GB, free: 113.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06333/4.371, allocations: 15.68 MB / 1.384 GB, free: 98.25 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00141/4.372, allocations: 164.7 kB / 1.384 GB, free: 98.09 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4688/4.841, allocations: 64.66 MB / 1.447 GB, free: 162.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.04094/4.882, allocations: 24.53 MB / 1.471 GB, free: 154.6 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1016/4.984, allocations: 40.03 MB / 1.51 GB, free: 152.6 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003036/4.987, allocations: 0.9055 MB / 1.511 GB, free: 152.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003389/4.99, allocations: 131 kB / 1.511 GB, free: 152.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009846/5, allocations: 0.8734 MB / 1.512 GB, free: 152.5 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002554/5.002, allocations: 431 kB / 1.513 GB, free: 152.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001253/5.004, allocations: 168.1 kB / 1.513 GB, free: 152.5 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.01328/5.017, allocations: 5.524 MB / 1.518 GB, free: 152.2 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.377e-06/5.017, allocations: 0 / 1.518 GB, free: 152.2 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.02183/5.039, allocations: 4.286 MB / 1.522 GB, free: 151.9 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 32 ($STATESET6.x[2],$STATESET6.x[1],$STATESET5.x[5],$STATESET5.x[4],$STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],$STATESET4.x[6],$STATESET4.x[5],$STATESET4.x[4],$STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyBox1.body.w_a[1],bodyBox1.body.w_a[2],bodyBox1.body.w_a[3],body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (360): * Single equations (assignments): 345 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {3,8,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(4,93.8%) 17,(3,100.0%) 3,(8,82.8%) 29,(7,93.9%) 12,(7,63.3%) 20} * Non-linear torn systems: 1 {7 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001757/5.041, allocations: 283.1 kB / 1.523 GB, free: 151.7 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.04357/5.084, allocations: 22.32 MB / 1.544 GB, free: 143.3 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/5.084, allocations: 0.5469 kB / 1.544 GB, free: 143.3 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.02361/5.108, allocations: 11.16 MB / 1.555 GB, free: 138.5 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009036/5.117, allocations: 1.351 MB / 1.557 GB, free: 138.1 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07849/5.196, allocations: 31.95 MB / 1.588 GB, free: 122.8 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0207/5.216, allocations: 9.04 MB / 1.597 GB, free: 116.3 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004784/5.221, allocations: 0.7409 MB / 1.597 GB, free: 115.6 MB / 0.6667 GB Notification: Performance of SimCode: time 1.766e-06/5.221, allocations: 3.125 kB / 1.597 GB, free: 115.6 MB / 0.6667 GB Notification: Performance of Templates: time 2.567/7.788, allocations: 0.8127 GB / 2.41 GB, free: 154.7 MB / 0.6667 GB