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_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical") Notification: Performance of loadModel(ModelicaTest): time 2.7/2.7, allocations: 270 MB / 283.6 MB, free: 1.75 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.483e-05/3.512e-05, allocations: 4 kB / 348.4 MB, free: 2.633 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3253, allocations: 61.89 MB / 410.3 MB, free: 10.67 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1784/0.5037, allocations: 99.77 MB / 0.4981 GB, free: 6.762 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003913/0.5042, allocations: 71.97 kB / 0.4982 GB, free: 6.691 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1057/0.6099, allocations: 20.83 MB / 0.5185 GB, free: 1.727 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.542e-06/0.61, allocations: 0 / 0.5185 GB, free: 1.727 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.31e-05/0.61, allocations: 27.98 kB / 0.5185 GB, free: 1.699 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.003393/0.6134, allocations: 1.384 MB / 0.5199 GB, free: 272 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.6135, allocations: 8.031 kB / 0.5199 GB, free: 264 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001428/0.6149, allocations: 202.3 kB / 0.5201 GB, free: 60 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2813/0.8963, allocations: 0.7109 MB / 0.5208 GB, free: 102.6 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/0.8965, allocations: 77.55 kB / 0.5209 GB, free: 102.6 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003594/0.8968, allocations: 102.3 kB / 0.521 GB, free: 102.6 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007826/0.9047, allocations: 2.655 MB / 0.5236 GB, free: 102.1 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.581e-05/0.9048, allocations: 13.39 kB / 0.5236 GB, free: 102.1 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001662/0.905, allocations: 48.91 kB / 0.5236 GB, free: 102.1 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003658/0.9053, allocations: 203.5 kB / 0.5238 GB, free: 102.1 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006844/0.9122, allocations: 2.357 MB / 0.5261 GB, free: 102.1 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01016/0.9224, allocations: 8.619 MB / 0.5345 GB, free: 96.74 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005064/0.9275, allocations: 0.9908 MB / 0.5355 GB, free: 96.56 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004511/0.928, allocations: 253.7 kB / 0.5357 GB, free: 96.46 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001482/0.9295, allocations: 1.736 MB / 0.5374 GB, free: 94.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.9296, allocations: 35.28 kB / 0.5375 GB, free: 94.93 MB / 442.7 MB Notification: Performance of pre-optimization done (n=44): time 4.001e-06/0.9296, allocations: 3.438 kB / 0.5375 GB, free: 94.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=58): time 0.01458/0.9442, allocations: 2.703 MB / 0.5401 GB, free: 94.39 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.9442, allocations: 55.94 kB / 0.5402 GB, free: 94.33 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.9455, allocations: 0.8015 MB / 0.5409 GB, free: 93.98 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.157e-05/0.9456, allocations: 36.86 kB / 0.541 GB, free: 93.94 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003681/0.9459, allocations: 0.6582 MB / 0.5416 GB, free: 93.42 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/0.9461, allocations: 212.7 kB / 0.5418 GB, free: 93.27 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.28e-05/0.9462, allocations: 26.75 kB / 0.5419 GB, free: 93.25 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.9463, allocations: 401.7 kB / 0.5422 GB, free: 92.9 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006801/0.947, allocations: 353 kB / 0.5426 GB, free: 92.79 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009445/0.948, allocations: 0.9762 MB / 0.5435 GB, free: 91.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009541/0.949, allocations: 0.5712 MB / 0.5441 GB, free: 91.59 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.337e-05/0.949, allocations: 11.2 kB / 0.5441 GB, free: 91.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002482/0.9515, allocations: 1.308 MB / 0.5454 GB, free: 91.11 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.147e-05/0.9515, allocations: 14.62 kB / 0.5454 GB, free: 91.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.617e-05/0.9516, allocations: 21.38 kB / 0.5454 GB, free: 91.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.913e-05/0.9516, allocations: 35.47 kB / 0.5454 GB, free: 91.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/0.953, allocations: 316.7 kB / 0.5457 GB, free: 91.08 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009022/0.954, allocations: 1.37 MB / 0.5471 GB, free: 89.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009775/0.955, allocations: 59.81 kB / 0.5471 GB, free: 89.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.9551, allocations: 68 kB / 0.5472 GB, free: 89.57 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 27 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (157): * Single equations (assignments): 156 * 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.0002302/0.9553, allocations: 218.2 kB / 0.5474 GB, free: 89.35 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.9555, allocations: 82.88 kB / 0.5475 GB, free: 89.27 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002357/0.9557, allocations: 118.7 kB / 0.5476 GB, free: 89.16 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.04e-06/0.9558, allocations: 8 kB / 0.5476 GB, free: 89.15 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.994e-06/0.9558, allocations: 4 kB / 0.5476 GB, free: 89.15 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.9558, allocations: 6.75 kB / 0.5476 GB, free: 89.15 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004029/0.9598, allocations: 2.131 MB / 0.5497 GB, free: 87.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.9599, allocations: 4 kB / 0.5497 GB, free: 87.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006563/0.9606, allocations: 123.9 kB / 0.5498 GB, free: 87.15 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.717e-05/0.9606, allocations: 12.66 kB / 0.5498 GB, free: 87.14 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-05/0.9606, allocations: 16 kB / 0.5498 GB, free: 87.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007872/0.9614, allocations: 1.334 MB / 0.5511 GB, free: 85.69 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.434e-06/0.9615, allocations: 16.48 kB / 0.5512 GB, free: 85.68 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.9627, allocations: 1.124 MB / 0.5523 GB, free: 84.35 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002406/0.9629, allocations: 171.2 kB / 0.5524 GB, free: 84.17 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.9631, allocations: 16 kB / 0.5524 GB, free: 84.15 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004745/0.9635, allocations: 22.62 kB / 0.5525 GB, free: 84.13 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.134e-05/0.9636, allocations: 46.25 kB / 0.5525 GB, free: 84.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.686e-05/0.9637, allocations: 30.53 kB / 0.5525 GB, free: 84.07 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000927/0.9646, allocations: 0.5768 MB / 0.5531 GB, free: 83.56 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.54e-07/0.9647, allocations: 4 kB / 0.5531 GB, free: 83.55 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001333/0.966, allocations: 223.9 kB / 0.5533 GB, free: 83.34 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.0002043/0.9662, allocations: 133.9 kB / 0.5534 GB, free: 83.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001563/0.9678, allocations: 0.7997 MB / 0.5542 GB, free: 82.47 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.005e-06/0.9678, allocations: 1.5 kB / 0.5542 GB, free: 82.47 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004983/0.9683, allocations: 265.4 kB / 0.5545 GB, free: 82.24 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008164/0.9692, allocations: 114 kB / 0.5546 GB, free: 82.14 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003182/0.9724, allocations: 1.642 MB / 0.5562 GB, free: 80.57 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009871/0.9734, allocations: 1.237 MB / 0.5574 GB, free: 79.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001218/0.9746, allocations: 346.2 kB / 0.5577 GB, free: 79.27 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002635/0.9749, allocations: 66.95 kB / 0.5578 GB, free: 79.21 MB / 442.7 MB Notification: Performance of SimCode: time 1.649e-06/0.9749, allocations: 3.938 kB / 0.5578 GB, free: 79.21 MB / 442.7 MB Notification: Performance of Templates: time 0.02213/0.9971, allocations: 7.3 MB / 0.5649 GB, free: 73.36 MB / 442.7 MB