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.2_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") Notification: Performance of loadModel(Modelica): time 1.882/1.882, allocations: 194.9 MB / 210.6 MB, free: 9.312 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.893e-05/2.894e-05, allocations: 4 kB / 258.8 MB, free: 9.027 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2937, allocations: 44.51 MB / 303.3 MB, free: 12.86 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint): time 0.1013/0.3951, allocations: 67.65 MB / 371 MB, free: 9.922 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04048/0.4356, allocations: 15.1 MB / 386.1 MB, free: 10.77 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0147/0.4504, allocations: 395 kB / 386.5 MB, free: 10.38 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01187/0.4623, allocations: 3.612 MB / 390.1 MB, free: 6.754 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03388/0.4962, allocations: 9.478 MB / 399.5 MB, free: 13.25 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006445/0.5027, allocations: 1.17 MB / 400.7 MB, free: 12.07 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.008479/0.5113, allocations: 2.935 MB / 403.6 MB, free: 9.137 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0169/0.5282, allocations: 8.647 MB / 412.3 MB, free: 436 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002591/0.5309, allocations: 1.298 MB / 413.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003416/0.5343, allocations: 1.815 MB / 415.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003738/0.5381, allocations: 1.361 MB / 416.8 MB, free: 11.94 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001224/0.5393, allocations: 184 kB / 416.9 MB, free: 11.76 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003549/0.5429, allocations: 2.513 MB / 419.5 MB, free: 9.242 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00169/0.5446, allocations: 436 kB / 419.9 MB, free: 8.816 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3078/0.8524, allocations: 9.571 MB / 429.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.8525, allocations: 0 / 429.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.817e-06/0.8525, allocations: 1.594 kB / 429.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000412/0.8529, allocations: 0 / 429.5 MB, free: 12.56 MB / 362.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.02513/0.8781, allocations: 6.899 MB / 436.4 MB, free: 9.984 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.8781, allocations: 19.45 kB / 436.4 MB, free: 9.984 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01782/0.896, allocations: 2.715 MB / 439.1 MB, free: 9.531 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01386/0.9099, allocations: 4.783 MB / 443.9 MB, free: 8.781 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004488/0.9104, allocations: 430.9 kB / 444.3 MB, free: 8.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003508/0.9139, allocations: 0.6587 MB / 445 MB, free: 8.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04833/0.9623, allocations: 16.89 MB / 461.8 MB, free: 6.102 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002873/0.9626, allocations: 64.89 kB / 461.9 MB, free: 6.094 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002048/0.9647, allocations: 262.9 kB / 462.2 MB, free: 6.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006067/0.9707, allocations: 2.55 MB / 464.7 MB, free: 6.062 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04455/1.015, allocations: 14.6 MB / 479.3 MB, free: 68 kB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.1211/1.137, allocations: 63.75 MB / 0.5303 GB, free: 11.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03748/1.174, allocations: 7.333 MB / 0.5375 GB, free: 5.543 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04183/1.216, allocations: 16.01 MB / 0.5531 GB, free: 7.324 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.278e-05/1.216, allocations: 64.5 kB / 0.5532 GB, free: 7.254 MB / 442.7 MB Notification: Performance of pre-optimization done (n=248): time 7.154e-06/1.216, allocations: 4 kB / 0.5532 GB, free: 7.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=264): time 0.1247/1.341, allocations: 27.83 MB / 0.5804 GB, free: 11.1 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001662/1.342, allocations: 1.631 MB / 0.582 GB, free: 9.305 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01275/1.355, allocations: 5.561 MB / 0.5874 GB, free: 3.73 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007962/1.356, allocations: 61.7 kB / 0.5875 GB, free: 3.664 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2665/1.623, allocations: 4.819 MB / 0.5922 GB, free: 203.2 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001902/1.625, allocations: 1.035 MB / 0.5932 GB, free: 202.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001097/1.626, allocations: 178.4 kB / 0.5933 GB, free: 202.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007786/1.627, allocations: 0.6783 MB / 0.594 GB, free: 202.4 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008758/1.635, allocations: 3.372 MB / 0.5973 GB, free: 201.8 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01178/1.647, allocations: 8.752 MB / 0.6058 GB, free: 193.4 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01199/1.659, allocations: 5.282 MB / 0.611 GB, free: 191.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001867/1.659, allocations: 53.5 kB / 0.6111 GB, free: 191.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=1163) (initialization): time 0.04964/1.709, allocations: 14.73 MB / 0.6254 GB, free: 184 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001287/1.709, allocations: 84.97 kB / 0.6255 GB, free: 183.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02883/1.738, allocations: 6.768 MB / 0.6321 GB, free: 178.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02401/1.762, allocations: 3.252 MB / 0.6353 GB, free: 175.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01248/1.775, allocations: 2.09 MB / 0.6373 GB, free: 173.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02927/1.804, allocations: 16.29 MB / 0.6533 GB, free: 156 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01042/1.814, allocations: 0.5812 MB / 0.6538 GB, free: 155.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001784/1.816, allocations: 0.5323 MB / 0.6543 GB, free: 154.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 872 * 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 (1099): * Single equations (assignments): 1083 * Array equations: 8 * 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.007618/1.824, allocations: 3.164 MB / 0.6574 GB, free: 151.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00129/1.825, allocations: 0.5128 MB / 0.6579 GB, free: 151.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0206/1.846, allocations: 6.517 MB / 0.6643 GB, free: 144.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01782/1.864, allocations: 5.615 MB / 0.6698 GB, free: 138.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01636/1.88, allocations: 5.453 MB / 0.6751 GB, free: 133.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.125e-05/1.88, allocations: 15.95 kB / 0.6751 GB, free: 133.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04729/1.927, allocations: 17.25 MB / 0.692 GB, free: 115.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.598e-05/1.928, allocations: 11.95 kB / 0.692 GB, free: 115.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004493/1.932, allocations: 491.2 kB / 0.6924 GB, free: 115.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00966/1.942, allocations: 1.854 MB / 0.6943 GB, free: 113.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007147/1.942, allocations: 73.61 kB / 0.6943 GB, free: 113.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01818/1.961, allocations: 9.968 MB / 0.7041 GB, free: 103.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001017/1.962, allocations: 1.481 MB / 0.7055 GB, free: 101.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02371/1.985, allocations: 11.26 MB / 0.7165 GB, free: 89.65 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001783/1.987, allocations: 0.5917 MB / 0.7171 GB, free: 89.03 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001292/1.989, allocations: 59.98 kB / 0.7171 GB, free: 88.97 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004101/1.993, allocations: 220.4 kB / 0.7173 GB, free: 88.76 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005157/1.993, allocations: 193.5 kB / 0.7175 GB, free: 88.57 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002802/1.994, allocations: 82.25 kB / 0.7176 GB, free: 88.49 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006895/2, allocations: 3.914 MB / 0.7214 GB, free: 84.58 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.31e-07/2, allocations: 4 kB / 0.7214 GB, free: 84.57 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009512/2.01, allocations: 1.703 MB / 0.7231 GB, free: 82.88 MB / 474.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.001068/2.011, allocations: 271.2 kB / 0.7234 GB, free: 82.62 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02038/2.032, allocations: 9.033 MB / 0.7322 GB, free: 73.51 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.254e-05/2.032, allocations: 4 kB / 0.7322 GB, free: 73.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008397/2.04, allocations: 3.342 MB / 0.7354 GB, free: 70.07 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006094/2.046, allocations: 0.7739 MB / 0.7362 GB, free: 69.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03445/2.081, allocations: 17.75 MB / 0.7535 GB, free: 51.38 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008958/2.09, allocations: 4.97 MB / 0.7584 GB, free: 46.38 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01201/2.102, allocations: 2.89 MB / 0.7612 GB, free: 43.48 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00162/2.103, allocations: 367.4 kB / 0.7616 GB, free: 43.12 MB / 474.7 MB Notification: Performance of SimCode: time 1.082e-06/2.103, allocations: 0 / 0.7616 GB, free: 43.12 MB / 474.7 MB Notification: Performance of Templates: time 0.4944/2.598, allocations: 61.61 MB / 0.8217 GB, free: 172.4 MB / 474.7 MB