Running command: translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical") Notification: Performance of loadModel(ModelicaTest): time 1.957/1.957, allocations: 209.3 MB / 223.8 MB, free: 440 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.013e-05/3.041e-05, allocations: 4 kB / 276.2 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.362, allocations: 48.7 MB / 324.9 MB, free: 3.359 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.03153/0.3935, allocations: 20.39 MB / 345.3 MB, free: 5.551 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02385/0.4174, allocations: 5.498 MB / 350.8 MB, free: 1.977 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007412/0.4249, allocations: 101.3 kB / 350.9 MB, free: 1.961 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005655/0.4306, allocations: 1.095 MB / 352 MB, free: 1.395 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01668/0.4474, allocations: 3.176 MB / 355.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003126/0.4506, allocations: 448.4 kB / 355.6 MB, free: 14.83 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006389/0.457, allocations: 1.532 MB / 357.1 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005802/0.4629, allocations: 1.808 MB / 358.9 MB, free: 12.72 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002065/0.465, allocations: 0.6604 MB / 359.6 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003027/0.4681, allocations: 1.126 MB / 360.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003804/0.4719, allocations: 1.022 MB / 361.7 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009762/0.4729, allocations: 120 kB / 361.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002544/0.4755, allocations: 1.329 MB / 363.2 MB, free: 9.082 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001286/0.4768, allocations: 208 kB / 363.4 MB, free: 8.879 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01096/0.4878, allocations: 4.737 MB / 368.1 MB, free: 4.133 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4879, allocations: 0 / 368.1 MB, free: 4.133 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.527e-06/0.4879, allocations: 0 / 368.1 MB, free: 4.133 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002042/0.4881, allocations: 4 kB / 368.1 MB, free: 4.129 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1479 * Number of variables: 1479 Notification: Performance of Generate backend data structure: time 0.01285/0.501, allocations: 3.477 MB / 371.6 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.743e-05/0.501, allocations: 8.031 kB / 371.6 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04447/0.5455, allocations: 6.406 MB / 378 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008545/0.5541, allocations: 2.509 MB / 380.5 MB, free: 7.598 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002045/0.5544, allocations: 180.4 kB / 380.7 MB, free: 7.418 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001678/0.5561, allocations: 315.5 kB / 381 MB, free: 7.109 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02668/0.5828, allocations: 10.78 MB / 391.8 MB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001006/0.5829, allocations: 23.81 kB / 391.8 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005806/0.5835, allocations: 111.8 kB / 391.9 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006751/0.5903, allocations: 2.459 MB / 394.4 MB, free: 9.27 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03198/0.6223, allocations: 10.23 MB / 404.6 MB, free: 15.03 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07811/0.7005, allocations: 35.71 MB / 440.3 MB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02135/0.7219, allocations: 5.596 MB / 445.9 MB, free: 4.637 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003033/0.725, allocations: 1.884 MB / 447.8 MB, free: 2.422 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.05e-05/0.7251, allocations: 52.56 kB / 447.8 MB, free: 2.363 MB / 378.7 MB Notification: Performance of pre-optimization done (n=224): time 6.582e-06/0.7251, allocations: 0 / 447.8 MB, free: 2.363 MB / 378.7 MB Notification: Performance of matching and sorting (n=231): time 0.06416/0.7893, allocations: 15.53 MB / 463.4 MB, free: 2.602 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001967/0.7913, allocations: 1.531 MB / 464.9 MB, free: 0.9219 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006472/0.7978, allocations: 2.707 MB / 467.6 MB, free: 14.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006314/0.7985, allocations: 53.7 kB / 467.7 MB, free: 14.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003017/0.8015, allocations: 2.674 MB / 470.3 MB, free: 11.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001602/0.8032, allocations: 0.8441 MB / 471.2 MB, free: 10.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006868/0.8039, allocations: 108 kB / 471.3 MB, free: 10.47 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005209/0.8044, allocations: 0.5455 MB / 471.8 MB, free: 9.918 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007243/0.8117, allocations: 2.599 MB / 474.4 MB, free: 7.312 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009927/0.8217, allocations: 5.57 MB / 480 MB, free: 284 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3747/1.196, allocations: 3.784 MB / 483.8 MB, free: 121.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.663e-05/1.197, allocations: 32.78 kB / 483.8 MB, free: 121.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.121/1.318, allocations: 18.95 MB / 0.491 GB, free: 117.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.871e-05/1.318, allocations: 54.61 kB / 0.491 GB, free: 117.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08206/1.4, allocations: 12 MB / 0.5028 GB, free: 110.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09084/1.491, allocations: 10.3 MB / 0.5128 GB, free: 99.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007935/1.499, allocations: 1.294 MB / 0.5141 GB, free: 98.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04646/1.545, allocations: 17.29 MB / 0.531 GB, free: 81.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006267/1.551, allocations: 435.3 kB / 0.5314 GB, free: 80.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001099/1.553, allocations: 317.4 kB / 0.5317 GB, free: 80.38 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 473 * Number of states: 0 () * Number of discrete variables: 21 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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 (650): * Single equations (assignments): 639 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.004218/1.557, allocations: 1.994 MB / 0.5336 GB, free: 78.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005876/1.557, allocations: 265.9 kB / 0.5339 GB, free: 78.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01306/1.57, allocations: 5.096 MB / 0.5389 GB, free: 73.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01149/1.582, allocations: 4.4 MB / 0.5432 GB, free: 68.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/1.582, allocations: 0 / 0.5432 GB, free: 68.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.135e-05/1.582, allocations: 7.969 kB / 0.5432 GB, free: 68.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03027/1.612, allocations: 12.92 MB / 0.5558 GB, free: 55.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-05/1.612, allocations: 10.81 kB / 0.5558 GB, free: 55.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004068/1.617, allocations: 459.2 kB / 0.5562 GB, free: 55.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005167/1.622, allocations: 0.9425 MB / 0.5572 GB, free: 54.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004921/1.622, allocations: 53.3 kB / 0.5572 GB, free: 54.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00966/1.632, allocations: 5.572 MB / 0.5626 GB, free: 48.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001138/1.633, allocations: 1.474 MB / 0.5641 GB, free: 46.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01792/1.651, allocations: 8.356 MB / 0.5722 GB, free: 38.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008334/1.652, allocations: 341.5 kB / 0.5726 GB, free: 37.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008941/1.653, allocations: 44 kB / 0.5726 GB, free: 37.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002683/1.656, allocations: 201 kB / 0.5728 GB, free: 37.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004488/1.656, allocations: 141 kB / 0.5729 GB, free: 37.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002491/1.656, allocations: 71.97 kB / 0.573 GB, free: 37.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003342/1.66, allocations: 1.869 MB / 0.5748 GB, free: 35.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.092e-06/1.66, allocations: 3.938 kB / 0.5748 GB, free: 35.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005877/1.666, allocations: 1.113 MB / 0.5759 GB, free: 34.52 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (170): * Single equations (assignments): 161 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000819/1.666, allocations: 198.4 kB / 0.5761 GB, free: 34.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01611/1.683, allocations: 6.549 MB / 0.5825 GB, free: 27.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/1.683, allocations: 4 kB / 0.5825 GB, free: 27.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00594/1.689, allocations: 2.514 MB / 0.585 GB, free: 25.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002636/1.691, allocations: 343 kB / 0.5853 GB, free: 24.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02773/1.719, allocations: 11.54 MB / 0.5966 GB, free: 13.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008408/1.727, allocations: 3.235 MB / 0.5997 GB, free: 9.934 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.01228/1.74, allocations: 2.064 MB / 0.6017 GB, free: 7.863 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002169/1.742, allocations: 215.4 kB / 0.6019 GB, free: 7.652 MB / 410.7 MB Notification: Performance of SimCode: time 1.363e-06/1.742, allocations: 0 / 0.6019 GB, free: 7.652 MB / 410.7 MB Notification: Performance of Templates: time 0.4572/2.199, allocations: 43.79 MB / 0.6447 GB, free: 126.8 MB / 426.7 MB