Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUSR,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.|jointUSR.frame_b.r_0.1.|jointUSR.frame_b.r_0.2.|jointUSR.frame_b.r_0.3.|jointUSR.frame_b.f.1.|jointUSR.frame_b.f.2.|jointUSR.frame_b.f.3.|jointUSR.frame_b.t.1.|jointUSR.frame_b.t.2.|jointUSR.frame_b.t.3.|jointUSR.frame_ia.r_0.1.|jointUSR.frame_ia.r_0.2.|jointUSR.frame_ia.r_0.3.|jointUSR.frame_ia.f.1.|jointUSR.frame_ia.f.2.|jointUSR.frame_ia.f.3.|jointUSR.frame_ia.t.1.|jointUSR.frame_ia.t.2.|jointUSR.frame_ia.t.3.|jointUSR.frame_im.r_0.1.|jointUSR.frame_im.r_0.1.|jointUSR.frame_im.r_0.2.|jointUSR.frame_im.r_0.2.|jointUSR.frame_im.r_0.3.|jointUSR.frame_im.r_0.3.|jointUSR.frame_im.f.1.|jointUSR.frame_im.f.1.|jointUSR.frame_im.f.2.|jointUSR.frame_im.f.2.|jointUSR.frame_im.f.3.|jointUSR.frame_im.f.3.|jointUSR.frame_im.t.1.|jointUSR.frame_im.t.1.|jointUSR.frame_im.t.2.|jointUSR.frame_im.t.2.|jointUSR.frame_im.t.3.|jointUSR.frame_im.t.3.|jointUSR.revolute.frame_b.r_0.1.|jointUSR.revolute.frame_b.r_0.2.|jointUSR.revolute.frame_b.r_0.3.|jointUSR.revolute.frame_b.f.1.|jointUSR.revolute.frame_b.f.2.|jointUSR.revolute.frame_b.f.3.|jointUSR.revolute.frame_b.t.1.|jointUSR.revolute.frame_b.t.2.|jointUSR.revolute.frame_b.t.3.|jointUSR.rod1.frame_b.r_0.1.|jointUSR.rod1.frame_b.r_0.2.|jointUSR.rod1.frame_b.r_0.3.|jointUSR.rod1.frame_b.f.1.|jointUSR.rod1.frame_b.f.2.|jointUSR.rod1.frame_b.f.3.|jointUSR.rod1.frame_b.t.1.|jointUSR.rod1.frame_b.t.2.|jointUSR.rod1.frame_b.t.3.|jointUSR.rod1.frame_ia.r_0.1.|jointUSR.rod1.frame_ia.r_0.2.|jointUSR.rod1.frame_ia.r_0.3.|jointUSR.rod1.frame_ia.f.1.|jointUSR.rod1.frame_ia.f.2.|jointUSR.rod1.frame_ia.f.3.|jointUSR.rod1.frame_ia.t.1.|jointUSR.rod1.frame_ia.t.2.|jointUSR.rod1.frame_ia.t.3.|jointUSR.rod2.frame_b.r_0.1.|jointUSR.rod2.frame_b.r_0.2.|jointUSR.rod2.frame_b.r_0.3.|jointUSR.rod2.frame_b.f.1.|jointUSR.rod2.frame_b.f.2.|jointUSR.rod2.frame_b.f.3.|jointUSR.rod2.frame_b.t.1.|jointUSR.rod2.frame_b.t.2.|jointUSR.rod2.frame_b.t.3.|jointUSR.relativePosition.frame_b.r_0.1.|jointUSR.relativePosition.frame_b.r_0.2.|jointUSR.relativePosition.frame_b.r_0.3.|jointUSR.relativePosition.frame_b.f.1.|jointUSR.relativePosition.frame_b.f.2.|jointUSR.relativePosition.frame_b.f.3.|jointUSR.relativePosition.frame_b.t.1.|jointUSR.relativePosition.frame_b.t.2.|jointUSR.relativePosition.frame_b.t.3.|jointUSR.relativePosition.relativePosition.frame_b.r_0.1.|jointUSR.relativePosition.relativePosition.frame_b.r_0.2.|jointUSR.relativePosition.relativePosition.frame_b.r_0.3.|jointUSR.relativePosition.relativePosition.frame_b.f.1.|jointUSR.relativePosition.relativePosition.frame_b.f.2.|jointUSR.relativePosition.relativePosition.frame_b.f.3.|jointUSR.relativePosition.relativePosition.frame_b.t.1.|jointUSR.relativePosition.relativePosition.frame_b.t.2.|jointUSR.relativePosition.relativePosition.frame_b.t.3.|jointUSR.position_b.1..y|jointUSR.position_b.2..y|jointUSR.position_b.3..y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR") Notification: Performance of loadModel(ModelicaTest): time 2.418/2.418, allocations: 235 MB / 247.2 MB, free: 14.54 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.157e-05/3.183e-05, allocations: 4 kB / 304.9 MB, free: 5.371 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3223, allocations: 54.86 MB / 359.8 MB, free: 2.617 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1554/0.4778, allocations: 100.9 MB / 460.7 MB, free: 11.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.4781, allocations: 79.95 kB / 460.8 MB, free: 11.83 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5413/1.019, allocations: 75.7 MB / 0.5239 GB, free: 108.7 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.225e-06/1.019, allocations: 1.188 kB / 0.5239 GB, free: 108.7 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002306/1.02, allocations: 68.97 kB / 0.5239 GB, free: 108.7 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1300 * Number of variables: 1300 Notification: Performance of Generate backend data structure: time 0.01298/1.033, allocations: 3.793 MB / 0.5277 GB, free: 108.1 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/1.033, allocations: 9.188 kB / 0.5277 GB, free: 108.1 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004893/1.038, allocations: 0.6666 MB / 0.5283 GB, free: 107.8 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007055/1.045, allocations: 2.212 MB / 0.5305 GB, free: 107.4 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000365/1.045, allocations: 295.1 kB / 0.5308 GB, free: 107.4 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001612/1.047, allocations: 381.4 kB / 0.5311 GB, free: 107.4 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02606/1.073, allocations: 8.782 MB / 0.5397 GB, free: 106.4 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001255/1.073, allocations: 18.31 kB / 0.5397 GB, free: 106.4 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008168/1.074, allocations: 170.5 kB / 0.5399 GB, free: 106.4 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002014/1.076, allocations: 0.8443 MB / 0.5407 GB, free: 106.3 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0207/1.097, allocations: 7.07 MB / 0.5476 GB, free: 106.3 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06479/1.161, allocations: 29.02 MB / 0.5759 GB, free: 89.12 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01043/1.172, allocations: 2.255 MB / 0.5781 GB, free: 88.49 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001831/1.174, allocations: 1.057 MB / 0.5792 GB, free: 88.02 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01302/1.187, allocations: 7.59 MB / 0.5866 GB, free: 82.91 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/1.187, allocations: 43.12 kB / 0.5866 GB, free: 82.87 MB / 458.7 MB Notification: Performance of pre-optimization done (n=81): time 5.193e-06/1.187, allocations: 3.938 kB / 0.5866 GB, free: 82.87 MB / 458.7 MB Notification: Performance of matching and sorting (n=97): time 0.02434/1.211, allocations: 6.481 MB / 0.593 GB, free: 80.07 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/1.211, allocations: 146.7 kB / 0.5931 GB, free: 79.91 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004251/1.216, allocations: 2.315 MB / 0.5954 GB, free: 78.98 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001898/1.216, allocations: 44.86 kB / 0.5954 GB, free: 78.93 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00147/1.217, allocations: 2.404 MB / 0.5977 GB, free: 77.09 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004029/1.218, allocations: 393.2 kB / 0.5981 GB, free: 76.82 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002212/1.218, allocations: 79.88 kB / 0.5982 GB, free: 76.76 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002285/1.218, allocations: 466.5 kB / 0.5986 GB, free: 76.39 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002036/1.22, allocations: 1.04 MB / 0.5997 GB, free: 76.02 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003076/1.223, allocations: 3.398 MB / 0.603 GB, free: 72.41 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003394/1.227, allocations: 1.84 MB / 0.6048 GB, free: 71.75 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.715e-05/1.227, allocations: 25.28 kB / 0.6048 GB, free: 71.75 MB / 458.7 MB Notification: Performance of matching and sorting (n=497) (initialization): time 0.008912/1.236, allocations: 4.113 MB / 0.6088 GB, free: 69.34 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.441e-05/1.236, allocations: 45.72 kB / 0.6089 GB, free: 69.29 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.477e-05/1.236, allocations: 84 kB / 0.6089 GB, free: 69.21 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001573/1.236, allocations: 124 kB / 0.6091 GB, free: 69.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003998/1.24, allocations: 0.9453 MB / 0.61 GB, free: 68.26 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001402/1.241, allocations: 175.5 kB / 0.6101 GB, free: 68.11 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003806/1.244, allocations: 199.2 kB / 0.6103 GB, free: 67.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006125/1.245, allocations: 235.9 kB / 0.6106 GB, free: 67.7 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 388 * Number of states: 0 () * Number of discrete variables: 40 (jointUSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],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],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[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 (497): * Single equations (assignments): 497 * 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.0006081/1.246, allocations: 418.4 kB / 0.611 GB, free: 67.29 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004518/1.246, allocations: 233 kB / 0.6112 GB, free: 67.06 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002573/1.249, allocations: 1.357 MB / 0.6125 GB, free: 65.88 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/1.249, allocations: 15.19 kB / 0.6125 GB, free: 65.86 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.662e-06/1.249, allocations: 0 / 0.6125 GB, free: 65.86 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/1.249, allocations: 10.84 kB / 0.6125 GB, free: 65.86 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01098/1.26, allocations: 6.105 MB / 0.6185 GB, free: 60.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.628e-05/1.26, allocations: 16 kB / 0.6185 GB, free: 60.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/1.261, allocations: 247.6 kB / 0.6187 GB, free: 60.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.383e-05/1.261, allocations: 28 kB / 0.6188 GB, free: 60.16 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.935e-05/1.261, allocations: 43.47 kB / 0.6188 GB, free: 60.12 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.867e-05/1.261, allocations: 35.48 kB / 0.6189 GB, free: 60.09 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.96e-05/1.261, allocations: 28.56 kB / 0.6189 GB, free: 60.06 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002976/1.264, allocations: 3.553 MB / 0.6223 GB, free: 56.07 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007329/1.265, allocations: 326.2 kB / 0.6227 GB, free: 55.75 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003501/1.265, allocations: 48.27 kB / 0.6227 GB, free: 55.71 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/1.266, allocations: 58.69 kB / 0.6228 GB, free: 55.66 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001996/1.267, allocations: 129.3 kB / 0.6229 GB, free: 55.56 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/1.267, allocations: 55.25 kB / 0.6229 GB, free: 55.51 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003107/1.27, allocations: 1.64 MB / 0.6245 GB, free: 54.04 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.99e-07/1.27, allocations: 0 / 0.6245 GB, free: 54.04 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004724/1.275, allocations: 0.6796 MB / 0.6252 GB, free: 53.36 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 130 * 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.0005223/1.275, allocations: 217.3 kB / 0.6254 GB, free: 53.15 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004601/1.28, allocations: 2.348 MB / 0.6277 GB, free: 50.98 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-05/1.28, allocations: 4 kB / 0.6277 GB, free: 50.98 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001134/1.281, allocations: 0.583 MB / 0.6283 GB, free: 50.43 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001861/1.283, allocations: 304.1 kB / 0.6286 GB, free: 50.17 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/1.295, allocations: 5.484 MB / 0.6339 GB, free: 44.96 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004121/1.299, allocations: 2.81 MB / 0.6367 GB, free: 42.79 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003683/1.303, allocations: 1.047 MB / 0.6377 GB, free: 42.13 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005612/1.303, allocations: 170.9 kB / 0.6379 GB, free: 41.97 MB / 458.7 MB Notification: Performance of SimCode: time 1.755e-06/1.303, allocations: 0 / 0.6379 GB, free: 41.97 MB / 458.7 MB Notification: Performance of Templates: time 0.0654/1.369, allocations: 20.02 MB / 0.6574 GB, free: 23.97 MB / 458.7 MB