Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") Notification: Performance of loadModel(Modelica): time 1.69/1.69, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.035e-05/3.043e-05, allocations: 4 kB / 225 MB, free: 2.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.211, allocations: 38.76 MB / 263.8 MB, free: 9.816 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1741/0.3852, allocations: 100.6 MB / 364.4 MB, free: 5.035 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004674/0.3857, allocations: 83.95 kB / 364.5 MB, free: 4.953 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6094/0.9951, allocations: 127.3 MB / 491.8 MB, free: 14.42 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.299e-06/0.9952, allocations: 0 / 491.8 MB, free: 14.42 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000433/0.9956, allocations: 143.9 kB / 492 MB, free: 14.28 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2366 * Number of variables: 2366 Notification: Performance of Generate backend data structure: time 0.02672/1.022, allocations: 7.051 MB / 499 MB, free: 7.148 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/1.022, allocations: 8.031 kB / 499 MB, free: 7.141 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0174/1.04, allocations: 2.896 MB / 0.4902 GB, free: 4.23 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2524/1.292, allocations: 8.127 MB / 0.4981 GB, free: 41.76 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005433/1.293, allocations: 0.5198 MB / 0.4986 GB, free: 41.74 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002623/1.296, allocations: 0.6945 MB / 0.4993 GB, free: 41.74 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04153/1.337, allocations: 17.13 MB / 0.516 GB, free: 38.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000344/1.337, allocations: 85.31 kB / 0.5161 GB, free: 38.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002166/1.34, allocations: 329.8 kB / 0.5164 GB, free: 38.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002516/1.342, allocations: 1.489 MB / 0.5179 GB, free: 38.08 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0396/1.382, allocations: 14.13 MB / 0.5317 GB, free: 38.05 MB / 346.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.1114/1.493, allocations: 74.7 MB / 0.6046 GB, free: 2.859 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04098/1.534, allocations: 7.906 MB / 0.6123 GB, free: 15.13 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007253/1.542, allocations: 3.665 MB / 0.6159 GB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3241/1.866, allocations: 15.94 MB / 0.6315 GB, free: 71.37 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/1.866, allocations: 63.56 kB / 0.6316 GB, free: 71.33 MB / 378.7 MB Notification: Performance of pre-optimization done (n=248): time 6.634e-06/1.866, allocations: 0 / 0.6316 GB, free: 71.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=264): time 0.07931/1.945, allocations: 23.39 MB / 0.6544 GB, free: 67.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001085/1.946, allocations: 1.598 MB / 0.656 GB, free: 65.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009467/1.956, allocations: 5.148 MB / 0.661 GB, free: 65.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005515/1.956, allocations: 68.22 kB / 0.661 GB, free: 65.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003425/1.96, allocations: 4.848 MB / 0.6658 GB, free: 62.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001337/1.961, allocations: 1.034 MB / 0.6668 GB, free: 62.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008208/1.962, allocations: 178.6 kB / 0.667 GB, free: 62.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0005399/1.963, allocations: 0.6854 MB / 0.6676 GB, free: 61.78 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006282/1.969, allocations: 3.202 MB / 0.6708 GB, free: 61.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00939/1.978, allocations: 8.549 MB / 0.6791 GB, free: 54.81 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009394/1.988, allocations: 5.186 MB / 0.6842 GB, free: 54.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001672/1.988, allocations: 52.34 kB / 0.6842 GB, free: 54.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.03078/2.019, allocations: 12.85 MB / 0.6968 GB, free: 52.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002497/2.019, allocations: 86.22 kB / 0.6969 GB, free: 52.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01294/2.032, allocations: 5.561 MB / 0.7023 GB, free: 50.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007216/2.039, allocations: 2.013 MB / 0.7042 GB, free: 50.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009062/2.048, allocations: 2.127 MB / 0.7063 GB, free: 50.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01581/2.064, allocations: 13.7 MB / 0.7197 GB, free: 37.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009264/2.074, allocations: 0.5648 MB / 0.7203 GB, free: 37.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001792/2.075, allocations: 0.5283 MB / 0.7208 GB, free: 36.74 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 875 * Number of states: 0 () * Number of discrete variables: 57 (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.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.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 (1105): * Single equations (assignments): 1091 * 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 {1} * 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.001941/2.077, allocations: 0.7994 MB / 0.7215 GB, free: 35.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001126/2.079, allocations: 0.5168 MB / 0.7221 GB, free: 35.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01456/2.093, allocations: 6.381 MB / 0.7283 GB, free: 30.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01261/2.106, allocations: 5.476 MB / 0.7336 GB, free: 25.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01343/2.119, allocations: 5.846 MB / 0.7393 GB, free: 20.94 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.822e-05/2.119, allocations: 10.92 kB / 0.7394 GB, free: 20.94 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04112/2.16, allocations: 17.03 MB / 0.756 GB, free: 7.297 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.832e-05/2.161, allocations: 8 kB / 0.756 GB, free: 7.289 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003134/2.164, allocations: 0.491 MB / 0.7565 GB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006689/2.17, allocations: 1.793 MB / 0.7582 GB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005874/2.171, allocations: 63.88 kB / 0.7583 GB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2466/2.418, allocations: 9.736 MB / 0.7678 GB, free: 74.69 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009952/2.419, allocations: 1.466 MB / 0.7692 GB, free: 73.34 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01928/2.438, allocations: 10.74 MB / 0.7797 GB, free: 70.81 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001768/2.44, allocations: 0.5731 MB / 0.7803 GB, free: 70.72 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00166/2.441, allocations: 57.06 kB / 0.7803 GB, free: 70.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003821/2.445, allocations: 212 kB / 0.7805 GB, free: 70.72 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008032/2.446, allocations: 191.7 kB / 0.7807 GB, free: 70.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003159/2.447, allocations: 85.22 kB / 0.7808 GB, free: 70.71 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.007935/2.454, allocations: 3.585 MB / 0.7843 GB, free: 70.46 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.237e-06/2.454, allocations: 0 / 0.7843 GB, free: 70.46 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01021/2.465, allocations: 1.677 MB / 0.7859 GB, free: 70.46 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (221): * Single equations (assignments): 211 * 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.001245/2.466, allocations: 270.4 kB / 0.7862 GB, free: 70.37 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01663/2.483, allocations: 8.326 MB / 0.7943 GB, free: 69.61 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.194e-05/2.483, allocations: 6.406 kB / 0.7943 GB, free: 69.61 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006683/2.489, allocations: 3.266 MB / 0.7975 GB, free: 68.97 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005026/2.494, allocations: 0.7657 MB / 0.7983 GB, free: 68.95 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02803/2.523, allocations: 12.5 MB / 0.8105 GB, free: 66.21 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009887/2.532, allocations: 4.97 MB / 0.8153 GB, free: 65.36 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.01047/2.543, allocations: 2.895 MB / 0.8181 GB, free: 65.3 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001639/2.545, allocations: 364.4 kB / 0.8185 GB, free: 65.3 MB / 394.7 MB Notification: Performance of SimCode: time 1.802e-06/2.545, allocations: 0 / 0.8185 GB, free: 65.3 MB / 394.7 MB Notification: Performance of Templates: time 0.1455/2.69, allocations: 57.29 MB / 0.8744 GB, free: 33.86 MB / 394.7 MB