Running command: translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.|bodyBox.body.Q.1.|bodyBox.body.Q.2.|bodyBox.body.Q.3.|bodyBox.body.Q.4.|bodyBox.body.frame_a.r_0.1.|bodyBox.body.frame_a.r_0.2.|bodyBox.body.frame_a.r_0.3.|bodyBox.body.w_a.1.|bodyBox.body.w_a.2.|bodyBox.body.w_a.3.|bodyBox1.body.Q.1.|bodyBox1.body.Q.2.|bodyBox1.body.Q.3.|bodyBox1.body.Q.4.|bodyBox1.body.w_a.1.|bodyBox1.body.w_a.2.|bodyBox1.body.w_a.3.|bodyBox2.body.Q.1.|bodyBox2.body.Q.2.|bodyBox2.body.Q.3.|bodyBox2.body.Q.4.|bodyBox2.body.frame_a.r_0.1.|bodyBox2.body.frame_a.r_0.2.|bodyBox2.body.frame_a.r_0.3.|bodyBox2.body.w_a.1.|bodyBox2.body.w_a.2.|bodyBox2.body.w_a.3.|bodyBox2.v_0.1.|bodyBox2.v_0.2.|bodyBox2.v_0.3.|sphericalSpherical.v_CM_0.1.|sphericalSpherical.v_CM_0.2.|sphericalSpherical.v_CM_0.3.|sphericalSpherical1.v_CM_0.1.|sphericalSpherical1.v_CM_0.2.|sphericalSpherical1.v_CM_0.3.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical2") Notification: Performance of loadModel(ModelicaTest): time 2.364/2.364, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.771e-05/4.772e-05, allocations: 4 kB / 308 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4689/0.4689, allocations: 54.85 MB / 362.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical2): time 0.1566/0.6256, allocations: 100.2 MB / 463.1 MB, free: 9.355 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.06478/0.6904, allocations: 21.96 MB / 485 MB, free: 3.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02608/0.7166, allocations: 0.5923 MB / 485.6 MB, free: 2.727 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01986/0.7365, allocations: 5.486 MB / 491.1 MB, free: 13.21 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.4547/1.191, allocations: 13.75 MB / 0.493 GB, free: 3.863 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01156/1.203, allocations: 1.913 MB / 0.4949 GB, free: 3.836 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.07663/1.28, allocations: 26.74 MB / 0.521 GB, free: 0.9023 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04068/1.32, allocations: 20.54 MB / 0.541 GB, free: 12.19 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006247/1.327, allocations: 2.149 MB / 0.5431 GB, free: 10.74 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008296/1.335, allocations: 3.553 MB / 0.5466 GB, free: 8.094 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005696/1.341, allocations: 1.304 MB / 0.5479 GB, free: 7.008 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003366/1.344, allocations: 312 kB / 0.5482 GB, free: 6.703 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008594/1.353, allocations: 4.952 MB / 0.553 GB, free: 3.012 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004376/1.357, allocations: 0.8125 MB / 0.5538 GB, free: 2.199 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03231/1.39, allocations: 20.27 MB / 0.5736 GB, free: 0.6172 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/1.39, allocations: 0 / 0.5736 GB, free: 0.6172 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.156e-06/1.39, allocations: 4 kB / 0.5736 GB, free: 0.6133 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0008579/1.391, allocations: 0 / 0.5736 GB, free: 0.6133 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4609 * Number of variables: 4609 Notification: Performance of Generate backend data structure: time 0.0454/1.436, allocations: 12.27 MB / 0.5856 GB, free: 5.316 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.757e-05/1.436, allocations: 8.031 kB / 0.5856 GB, free: 5.309 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.54/1.976, allocations: 28.82 MB / 0.6137 GB, free: 9.52 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03277/2.009, allocations: 9.743 MB / 0.6233 GB, free: 2.762 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001189/2.01, allocations: 0.8801 MB / 0.6241 GB, free: 2.27 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00817/2.018, allocations: 1.522 MB / 0.6256 GB, free: 1.234 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1064/2.125, allocations: 31.83 MB / 0.6567 GB, free: 9.219 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009516/2.126, allocations: 117.4 kB / 0.6568 GB, free: 9.156 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0055/2.131, allocations: 0.5322 MB / 0.6573 GB, free: 9.012 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01145/2.143, allocations: 4.346 MB / 0.6616 GB, free: 5.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09372/2.237, allocations: 26.32 MB / 0.6873 GB, free: 3.215 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9296/3.166, allocations: 110.7 MB / 0.7953 GB, free: 128.5 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06981/3.236, allocations: 12.69 MB / 0.8077 GB, free: 115.7 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005611/3.242, allocations: 4.834 MB / 0.8124 GB, free: 110.1 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.694e-05/3.242, allocations: 81.52 kB / 0.8125 GB, free: 110 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=435): time 8.556e-06/3.242, allocations: 0 / 0.8125 GB, free: 110 MB / 0.5418 GB Notification: Performance of matching and sorting (n=568): time 1.508/4.75, allocations: 134.5 MB / 0.9439 GB, free: 201.6 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.05641/4.806, allocations: 25.89 MB / 0.9692 GB, free: 184.5 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02404/4.83, allocations: 9.213 MB / 0.9782 GB, free: 177.9 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 0.001867/4.832, allocations: 104.2 kB / 0.9783 GB, free: 177.8 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 0.007947/4.84, allocations: 8.836 MB / 0.9869 GB, free: 169 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.004481/4.845, allocations: 2.182 MB / 0.989 GB, free: 166.8 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002992/4.848, allocations: 320.2 kB / 0.9893 GB, free: 166.5 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.001445/4.849, allocations: 0.9918 MB / 0.9903 GB, free: 165.5 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02272/4.872, allocations: 9.694 MB / 0.9998 GB, free: 155.8 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0288/4.901, allocations: 18.87 MB / 1.018 GB, free: 132.7 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03047/4.931, allocations: 13.13 MB / 1.031 GB, free: 119.6 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002842/4.932, allocations: 92 kB / 1.031 GB, free: 119.5 MB / 0.5419 GB Notification: Performance of matching and sorting (n=2094) (initialization): time 0.175/5.107, allocations: 41.05 MB / 1.071 GB, free: 78.37 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002664/5.107, allocations: 140.8 kB / 1.071 GB, free: 78.23 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1377/5.245, allocations: 27.88 MB / 1.099 GB, free: 50.17 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5146/5.76, allocations: 15.59 MB / 1.114 GB, free: 175.8 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02451/5.784, allocations: 3.866 MB / 1.118 GB, free: 175.8 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1434/5.928, allocations: 62.83 MB / 1.179 GB, free: 146.9 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02875/5.956, allocations: 1.802 MB / 1.181 GB, free: 145.7 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003868/5.96, allocations: 0.9707 MB / 1.182 GB, free: 144.8 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1467 * Number of states: 0 () * Number of discrete variables: 75 (freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.arrowColor[1],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],rs3.arrowColor[3],rs3.arrowColor[2],rs3.arrowColor[1],rs2.arrowColor[3],rs2.arrowColor[2],rs2.arrowColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],sphericalSpherical1.massColor[3],sphericalSpherical1.massColor[2],sphericalSpherical1.massColor[1],sphericalSpherical1.sphereColor[3],sphericalSpherical1.sphereColor[2],sphericalSpherical1.sphereColor[1],sphericalSpherical1.rodColor[3],sphericalSpherical1.rodColor[2],sphericalSpherical1.rodColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.sphereColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],rs1.arrowColor[3],rs1.arrowColor[2],rs1.arrowColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1918): * Single equations (assignments): 1889 * Array equations: 15 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(4,100.0%),(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 6 {1,1,4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,82.8%) 32,(1,100.0%) 3,(4,93.8%) 20,(7,63.3%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01775/5.978, allocations: 6.107 MB / 1.188 GB, free: 139.4 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003911/5.982, allocations: 0.8806 MB / 1.188 GB, free: 139 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1247/6.107, allocations: 29.45 MB / 1.217 GB, free: 111.2 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1216/6.228, allocations: 27.7 MB / 1.244 GB, free: 83.47 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001486/6.229, allocations: 31.95 kB / 1.244 GB, free: 83.44 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001997/6.229, allocations: 23.91 kB / 1.244 GB, free: 83.42 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6555/6.884, allocations: 64.02 MB / 1.307 GB, free: 166.2 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.715e-05/6.885, allocations: 6.25 kB / 1.307 GB, free: 166.2 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01086/6.895, allocations: 1.049 MB / 1.308 GB, free: 166.2 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09834/6.994, allocations: 15.9 MB / 1.323 GB, free: 166.1 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00217/6.996, allocations: 184 kB / 1.324 GB, free: 166.1 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1568/7.153, allocations: 68.55 MB / 1.39 GB, free: 128.8 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.056/7.209, allocations: 25.71 MB / 1.416 GB, free: 102.4 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1468/7.356, allocations: 41.66 MB / 1.456 GB, free: 61 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00372/7.36, allocations: 0.9818 MB / 1.457 GB, free: 60.48 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005069/7.365, allocations: 136.9 kB / 1.457 GB, free: 60.35 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01655/7.381, allocations: 0.8969 MB / 1.458 GB, free: 59.45 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004129/7.386, allocations: 455 kB / 1.459 GB, free: 59 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002308/7.388, allocations: 178 kB / 1.459 GB, free: 58.83 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 0.01602/7.404, allocations: 6.469 MB / 1.465 GB, free: 52.41 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.082e-06/7.404, allocations: 0 / 1.465 GB, free: 52.41 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.02561/7.43, allocations: 4.567 MB / 1.47 GB, free: 47.86 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 32 ($STATESET6.x[2],$STATESET6.x[1],$STATESET5.x[5],$STATESET5.x[4],$STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],$STATESET4.x[6],$STATESET4.x[5],$STATESET4.x[4],$STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyBox1.body.w_a[1],bodyBox1.body.w_a[2],bodyBox1.body.w_a[3],body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (411): * Single equations (assignments): 396 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {3,8,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(4,93.8%) 17,(3,100.0%) 3,(8,82.8%) 29,(7,93.9%) 12,(7,63.3%) 20} * Non-linear torn systems: 1 {7 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.002712/7.432, allocations: 294.1 kB / 1.47 GB, free: 47.57 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.06061/7.493, allocations: 24.51 MB / 1.494 GB, free: 22.95 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/7.493, allocations: 4 kB / 1.494 GB, free: 22.94 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.4138/7.907, allocations: 11.92 MB / 1.505 GB, free: 174.9 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01435/7.921, allocations: 1.364 MB / 1.507 GB, free: 174.8 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09516/8.017, allocations: 40.18 MB / 1.546 GB, free: 160.6 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02312/8.04, allocations: 9.427 MB / 1.555 GB, free: 158.1 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.0261/8.066, allocations: 5.078 MB / 1.56 GB, free: 155.2 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007455/8.073, allocations: 0.7061 MB / 1.561 GB, free: 154.6 MB / 0.5419 GB Notification: Performance of SimCode: time 1.994e-06/8.073, allocations: 0 / 1.561 GB, free: 154.6 MB / 0.5419 GB Notification: Performance of Templates: time 0.9378/9.011, allocations: 187.3 MB / 1.744 GB, free: 146.9 MB / 0.5419 GB