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_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") Notification: Performance of loadModel(Modelica): time 1.988/1.988, allocations: 225.8 MB / 239.3 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.268e-05/3.281e-05, allocations: 8 kB / 292.7 MB, free: 8.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09463/0.09468, allocations: 50.41 MB / 343.1 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4361/0.5308, allocations: 114.7 MB / 457.8 MB, free: 11.93 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/0.5311, allocations: 92.5 kB / 457.9 MB, free: 11.89 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7247/1.256, allocations: 128.2 MB / 0.5723 GB, free: 97.86 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.42e-06/1.256, allocations: 0 / 0.5723 GB, free: 97.86 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004072/1.256, allocations: 150.8 kB / 0.5724 GB, free: 97.86 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.02644/1.283, allocations: 7.023 MB / 0.5793 GB, free: 95.3 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/1.283, allocations: 7 kB / 0.5793 GB, free: 95.3 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01748/1.3, allocations: 2.899 MB / 0.5821 GB, free: 94.83 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02329/1.324, allocations: 7.814 MB / 0.5898 GB, free: 92.57 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005803/1.324, allocations: 0.5158 MB / 0.5903 GB, free: 92.36 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002998/1.327, allocations: 0.7058 MB / 0.591 GB, free: 92.15 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04408/1.371, allocations: 17.11 MB / 0.6077 GB, free: 81.8 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003792/1.372, allocations: 75.28 kB / 0.6077 GB, free: 81.72 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002585/1.374, allocations: 334.5 kB / 0.6081 GB, free: 81.43 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002652/1.377, allocations: 1.487 MB / 0.6095 GB, free: 80.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03445/1.412, allocations: 14.07 MB / 0.6233 GB, free: 66.2 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.4046/1.816, allocations: 74.34 MB / 0.6958 GB, free: 44.88 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02888/1.845, allocations: 7.338 MB / 0.703 GB, free: 44.2 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006197/1.851, allocations: 3.662 MB / 0.7066 GB, free: 44.16 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0308/1.882, allocations: 16.29 MB / 0.7225 GB, free: 40.61 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.226e-05/1.882, allocations: 57.45 kB / 0.7226 GB, free: 40.57 MB / 442.7 MB Notification: Performance of pre-optimization done (n=253): time 7.622e-06/1.882, allocations: 0 / 0.7226 GB, free: 40.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=269): time 0.08468/1.967, allocations: 23.43 MB / 0.7454 GB, free: 33.97 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001158/1.968, allocations: 1.605 MB / 0.747 GB, free: 32.39 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01087/1.979, allocations: 5.071 MB / 0.752 GB, free: 30.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006118/1.98, allocations: 69.41 kB / 0.752 GB, free: 30.44 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003634/1.983, allocations: 4.79 MB / 0.7567 GB, free: 26.77 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001412/1.985, allocations: 1.052 MB / 0.7577 GB, free: 26.01 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009182/1.986, allocations: 176.8 kB / 0.7579 GB, free: 25.87 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006064/1.986, allocations: 0.6815 MB / 0.7586 GB, free: 25.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006644/1.993, allocations: 3.186 MB / 0.7617 GB, free: 24.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009265/2.002, allocations: 8.466 MB / 0.7699 GB, free: 16.1 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009577/2.012, allocations: 5.135 MB / 0.775 GB, free: 14.59 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001554/2.012, allocations: 55.78 kB / 0.775 GB, free: 14.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=1151) (initialization): time 0.03197/2.044, allocations: 12.85 MB / 0.7876 GB, free: 8.738 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000135/2.044, allocations: 91.95 kB / 0.7876 GB, free: 8.648 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01327/2.058, allocations: 5.624 MB / 0.7931 GB, free: 4.016 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007748/2.065, allocations: 2.097 MB / 0.7952 GB, free: 2.531 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009033/2.075, allocations: 2.087 MB / 0.7972 GB, free: 0.7305 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02184/2.096, allocations: 14.07 MB / 0.811 GB, free: 3.328 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009589/2.106, allocations: 0.5571 MB / 0.8115 GB, free: 2.871 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002116/2.108, allocations: 0.5308 MB / 0.812 GB, free: 2.355 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.002277/2.111, allocations: 0.7991 MB / 0.8128 GB, free: 1.559 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001429/2.112, allocations: 0.5128 MB / 0.8133 GB, free: 1.039 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02516/2.137, allocations: 6.74 MB / 0.8199 GB, free: 12.93 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01454/2.152, allocations: 5.447 MB / 0.8252 GB, free: 8.469 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01702/2.169, allocations: 5.816 MB / 0.8309 GB, free: 2.609 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.588e-05/2.169, allocations: 11.95 kB / 0.8309 GB, free: 2.598 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0482/2.217, allocations: 16.63 MB / 0.8471 GB, free: 1.816 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.115e-05/2.217, allocations: 8 kB / 0.8471 GB, free: 1.809 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00341/2.221, allocations: 499.2 kB / 0.8476 GB, free: 1.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007806/2.229, allocations: 1.792 MB / 0.8494 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006335/2.229, allocations: 67.97 kB / 0.8494 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01787/2.247, allocations: 9.711 MB / 0.8589 GB, free: 5.348 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001548/2.249, allocations: 1.469 MB / 0.8603 GB, free: 3.742 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02304/2.272, allocations: 10.29 MB / 0.8704 GB, free: 8.941 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001899/2.274, allocations: 0.5567 MB / 0.8709 GB, free: 8.359 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00155/2.275, allocations: 55.98 kB / 0.871 GB, free: 8.305 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003831/2.279, allocations: 215.7 kB / 0.8712 GB, free: 8.094 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008734/2.28, allocations: 181.5 kB / 0.8714 GB, free: 7.914 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003595/2.28, allocations: 83.97 kB / 0.8715 GB, free: 7.832 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009282/2.29, allocations: 3.523 MB / 0.8749 GB, free: 4.301 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.142e-06/2.29, allocations: 0 / 0.8749 GB, free: 4.301 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01109/2.301, allocations: 1.687 MB / 0.8765 GB, free: 2.633 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.001408/2.302, allocations: 268.4 kB / 0.8768 GB, free: 2.379 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.2895/2.592, allocations: 8.4 MB / 0.885 GB, free: 159.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/2.592, allocations: 0.9062 kB / 0.885 GB, free: 159.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007559/2.599, allocations: 3.225 MB / 0.8882 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.005296/2.605, allocations: 0.7718 MB / 0.8889 GB, free: 159.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02877/2.634, allocations: 12.37 MB / 0.901 GB, free: 156.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009311/2.643, allocations: 4.927 MB / 0.9058 GB, free: 155.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01032/2.653, allocations: 2.872 MB / 0.9086 GB, free: 155.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001616/2.655, allocations: 362.8 kB / 0.9089 GB, free: 155.7 MB / 0.5105 GB Notification: Performance of SimCode: time 3.757e-06/2.655, allocations: 0 / 0.9089 GB, free: 155.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.1529/2.808, allocations: 57.7 MB / 0.9653 GB, free: 135.3 MB / 0.5105 GB