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 2.025/2.025, allocations: 209.3 MB / 221.5 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.069e-05/4.081e-05, allocations: 4 kB / 273.1 MB, free: 3.164 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09085/0.09091, allocations: 48.69 MB / 321.8 MB, free: 2.375 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3584/0.4494, allocations: 88.49 MB / 410.3 MB, free: 4.195 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.4497, allocations: 80.88 kB / 410.4 MB, free: 4.18 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3222/0.7719, allocations: 82.64 MB / 493 MB, free: 10.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.634e-06/0.772, allocations: 0 / 493 MB, free: 10.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001752/0.7721, allocations: 68 kB / 493.1 MB, free: 10.86 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: 1479 * Number of variables: 1479 Notification: Performance of Generate backend data structure: time 0.01587/0.788, allocations: 3.844 MB / 496.9 MB, free: 6.953 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.7881, allocations: 16.02 kB / 496.9 MB, free: 6.938 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02926/0.8174, allocations: 5.879 MB / 0.491 GB, free: 1.043 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01754/0.8349, allocations: 5.29 MB / 0.4962 GB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004101/0.8354, allocations: 283.3 kB / 0.4965 GB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002027/0.8374, allocations: 367.9 kB / 0.4968 GB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02842/0.8659, allocations: 10.29 MB / 0.5069 GB, free: 272 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001909/0.8661, allocations: 35.66 kB / 0.5069 GB, free: 236 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00166/0.8678, allocations: 171.9 kB / 0.5071 GB, free: 64 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002283/0.8701, allocations: 1.148 MB / 0.5082 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02593/0.8961, allocations: 9.847 MB / 0.5178 GB, free: 5.059 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.304/1.2, allocations: 37.32 MB / 0.5542 GB, free: 81.24 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01476/1.215, allocations: 5.556 MB / 0.5597 GB, free: 80.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004001/1.219, allocations: 2.313 MB / 0.5619 GB, free: 80.06 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001805/1.221, allocations: 1.876 MB / 0.5638 GB, free: 78.36 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/1.221, allocations: 61.73 kB / 0.5638 GB, free: 78.31 MB / 426.7 MB Notification: Performance of pre-optimization done (n=224): time 6.43e-06/1.221, allocations: 0 / 0.5638 GB, free: 78.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=231): time 0.03962/1.26, allocations: 12.39 MB / 0.5759 GB, free: 76.79 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001111/1.262, allocations: 1.518 MB / 0.5774 GB, free: 75.31 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004059/1.266, allocations: 2.462 MB / 0.5798 GB, free: 74.42 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004769/1.266, allocations: 60.64 kB / 0.5799 GB, free: 74.37 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001645/1.268, allocations: 2.677 MB / 0.5825 GB, free: 72.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001027/1.269, allocations: 0.8477 MB / 0.5833 GB, free: 72.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004674/1.269, allocations: 104.1 kB / 0.5834 GB, free: 71.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003531/1.27, allocations: 0.547 MB / 0.5839 GB, free: 71.58 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005032/1.275, allocations: 2.553 MB / 0.5864 GB, free: 70.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006646/1.282, allocations: 5.482 MB / 0.5918 GB, free: 66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006806/1.288, allocations: 3.783 MB / 0.5955 GB, free: 64.92 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.495e-05/1.288, allocations: 29.53 kB / 0.5955 GB, free: 64.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.07428/1.363, allocations: 18.58 MB / 0.6136 GB, free: 60.19 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.039e-05/1.363, allocations: 48 kB / 0.6137 GB, free: 60.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04851/1.411, allocations: 11.96 MB / 0.6254 GB, free: 50.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05324/1.465, allocations: 10.31 MB / 0.6354 GB, free: 40.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005239/1.47, allocations: 1.244 MB / 0.6366 GB, free: 39.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02963/1.5, allocations: 15.87 MB / 0.6521 GB, free: 23.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005661/1.505, allocations: 439.5 kB / 0.6526 GB, free: 22.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00107/1.506, allocations: 318.4 kB / 0.6529 GB, free: 22.38 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 474 * 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 (649): * Single equations (assignments): 638 * 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.001054/1.508, allocations: 0.4912 MB / 0.6533 GB, free: 21.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005491/1.508, allocations: 272.4 kB / 0.6536 GB, free: 21.62 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01107/1.519, allocations: 5.064 MB / 0.6585 GB, free: 16.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01006/1.529, allocations: 4.358 MB / 0.6628 GB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/1.529, allocations: 7.938 kB / 0.6628 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.031e-05/1.529, allocations: 11.95 kB / 0.6628 GB, free: 12.13 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03013/1.559, allocations: 12.92 MB / 0.6754 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.672e-05/1.56, allocations: 8 kB / 0.6754 GB, free: 15.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00431/1.564, allocations: 403.4 kB / 0.6758 GB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006012/1.57, allocations: 0.9391 MB / 0.6768 GB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005034/1.571, allocations: 53.12 kB / 0.6768 GB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009284/1.58, allocations: 5.432 MB / 0.6821 GB, free: 7.961 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00152/1.581, allocations: 1.455 MB / 0.6835 GB, free: 6.367 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3019/1.883, allocations: 8.28 MB / 0.6916 GB, free: 107.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008254/1.884, allocations: 332.9 kB / 0.6919 GB, free: 107.7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007245/1.885, allocations: 42.03 kB / 0.692 GB, free: 107.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002318/1.887, allocations: 200.2 kB / 0.6922 GB, free: 107.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005144/1.888, allocations: 142 kB / 0.6923 GB, free: 107.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002649/1.888, allocations: 67.55 kB / 0.6924 GB, free: 107.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003584/1.892, allocations: 1.675 MB / 0.694 GB, free: 107.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.017e-06/1.892, allocations: 2.812 kB / 0.694 GB, free: 107.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00622/1.898, allocations: 1.103 MB / 0.6951 GB, free: 107.6 MB / 442.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.00063/1.899, allocations: 185.2 kB / 0.6953 GB, free: 107.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01388/1.912, allocations: 6.296 MB / 0.7014 GB, free: 107.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.269e-06/1.912, allocations: 0 / 0.7014 GB, free: 107.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005139/1.918, allocations: 2.471 MB / 0.7038 GB, free: 106.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002294/1.92, allocations: 346 kB / 0.7041 GB, free: 106.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01907/1.939, allocations: 8.522 MB / 0.7125 GB, free: 105.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005153/1.944, allocations: 3.241 MB / 0.7156 GB, free: 104.4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006434/1.951, allocations: 2.054 MB / 0.7176 GB, free: 104.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001256/1.952, allocations: 210.6 kB / 0.7178 GB, free: 104.3 MB / 442.7 MB Notification: Performance of SimCode: time 1.863e-06/1.952, allocations: 0 / 0.7178 GB, free: 104.3 MB / 442.7 MB Notification: Performance of Templates: time 0.1533/2.105, allocations: 42.48 MB / 0.7593 GB, free: 93.92 MB / 442.7 MB