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_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS") Notification: Performance of loadModel(ModelicaTest): time 1.93/1.93, allocations: 209.3 MB / 221.5 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.016e-05/3.033e-05, allocations: 0 / 273.1 MB, free: 3.16 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08982/0.08988, allocations: 48.7 MB / 321.8 MB, free: 2.371 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3532/0.4432, allocations: 85.5 MB / 407.3 MB, free: 5.312 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000199/0.4434, allocations: 75.14 kB / 407.4 MB, free: 5.301 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1273/0.5707, allocations: 34.53 MB / 441.9 MB, free: 11.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.04e-06/0.5707, allocations: 0 / 441.9 MB, free: 11.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001105/0.5709, allocations: 36 kB / 441.9 MB, free: 11.48 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 694 * Number of variables: 694 Notification: Performance of Generate backend data structure: time 0.006826/0.5777, allocations: 2.195 MB / 444.1 MB, free: 9.406 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.5778, allocations: 8.031 kB / 444.1 MB, free: 9.398 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002546/0.5803, allocations: 384.7 kB / 444.5 MB, free: 9.02 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003365/0.5837, allocations: 1.135 MB / 445.6 MB, free: 8.043 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001656/0.5839, allocations: 146 kB / 445.8 MB, free: 7.949 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005865/0.5845, allocations: 189.1 kB / 446 MB, free: 7.816 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0127/0.5972, allocations: 4.761 MB / 450.7 MB, free: 4.02 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-05/0.5973, allocations: 11.88 kB / 450.7 MB, free: 4.008 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003183/0.5977, allocations: 91.95 kB / 450.8 MB, free: 3.969 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0013/0.599, allocations: 0.5127 MB / 451.3 MB, free: 3.523 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01107/0.6101, allocations: 3.727 MB / 455.1 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03084/0.641, allocations: 16.63 MB / 471.7 MB, free: 15.87 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007993/0.649, allocations: 1.262 MB / 473 MB, free: 14.58 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00229/0.6514, allocations: 0.6988 MB / 473.7 MB, free: 13.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01314/0.6646, allocations: 4.07 MB / 477.7 MB, free: 9.543 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.021e-05/0.6647, allocations: 46.25 kB / 477.8 MB, free: 9.488 MB / 378.7 MB Notification: Performance of pre-optimization done (n=41): time 6.63e-06/0.6647, allocations: 0 / 477.8 MB, free: 9.488 MB / 378.7 MB Notification: Performance of matching and sorting (n=41): time 0.01599/0.6807, allocations: 1.463 MB / 479.2 MB, free: 8.016 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/0.6809, allocations: 110.8 kB / 479.3 MB, free: 7.883 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004787/0.6857, allocations: 1.383 MB / 480.7 MB, free: 6.492 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001195/0.6859, allocations: 33.7 kB / 480.8 MB, free: 6.453 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002206/0.6881, allocations: 1.395 MB / 482.2 MB, free: 5.035 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000399/0.6886, allocations: 186 kB / 482.3 MB, free: 4.852 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/0.6888, allocations: 44 kB / 482.4 MB, free: 4.809 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0005783/0.6894, allocations: 451.3 kB / 482.8 MB, free: 4.359 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001993/0.6914, allocations: 0.4887 MB / 483.3 MB, free: 3.867 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004021/0.6955, allocations: 1.989 MB / 485.3 MB, free: 1.109 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003618/0.6991, allocations: 0.9594 MB / 486.3 MB, free: 152 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.111e-05/0.6993, allocations: 16 kB / 486.3 MB, free: 136 kB / 378.7 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.007421/0.7067, allocations: 2.224 MB / 488.5 MB, free: 13.9 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.672e-05/0.7068, allocations: 31.98 kB / 488.5 MB, free: 13.87 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.173e-05/0.7069, allocations: 56 kB / 488.6 MB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001286/0.7071, allocations: 83.94 kB / 488.7 MB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002316/0.7094, allocations: 0.5387 MB / 489.2 MB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001254/0.7095, allocations: 115.6 kB / 489.3 MB, free: 13.08 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00227/0.7118, allocations: 328.5 kB / 489.6 MB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002911/0.7121, allocations: 144 kB / 489.8 MB, free: 12.62 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 250 * Number of states: 0 () * Number of discrete variables: 30 (rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],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.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 (292): * Single equations (assignments): 292 * 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.0004739/0.7126, allocations: 306.8 kB / 490.1 MB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002964/0.7129, allocations: 134.3 kB / 490.2 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003694/0.7133, allocations: 153.4 kB / 490.4 MB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.7134, allocations: 8 kB / 490.4 MB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.253e-06/0.7134, allocations: 0 / 490.4 MB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.944e-06/0.7134, allocations: 3.984 kB / 490.4 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006756/0.7202, allocations: 3.191 MB / 493.6 MB, free: 8.602 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.093e-05/0.7202, allocations: 15.94 kB / 493.6 MB, free: 8.586 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004586/0.7207, allocations: 99.77 kB / 493.7 MB, free: 8.488 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-05/0.7207, allocations: 16 kB / 493.7 MB, free: 8.473 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.192e-05/0.7208, allocations: 23.95 kB / 493.7 MB, free: 8.449 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.952e-05/0.7208, allocations: 23.92 kB / 493.7 MB, free: 8.426 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.761e-05/0.7209, allocations: 15.94 kB / 493.7 MB, free: 8.41 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/0.7228, allocations: 1.56 MB / 495.3 MB, free: 6.312 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004708/0.7233, allocations: 227.2 kB / 495.5 MB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000191/0.7235, allocations: 28 kB / 495.6 MB, free: 6.043 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006567/0.7242, allocations: 27.98 kB / 495.6 MB, free: 6.016 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/0.7243, allocations: 63.73 kB / 495.6 MB, free: 5.953 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.128e-05/0.7244, allocations: 28 kB / 495.7 MB, free: 5.926 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002001/0.7264, allocations: 0.9495 MB / 496.6 MB, free: 4.977 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.79e-07/0.7264, allocations: 0 / 496.6 MB, free: 4.977 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002839/0.7292, allocations: 489.9 kB / 497.1 MB, free: 4.496 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 50 * 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.0002746/0.7295, allocations: 142.9 kB / 497.2 MB, free: 4.348 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002778/0.7323, allocations: 1.133 MB / 498.4 MB, free: 3.227 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-05/0.7324, allocations: 4 kB / 498.4 MB, free: 3.223 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004768/0.7329, allocations: 214.7 kB / 498.6 MB, free: 3.016 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.734, allocations: 166.8 kB / 498.8 MB, free: 2.855 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007056/0.7411, allocations: 2.779 MB / 0.4898 GB, free: 15.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002646/0.7438, allocations: 1.737 MB / 0.4915 GB, free: 14.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002322/0.7461, allocations: 0.5981 MB / 0.4921 GB, free: 13.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003055/0.7465, allocations: 103.4 kB / 0.4922 GB, free: 13.42 MB / 410.7 MB Notification: Performance of SimCode: time 1.587e-06/0.7465, allocations: 0 / 0.4922 GB, free: 13.42 MB / 410.7 MB Notification: Performance of Templates: time 0.04067/0.7872, allocations: 9.503 MB / 0.5014 GB, free: 3.949 MB / 410.7 MB