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_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical") Notification: Performance of loadModel(ModelicaTest): time 1.823/1.823, allocations: 209.3 MB / 221.9 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.105e-05/3.121e-05, allocations: 3.984 kB / 273.1 MB, free: 3.652 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08671/0.08676, allocations: 48.7 MB / 321.8 MB, free: 2.855 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3558/0.4427, allocations: 84.44 MB / 406.2 MB, free: 5.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000191/0.4429, allocations: 73.22 kB / 406.3 MB, free: 5.422 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07402/0.5169, allocations: 19.89 MB / 426.2 MB, free: 9.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.006e-06/0.517, allocations: 0 / 426.2 MB, free: 9.68 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.634e-05/0.5171, allocations: 23.59 kB / 426.2 MB, free: 9.66 MB / 330.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.003757/0.5208, allocations: 1.363 MB / 427.5 MB, free: 8.32 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.5209, allocations: 11.97 kB / 427.6 MB, free: 8.309 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001463/0.5224, allocations: 213.4 kB / 427.8 MB, free: 8.102 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001924/0.5243, allocations: 0.6892 MB / 428.5 MB, free: 7.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.074e-05/0.5244, allocations: 75.2 kB / 428.5 MB, free: 7.457 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003719/0.5248, allocations: 108.1 kB / 428.6 MB, free: 7.387 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007455/0.5323, allocations: 2.628 MB / 431.3 MB, free: 5.254 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.301e-05/0.5324, allocations: 15.92 kB / 431.3 MB, free: 5.238 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001702/0.5326, allocations: 47.72 kB / 431.3 MB, free: 5.227 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003755/0.533, allocations: 200.6 kB / 431.5 MB, free: 5.062 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007113/0.5401, allocations: 2.344 MB / 433.9 MB, free: 3.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01277/0.5529, allocations: 8.528 MB / 442.4 MB, free: 11.97 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004984/0.5579, allocations: 0.9874 MB / 443.4 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005132/0.5585, allocations: 251.4 kB / 443.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002127/0.5606, allocations: 1.736 MB / 445.4 MB, free: 9.023 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.726e-05/0.5607, allocations: 46.45 kB / 445.4 MB, free: 8.973 MB / 346.7 MB Notification: Performance of pre-optimization done (n=44): time 3.8e-06/0.5607, allocations: 0 / 445.4 MB, free: 8.973 MB / 346.7 MB Notification: Performance of matching and sorting (n=58): time 0.01427/0.575, allocations: 2.69 MB / 448.1 MB, free: 6.566 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.5751, allocations: 59.28 kB / 448.2 MB, free: 6.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001393/0.5765, allocations: 0.7682 MB / 448.9 MB, free: 5.906 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.163e-05/0.5766, allocations: 40.81 kB / 449 MB, free: 5.867 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005672/0.5772, allocations: 0.6851 MB / 449.6 MB, free: 5.293 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002419/0.5774, allocations: 210 kB / 449.9 MB, free: 5.121 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.002e-05/0.5775, allocations: 21.69 kB / 449.9 MB, free: 5.117 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002206/0.5777, allocations: 366 kB / 450.2 MB, free: 4.77 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007283/0.5785, allocations: 356.8 kB / 450.6 MB, free: 4.531 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/0.5797, allocations: 0.9426 MB / 451.5 MB, free: 3.43 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.5808, allocations: 0.563 MB / 452.1 MB, free: 3.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-05/0.5808, allocations: 4 kB / 452.1 MB, free: 3.016 MB / 346.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002644/0.5835, allocations: 1.256 MB / 453.3 MB, free: 2.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.505e-05/0.5835, allocations: 12 kB / 453.4 MB, free: 2.008 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.66e-05/0.5836, allocations: 20 kB / 453.4 MB, free: 1.988 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.837e-05/0.5837, allocations: 36 kB / 453.4 MB, free: 1.953 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/0.5853, allocations: 319.1 kB / 453.7 MB, free: 1.652 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001437/0.5867, allocations: 1.364 MB / 455.1 MB, free: 192 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.5878, allocations: 60.22 kB / 455.1 MB, free: 152 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/0.588, allocations: 66.75 kB / 455.2 MB, free: 92 kB / 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.0003139/0.5883, allocations: 209 kB / 455.4 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001718/0.5885, allocations: 82.97 kB / 455.5 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002567/0.5888, allocations: 112.5 kB / 455.6 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.5888, allocations: 8 kB / 455.6 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.158e-06/0.5888, allocations: 3.984 kB / 455.6 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.299e-06/0.5888, allocations: 0 / 455.6 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005003/0.5938, allocations: 2.135 MB / 457.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-05/0.5939, allocations: 11.95 kB / 457.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000765/0.5947, allocations: 128.6 kB / 457.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.09e-05/0.5947, allocations: 12 kB / 457.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.955e-05/0.5948, allocations: 23.94 kB / 457.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00133/0.5961, allocations: 1.333 MB / 459.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.444e-05/0.5962, allocations: 15.94 kB / 459.3 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/0.5979, allocations: 1.111 MB / 460.4 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004246/0.5983, allocations: 199.9 kB / 460.6 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/0.5985, allocations: 27.94 kB / 460.6 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004828/0.599, allocations: 15.98 kB / 460.6 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.5991, allocations: 51.8 kB / 460.7 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.372e-05/0.5992, allocations: 28 kB / 460.7 MB, free: 10.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001114/0.6003, allocations: 0.5655 MB / 461.3 MB, free: 9.832 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.18e-07/0.6003, allocations: 0 / 461.3 MB, free: 9.832 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001429/0.6017, allocations: 216 kB / 461.5 MB, free: 9.621 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.0002456/0.602, allocations: 124.1 kB / 461.6 MB, free: 9.488 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001928/0.6039, allocations: 0.8115 MB / 462.4 MB, free: 8.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/0.604, allocations: 4 kB / 462.4 MB, free: 8.676 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006888/0.6047, allocations: 275.5 kB / 462.7 MB, free: 8.406 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008527/0.6056, allocations: 112.8 kB / 462.8 MB, free: 8.301 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004109/0.6097, allocations: 1.73 MB / 464.5 MB, free: 6.461 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001441/0.6112, allocations: 1.232 MB / 465.8 MB, free: 5.203 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003534/0.6115, allocations: 71.44 kB / 465.8 MB, free: 5.133 MB / 362.7 MB Notification: Performance of SimCode: time 1.782e-06/0.6116, allocations: 0 / 465.8 MB, free: 5.133 MB / 362.7 MB Notification: Performance of Templates: time 0.02858/0.6401, allocations: 15.5 MB / 481.3 MB, free: 5.625 MB / 378.7 MB