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_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical") Notification: Performance of loadModel(ModelicaTest): time 2.187/2.187, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.268e-05/3.276e-05, allocations: 4.938 kB / 304.9 MB, free: 5.652 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3196, allocations: 54.86 MB / 359.8 MB, free: 2.645 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1403/0.4599, allocations: 90.95 MB / 450.7 MB, free: 6.004 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/0.4602, allocations: 73.16 kB / 450.8 MB, free: 5.934 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07957/0.5398, allocations: 19.9 MB / 470.7 MB, free: 1.938 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.426e-06/0.5399, allocations: 0 / 470.7 MB, free: 1.938 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.504e-05/0.5399, allocations: 23.98 kB / 470.7 MB, free: 1.914 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: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.003513/0.5435, allocations: 1.366 MB / 472.1 MB, free: 0.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.5435, allocations: 8.031 kB / 472.1 MB, free: 0.4922 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/0.5449, allocations: 210.3 kB / 472.3 MB, free: 292 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001975/0.5469, allocations: 0.688 MB / 473 MB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.5471, allocations: 81.95 kB / 473.1 MB, free: 15.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003514/0.5474, allocations: 95.98 kB / 473.2 MB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007622/0.5551, allocations: 2.637 MB / 475.8 MB, free: 12.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.794e-05/0.5552, allocations: 11.92 kB / 475.8 MB, free: 12.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001885/0.5554, allocations: 47.94 kB / 475.9 MB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004136/0.5558, allocations: 209.8 kB / 476.1 MB, free: 12.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007393/0.5632, allocations: 2.339 MB / 478.4 MB, free: 9.973 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0137/0.577, allocations: 8.531 MB / 486.9 MB, free: 1.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005027/0.582, allocations: 0.9909 MB / 487.9 MB, free: 180 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005944/0.5827, allocations: 252.8 kB / 488.2 MB, free: 15.92 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00216/0.5849, allocations: 1.73 MB / 489.9 MB, free: 13.92 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.837e-05/0.585, allocations: 55.25 kB / 490 MB, free: 13.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=44): time 4.187e-06/0.585, allocations: 1.406 kB / 490 MB, free: 13.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=58): time 0.01439/0.5994, allocations: 2.684 MB / 492.6 MB, free: 11.15 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.5995, allocations: 59.97 kB / 492.7 MB, free: 11.08 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001514/0.601, allocations: 0.7732 MB / 493.5 MB, free: 10.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.789e-05/0.6011, allocations: 37.69 kB / 493.5 MB, free: 10.26 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005985/0.6017, allocations: 0.6823 MB / 494.2 MB, free: 9.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002542/0.602, allocations: 209.1 kB / 494.4 MB, free: 9.363 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.768e-05/0.6021, allocations: 24 kB / 494.4 MB, free: 9.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002256/0.6023, allocations: 362.8 kB / 494.8 MB, free: 8.977 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007647/0.6031, allocations: 350.5 kB / 495.1 MB, free: 8.633 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001325/0.6044, allocations: 0.9426 MB / 496.1 MB, free: 7.391 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.6056, allocations: 0.5612 MB / 496.6 MB, free: 6.828 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.501e-05/0.6056, allocations: 8 kB / 496.6 MB, free: 6.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002859/0.6085, allocations: 1.252 MB / 497.9 MB, free: 5.562 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.206e-05/0.6086, allocations: 20.95 kB / 497.9 MB, free: 5.543 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.234e-05/0.6086, allocations: 23.94 kB / 497.9 MB, free: 5.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.232e-05/0.6087, allocations: 36 kB / 498 MB, free: 5.484 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001679/0.6104, allocations: 311.5 kB / 498.3 MB, free: 5.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/0.6119, allocations: 1.364 MB / 499.6 MB, free: 3.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/0.613, allocations: 55.89 kB / 499.7 MB, free: 3.625 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/0.6131, allocations: 64 kB / 499.7 MB, free: 3.562 MB / 426.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.0003135/0.6134, allocations: 215.6 kB / 500 MB, free: 3.344 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/0.6136, allocations: 82.92 kB / 0.4883 GB, free: 3.262 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002709/0.6139, allocations: 112.4 kB / 0.4884 GB, free: 3.152 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.6139, allocations: 4 kB / 0.4884 GB, free: 3.148 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.984e-06/0.614, allocations: 3.984 kB / 0.4884 GB, free: 3.145 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.84e-06/0.614, allocations: 4 kB / 0.4884 GB, free: 3.141 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005035/0.619, allocations: 2.129 MB / 0.4905 GB, free: 0.875 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/0.6191, allocations: 8 kB / 0.4905 GB, free: 0.8672 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007592/0.6198, allocations: 131.9 kB / 0.4906 GB, free: 0.7383 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.218e-05/0.6199, allocations: 12 kB / 0.4907 GB, free: 0.7266 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.845e-05/0.6199, allocations: 16 kB / 0.4907 GB, free: 0.7109 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/0.6213, allocations: 1.337 MB / 0.492 GB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.035e-05/0.6213, allocations: 11.94 kB / 0.492 GB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001627/0.6229, allocations: 1.119 MB / 0.4931 GB, free: 13.85 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004136/0.6234, allocations: 207.9 kB / 0.4933 GB, free: 13.63 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.6235, allocations: 16 kB / 0.4933 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004784/0.624, allocations: 19.98 kB / 0.4933 GB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.6241, allocations: 55.84 kB / 0.4934 GB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.76e-05/0.6242, allocations: 16 kB / 0.4934 GB, free: 13.52 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001104/0.6253, allocations: 0.5733 MB / 0.4939 GB, free: 12.95 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.5e-07/0.6253, allocations: 0 / 0.4939 GB, free: 12.95 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001354/0.6267, allocations: 216 kB / 0.4941 GB, free: 12.74 MB / 442.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.0002245/0.6269, allocations: 123.1 kB / 0.4943 GB, free: 12.61 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001945/0.6289, allocations: 0.8076 MB / 0.4951 GB, free: 11.81 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.329e-06/0.6289, allocations: 0 / 0.4951 GB, free: 11.81 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000695/0.6296, allocations: 277.2 kB / 0.4953 GB, free: 11.54 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008227/0.6304, allocations: 123.1 kB / 0.4954 GB, free: 11.42 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00394/0.6344, allocations: 1.73 MB / 0.4971 GB, free: 9.578 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001389/0.6358, allocations: 1.232 MB / 0.4983 GB, free: 8.316 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003327/0.6362, allocations: 71.44 kB / 0.4984 GB, free: 8.246 MB / 442.7 MB Notification: Performance of SimCode: time 1.726e-06/0.6362, allocations: 0 / 0.4984 GB, free: 8.246 MB / 442.7 MB Notification: Performance of Templates: time 0.02866/0.6649, allocations: 15.5 MB / 0.5135 GB, free: 8.738 MB / 458.7 MB