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 1.896/1.896, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.873e-05/2.902e-05, allocations: 7.984 kB / 255.3 MB, free: 3.184 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08002/0.08007, allocations: 44.49 MB / 299.8 MB, free: 6.633 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3705/0.4506, allocations: 106.3 MB / 406.1 MB, free: 15.98 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/0.4509, allocations: 89.78 kB / 406.2 MB, free: 15.97 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.713/1.164, allocations: 127.5 MB / 0.5212 GB, free: 56.79 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.214e-06/1.164, allocations: 0 / 0.5212 GB, free: 56.79 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004723/1.164, allocations: 147.4 kB / 0.5214 GB, free: 56.78 MB / 394.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.0309/1.195, allocations: 7.059 MB / 0.5282 GB, free: 54.24 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/1.195, allocations: 7.625 kB / 0.5283 GB, free: 54.24 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02004/1.216, allocations: 2.909 MB / 0.5311 GB, free: 53.79 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02389/1.239, allocations: 8.151 MB / 0.5391 GB, free: 52.94 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005883/1.24, allocations: 0.5175 MB / 0.5396 GB, free: 52.93 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00309/1.243, allocations: 0.6957 MB / 0.5402 GB, free: 52.92 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04477/1.288, allocations: 17.21 MB / 0.557 GB, free: 49.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004171/1.288, allocations: 82.44 kB / 0.5571 GB, free: 49.24 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002887/1.291, allocations: 335.8 kB / 0.5574 GB, free: 49.24 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002893/1.294, allocations: 1.488 MB / 0.5589 GB, free: 49.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03795/1.332, allocations: 14.37 MB / 0.5729 GB, free: 47.81 MB / 394.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.1054/1.438, allocations: 74.71 MB / 0.6459 GB, free: 4.176 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03431/1.472, allocations: 7.598 MB / 0.6533 GB, free: 15.1 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007186/1.479, allocations: 3.665 MB / 0.6569 GB, free: 11.72 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2867/1.766, allocations: 16.02 MB / 0.6725 GB, free: 83.24 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.442e-05/1.766, allocations: 61.47 kB / 0.6726 GB, free: 83.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=248): time 7.237e-06/1.766, allocations: 0 / 0.6726 GB, free: 83.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=264): time 0.0854/1.852, allocations: 23.41 MB / 0.6955 GB, free: 79.08 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001182/1.853, allocations: 1.605 MB / 0.697 GB, free: 77.56 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01134/1.864, allocations: 5.149 MB / 0.7021 GB, free: 77.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006356/1.865, allocations: 66.3 kB / 0.7021 GB, free: 77.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003406/1.868, allocations: 4.681 MB / 0.7067 GB, free: 74.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001488/1.87, allocations: 1.04 MB / 0.7077 GB, free: 74.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009505/1.871, allocations: 181.5 kB / 0.7079 GB, free: 74.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006633/1.871, allocations: 0.6821 MB / 0.7085 GB, free: 73.71 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007082/1.879, allocations: 3.209 MB / 0.7117 GB, free: 73.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009961/1.889, allocations: 8.607 MB / 0.7201 GB, free: 66.71 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01019/1.899, allocations: 5.194 MB / 0.7252 GB, free: 66.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001679/1.899, allocations: 54.56 kB / 0.7252 GB, free: 66.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.032/1.931, allocations: 13.28 MB / 0.7382 GB, free: 64.17 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001515/1.931, allocations: 89.31 kB / 0.7383 GB, free: 64.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01437/1.946, allocations: 5.648 MB / 0.7438 GB, free: 62.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008151/1.954, allocations: 2.097 MB / 0.7458 GB, free: 61.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009077/1.963, allocations: 2.108 MB / 0.7479 GB, free: 61.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01815/1.981, allocations: 14.08 MB / 0.7616 GB, free: 51.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009534/1.991, allocations: 0.5694 MB / 0.7622 GB, free: 51.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001889/1.993, allocations: 0.5319 MB / 0.7627 GB, free: 51.53 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 875 * 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 (1102): * Single equations (assignments): 1088 * 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.002709/1.995, allocations: 0.7976 MB / 0.7635 GB, free: 50.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00123/1.997, allocations: 0.5161 MB / 0.764 GB, free: 50.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01665/2.013, allocations: 6.38 MB / 0.7702 GB, free: 47.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01293/2.026, allocations: 5.466 MB / 0.7756 GB, free: 43.22 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01334/2.04, allocations: 5.852 MB / 0.7813 GB, free: 38.37 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.637e-05/2.04, allocations: 14.02 kB / 0.7813 GB, free: 38.37 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04195/2.082, allocations: 17.08 MB / 0.798 GB, free: 24.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.688e-05/2.082, allocations: 12.06 kB / 0.798 GB, free: 24.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003231/2.085, allocations: 0.4889 MB / 0.7985 GB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0068/2.092, allocations: 1.786 MB / 0.8002 GB, free: 23.11 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006676/2.093, allocations: 68.02 kB / 0.8003 GB, free: 23.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01439/2.107, allocations: 9.741 MB / 0.8098 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001023/2.108, allocations: 1.466 MB / 0.8112 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02011/2.128, allocations: 10.74 MB / 0.8217 GB, free: 2.738 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001841/2.13, allocations: 0.5704 MB / 0.8223 GB, free: 2.164 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001749/2.132, allocations: 59.61 kB / 0.8223 GB, free: 2.109 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004266/2.136, allocations: 220.2 kB / 0.8225 GB, free: 1.977 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2601/2.396, allocations: 186 kB / 0.8227 GB, free: 71.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000372/2.397, allocations: 82.56 kB / 0.8228 GB, free: 71.58 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.009534/2.406, allocations: 3.581 MB / 0.8263 GB, free: 71.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.08e-06/2.406, allocations: 1.062 kB / 0.8263 GB, free: 71.34 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01109/2.417, allocations: 1.69 MB / 0.8279 GB, free: 71.34 MB / 426.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.001277/2.419, allocations: 272.9 kB / 0.8282 GB, free: 71.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01878/2.438, allocations: 8.77 MB / 0.8368 GB, free: 70.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.331e-05/2.438, allocations: 0 / 0.8368 GB, free: 70.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007521/2.445, allocations: 3.317 MB / 0.84 GB, free: 69.67 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005426/2.451, allocations: 0.7639 MB / 0.8407 GB, free: 69.65 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0319/2.483, allocations: 13.3 MB / 0.8537 GB, free: 66.88 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01124/2.494, allocations: 4.973 MB / 0.8586 GB, free: 66.02 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001973/2.496, allocations: 426.6 kB / 0.859 GB, free: 66.02 MB / 426.7 MB Notification: Performance of SimCode: time 2.535e-06/2.496, allocations: 3.812 kB / 0.859 GB, free: 66.02 MB / 426.7 MB Notification: Performance of Templates: time 0.6679/3.164, allocations: 276.9 MB / 1.129 GB, free: 14.14 MB / 458.7 MB