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_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") Notification: Performance of loadModel(Modelica): time 2.028/2.028, allocations: 194.9 MB / 211.2 MB, free: 9.031 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.816e-05/2.811e-05, allocations: 0 / 258.8 MB, free: 9.387 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3089, allocations: 44.51 MB / 303.3 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint): time 0.1061/0.4151, allocations: 67.66 MB / 371 MB, free: 9.969 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04604/0.4612, allocations: 15.08 MB / 386 MB, free: 10.84 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01724/0.4785, allocations: 395 kB / 386.4 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01358/0.4921, allocations: 3.612 MB / 390 MB, free: 6.82 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03889/0.5311, allocations: 9.478 MB / 399.5 MB, free: 13.31 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007714/0.5388, allocations: 1.174 MB / 400.7 MB, free: 12.14 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.009229/0.5481, allocations: 2.939 MB / 403.6 MB, free: 9.195 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01871/0.5669, allocations: 8.655 MB / 412.3 MB, free: 492 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003504/0.5704, allocations: 1.294 MB / 413.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004419/0.5749, allocations: 1.815 MB / 415.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004658/0.5796, allocations: 1.369 MB / 416.8 MB, free: 11.99 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001906/0.5816, allocations: 180 kB / 416.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004416/0.5861, allocations: 2.505 MB / 419.4 MB, free: 9.305 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002303/0.5884, allocations: 436 kB / 419.9 MB, free: 8.879 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3465/0.935, allocations: 9.576 MB / 429.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.935, allocations: 0 / 429.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.9351, allocations: 0.625 kB / 429.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004637/0.9355, allocations: 0 / 429.4 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.02907/0.9646, allocations: 6.902 MB / 436.3 MB, free: 9.988 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.9647, allocations: 8.25 kB / 436.3 MB, free: 9.988 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01849/0.9832, allocations: 2.713 MB / 439.1 MB, free: 9.535 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01497/0.9982, allocations: 4.788 MB / 443.8 MB, free: 8.785 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005328/0.9988, allocations: 425.7 kB / 444.3 MB, free: 8.773 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003763/1.003, allocations: 0.6602 MB / 444.9 MB, free: 8.754 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05234/1.055, allocations: 16.9 MB / 461.8 MB, free: 6.105 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003962/1.055, allocations: 63.05 kB / 461.9 MB, free: 6.098 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003009/1.058, allocations: 261.9 kB / 462.1 MB, free: 6.098 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006451/1.065, allocations: 2.553 MB / 464.7 MB, free: 6.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0483/1.113, allocations: 14.59 MB / 479.3 MB, free: 112 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.1334/1.247, allocations: 63.76 MB / 0.5303 GB, free: 11.56 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03839/1.285, allocations: 7.326 MB / 0.5375 GB, free: 5.586 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04243/1.328, allocations: 16.01 MB / 0.5531 GB, free: 7.391 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.936e-05/1.328, allocations: 68.95 kB / 0.5532 GB, free: 7.32 MB / 442.7 MB Notification: Performance of pre-optimization done (n=248): time 5.931e-06/1.328, allocations: 4 kB / 0.5532 GB, free: 7.316 MB / 442.7 MB Notification: Performance of matching and sorting (n=264): time 0.1324/1.46, allocations: 27.83 MB / 0.5804 GB, free: 11.17 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002033/1.462, allocations: 1.627 MB / 0.5819 GB, free: 9.379 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01469/1.477, allocations: 5.553 MB / 0.5874 GB, free: 3.812 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008385/1.478, allocations: 69.7 kB / 0.5874 GB, free: 3.738 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2817/1.76, allocations: 4.654 MB / 0.592 GB, free: 203.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002004/1.762, allocations: 1.039 MB / 0.593 GB, free: 203.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001085/1.763, allocations: 177.1 kB / 0.5932 GB, free: 203.2 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007244/1.764, allocations: 0.6875 MB / 0.5938 GB, free: 202.9 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009214/1.773, allocations: 3.372 MB / 0.5971 GB, free: 202.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01241/1.785, allocations: 8.751 MB / 0.6057 GB, free: 193.9 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01259/1.798, allocations: 5.281 MB / 0.6108 GB, free: 191.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000206/1.798, allocations: 53.91 kB / 0.6109 GB, free: 191.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=1163) (initialization): time 0.04963/1.848, allocations: 14.54 MB / 0.6251 GB, free: 184.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001347/1.848, allocations: 88 kB / 0.6252 GB, free: 184.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02851/1.877, allocations: 6.765 MB / 0.6318 GB, free: 179 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02397/1.901, allocations: 3.256 MB / 0.6349 GB, free: 175.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0127/1.913, allocations: 2.09 MB / 0.637 GB, free: 173.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03045/1.944, allocations: 16.29 MB / 0.6529 GB, free: 156.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01079/1.955, allocations: 0.5851 MB / 0.6535 GB, free: 156 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001884/1.957, allocations: 0.5295 MB / 0.654 GB, free: 155.4 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.007986/1.965, allocations: 3.163 MB / 0.6571 GB, free: 152.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001351/1.966, allocations: 0.5128 MB / 0.6576 GB, free: 151.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01978/1.986, allocations: 6.524 MB / 0.6639 GB, free: 145.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01786/2.004, allocations: 5.615 MB / 0.6694 GB, free: 139.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01704/2.021, allocations: 5.445 MB / 0.6747 GB, free: 133.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.301e-05/2.021, allocations: 8.719 kB / 0.6748 GB, free: 133.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0493/2.07, allocations: 17.26 MB / 0.6916 GB, free: 116.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.412e-05/2.07, allocations: 12 kB / 0.6916 GB, free: 116.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004639/2.075, allocations: 495.3 kB / 0.6921 GB, free: 116 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009695/2.085, allocations: 1.85 MB / 0.6939 GB, free: 114.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007737/2.086, allocations: 67.97 kB / 0.694 GB, free: 114 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01896/2.105, allocations: 9.973 MB / 0.7037 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001177/2.106, allocations: 1.483 MB / 0.7052 GB, free: 102 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02698/2.133, allocations: 11.26 MB / 0.7161 GB, free: 90.17 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002308/2.135, allocations: 0.5879 MB / 0.7167 GB, free: 89.56 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002512/2.138, allocations: 61.31 kB / 0.7168 GB, free: 89.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00555/2.143, allocations: 219.7 kB / 0.717 GB, free: 89.29 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009537/2.144, allocations: 193.5 kB / 0.7172 GB, free: 89.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000317/2.145, allocations: 85.47 kB / 0.7173 GB, free: 89.02 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.008341/2.153, allocations: 3.914 MB / 0.7211 GB, free: 85.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.72e-07/2.153, allocations: 0 / 0.7211 GB, free: 85.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0105/2.164, allocations: 1.712 MB / 0.7227 GB, free: 83.4 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.001391/2.165, allocations: 270.1 kB / 0.723 GB, free: 83.14 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02188/2.187, allocations: 9.03 MB / 0.7318 GB, free: 74.03 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.641e-05/2.187, allocations: 4 kB / 0.7318 GB, free: 74.03 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009062/2.196, allocations: 3.347 MB / 0.7351 GB, free: 70.59 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006595/2.203, allocations: 0.7695 MB / 0.7358 GB, free: 69.82 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03764/2.24, allocations: 18.53 MB / 0.7539 GB, free: 51.13 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009449/2.25, allocations: 4.974 MB / 0.7588 GB, free: 46.13 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002585/2.253, allocations: 442.2 kB / 0.7592 GB, free: 45.7 MB / 474.7 MB Notification: Performance of SimCode: time 1.313e-06/2.253, allocations: 0 / 0.7592 GB, free: 45.7 MB / 474.7 MB Notification: Performance of Templates: time 1.04/3.292, allocations: 278 MB / 1.031 GB, free: 132.6 MB / 474.7 MB