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_cpp_ModelicaTest.MultiBody.Joints.JointUPS") Notification: Performance of loadModel(ModelicaTest): time 1.912/1.912, allocations: 209.3 MB / 221.9 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.219e-05/3.233e-05, allocations: 4 kB / 273.1 MB, free: 3.664 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08703/0.08708, allocations: 48.7 MB / 321.8 MB, free: 2.871 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3834/0.4705, allocations: 85.51 MB / 407.3 MB, free: 5.043 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002157/0.4708, allocations: 68.44 kB / 407.3 MB, free: 5.035 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1305/0.6013, allocations: 34.53 MB / 441.9 MB, free: 11.96 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.052e-06/0.6014, allocations: 0 / 441.9 MB, free: 11.96 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.977e-05/0.6015, allocations: 39.94 kB / 441.9 MB, free: 11.92 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.005906/0.6074, allocations: 2.19 MB / 444.1 MB, free: 9.848 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.6074, allocations: 12.03 kB / 444.1 MB, free: 9.836 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002474/0.6099, allocations: 384.7 kB / 444.5 MB, free: 9.457 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003234/0.6132, allocations: 1.131 MB / 445.6 MB, free: 8.484 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001611/0.6134, allocations: 152.7 kB / 445.8 MB, free: 8.387 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004878/0.6139, allocations: 189.9 kB / 445.9 MB, free: 8.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0122/0.6261, allocations: 4.757 MB / 450.7 MB, free: 4.461 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.257e-05/0.6262, allocations: 11.88 kB / 450.7 MB, free: 4.449 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003042/0.6265, allocations: 87.27 kB / 450.8 MB, free: 4.414 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001238/0.6278, allocations: 0.5131 MB / 451.3 MB, free: 3.965 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01061/0.6384, allocations: 3.733 MB / 455 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02981/0.6683, allocations: 16.62 MB / 471.7 MB, free: 376 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006015/0.6743, allocations: 1.266 MB / 472.9 MB, free: 15.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00134/0.6757, allocations: 0.6949 MB / 473.6 MB, free: 14.37 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007565/0.6833, allocations: 4.078 MB / 477.7 MB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.339e-05/0.6834, allocations: 42.31 kB / 477.7 MB, free: 9.984 MB / 378.7 MB Notification: Performance of pre-optimization done (n=41): time 6.018e-06/0.6834, allocations: 0 / 477.7 MB, free: 9.984 MB / 378.7 MB Notification: Performance of matching and sorting (n=41): time 0.008194/0.6916, allocations: 1.463 MB / 479.2 MB, free: 8.512 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.217e-05/0.6917, allocations: 106.8 kB / 479.3 MB, free: 8.383 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002663/0.6944, allocations: 1.39 MB / 480.7 MB, free: 6.984 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.687e-05/0.6945, allocations: 33.69 kB / 480.7 MB, free: 6.945 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001285/0.6958, allocations: 1.409 MB / 482.1 MB, free: 5.516 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002142/0.6961, allocations: 178 kB / 482.3 MB, free: 5.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.6962, allocations: 44 kB / 482.4 MB, free: 5.297 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003007/0.6965, allocations: 407.4 kB / 482.8 MB, free: 4.891 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/0.6976, allocations: 496.4 kB / 483.2 MB, free: 4.402 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002416/0.7, allocations: 1.993 MB / 485.2 MB, free: 1.641 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001899/0.7019, allocations: 0.9594 MB / 486.2 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.513e-05/0.702, allocations: 20 kB / 486.2 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.004815/0.7068, allocations: 2.183 MB / 488.4 MB, free: 14.47 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.76e-05/0.7069, allocations: 28 kB / 488.4 MB, free: 14.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.66e-05/0.707, allocations: 68.06 kB / 488.5 MB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001269/0.7071, allocations: 80 kB / 488.6 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002025/0.7092, allocations: 0.5341 MB / 489.1 MB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001234/0.7093, allocations: 111.6 kB / 489.2 MB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002063/0.7114, allocations: 328.5 kB / 489.5 MB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002548/0.7117, allocations: 148 kB / 489.7 MB, free: 13.19 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.0004291/0.7121, allocations: 306.8 kB / 490 MB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002727/0.7124, allocations: 138.2 kB / 490.1 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003557/0.7127, allocations: 153.4 kB / 490.3 MB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.7128, allocations: 8 kB / 490.3 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.922e-06/0.7128, allocations: 0 / 490.3 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.527e-06/0.7128, allocations: 0 / 490.3 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006303/0.7191, allocations: 3.194 MB / 493.5 MB, free: 9.168 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.108e-05/0.7192, allocations: 12 kB / 493.5 MB, free: 9.156 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004117/0.7196, allocations: 95.83 kB / 493.6 MB, free: 9.062 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-05/0.7196, allocations: 16 kB / 493.6 MB, free: 9.047 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.722e-05/0.7197, allocations: 27.95 kB / 493.6 MB, free: 9.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.156e-05/0.7197, allocations: 19.94 kB / 493.6 MB, free: 9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-05/0.7198, allocations: 20.38 kB / 493.6 MB, free: 8.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/0.7217, allocations: 1.558 MB / 495.2 MB, free: 6.887 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004277/0.7221, allocations: 227.2 kB / 495.4 MB, free: 6.645 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001853/0.7223, allocations: 27.92 kB / 495.5 MB, free: 6.617 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006321/0.723, allocations: 27.98 kB / 495.5 MB, free: 6.59 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.7231, allocations: 67.67 kB / 495.5 MB, free: 6.523 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.757e-05/0.7232, allocations: 28 kB / 495.6 MB, free: 6.496 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001851/0.7251, allocations: 0.9534 MB / 496.5 MB, free: 5.543 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.6e-07/0.7251, allocations: 0 / 496.5 MB, free: 5.543 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002531/0.7276, allocations: 489.9 kB / 497 MB, free: 5.062 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.0002248/0.7279, allocations: 127 kB / 497.1 MB, free: 4.93 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00248/0.7304, allocations: 1.144 MB / 498.3 MB, free: 3.797 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/0.7304, allocations: 4 kB / 498.3 MB, free: 3.793 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004328/0.7308, allocations: 208 kB / 498.5 MB, free: 3.59 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.7319, allocations: 173.4 kB / 498.7 MB, free: 3.426 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006843/0.7387, allocations: 2.98 MB / 0.4899 GB, free: 260 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002398/0.7412, allocations: 1.733 MB / 0.4916 GB, free: 14.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003794/0.7416, allocations: 107.4 kB / 0.4917 GB, free: 14.39 MB / 410.7 MB Notification: Performance of SimCode: time 1.697e-06/0.7416, allocations: 0 / 0.4917 GB, free: 14.39 MB / 410.7 MB Notification: Performance of Templates: time 0.03799/0.7796, allocations: 19.53 MB / 0.5107 GB, free: 10.85 MB / 426.7 MB