Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") Notification: Performance of loadModel(Modelica): time 1.949/1.949, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.998e-05/3.015e-05, allocations: 4 kB / 292.1 MB, free: 8.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09298/0.09303, allocations: 50.42 MB / 342.6 MB, free: 6.395 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.44/0.5331, allocations: 114.8 MB / 457.3 MB, free: 11.84 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.5334, allocations: 92.62 kB / 457.4 MB, free: 11.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7177/1.251, allocations: 128.2 MB / 0.5718 GB, free: 97.77 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.295e-06/1.251, allocations: 0 / 0.5718 GB, free: 97.77 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004189/1.252, allocations: 146.5 kB / 0.572 GB, free: 97.77 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: 2352 * Number of variables: 2352 Notification: Performance of Generate backend data structure: time 0.02605/1.278, allocations: 7.023 MB / 0.5788 GB, free: 95.21 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/1.278, allocations: 11.03 kB / 0.5788 GB, free: 95.21 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01733/1.295, allocations: 2.894 MB / 0.5817 GB, free: 94.74 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02226/1.317, allocations: 7.814 MB / 0.5893 GB, free: 92.62 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005404/1.318, allocations: 0.5197 MB / 0.5898 GB, free: 92.41 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002834/1.321, allocations: 0.7037 MB / 0.5905 GB, free: 92.2 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04283/1.364, allocations: 17.1 MB / 0.6072 GB, free: 81.83 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003461/1.364, allocations: 83.28 kB / 0.6073 GB, free: 81.75 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002359/1.366, allocations: 329.6 kB / 0.6076 GB, free: 81.46 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002506/1.369, allocations: 1.488 MB / 0.609 GB, free: 80.22 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03456/1.404, allocations: 14.07 MB / 0.6228 GB, free: 66.36 MB / 442.7 MB 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.3997/1.803, allocations: 74.35 MB / 0.6954 GB, free: 44.72 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02805/1.831, allocations: 7.342 MB / 0.7026 GB, free: 44.04 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006195/1.838, allocations: 3.661 MB / 0.7061 GB, free: 44 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03164/1.869, allocations: 16.29 MB / 0.722 GB, free: 40.44 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.418e-05/1.869, allocations: 65.16 kB / 0.7221 GB, free: 40.4 MB / 442.7 MB Notification: Performance of pre-optimization done (n=253): time 7.883e-06/1.869, allocations: 0 / 0.7221 GB, free: 40.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=269): time 0.08188/1.951, allocations: 23.41 MB / 0.745 GB, free: 33.94 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001175/1.953, allocations: 1.609 MB / 0.7465 GB, free: 32.36 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01081/1.963, allocations: 5.071 MB / 0.7515 GB, free: 30.48 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005851/1.964, allocations: 65.5 kB / 0.7515 GB, free: 30.42 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003339/1.967, allocations: 4.635 MB / 0.7561 GB, free: 26.77 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001482/1.969, allocations: 1.06 MB / 0.7571 GB, free: 26 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009402/1.97, allocations: 177.6 kB / 0.7573 GB, free: 25.87 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006136/1.971, allocations: 0.6874 MB / 0.758 GB, free: 25.39 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006721/1.977, allocations: 3.182 MB / 0.7611 GB, free: 24.31 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009557/1.987, allocations: 8.463 MB / 0.7693 GB, free: 16.09 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009831/1.997, allocations: 5.147 MB / 0.7744 GB, free: 14.58 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001563/1.997, allocations: 57.25 kB / 0.7744 GB, free: 14.58 MB / 442.7 MB Notification: Performance of matching and sorting (n=1151) (initialization): time 0.03125/2.028, allocations: 12.65 MB / 0.7868 GB, free: 8.965 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000134/2.028, allocations: 88 kB / 0.7868 GB, free: 8.879 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01275/2.041, allocations: 5.633 MB / 0.7923 GB, free: 4.238 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00782/2.049, allocations: 2.089 MB / 0.7944 GB, free: 2.766 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008958/2.058, allocations: 2.091 MB / 0.7964 GB, free: 0.9609 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02175/2.08, allocations: 14.06 MB / 0.8102 GB, free: 3.551 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01345/2.093, allocations: 0.5662 MB / 0.8107 GB, free: 3.086 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002083/2.095, allocations: 0.5225 MB / 0.8112 GB, free: 2.574 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 865 * Number of states: 0 () * Number of discrete variables: 62 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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],springOfConstraint.color[3],springOfConstraint.color[2],springOfConstraint.color[1],springOfConstraint.massColor[3],springOfConstraint.massColor[2],springOfConstraint.massColor[1],springOfJoint.color[3],springOfJoint.color[2],springOfJoint.color[1],springOfJoint.massColor[3],springOfJoint.massColor[2],springOfJoint.massColor[1],bodyOfConstraint.color[3],bodyOfConstraint.color[2],bodyOfConstraint.color[1],bodyOfConstraint.body.sphereColor[3],bodyOfConstraint.body.sphereColor[2],bodyOfConstraint.body.sphereColor[1],bodyOfConstraint.frameTranslation.color[3],bodyOfConstraint.frameTranslation.color[2],bodyOfConstraint.frameTranslation.color[1],bodyOfJoint.color[3],bodyOfJoint.color[2],bodyOfJoint.color[1],bodyOfJoint.body.sphereColor[3],bodyOfJoint.body.sphereColor[2],bodyOfJoint.body.sphereColor[1],bodyOfJoint.frameTranslation.color[3],bodyOfJoint.frameTranslation.color[2],bodyOfJoint.frameTranslation.color[1],sensorConstraintRelative.arrow.arrowLine.twoHeadedArrow,sensorConstraintRelative.arrow.headAtOrigin,sensorConstraintRelative.arrowColor[3],sensorConstraintRelative.arrowColor[2],sensorConstraintRelative.arrowColor[1],constraint.sphereColor[3],constraint.sphereColor[2],constraint.sphereColor[1],joint.sphereColor[3],joint.sphereColor[2],joint.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1097): * Single equations (assignments): 1083 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(3,100.0%) 3,(3,100.0%) 3,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002623/2.098, allocations: 0.7925 MB / 0.812 GB, free: 1.785 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001358/2.099, allocations: 0.5167 MB / 0.8125 GB, free: 1.262 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02252/2.122, allocations: 6.659 MB / 0.819 GB, free: 12.93 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01434/2.136, allocations: 5.448 MB / 0.8243 GB, free: 8.473 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01597/2.152, allocations: 5.817 MB / 0.83 GB, free: 2.938 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.767e-05/2.153, allocations: 11.95 kB / 0.83 GB, free: 2.926 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06048/2.213, allocations: 16.63 MB / 0.8462 GB, free: 2.145 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.202e-05/2.213, allocations: 11.94 kB / 0.8463 GB, free: 2.133 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006447/2.22, allocations: 495.2 kB / 0.8467 GB, free: 1.648 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01486/2.234, allocations: 1.795 MB / 0.8485 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009944/2.236, allocations: 63.97 kB / 0.8485 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0348/2.27, allocations: 9.714 MB / 0.858 GB, free: 5.676 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003054/2.273, allocations: 1.471 MB / 0.8595 GB, free: 4.062 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02394/2.297, allocations: 10.28 MB / 0.8695 GB, free: 9.266 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001918/2.299, allocations: 0.5567 MB / 0.8701 GB, free: 8.684 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001366/2.301, allocations: 58.48 kB / 0.8701 GB, free: 8.629 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003619/2.304, allocations: 214.2 kB / 0.8703 GB, free: 8.422 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000785/2.305, allocations: 183.7 kB / 0.8705 GB, free: 8.242 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003428/2.306, allocations: 83.97 kB / 0.8706 GB, free: 8.16 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009396/2.315, allocations: 3.527 MB / 0.874 GB, free: 4.625 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.181e-06/2.315, allocations: 0 / 0.874 GB, free: 4.625 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01076/2.326, allocations: 1.679 MB / 0.8757 GB, free: 2.961 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],joint.w_rel[1],joint.w_rel[2],joint.w_rel[3],bodyOfConstraint.body.w_a[1],bodyOfConstraint.body.w_a[2],bodyOfConstraint.body.w_a[3],freeMotionScalarInit.derd[1].u,freeMotionScalarInit.derd[2].u,freeMotionScalarInit.derd[3].u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (223): * Single equations (assignments): 213 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 3,(3,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001256/2.327, allocations: 272.3 kB / 0.8759 GB, free: 2.703 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.2866/2.614, allocations: 8.398 MB / 0.8841 GB, free: 159.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/2.614, allocations: 5.469 kB / 0.8841 GB, free: 159.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007417/2.621, allocations: 3.229 MB / 0.8873 GB, free: 158.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005113/2.626, allocations: 0.77 MB / 0.888 GB, free: 158.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0328/2.659, allocations: 13.13 MB / 0.9009 GB, free: 156.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01054/2.67, allocations: 4.93 MB / 0.9057 GB, free: 155.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002094/2.672, allocations: 425.3 kB / 0.9061 GB, free: 155.3 MB / 0.5105 GB Notification: Performance of SimCode: time 2.185e-06/2.672, allocations: 3.125 kB / 0.9061 GB, free: 155.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.6432/3.315, allocations: 273 MB / 1.173 GB, free: 85.56 MB / 0.5105 GB