Running command: translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical") Notification: Performance of loadModel(ModelicaTest): time 2.344/2.344, allocations: 270 MB / 282.7 MB, free: 1.855 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.574e-05/3.617e-05, allocations: 7.984 kB / 347 MB, free: 3.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3246, allocations: 61.88 MB / 408.8 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1526/0.4772, allocations: 99.76 MB / 0.4967 GB, free: 6.855 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/0.4775, allocations: 75.97 kB / 0.4968 GB, free: 6.781 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08218/0.5597, allocations: 20.83 MB / 0.5171 GB, free: 1.812 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.356e-06/0.5598, allocations: 0 / 0.5171 GB, free: 1.812 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.447e-05/0.5598, allocations: 24 kB / 0.5171 GB, free: 1.789 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.003216/0.5631, allocations: 1.388 MB / 0.5185 GB, free: 360 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.5631, allocations: 15.95 kB / 0.5185 GB, free: 344 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/0.5644, allocations: 198.3 kB / 0.5187 GB, free: 144 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2812/0.8456, allocations: 0.7077 MB / 0.5194 GB, free: 102.4 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.8458, allocations: 76.33 kB / 0.5195 GB, free: 102.4 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003091/0.8461, allocations: 104.6 kB / 0.5196 GB, free: 102.4 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007445/0.8536, allocations: 2.649 MB / 0.5221 GB, free: 102 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.438e-05/0.8536, allocations: 15.3 kB / 0.5222 GB, free: 102 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001674/0.8538, allocations: 45.89 kB / 0.5222 GB, free: 102 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003735/0.8542, allocations: 205.4 kB / 0.5224 GB, free: 102 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006613/0.8608, allocations: 2.354 MB / 0.5247 GB, free: 102 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009725/0.8706, allocations: 8.627 MB / 0.5331 GB, free: 96.65 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004474/0.8751, allocations: 0.9891 MB / 0.5341 GB, free: 96.47 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004517/0.8756, allocations: 255 kB / 0.5343 GB, free: 96.38 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001352/0.877, allocations: 1.734 MB / 0.536 GB, free: 94.89 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.877, allocations: 39.22 kB / 0.5361 GB, free: 94.84 MB / 442.7 MB Notification: Performance of pre-optimization done (n=44): time 3.726e-06/0.8771, allocations: 2.594 kB / 0.5361 GB, free: 94.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=58): time 0.01269/0.8898, allocations: 2.701 MB / 0.5387 GB, free: 94.3 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.8898, allocations: 59.16 kB / 0.5388 GB, free: 94.24 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.891, allocations: 0.797 MB / 0.5395 GB, free: 93.89 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/0.891, allocations: 37.02 kB / 0.5396 GB, free: 93.85 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003229/0.8914, allocations: 0.6853 MB / 0.5402 GB, free: 93.28 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/0.8915, allocations: 209.9 kB / 0.5404 GB, free: 93.13 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.013e-05/0.8916, allocations: 26.19 kB / 0.5405 GB, free: 93.11 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.8917, allocations: 363.9 kB / 0.5408 GB, free: 92.78 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006163/0.8924, allocations: 360.1 kB / 0.5412 GB, free: 92.66 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008808/0.8933, allocations: 0.9708 MB / 0.5421 GB, free: 91.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008774/0.8942, allocations: 0.5666 MB / 0.5427 GB, free: 91.49 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.33e-05/0.8942, allocations: 8.797 kB / 0.5427 GB, free: 91.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002204/0.8964, allocations: 1.274 MB / 0.5439 GB, free: 91.03 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/0.8965, allocations: 11.47 kB / 0.5439 GB, free: 91.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.427e-05/0.8965, allocations: 26.44 kB / 0.5439 GB, free: 91.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.542e-05/0.8966, allocations: 32.97 kB / 0.544 GB, free: 91.03 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/0.898, allocations: 324 kB / 0.5443 GB, free: 90.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000897/0.8989, allocations: 1.367 MB / 0.5456 GB, free: 89.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000996/0.8999, allocations: 52.81 kB / 0.5457 GB, free: 89.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.9, allocations: 64.16 kB / 0.5457 GB, free: 89.6 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.0002351/0.9003, allocations: 227.5 kB / 0.5459 GB, free: 89.4 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/0.9004, allocations: 90.81 kB / 0.546 GB, free: 89.31 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002332/0.9007, allocations: 114.8 kB / 0.5461 GB, free: 89.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.092e-06/0.9007, allocations: 4 kB / 0.5461 GB, free: 89.2 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.9007, allocations: 0 / 0.5461 GB, free: 89.2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.157e-06/0.9007, allocations: 3.422 kB / 0.5461 GB, free: 89.2 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003999/0.9048, allocations: 2.125 MB / 0.5482 GB, free: 87.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/0.9048, allocations: 11.97 kB / 0.5482 GB, free: 87.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006726/0.9055, allocations: 132.3 kB / 0.5484 GB, free: 87.19 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.547e-05/0.9055, allocations: 8 kB / 0.5484 GB, free: 87.18 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.333e-05/0.9056, allocations: 16 kB / 0.5484 GB, free: 87.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007897/0.9064, allocations: 1.337 MB / 0.5497 GB, free: 85.73 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.451e-06/0.9064, allocations: 8 kB / 0.5497 GB, free: 85.72 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.9076, allocations: 1.132 MB / 0.5508 GB, free: 84.39 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000256/0.9078, allocations: 163 kB / 0.551 GB, free: 84.22 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.908, allocations: 23 kB / 0.551 GB, free: 84.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004802/0.9085, allocations: 16 kB / 0.551 GB, free: 84.18 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.1e-05/0.9086, allocations: 57.52 kB / 0.5511 GB, free: 84.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.19e-05/0.9086, allocations: 20 kB / 0.5511 GB, free: 84.12 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008953/0.9095, allocations: 0.5843 MB / 0.5516 GB, free: 83.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.011e-06/0.9095, allocations: 0 / 0.5516 GB, free: 83.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0013/0.9109, allocations: 219.7 kB / 0.5518 GB, free: 83.39 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.0001917/0.9111, allocations: 134.6 kB / 0.552 GB, free: 83.25 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001651/0.9127, allocations: 0.8173 MB / 0.5528 GB, free: 82.51 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.183e-06/0.9128, allocations: 3.938 kB / 0.5528 GB, free: 82.51 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006135/0.9134, allocations: 277.3 kB / 0.553 GB, free: 82.27 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008542/0.9143, allocations: 117.9 kB / 0.5532 GB, free: 82.16 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00351/0.9178, allocations: 1.745 MB / 0.5549 GB, free: 80.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009759/0.9188, allocations: 1.247 MB / 0.5561 GB, free: 79.43 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003138/0.9191, allocations: 71.44 kB / 0.5561 GB, free: 79.36 MB / 442.7 MB Notification: Performance of SimCode: time 1.754e-06/0.9192, allocations: 4 kB / 0.5561 GB, free: 79.35 MB / 442.7 MB Notification: Performance of Templates: time 0.02226/0.9414, allocations: 15.77 MB / 0.5715 GB, free: 65.13 MB / 442.7 MB