Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUPS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rRod1_ia.1.|rRod1_ia.2.|rRod1_ia.3.|rRod2_ib.1.|rRod2_ib.2.|rRod2_ib.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.|jointUPS.frame_b.r_0.1.|jointUPS.frame_b.r_0.2.|jointUPS.frame_b.r_0.3.|jointUPS.frame_b.f.1.|jointUPS.frame_b.f.2.|jointUPS.frame_b.f.3.|jointUPS.frame_b.t.1.|jointUPS.frame_b.t.2.|jointUPS.frame_b.t.3.|jointUPS.frame_ia.r_0.1.|jointUPS.frame_ia.r_0.2.|jointUPS.frame_ia.r_0.3.|jointUPS.frame_ia.f.1.|jointUPS.frame_ia.f.2.|jointUPS.frame_ia.f.3.|jointUPS.frame_ia.t.1.|jointUPS.frame_ia.t.2.|jointUPS.frame_ia.t.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS") Notification: Performance of loadModel(ModelicaTest): time 2.437/2.437, allocations: 270 MB / 283.6 MB, free: 1.801 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.522e-05/3.541e-05, allocations: 8 kB / 348.4 MB, free: 2.672 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3396, allocations: 61.88 MB / 410.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2114/0.551, allocations: 100.6 MB / 0.4989 GB, free: 5.941 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.5513, allocations: 79.97 kB / 0.499 GB, free: 5.863 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.414/0.9653, allocations: 30.54 MB / 0.5288 GB, free: 101.3 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.287e-06/0.9653, allocations: 0 / 0.5288 GB, free: 101.3 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.673e-05/0.9654, allocations: 34.12 kB / 0.5289 GB, free: 101.3 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: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.005117/0.9705, allocations: 2.001 MB / 0.5308 GB, free: 100.4 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.9706, allocations: 8.938 kB / 0.5308 GB, free: 100.4 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002074/0.9727, allocations: 320.8 kB / 0.5311 GB, free: 100.3 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002988/0.9757, allocations: 1.05 MB / 0.5322 GB, free: 99.97 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/0.9759, allocations: 120.4 kB / 0.5323 GB, free: 99.96 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004436/0.9763, allocations: 164.7 kB / 0.5324 GB, free: 99.96 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01043/0.9868, allocations: 4.21 MB / 0.5366 GB, free: 98.99 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.032e-05/0.9868, allocations: 14.09 kB / 0.5366 GB, free: 98.99 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002548/0.9871, allocations: 69.98 kB / 0.5366 GB, free: 98.95 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006611/0.9878, allocations: 425.6 kB / 0.537 GB, free: 98.88 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009914/0.9977, allocations: 3.483 MB / 0.5404 GB, free: 97.88 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01893/1.017, allocations: 14.53 MB / 0.5546 GB, free: 85.62 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005259/1.022, allocations: 1.216 MB / 0.5558 GB, free: 84.65 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000987/1.023, allocations: 0.6823 MB / 0.5565 GB, free: 84.02 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005591/1.029, allocations: 3.721 MB / 0.5601 GB, free: 80.18 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/1.029, allocations: 42.91 kB / 0.5602 GB, free: 80.12 MB / 442.7 MB Notification: Performance of pre-optimization done (n=40): time 3.471e-06/1.029, allocations: 4 kB / 0.5602 GB, free: 80.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=40): time 0.007569/1.036, allocations: 1.451 MB / 0.5616 GB, free: 78.66 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/1.036, allocations: 59.36 kB / 0.5616 GB, free: 78.59 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00203/1.038, allocations: 1.303 MB / 0.5629 GB, free: 77.28 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.22e-05/1.039, allocations: 33.7 kB / 0.5629 GB, free: 77.24 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006676/1.039, allocations: 1.193 MB / 0.5641 GB, free: 76.04 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/1.039, allocations: 179.4 kB / 0.5643 GB, free: 75.87 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.495e-05/1.039, allocations: 44 kB / 0.5643 GB, free: 75.83 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001907/1.04, allocations: 442.9 kB / 0.5647 GB, free: 75.39 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000799/1.04, allocations: 464.1 kB / 0.5652 GB, free: 74.93 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001377/1.042, allocations: 1.854 MB / 0.567 GB, free: 72.36 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/1.043, allocations: 0.8975 MB / 0.5679 GB, free: 71.46 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.567e-05/1.043, allocations: 19.94 kB / 0.5679 GB, free: 71.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.004049/1.047, allocations: 2.069 MB / 0.5699 GB, free: 69.36 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.885e-05/1.047, allocations: 24 kB / 0.5699 GB, free: 69.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.928e-05/1.048, allocations: 55.98 kB / 0.57 GB, free: 69.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.388e-05/1.048, allocations: 72 kB / 0.5701 GB, free: 69.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001797/1.049, allocations: 495 kB / 0.5705 GB, free: 68.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-05/1.05, allocations: 99.58 kB / 0.5706 GB, free: 68.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001991/1.052, allocations: 300.8 kB / 0.5709 GB, free: 68.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002172/1.052, allocations: 132.2 kB / 0.571 GB, free: 68.21 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 39 (rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,n1_a.color[3],n1_a.color[2],n1_a.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[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 (269): * Single equations (assignments): 269 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003332/1.052, allocations: 303.5 kB / 0.5713 GB, free: 67.91 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/1.052, allocations: 122.4 kB / 0.5714 GB, free: 67.79 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002787/1.053, allocations: 140.6 kB / 0.5716 GB, free: 67.64 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.938e-06/1.053, allocations: 8 kB / 0.5716 GB, free: 67.64 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.436e-06/1.053, allocations: 0 / 0.5716 GB, free: 67.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.356e-06/1.053, allocations: 0 / 0.5716 GB, free: 67.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004477/1.057, allocations: 2.801 MB / 0.5743 GB, free: 64.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.665e-05/1.057, allocations: 12 kB / 0.5743 GB, free: 64.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003894/1.058, allocations: 95.77 kB / 0.5744 GB, free: 64.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.94e-05/1.058, allocations: 12 kB / 0.5744 GB, free: 64.51 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.016e-05/1.058, allocations: 24 kB / 0.5745 GB, free: 64.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.656e-05/1.058, allocations: 24.55 kB / 0.5745 GB, free: 64.46 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-05/1.058, allocations: 19.94 kB / 0.5745 GB, free: 64.45 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/1.059, allocations: 1.504 MB / 0.576 GB, free: 62.39 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003332/1.059, allocations: 211.4 kB / 0.5762 GB, free: 62.17 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001653/1.059, allocations: 27.98 kB / 0.5762 GB, free: 62.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006025/1.06, allocations: 35.62 kB / 0.5762 GB, free: 62.11 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.883e-05/1.06, allocations: 67.73 kB / 0.5763 GB, free: 62.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.2e-05/1.06, allocations: 28 kB / 0.5763 GB, free: 62.02 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001491/1.062, allocations: 0.8841 MB / 0.5772 GB, free: 61.13 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.011e-06/1.062, allocations: 4 kB / 0.5772 GB, free: 61.12 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002389/1.064, allocations: 406.6 kB / 0.5776 GB, free: 60.73 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000214/1.064, allocations: 138.9 kB / 0.5777 GB, free: 60.58 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002148/1.067, allocations: 1.077 MB / 0.5788 GB, free: 59.52 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.835e-05/1.067, allocations: 0 / 0.5788 GB, free: 59.52 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004123/1.067, allocations: 215.1 kB / 0.579 GB, free: 59.31 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/1.068, allocations: 185.1 kB / 0.5791 GB, free: 59.14 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005056/1.073, allocations: 2.441 MB / 0.5815 GB, free: 56.52 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00151/1.075, allocations: 1.563 MB / 0.5831 GB, free: 54.93 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001977/1.077, allocations: 0.5689 MB / 0.5836 GB, free: 54.37 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002437/1.077, allocations: 87.38 kB / 0.5837 GB, free: 54.29 MB / 442.7 MB Notification: Performance of SimCode: time 1.999e-06/1.077, allocations: 0 / 0.5837 GB, free: 54.29 MB / 442.7 MB Notification: Performance of Templates: time 0.02876/1.106, allocations: 8.949 MB / 0.5924 GB, free: 45.5 MB / 442.7 MB