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.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") Notification: Performance of loadModel(Modelica): time 1.882/1.882, allocations: 205.8 MB / 218.9 MB, free: 9.352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.777e-05/2.784e-05, allocations: 4 kB / 269.4 MB, free: 6.395 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08385/0.0839, allocations: 47.57 MB / 316.9 MB, free: 6.746 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4215/0.5055, allocations: 113.1 MB / 430 MB, free: 7.418 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/0.5058, allocations: 89.39 kB / 430.1 MB, free: 7.371 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.691/1.197, allocations: 128.9 MB / 0.5459 GB, free: 89.36 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.329e-06/1.197, allocations: 3.938 kB / 0.5459 GB, free: 89.36 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000401/1.197, allocations: 149.8 kB / 0.5461 GB, free: 89.35 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2401 * Number of variables: 2401 Notification: Performance of Generate backend data structure: time 0.02468/1.222, allocations: 7.117 MB / 0.553 GB, free: 86.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/1.222, allocations: 6.438 kB / 0.553 GB, free: 86.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01736/1.239, allocations: 2.92 MB / 0.5559 GB, free: 86.28 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02285/1.262, allocations: 8.19 MB / 0.5639 GB, free: 85.37 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004866/1.263, allocations: 0.5298 MB / 0.5644 GB, free: 85.36 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002505/1.265, allocations: 0.7051 MB / 0.5651 GB, free: 85.35 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04172/1.307, allocations: 17.38 MB / 0.5821 GB, free: 78.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003313/1.307, allocations: 83.06 kB / 0.5821 GB, free: 78.61 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002156/1.31, allocations: 338.8 kB / 0.5825 GB, free: 78.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00257/1.312, allocations: 1.519 MB / 0.5839 GB, free: 78.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03538/1.348, allocations: 14.34 MB / 0.5979 GB, free: 69.28 MB / 426.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.3475/1.695, allocations: 75.27 MB / 0.6715 GB, free: 71.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02847/1.724, allocations: 7.408 MB / 0.6787 GB, free: 70.64 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006444/1.73, allocations: 3.704 MB / 0.6823 GB, free: 70.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03143/1.762, allocations: 16.49 MB / 0.6984 GB, free: 67.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/1.762, allocations: 63.98 kB / 0.6985 GB, free: 67 MB / 426.7 MB Notification: Performance of pre-optimization done (n=262): time 7.543e-06/1.762, allocations: 0 / 0.6985 GB, free: 67 MB / 426.7 MB Notification: Performance of matching and sorting (n=278): time 0.0816/1.843, allocations: 23.84 MB / 0.7218 GB, free: 62.31 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00112/1.845, allocations: 1.606 MB / 0.7233 GB, free: 60.73 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01049/1.855, allocations: 5.181 MB / 0.7284 GB, free: 58.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006089/1.856, allocations: 69.69 kB / 0.7284 GB, free: 58.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00356/1.859, allocations: 4.875 MB / 0.7332 GB, free: 55.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001459/1.861, allocations: 1.082 MB / 0.7343 GB, free: 54.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007679/1.862, allocations: 184.9 kB / 0.7344 GB, free: 54.24 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005246/1.862, allocations: 0.687 MB / 0.7351 GB, free: 53.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006465/1.869, allocations: 3.234 MB / 0.7383 GB, free: 52.67 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009506/1.878, allocations: 8.602 MB / 0.7467 GB, free: 44.32 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01005/1.888, allocations: 5.227 MB / 0.7518 GB, free: 42.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001553/1.888, allocations: 56 kB / 0.7518 GB, free: 42.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=1173) (initialization): time 0.03132/1.92, allocations: 13.03 MB / 0.7646 GB, free: 37.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001363/1.92, allocations: 88 kB / 0.7646 GB, free: 36.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01278/1.933, allocations: 5.708 MB / 0.7702 GB, free: 32.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007472/1.94, allocations: 2.104 MB / 0.7723 GB, free: 30.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008716/1.949, allocations: 2.133 MB / 0.7743 GB, free: 28.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01637/1.965, allocations: 14.06 MB / 0.7881 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009149/1.975, allocations: 0.5749 MB / 0.7886 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001656/1.976, allocations: 0.536 MB / 0.7892 GB, free: 14.55 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 878 * Number of states: 0 () * Number of discrete variables: 60 (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.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 (1119): * Single equations (assignments): 1105 * 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.001672/1.978, allocations: 0.8058 MB / 0.79 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001103/1.979, allocations: 0.5244 MB / 0.7905 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01404/1.993, allocations: 6.443 MB / 0.7968 GB, free: 8.012 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01199/2.005, allocations: 5.531 MB / 0.8022 GB, free: 3.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01477/2.02, allocations: 5.984 MB / 0.808 GB, free: 14.71 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-05/2.02, allocations: 12.75 kB / 0.808 GB, free: 14.71 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04714/2.067, allocations: 17.32 MB / 0.8249 GB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.09e-05/2.067, allocations: 8 kB / 0.8249 GB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003479/2.071, allocations: 0.5109 MB / 0.8254 GB, free: 13.39 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007464/2.078, allocations: 1.788 MB / 0.8272 GB, free: 11.59 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006437/2.079, allocations: 67.98 kB / 0.8273 GB, free: 11.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2783/2.357, allocations: 9.731 MB / 0.8368 GB, free: 96.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001034/2.358, allocations: 1.462 MB / 0.8382 GB, free: 95.25 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02238/2.381, allocations: 10.86 MB / 0.8488 GB, free: 92.71 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001804/2.383, allocations: 0.5712 MB / 0.8493 GB, free: 92.62 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001577/2.384, allocations: 65.16 kB / 0.8494 GB, free: 92.62 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003939/2.388, allocations: 220.6 kB / 0.8496 GB, free: 92.62 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000809/2.389, allocations: 198 kB / 0.8498 GB, free: 92.61 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003238/2.389, allocations: 96.23 kB / 0.8499 GB, free: 92.61 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.008034/2.397, allocations: 3.6 MB / 0.8534 GB, free: 92.36 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.166e-06/2.397, allocations: 0 / 0.8534 GB, free: 92.36 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01052/2.408, allocations: 1.71 MB / 0.8551 GB, free: 92.36 MB / 458.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 (233): * Single equations (assignments): 223 * 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.001502/2.41, allocations: 273.7 kB / 0.8553 GB, free: 92.27 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02839/2.438, allocations: 8.523 MB / 0.8637 GB, free: 91.39 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.021e-05/2.438, allocations: 4.188 kB / 0.8637 GB, free: 91.39 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007673/2.446, allocations: 3.307 MB / 0.8669 GB, free: 90.75 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00484/2.451, allocations: 0.7816 MB / 0.8677 GB, free: 90.73 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02729/2.478, allocations: 12.65 MB / 0.88 GB, free: 86.66 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008503/2.486, allocations: 5.019 MB / 0.8849 GB, free: 85 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01415/2.501, allocations: 2.922 MB / 0.8878 GB, free: 84.95 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002664/2.503, allocations: 370.7 kB / 0.8881 GB, free: 84.93 MB / 458.7 MB Notification: Performance of SimCode: time 2.761e-06/2.503, allocations: 0 / 0.8881 GB, free: 84.93 MB / 458.7 MB Notification: Performance of Templates: time 0.1503/2.654, allocations: 58.69 MB / 0.9454 GB, free: 52.87 MB / 458.7 MB