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 2.187/2.187, allocations: 209.2 MB / 224.4 MB, free: 0.5273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.615e-05/5.613e-05, allocations: 7.984 kB / 276.1 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3697, allocations: 48.7 MB / 324.9 MB, free: 2.883 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.02277/0.3925, allocations: 14.27 MB / 339.1 MB, free: 9.457 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01146/0.404, allocations: 3.446 MB / 342.6 MB, free: 7.188 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003915/0.408, allocations: 73.09 kB / 342.6 MB, free: 7.172 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003165/0.4113, allocations: 0.6901 MB / 343.3 MB, free: 6.949 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008618/0.4199, allocations: 1.824 MB / 345.1 MB, free: 6.059 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001657/0.4216, allocations: 227 kB / 345.4 MB, free: 5.969 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001512/0.4232, allocations: 345.2 kB / 345.7 MB, free: 5.766 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002317/0.4256, allocations: 0.9574 MB / 346.7 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004876/0.4261, allocations: 192.7 kB / 346.9 MB, free: 5.137 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/0.4271, allocations: 459 kB / 347.3 MB, free: 4.902 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.4283, allocations: 379.2 kB / 347.7 MB, free: 4.742 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003075/0.4286, allocations: 62.31 kB / 347.7 MB, free: 4.738 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006489/0.4293, allocations: 398.1 kB / 348.1 MB, free: 4.523 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003357/0.4297, allocations: 66.94 kB / 348.2 MB, free: 4.523 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002367/0.432, allocations: 1.323 MB / 349.5 MB, free: 3.633 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.4321, allocations: 0 / 349.5 MB, free: 3.633 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.206e-06/0.4321, allocations: 0 / 349.5 MB, free: 3.633 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.479e-05/0.4322, allocations: 1.5 kB / 349.5 MB, free: 3.633 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.004867/0.4371, allocations: 1.358 MB / 350.9 MB, free: 2.66 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.4371, allocations: 9.656 kB / 350.9 MB, free: 2.66 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001453/0.4386, allocations: 169.3 kB / 351 MB, free: 2.566 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002014/0.4406, allocations: 0.6115 MB / 351.7 MB, free: 2.086 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.039e-05/0.4408, allocations: 60.42 kB / 351.7 MB, free: 2.059 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003175/0.4411, allocations: 79.75 kB / 351.8 MB, free: 2.031 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009756/0.4509, allocations: 2.695 MB / 354.5 MB, free: 460 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.837e-05/0.451, allocations: 7.844 kB / 354.5 MB, free: 456 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001479/0.4511, allocations: 38.44 kB / 354.5 MB, free: 428 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008307/0.452, allocations: 382.4 kB / 354.9 MB, free: 284 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009832/0.4618, allocations: 2.412 MB / 357.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01562/0.4775, allocations: 8.181 MB / 365.5 MB, free: 6.391 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006849/0.4844, allocations: 0.9951 MB / 366.5 MB, free: 5.383 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002348/0.4868, allocations: 1.734 MB / 368.2 MB, free: 3.371 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.581e-05/0.4869, allocations: 35.28 kB / 368.3 MB, free: 3.328 MB / 298.7 MB Notification: Performance of pre-optimization done (n=44): time 3.116e-06/0.4869, allocations: 0 / 368.3 MB, free: 3.328 MB / 298.7 MB Notification: Performance of matching and sorting (n=58): time 0.02069/0.5076, allocations: 2.986 MB / 371.2 MB, free: 344 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.035e-05/0.5077, allocations: 59.97 kB / 371.3 MB, free: 268 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00167/0.5094, allocations: 0.7808 MB / 372.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.545e-05/0.5095, allocations: 37.7 kB / 372.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006377/0.5102, allocations: 0.6784 MB / 372.8 MB, free: 14.74 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002581/0.5104, allocations: 209.1 kB / 373 MB, free: 14.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.76e-05/0.5105, allocations: 24 kB / 373 MB, free: 14.51 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002041/0.5107, allocations: 358.8 kB / 373.4 MB, free: 14.15 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009256/0.5117, allocations: 366.4 kB / 373.7 MB, free: 13.79 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001509/0.5132, allocations: 0.9693 MB / 374.7 MB, free: 12.53 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/0.5146, allocations: 0.5603 MB / 375.3 MB, free: 11.97 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.438e-05/0.5146, allocations: 7.984 kB / 375.3 MB, free: 11.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004054/0.5187, allocations: 1.327 MB / 376.6 MB, free: 10.63 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.386e-05/0.5187, allocations: 12 kB / 376.6 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.976e-05/0.5188, allocations: 24 kB / 376.6 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.46e-05/0.5189, allocations: 35.95 kB / 376.7 MB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002799/0.5217, allocations: 315.5 kB / 377 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001885/0.5236, allocations: 1.376 MB / 378.4 MB, free: 8.746 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001832/0.5255, allocations: 52.14 kB / 378.4 MB, free: 8.695 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001902/0.5257, allocations: 68 kB / 378.5 MB, free: 8.629 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.001564/0.5273, allocations: 491.7 kB / 379 MB, free: 8.137 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002882/0.5276, allocations: 78.97 kB / 379 MB, free: 8.059 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004426/0.528, allocations: 120.3 kB / 379.2 MB, free: 7.934 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.5281, allocations: 4 kB / 379.2 MB, free: 7.93 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.5281, allocations: 4 kB / 379.2 MB, free: 7.926 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/0.5281, allocations: 3.984 kB / 379.2 MB, free: 7.922 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007908/0.5361, allocations: 2.16 MB / 381.3 MB, free: 5.621 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.712e-05/0.5361, allocations: 4 kB / 381.3 MB, free: 5.617 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/0.5374, allocations: 123.8 kB / 381.4 MB, free: 5.496 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.772e-05/0.5374, allocations: 15.98 kB / 381.5 MB, free: 5.48 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.395e-05/0.5375, allocations: 16.5 kB / 381.5 MB, free: 5.465 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00169/0.5392, allocations: 1.345 MB / 382.8 MB, free: 3.988 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.708e-05/0.5393, allocations: 4.25 kB / 382.8 MB, free: 3.984 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002652/0.5419, allocations: 1.142 MB / 384 MB, free: 2.582 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006822/0.5427, allocations: 203.9 kB / 384.2 MB, free: 2.363 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002632/0.5429, allocations: 27.88 kB / 384.2 MB, free: 2.336 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00094/0.5439, allocations: 16 kB / 384.2 MB, free: 2.32 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/0.5441, allocations: 55.83 kB / 384.3 MB, free: 2.266 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.513e-05/0.5442, allocations: 24 kB / 384.3 MB, free: 2.242 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001787/0.546, allocations: 0.5732 MB / 384.9 MB, free: 1.672 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.546, allocations: 0 / 384.9 MB, free: 1.672 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002333/0.5484, allocations: 220 kB / 385.1 MB, free: 1.457 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.0003074/0.5487, allocations: 123 kB / 385.2 MB, free: 1.328 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003094/0.5518, allocations: 0.8578 MB / 386.1 MB, free: 484 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.223e-06/0.5519, allocations: 5.375 kB / 386.1 MB, free: 480 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001139/0.553, allocations: 288.3 kB / 386.3 MB, free: 192 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.5543, allocations: 115.3 kB / 386.5 MB, free: 84 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00805/0.5624, allocations: 2.58 MB / 389 MB, free: 13.39 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002031/0.5645, allocations: 1.229 MB / 390.3 MB, free: 12.14 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00054/0.565, allocations: 71.44 kB / 390.3 MB, free: 12.07 MB / 330.7 MB Notification: Performance of SimCode: time 1.092e-06/0.5651, allocations: 0 / 390.3 MB, free: 12.07 MB / 330.7 MB Notification: Performance of Templates: time 0.04246/0.6075, allocations: 15.71 MB / 406 MB, free: 12.34 MB / 346.7 MB