Running command: translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sphericalSpherical.frame_b.r_0.1.|sphericalSpherical.frame_b.r_0.2.|sphericalSpherical.frame_b.r_0.3.|sphericalSpherical.frame_b.f.1.|sphericalSpherical.frame_b.f.2.|sphericalSpherical.frame_b.f.3.|sphericalSpherical.frame_b.t.1.|sphericalSpherical.frame_b.t.2.|sphericalSpherical.frame_b.t.3.|Prismatic1.frame_b.r_0.1.|Prismatic1.frame_b.r_0.2.|Prismatic1.frame_b.r_0.3.|Prismatic1.frame_b.f.1.|Prismatic1.frame_b.f.2.|Prismatic1.frame_b.f.3.|Prismatic1.frame_b.t.1.|Prismatic1.frame_b.t.2.|Prismatic1.frame_b.t.3.|Fixed1.frame_b.r_0.1.|Fixed1.frame_b.r_0.2.|Fixed1.frame_b.r_0.3.|Fixed1.frame_b.f.1.|Fixed1.frame_b.f.2.|Fixed1.frame_b.f.3.|Fixed1.frame_b.t.1.|Fixed1.frame_b.t.2.|Fixed1.frame_b.t.3.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical") Notification: Performance of loadModel(ModelicaTest): time 2.531/2.531, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.069e-05/4.083e-05, allocations: 4 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.4, allocations: 54.85 MB / 362.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.02212/0.4221, allocations: 14.28 MB / 377.1 MB, free: 15.45 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01082/0.433, allocations: 3.465 MB / 380.6 MB, free: 11.98 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003759/0.4368, allocations: 71.81 kB / 380.7 MB, free: 11.91 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003447/0.4404, allocations: 0.6921 MB / 381.4 MB, free: 11.21 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008177/0.4486, allocations: 1.823 MB / 383.2 MB, free: 9.387 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001323/0.45, allocations: 231.6 kB / 383.4 MB, free: 9.16 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001142/0.4511, allocations: 343.4 kB / 383.8 MB, free: 8.824 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002041/0.4532, allocations: 0.9535 MB / 384.7 MB, free: 7.84 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004094/0.4537, allocations: 195.4 kB / 384.9 MB, free: 7.648 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000867/0.4546, allocations: 459 kB / 385.4 MB, free: 7.199 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009594/0.4555, allocations: 375.5 kB / 385.7 MB, free: 6.832 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002534/0.4558, allocations: 60 kB / 385.8 MB, free: 6.773 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000557/0.4564, allocations: 395 kB / 386.2 MB, free: 6.387 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002924/0.4567, allocations: 68 kB / 386.2 MB, free: 6.32 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001985/0.4587, allocations: 1.329 MB / 387.6 MB, free: 4.984 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4587, allocations: 0 / 387.6 MB, free: 4.984 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.199e-06/0.4587, allocations: 0 / 387.6 MB, free: 4.984 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.889e-05/0.4588, allocations: 3.938 kB / 387.6 MB, free: 4.98 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: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.0044/0.4632, allocations: 1.362 MB / 388.9 MB, free: 3.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.4633, allocations: 8.031 kB / 388.9 MB, free: 3.562 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001257/0.4645, allocations: 170.3 kB / 389.1 MB, free: 3.395 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001837/0.4664, allocations: 0.6151 MB / 389.7 MB, free: 2.734 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.061e-05/0.4665, allocations: 57.97 kB / 389.8 MB, free: 2.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003449/0.4669, allocations: 83.92 kB / 389.9 MB, free: 2.598 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009453/0.4763, allocations: 2.695 MB / 392.5 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.81e-05/0.4764, allocations: 7.938 kB / 392.6 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001498/0.4766, allocations: 39.97 kB / 392.6 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008704/0.4775, allocations: 377.7 kB / 393 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01008/0.4876, allocations: 2.4 MB / 395.4 MB, free: 12.94 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0164/0.5041, allocations: 8.187 MB / 403.5 MB, free: 4.504 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006906/0.511, allocations: 0.9796 MB / 404.5 MB, free: 3.512 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002237/0.5133, allocations: 1.742 MB / 406.3 MB, free: 1.492 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.286e-05/0.5134, allocations: 38.56 kB / 406.3 MB, free: 1.445 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 2.925e-06/0.5134, allocations: 4 kB / 406.3 MB, free: 1.441 MB / 330.7 MB Notification: Performance of matching and sorting (n=58): time 0.02176/0.5352, allocations: 2.979 MB / 409.3 MB, free: 14.45 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.473e-05/0.5353, allocations: 63.97 kB / 409.4 MB, free: 14.38 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001849/0.5372, allocations: 0.7808 MB / 410.1 MB, free: 13.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000136/0.5374, allocations: 33.7 kB / 410.2 MB, free: 13.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007181/0.5381, allocations: 0.6448 MB / 410.8 MB, free: 12.89 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003536/0.5385, allocations: 213.2 kB / 411 MB, free: 12.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.872e-05/0.5386, allocations: 24 kB / 411 MB, free: 12.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002898/0.5389, allocations: 406.6 kB / 411.4 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/0.54, allocations: 362.4 kB / 411.8 MB, free: 11.9 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001548/0.5416, allocations: 0.9615 MB / 412.8 MB, free: 10.64 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/0.543, allocations: 0.5642 MB / 413.3 MB, free: 10.08 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.315e-05/0.543, allocations: 8 kB / 413.3 MB, free: 10.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003231/0.5463, allocations: 1.369 MB / 414.7 MB, free: 8.695 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.328e-05/0.5464, allocations: 12 kB / 414.7 MB, free: 8.684 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.775e-05/0.5464, allocations: 24 kB / 414.7 MB, free: 8.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.232e-05/0.5465, allocations: 32 kB / 414.8 MB, free: 8.629 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002265/0.5488, allocations: 312 kB / 415.1 MB, free: 8.324 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001616/0.5504, allocations: 1.376 MB / 416.4 MB, free: 6.816 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.5516, allocations: 55.97 kB / 416.5 MB, free: 6.762 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/0.5517, allocations: 60 kB / 416.6 MB, free: 6.703 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 24 (Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],Prismatic1.boxColor[3],Prismatic1.boxColor[2],Prismatic1.boxColor[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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001026/0.5528, allocations: 499.6 kB / 417 MB, free: 6.203 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000199/0.553, allocations: 78.97 kB / 417.1 MB, free: 6.125 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002746/0.5533, allocations: 116.4 kB / 417.2 MB, free: 6.012 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/0.5533, allocations: 8 kB / 417.2 MB, free: 6.004 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.5533, allocations: 4 kB / 417.2 MB, free: 6 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.5533, allocations: 0 / 417.2 MB, free: 6 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005714/0.5591, allocations: 2.163 MB / 419.4 MB, free: 3.699 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/0.5591, allocations: 7.938 kB / 419.4 MB, free: 3.691 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001/0.5601, allocations: 124.6 kB / 419.5 MB, free: 3.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.136e-05/0.5602, allocations: 16 kB / 419.6 MB, free: 3.555 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.549e-05/0.5602, allocations: 23.95 kB / 419.6 MB, free: 3.531 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001247/0.5615, allocations: 1.349 MB / 420.9 MB, free: 2.051 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/0.5615, allocations: 4 kB / 420.9 MB, free: 2.047 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001889/0.5634, allocations: 1.124 MB / 422.1 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000482/0.564, allocations: 207.9 kB / 422.3 MB, free: 452 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/0.5642, allocations: 20 kB / 422.3 MB, free: 432 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005786/0.5647, allocations: 20 kB / 422.3 MB, free: 412 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.5649, allocations: 47.83 kB / 422.3 MB, free: 364 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-05/0.5649, allocations: 24 kB / 422.4 MB, free: 340 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001278/0.5662, allocations: 0.581 MB / 422.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.82e-07/0.5663, allocations: 0 / 422.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00155/0.5678, allocations: 216 kB / 423.2 MB, free: 15.54 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002541/0.5681, allocations: 127 kB / 423.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002458/0.5706, allocations: 0.851 MB / 424.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/0.5707, allocations: 0 / 424.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00082/0.5715, allocations: 276.5 kB / 424.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.5725, allocations: 117.7 kB / 424.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006009/0.5786, allocations: 2.478 MB / 427 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001474/0.5801, allocations: 1.244 MB / 428.2 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001669/0.5818, allocations: 339.5 kB / 428.6 MB, free: 9.988 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003495/0.5822, allocations: 63.44 kB / 428.6 MB, free: 9.926 MB / 362.7 MB Notification: Performance of SimCode: time 1.322e-06/0.5822, allocations: 0 / 428.6 MB, free: 9.926 MB / 362.7 MB Notification: Performance of Templates: time 0.02779/0.61, allocations: 7.307 MB / 435.9 MB, free: 2.664 MB / 362.7 MB