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.1_ModelicaTest.MultiBody.Joints.SphericalSpherical") Notification: Performance of loadModel(ModelicaTest): time 2.007/2.007, allocations: 209.3 MB / 223.8 MB, free: 440 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.474e-05/3.472e-05, allocations: 4 kB / 276.2 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3911, allocations: 48.7 MB / 324.9 MB, free: 3.359 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.02737/0.4186, allocations: 14.26 MB / 339.1 MB, free: 9.855 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01374/0.4324, allocations: 3.453 MB / 342.6 MB, free: 7.578 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004389/0.4368, allocations: 64.75 kB / 342.7 MB, free: 7.57 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003816/0.4407, allocations: 0.6926 MB / 343.4 MB, free: 7.344 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01016/0.4509, allocations: 1.824 MB / 345.2 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001569/0.4525, allocations: 224.4 kB / 345.4 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001277/0.4538, allocations: 347.8 kB / 345.7 MB, free: 6.043 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002213/0.4561, allocations: 0.9598 MB / 346.7 MB, free: 5.445 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005156/0.4566, allocations: 184.5 kB / 346.9 MB, free: 5.355 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009947/0.4576, allocations: 468 kB / 347.3 MB, free: 5.113 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.4588, allocations: 373.7 kB / 347.7 MB, free: 4.957 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003035/0.4591, allocations: 58.44 kB / 347.8 MB, free: 4.957 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006388/0.4598, allocations: 402.8 kB / 348.1 MB, free: 4.738 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003454/0.4601, allocations: 73.62 kB / 348.2 MB, free: 4.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002539/0.4627, allocations: 1.316 MB / 349.5 MB, free: 3.844 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4628, allocations: 0 / 349.5 MB, free: 3.844 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.4628, allocations: 0 / 349.5 MB, free: 3.844 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.045e-05/0.4628, allocations: 0 / 349.5 MB, free: 3.844 MB / 282.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.004983/0.4678, allocations: 1.367 MB / 350.9 MB, free: 2.863 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.4679, allocations: 9.375 kB / 350.9 MB, free: 2.863 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00142/0.4693, allocations: 169.5 kB / 351.1 MB, free: 2.77 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001923/0.4713, allocations: 0.6043 MB / 351.7 MB, free: 2.297 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.361e-05/0.4714, allocations: 60.31 kB / 351.7 MB, free: 2.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003384/0.4717, allocations: 83.61 kB / 351.8 MB, free: 2.238 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009612/0.4814, allocations: 2.695 MB / 354.5 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.837e-05/0.4815, allocations: 8.438 kB / 354.5 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001527/0.4816, allocations: 30.33 kB / 354.6 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008799/0.4825, allocations: 390 kB / 354.9 MB, free: 496 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01018/0.4927, allocations: 2.41 MB / 357.3 MB, free: 14.72 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01609/0.5089, allocations: 8.185 MB / 365.5 MB, free: 6.281 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007049/0.516, allocations: 0.9873 MB / 366.5 MB, free: 5.281 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002341/0.5184, allocations: 1.738 MB / 368.3 MB, free: 3.266 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.797e-05/0.5185, allocations: 35.28 kB / 368.3 MB, free: 3.223 MB / 298.7 MB Notification: Performance of pre-optimization done (n=44): time 3.316e-06/0.5185, allocations: 0 / 368.3 MB, free: 3.223 MB / 298.7 MB Notification: Performance of matching and sorting (n=58): time 0.02137/0.5399, allocations: 2.986 MB / 371.3 MB, free: 236 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.116e-05/0.54, allocations: 63.95 kB / 371.3 MB, free: 156 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00177/0.5418, allocations: 0.7808 MB / 372.1 MB, free: 15.36 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.996e-05/0.5419, allocations: 33.7 kB / 372.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007037/0.5426, allocations: 0.6526 MB / 372.8 MB, free: 14.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002859/0.5429, allocations: 209 kB / 373 MB, free: 14.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.103e-05/0.543, allocations: 24 kB / 373 MB, free: 14.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002783/0.5433, allocations: 398.7 kB / 373.4 MB, free: 14.03 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/0.5443, allocations: 362.4 kB / 373.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001645/0.546, allocations: 0.9732 MB / 374.7 MB, free: 12.41 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/0.5475, allocations: 0.5603 MB / 375.3 MB, free: 11.85 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.932e-05/0.5475, allocations: 7.938 kB / 375.3 MB, free: 11.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003436/0.551, allocations: 1.358 MB / 376.7 MB, free: 10.48 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.08e-05/0.5511, allocations: 16.03 kB / 376.7 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.63e-05/0.5511, allocations: 24 kB / 376.7 MB, free: 10.44 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.352e-05/0.5512, allocations: 39.95 kB / 376.8 MB, free: 10.4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002277/0.5535, allocations: 315.5 kB / 377.1 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/0.555, allocations: 1.372 MB / 378.4 MB, free: 8.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.5562, allocations: 55.89 kB / 378.5 MB, free: 8.535 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/0.5564, allocations: 68.25 kB / 378.6 MB, free: 8.469 MB / 314.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.001068/0.5575, allocations: 491.7 kB / 379 MB, free: 7.977 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002114/0.5577, allocations: 78.97 kB / 379.1 MB, free: 7.898 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003317/0.5581, allocations: 116.3 kB / 379.2 MB, free: 7.777 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.5581, allocations: 4 kB / 379.2 MB, free: 7.773 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5581, allocations: 4 kB / 379.2 MB, free: 7.77 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.5581, allocations: 3.984 kB / 379.2 MB, free: 7.766 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005813/0.5639, allocations: 2.16 MB / 381.4 MB, free: 5.465 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/0.564, allocations: 4 kB / 381.4 MB, free: 5.461 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.565, allocations: 123.8 kB / 381.5 MB, free: 5.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-05/0.565, allocations: 15.98 kB / 381.5 MB, free: 5.324 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.107e-05/0.5651, allocations: 16 kB / 381.6 MB, free: 5.309 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001303/0.5664, allocations: 1.345 MB / 382.9 MB, free: 3.832 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/0.5664, allocations: 7.938 kB / 382.9 MB, free: 3.824 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001808/0.5683, allocations: 1.131 MB / 384 MB, free: 2.434 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006059/0.5689, allocations: 207.9 kB / 384.2 MB, free: 2.211 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002354/0.5692, allocations: 23.94 kB / 384.3 MB, free: 2.188 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008758/0.57, allocations: 16 kB / 384.3 MB, free: 2.172 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.5702, allocations: 59.77 kB / 384.3 MB, free: 2.113 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.119e-05/0.5703, allocations: 24 kB / 384.4 MB, free: 2.09 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001643/0.572, allocations: 0.5732 MB / 384.9 MB, free: 1.52 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.572, allocations: 3.938 kB / 384.9 MB, free: 1.516 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002375/0.5744, allocations: 216 kB / 385.1 MB, free: 1.305 MB / 314.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.0002906/0.5747, allocations: 127 kB / 385.3 MB, free: 1.172 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002983/0.5777, allocations: 0.8505 MB / 386.1 MB, free: 332 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.991e-05/0.5778, allocations: 0 / 386.1 MB, free: 332 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.5788, allocations: 273.8 kB / 386.4 MB, free: 60 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/0.5803, allocations: 110.9 kB / 386.5 MB, free: 15.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008887/0.5893, allocations: 2.47 MB / 389 MB, free: 13.38 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002085/0.5914, allocations: 1.236 MB / 390.2 MB, free: 12.12 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002294/0.5938, allocations: 339.5 kB / 390.5 MB, free: 11.78 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004598/0.5943, allocations: 67.44 kB / 390.6 MB, free: 11.71 MB / 330.7 MB Notification: Performance of SimCode: time 1.793e-06/0.5943, allocations: 0 / 390.6 MB, free: 11.71 MB / 330.7 MB Notification: Performance of Templates: time 0.03182/0.6261, allocations: 7.313 MB / 397.9 MB, free: 4.438 MB / 330.7 MB