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.673/1.673, allocations: 171.2 MB / 185.7 MB, free: 1.391 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.839e-05/2.848e-05, allocations: 6.188 kB / 228.2 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07905/0.0791, allocations: 38.76 MB / 266.9 MB, free: 492 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint): time 0.3728/0.452, allocations: 67.65 MB / 334.6 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.04618/0.4982, allocations: 15.07 MB / 349.6 MB, free: 13.47 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01807/0.5164, allocations: 391.1 kB / 350 MB, free: 13.09 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01352/0.5299, allocations: 3.616 MB / 353.6 MB, free: 9.453 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03712/0.5671, allocations: 9.47 MB / 363.1 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007141/0.5743, allocations: 1.182 MB / 364.3 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.009045/0.5834, allocations: 2.951 MB / 367.2 MB, free: 11.81 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01804/0.6015, allocations: 8.645 MB / 375.9 MB, free: 3.113 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003238/0.6048, allocations: 1.29 MB / 377.2 MB, free: 1.82 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004129/0.609, allocations: 1.815 MB / 379 MB, free: 0 / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004262/0.6133, allocations: 1.354 MB / 380.3 MB, free: 14.64 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001755/0.6151, allocations: 180 kB / 380.5 MB, free: 14.46 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004106/0.6193, allocations: 2.513 MB / 383 MB, free: 11.95 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002194/0.6215, allocations: 436 kB / 383.5 MB, free: 11.52 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0151/0.6367, allocations: 9.569 MB / 393 MB, free: 1.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.6367, allocations: 0 / 393 MB, free: 1.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.6367, allocations: 0 / 393 MB, free: 1.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004022/0.6372, allocations: 4 kB / 393 MB, free: 1.926 MB / 314.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.0254/0.6626, allocations: 6.903 MB / 399.9 MB, free: 10.95 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.6626, allocations: 8.031 kB / 399.9 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01762/0.6803, allocations: 2.693 MB / 402.6 MB, free: 8.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01397/0.6943, allocations: 4.779 MB / 407.4 MB, free: 3.371 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005806/0.6949, allocations: 431.1 kB / 407.8 MB, free: 2.949 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003451/0.6984, allocations: 0.6556 MB / 408.5 MB, free: 2.293 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05309/0.7515, allocations: 16.89 MB / 425.4 MB, free: 484 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003187/0.7519, allocations: 59.47 kB / 425.4 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002134/0.754, allocations: 263.8 kB / 425.7 MB, free: 160 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006874/0.761, allocations: 2.561 MB / 428.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.301/1.062, allocations: 14.58 MB / 442.8 MB, free: 120.2 MB / 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.1164/1.178, allocations: 63.76 MB / 0.4947 GB, free: 73.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03529/1.214, allocations: 7.321 MB / 0.5019 GB, free: 66.53 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03675/1.251, allocations: 15.99 MB / 0.5175 GB, free: 50.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.321e-05/1.251, allocations: 60.55 kB / 0.5175 GB, free: 50.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=248): time 7.373e-06/1.251, allocations: 0 / 0.5175 GB, free: 50.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=264): time 0.1164/1.367, allocations: 27.83 MB / 0.5447 GB, free: 21.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001352/1.369, allocations: 1.618 MB / 0.5463 GB, free: 20.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01105/1.38, allocations: 5.561 MB / 0.5517 GB, free: 14.56 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007445/1.38, allocations: 64.12 kB / 0.5518 GB, free: 14.49 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003731/1.384, allocations: 4.824 MB / 0.5565 GB, free: 9.672 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001692/1.386, allocations: 1.036 MB / 0.5575 GB, free: 8.645 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008306/1.387, allocations: 173.4 kB / 0.5577 GB, free: 8.477 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004849/1.387, allocations: 0.6899 MB / 0.5584 GB, free: 7.777 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007689/1.395, allocations: 3.34 MB / 0.5616 GB, free: 4.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2455/1.64, allocations: 8.718 MB / 0.5701 GB, free: 108.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01386/1.654, allocations: 5.26 MB / 0.5753 GB, free: 106.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004166/1.655, allocations: 58.39 kB / 0.5753 GB, free: 106.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=1163) (initialization): time 0.04292/1.698, allocations: 13.81 MB / 0.5888 GB, free: 102 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002076/1.698, allocations: 91.06 kB / 0.5889 GB, free: 102 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01905/1.717, allocations: 5.839 MB / 0.5946 GB, free: 99.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01151/1.729, allocations: 2.27 MB / 0.5968 GB, free: 99.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0129/1.742, allocations: 2.093 MB / 0.5989 GB, free: 99.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02312/1.765, allocations: 14.54 MB / 0.6131 GB, free: 86.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0109/1.776, allocations: 0.5791 MB / 0.6136 GB, free: 85.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002138/1.778, allocations: 0.5325 MB / 0.6141 GB, free: 85.24 MB / 362.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): 2 * Torn equation systems: 6 * 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: 0 * 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: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.008305/1.786, allocations: 3.169 MB / 0.6172 GB, free: 82.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001324/1.788, allocations: 0.5142 MB / 0.6177 GB, free: 81.92 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02089/1.809, allocations: 6.522 MB / 0.6241 GB, free: 75.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01808/1.827, allocations: 5.613 MB / 0.6296 GB, free: 69.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01722/1.844, allocations: 5.453 MB / 0.6349 GB, free: 64.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.547e-05/1.844, allocations: 11.95 kB / 0.6349 GB, free: 64.06 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0476/1.892, allocations: 17.27 MB / 0.6518 GB, free: 46.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.199e-05/1.892, allocations: 8 kB / 0.6518 GB, free: 46.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004525/1.896, allocations: 499.2 kB / 0.6523 GB, free: 46.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00979/1.906, allocations: 1.85 MB / 0.6541 GB, free: 44.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000706/1.907, allocations: 73.44 kB / 0.6542 GB, free: 44.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01857/1.925, allocations: 9.973 MB / 0.6639 GB, free: 33.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001165/1.927, allocations: 1.485 MB / 0.6653 GB, free: 32.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02619/1.953, allocations: 11.25 MB / 0.6763 GB, free: 20.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001808/1.955, allocations: 0.5956 MB / 0.6769 GB, free: 19.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002093/1.957, allocations: 59.98 kB / 0.677 GB, free: 19.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005393/1.962, allocations: 212.9 kB / 0.6772 GB, free: 19.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001027/1.963, allocations: 193.5 kB / 0.6774 GB, free: 19.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005324/1.964, allocations: 85.38 kB / 0.6774 GB, free: 19.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.008841/1.973, allocations: 3.91 MB / 0.6813 GB, free: 15.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.41e-07/1.973, allocations: 1.75 kB / 0.6813 GB, free: 15.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0108/1.984, allocations: 1.689 MB / 0.6829 GB, free: 13.79 MB / 362.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.001492/1.985, allocations: 278.1 kB / 0.6832 GB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.02329/2.009, allocations: 8.965 MB / 0.6919 GB, free: 4.484 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.22e-05/2.009, allocations: 0 / 0.6919 GB, free: 4.484 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01375/2.022, allocations: 3.354 MB / 0.6952 GB, free: 1.035 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00967/2.032, allocations: 0.7768 MB / 0.696 GB, free: 264 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.302/2.334, allocations: 17.76 MB / 0.7133 GB, free: 114.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01132/2.346, allocations: 4.964 MB / 0.7182 GB, free: 113.4 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.01336/2.359, allocations: 2.897 MB / 0.721 GB, free: 113.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00221/2.361, allocations: 365.2 kB / 0.7213 GB, free: 113.1 MB / 378.7 MB Notification: Performance of SimCode: time 1.463e-06/2.361, allocations: 3.938 kB / 0.7213 GB, free: 113.1 MB / 378.7 MB Notification: Performance of Templates: time 0.1595/2.521, allocations: 59.21 MB / 0.7792 GB, free: 62.85 MB / 378.7 MB