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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") Notification: Performance of loadModel(Modelica): time 1.918/1.918, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.087e-05/3.102e-05, allocations: 4 kB / 292.1 MB, free: 8.316 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09139/0.09145, allocations: 50.41 MB / 342.6 MB, free: 5.879 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4103/0.5018, allocations: 114.7 MB / 457.2 MB, free: 11.89 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.5022, allocations: 92.75 kB / 457.3 MB, free: 11.85 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7918/1.294, allocations: 128.2 MB / 0.5718 GB, free: 97.92 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.266e-06/1.294, allocations: 0 / 0.5718 GB, free: 97.92 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000405/1.294, allocations: 145.2 kB / 0.5719 GB, free: 97.91 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.02588/1.32, allocations: 7.024 MB / 0.5788 GB, free: 95.35 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/1.32, allocations: 13.25 kB / 0.5788 GB, free: 95.35 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03012/1.351, allocations: 2.892 MB / 0.5816 GB, free: 94.88 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0267/1.377, allocations: 7.823 MB / 0.5892 GB, free: 92.66 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000541/1.378, allocations: 0.5165 MB / 0.5897 GB, free: 92.46 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002873/1.381, allocations: 0.7009 MB / 0.5904 GB, free: 92.24 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04169/1.423, allocations: 17.11 MB / 0.6071 GB, free: 81.66 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003011/1.423, allocations: 79.28 kB / 0.6072 GB, free: 81.58 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00177/1.425, allocations: 330.1 kB / 0.6075 GB, free: 81.29 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002329/1.427, allocations: 1.491 MB / 0.609 GB, free: 80.05 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03429/1.461, allocations: 14.07 MB / 0.6227 GB, free: 66.11 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.4003/1.862, allocations: 74.34 MB / 0.6953 GB, free: 44.91 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02821/1.89, allocations: 7.338 MB / 0.7025 GB, free: 44.23 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006298/1.896, allocations: 3.668 MB / 0.7061 GB, free: 44.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03195/1.928, allocations: 16.29 MB / 0.722 GB, free: 40.64 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/1.928, allocations: 59.78 kB / 0.722 GB, free: 40.61 MB / 442.7 MB Notification: Performance of pre-optimization done (n=253): time 7.686e-06/1.928, allocations: 0 / 0.722 GB, free: 40.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=269): time 0.08286/2.011, allocations: 23.42 MB / 0.7449 GB, free: 34.05 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001115/2.012, allocations: 1.6 MB / 0.7465 GB, free: 32.48 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01324/2.026, allocations: 5.075 MB / 0.7514 GB, free: 30.59 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000767/2.026, allocations: 66.52 kB / 0.7515 GB, free: 30.53 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005557/2.032, allocations: 4.799 MB / 0.7562 GB, free: 26.85 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002144/2.034, allocations: 1.057 MB / 0.7572 GB, free: 26.09 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001253/2.036, allocations: 171.7 kB / 0.7574 GB, free: 25.96 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0009062/2.037, allocations: 0.6765 MB / 0.758 GB, free: 25.49 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0111/2.048, allocations: 3.184 MB / 0.7611 GB, free: 24.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01496/2.063, allocations: 8.469 MB / 0.7694 GB, free: 16.18 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01662/2.079, allocations: 5.144 MB / 0.7744 GB, free: 14.68 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001996/2.08, allocations: 53.19 kB / 0.7745 GB, free: 14.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=1151) (initialization): time 0.03362/2.113, allocations: 12.85 MB / 0.787 GB, free: 8.625 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000137/2.113, allocations: 88 kB / 0.7871 GB, free: 8.539 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01254/2.126, allocations: 5.625 MB / 0.7926 GB, free: 3.906 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007602/2.134, allocations: 2.098 MB / 0.7947 GB, free: 2.422 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008661/2.142, allocations: 2.081 MB / 0.7967 GB, free: 0.625 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02115/2.163, allocations: 14.07 MB / 0.8104 GB, free: 3.215 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009169/2.173, allocations: 0.5606 MB / 0.811 GB, free: 2.754 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001939/2.175, allocations: 0.5311 MB / 0.8115 GB, free: 2.234 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.001981/2.177, allocations: 0.7845 MB / 0.8123 GB, free: 1.449 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001338/2.178, allocations: 0.5168 MB / 0.8128 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02505/2.203, allocations: 6.784 MB / 0.8194 GB, free: 12.93 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01423/2.217, allocations: 5.455 MB / 0.8247 GB, free: 8.465 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01501/2.232, allocations: 5.815 MB / 0.8304 GB, free: 2.559 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.416e-05/2.232, allocations: 11.95 kB / 0.8304 GB, free: 2.547 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04383/2.276, allocations: 16.63 MB / 0.8467 GB, free: 1.766 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-05/2.276, allocations: 8 kB / 0.8467 GB, free: 1.758 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003225/2.28, allocations: 499.2 kB / 0.8471 GB, free: 1.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007356/2.287, allocations: 1.788 MB / 0.8489 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006001/2.288, allocations: 67.41 kB / 0.849 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01742/2.305, allocations: 9.718 MB / 0.8584 GB, free: 5.297 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001503/2.307, allocations: 1.467 MB / 0.8599 GB, free: 3.688 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02254/2.329, allocations: 10.29 MB / 0.8699 GB, free: 8.887 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001891/2.331, allocations: 0.5567 MB / 0.8705 GB, free: 8.305 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001244/2.332, allocations: 59.12 kB / 0.8705 GB, free: 8.254 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003254/2.336, allocations: 214.5 kB / 0.8707 GB, free: 8.047 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007043/2.336, allocations: 177.6 kB / 0.8709 GB, free: 7.871 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003685/2.337, allocations: 83.97 kB / 0.871 GB, free: 7.789 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009119/2.346, allocations: 3.527 MB / 0.8744 GB, free: 4.254 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.195e-06/2.346, allocations: 4 kB / 0.8744 GB, free: 4.25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01138/2.357, allocations: 1.682 MB / 0.8761 GB, free: 2.582 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.001276/2.359, allocations: 267.8 kB / 0.8763 GB, free: 2.328 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.2905/2.649, allocations: 8.394 MB / 0.8845 GB, free: 160 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/2.649, allocations: 0.7812 kB / 0.8845 GB, free: 160 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007419/2.657, allocations: 3.235 MB / 0.8877 GB, free: 159.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004954/2.662, allocations: 0.7676 MB / 0.8884 GB, free: 159.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04657/2.708, allocations: 12.38 MB / 0.9005 GB, free: 156.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01593/2.724, allocations: 4.936 MB / 0.9053 GB, free: 155.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01866/2.743, allocations: 2.87 MB / 0.9081 GB, free: 155.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002696/2.746, allocations: 358.6 kB / 0.9085 GB, free: 155.7 MB / 0.5105 GB Notification: Performance of SimCode: time 4.112e-06/2.746, allocations: 0 / 0.9085 GB, free: 155.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.1598/2.906, allocations: 57.69 MB / 0.9648 GB, free: 135.2 MB / 0.5105 GB