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.3_ModelicaTest.MultiBody.Joints.Spherical") Notification: Performance of loadModel(ModelicaTest): time 2.387/2.387, allocations: 249.5 MB / 261.6 MB, free: 2.176 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.441e-05/3.461e-05, allocations: 4 kB / 323.4 MB, free: 4.312 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3233, allocations: 58.83 MB / 382.2 MB, free: 10.34 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1577/0.481, allocations: 101.6 MB / 483.8 MB, free: 6.91 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/0.4813, allocations: 83.91 kB / 483.9 MB, free: 6.828 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.6004/1.082, allocations: 83.62 MB / 0.5542 GB, free: 111.7 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.283e-06/1.082, allocations: 0 / 0.5542 GB, free: 111.7 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0001499/1.082, allocations: 67.06 kB / 0.5543 GB, free: 111.7 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1482 * Number of variables: 1482 Notification: Performance of Generate backend data structure: time 0.01494/1.097, allocations: 3.854 MB / 0.558 GB, free: 110.1 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/1.097, allocations: 9.188 kB / 0.558 GB, free: 110.1 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02924/1.126, allocations: 5.882 MB / 0.5638 GB, free: 109.8 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01635/1.143, allocations: 5.31 MB / 0.569 GB, free: 106.3 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003014/1.143, allocations: 278.9 kB / 0.5692 GB, free: 106.1 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001905/1.145, allocations: 368.7 kB / 0.5696 GB, free: 105.8 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02258/1.167, allocations: 10.31 MB / 0.5797 GB, free: 95.03 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001293/1.168, allocations: 31.66 kB / 0.5797 GB, free: 95 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001038/1.169, allocations: 178.5 kB / 0.5799 GB, free: 94.86 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001655/1.17, allocations: 1.147 MB / 0.581 GB, free: 93.71 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0216/1.192, allocations: 9.859 MB / 0.5906 GB, free: 83.84 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05624/1.248, allocations: 37.42 MB / 0.6271 GB, free: 45.75 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01336/1.262, allocations: 5.567 MB / 0.6326 GB, free: 39.96 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003619/1.265, allocations: 2.304 MB / 0.6348 GB, free: 37.65 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001644/1.267, allocations: 1.886 MB / 0.6367 GB, free: 35.44 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/1.267, allocations: 52.56 kB / 0.6367 GB, free: 35.38 MB / 458.8 MB Notification: Performance of pre-optimization done (n=224): time 7.468e-06/1.267, allocations: 0 / 0.6367 GB, free: 35.38 MB / 458.8 MB Notification: Performance of matching and sorting (n=231): time 0.03827/1.305, allocations: 12.41 MB / 0.6488 GB, free: 22.89 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001121/1.307, allocations: 1.512 MB / 0.6503 GB, free: 21.22 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004561/1.311, allocations: 2.489 MB / 0.6528 GB, free: 18.72 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005048/1.312, allocations: 52.28 kB / 0.6528 GB, free: 18.66 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001796/1.313, allocations: 2.688 MB / 0.6554 GB, free: 15.97 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001105/1.315, allocations: 0.8541 MB / 0.6563 GB, free: 15.12 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005935/1.315, allocations: 103.9 kB / 0.6564 GB, free: 15.03 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0004043/1.316, allocations: 0.5493 MB / 0.6569 GB, free: 14.47 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00491/1.321, allocations: 2.556 MB / 0.6594 GB, free: 11.91 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006627/1.327, allocations: 5.513 MB / 0.6648 GB, free: 4.93 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006586/1.334, allocations: 3.781 MB / 0.6685 GB, free: 1.145 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-05/1.334, allocations: 32 kB / 0.6685 GB, free: 1.113 MB / 458.8 MB Notification: Performance of matching and sorting (n=724) (initialization): time 0.07709/1.411, allocations: 18.59 MB / 0.6867 GB, free: 14.48 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.812e-05/1.411, allocations: 52 kB / 0.6867 GB, free: 14.43 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05305/1.464, allocations: 11.96 MB / 0.6984 GB, free: 2.441 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05658/1.521, allocations: 10.3 MB / 0.7085 GB, free: 8.109 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00599/1.527, allocations: 1.255 MB / 0.7097 GB, free: 6.852 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3546/1.882, allocations: 15.86 MB / 0.7252 GB, free: 139.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0125/1.894, allocations: 445.2 kB / 0.7256 GB, free: 139.9 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001968/1.896, allocations: 319.4 kB / 0.7259 GB, free: 139.9 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 477 * Number of states: 0 () * Number of discrete variables: 24 (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.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 (652): * Single equations (assignments): 641 * 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.002208/1.898, allocations: 0.4945 MB / 0.7264 GB, free: 139.8 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00123/1.9, allocations: 278.4 kB / 0.7266 GB, free: 139.8 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02416/1.924, allocations: 5.068 MB / 0.7316 GB, free: 139.6 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02178/1.946, allocations: 4.357 MB / 0.7359 GB, free: 139.1 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-05/1.946, allocations: 3.625 kB / 0.7359 GB, free: 139.1 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.968e-05/1.946, allocations: 7.5 kB / 0.7359 GB, free: 139.1 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03181/1.978, allocations: 12.94 MB / 0.7485 GB, free: 134.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-05/1.978, allocations: 7.531 kB / 0.7485 GB, free: 134.7 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002383/1.98, allocations: 402.7 kB / 0.7489 GB, free: 134.7 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00377/1.984, allocations: 0.9363 MB / 0.7498 GB, free: 134.6 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000451/1.984, allocations: 51.97 kB / 0.7498 GB, free: 134.5 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007258/1.992, allocations: 5.421 MB / 0.7551 GB, free: 131.3 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008973/1.993, allocations: 1.464 MB / 0.7566 GB, free: 129.9 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0145/2.007, allocations: 8.296 MB / 0.7647 GB, free: 126.4 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007623/2.008, allocations: 332.2 kB / 0.765 GB, free: 126.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005316/2.009, allocations: 42.91 kB / 0.765 GB, free: 126.2 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001817/2.01, allocations: 205.8 kB / 0.7652 GB, free: 126.2 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003871/2.011, allocations: 140.7 kB / 0.7654 GB, free: 126.2 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000245/2.011, allocations: 69.81 kB / 0.7654 GB, free: 126.2 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.002847/2.014, allocations: 1.689 MB / 0.7671 GB, free: 125.6 MB / 0.4949 GB Notification: Performance of sort global known variables: time 8.87e-07/2.014, allocations: 0 / 0.7671 GB, free: 125.6 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.005944/2.02, allocations: 1.107 MB / 0.7682 GB, free: 124.9 MB / 0.4949 GB 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.0005539/2.02, allocations: 192.5 kB / 0.7683 GB, free: 124.7 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01225/2.033, allocations: 6.312 MB / 0.7745 GB, free: 119.3 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 9.122e-06/2.033, allocations: 0 / 0.7745 GB, free: 119.3 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.004412/2.037, allocations: 2.468 MB / 0.7769 GB, free: 117.1 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002093/2.039, allocations: 345.8 kB / 0.7772 GB, free: 116.8 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02352/2.063, allocations: 8.546 MB / 0.7856 GB, free: 109.2 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004612/2.068, allocations: 3.255 MB / 0.7888 GB, free: 106.7 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.006124/2.074, allocations: 2.055 MB / 0.7908 GB, free: 105.5 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001178/2.075, allocations: 208.1 kB / 0.791 GB, free: 105.3 MB / 0.4949 GB Notification: Performance of SimCode: time 1.675e-06/2.075, allocations: 3.172 kB / 0.791 GB, free: 105.3 MB / 0.4949 GB Notification: Performance of Templates: time 0.09173/2.167, allocations: 42.62 MB / 0.8326 GB, free: 65.39 MB / 0.4949 GB