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_4.0.0_ModelicaTest.MultiBody.Joints.JointUSR") Notification: Performance of loadModel(ModelicaTest): time 2.415/2.415, allocations: 270 MB / 283.6 MB, free: 1.789 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.536e-05/4.54e-05, allocations: 4 kB / 348.4 MB, free: 2.676 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3733, allocations: 61.88 MB / 410.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1894/0.5628, allocations: 109.7 MB / 0.5078 GB, free: 12.88 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.5631, allocations: 83.95 kB / 0.5078 GB, free: 12.8 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5879/1.151, allocations: 68.97 MB / 0.5752 GB, free: 67.25 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.618e-06/1.151, allocations: 0 / 0.5752 GB, free: 67.25 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001455/1.151, allocations: 60 kB / 0.5753 GB, free: 67.2 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: 1088 * Number of variables: 1088 Notification: Performance of Generate backend data structure: time 0.01048/1.162, allocations: 3.472 MB / 0.5786 GB, free: 63.66 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/1.162, allocations: 8.031 kB / 0.5787 GB, free: 63.66 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003572/1.165, allocations: 0.5663 MB / 0.5792 GB, free: 63.09 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005708/1.171, allocations: 2.063 MB / 0.5812 GB, free: 60.98 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002252/1.171, allocations: 250.6 kB / 0.5815 GB, free: 60.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001049/1.172, allocations: 323.9 kB / 0.5818 GB, free: 60.41 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01992/1.192, allocations: 7.881 MB / 0.5895 GB, free: 52.16 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-05/1.193, allocations: 19.81 kB / 0.5895 GB, free: 52.14 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006164/1.193, allocations: 143.9 kB / 0.5896 GB, free: 52 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009639/1.194, allocations: 0.6539 MB / 0.5903 GB, free: 51.35 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01884/1.213, allocations: 6.656 MB / 0.5968 GB, free: 44.68 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0618/1.275, allocations: 25.71 MB / 0.6219 GB, free: 18.33 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01736/1.292, allocations: 2.196 MB / 0.624 GB, free: 16.11 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003051/1.295, allocations: 1.03 MB / 0.625 GB, free: 15.08 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01843/1.314, allocations: 7.089 MB / 0.6319 GB, free: 7.422 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/1.314, allocations: 47.34 kB / 0.632 GB, free: 7.367 MB / 442.7 MB Notification: Performance of pre-optimization done (n=80): time 6.597e-06/1.314, allocations: 0 / 0.632 GB, free: 7.367 MB / 442.7 MB Notification: Performance of matching and sorting (n=96): time 0.02916/1.343, allocations: 4.699 MB / 0.6366 GB, free: 2.656 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/1.343, allocations: 60.19 kB / 0.6366 GB, free: 2.582 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003577/1.347, allocations: 2.114 MB / 0.6387 GB, free: 448 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001757/1.347, allocations: 45.7 kB / 0.6387 GB, free: 396 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001898/1.349, allocations: 2.058 MB / 0.6407 GB, free: 14.29 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005226/1.349, allocations: 391.1 kB / 0.6411 GB, free: 13.91 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002263/1.35, allocations: 76 kB / 0.6412 GB, free: 13.83 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.00037/1.35, allocations: 453.5 kB / 0.6416 GB, free: 13.38 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002143/1.352, allocations: 0.9832 MB / 0.6426 GB, free: 12.4 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004196/1.356, allocations: 3.11 MB / 0.6456 GB, free: 8.211 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003623/1.36, allocations: 1.725 MB / 0.6473 GB, free: 6.488 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.652e-05/1.36, allocations: 23.94 kB / 0.6473 GB, free: 6.465 MB / 458.7 MB Notification: Performance of matching and sorting (n=453) (initialization): time 0.009491/1.37, allocations: 3.815 MB / 0.6511 GB, free: 2.645 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.91e-05/1.37, allocations: 40.19 kB / 0.6511 GB, free: 2.605 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001044/1.37, allocations: 80 kB / 0.6512 GB, free: 2.527 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001604/1.37, allocations: 112 kB / 0.6513 GB, free: 2.418 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003598/1.374, allocations: 0.8383 MB / 0.6521 GB, free: 1.578 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000175/1.374, allocations: 147.4 kB / 0.6522 GB, free: 1.434 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003215/1.377, allocations: 179.8 kB / 0.6524 GB, free: 1.258 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006332/1.378, allocations: 220 kB / 0.6526 GB, free: 1.043 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 350 * Number of states: 0 () * Number of discrete variables: 53 (jointUSR.revolute.positiveBranch,prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,prism.color[3],prism.color[2],prism.color[1],rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod2.color[3],rRod2.color[2],rRod2.color[1],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],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.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 (453): * Single equations (assignments): 453 * 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.0007752/1.379, allocations: 408.2 kB / 0.653 GB, free: 0.6328 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004659/1.379, allocations: 201.4 kB / 0.6532 GB, free: 444 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003228/1.382, allocations: 1.385 MB / 0.6546 GB, free: 15.04 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.837e-05/1.382, allocations: 11.98 kB / 0.6546 GB, free: 15.02 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.248e-06/1.382, allocations: 0 / 0.6546 GB, free: 15.02 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/1.382, allocations: 3.984 kB / 0.6546 GB, free: 15.02 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01205/1.394, allocations: 5.352 MB / 0.6598 GB, free: 9.348 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.869e-05/1.395, allocations: 19.94 kB / 0.6598 GB, free: 9.328 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00114/1.396, allocations: 235.6 kB / 0.66 GB, free: 9.098 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.946e-05/1.396, allocations: 24 kB / 0.6601 GB, free: 9.074 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/1.396, allocations: 43.98 kB / 0.6601 GB, free: 9.031 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.38e-05/1.396, allocations: 31.88 kB / 0.6601 GB, free: 9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.661e-05/1.396, allocations: 27.86 kB / 0.6602 GB, free: 8.973 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004092/1.4, allocations: 3.263 MB / 0.6633 GB, free: 5.102 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008006/1.401, allocations: 306.2 kB / 0.6636 GB, free: 4.781 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000345/1.401, allocations: 43.98 kB / 0.6637 GB, free: 4.738 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/1.402, allocations: 55.95 kB / 0.6637 GB, free: 4.684 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002174/1.403, allocations: 132.1 kB / 0.6639 GB, free: 4.555 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001355/1.403, allocations: 52 kB / 0.6639 GB, free: 4.504 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0032/1.406, allocations: 1.497 MB / 0.6654 GB, free: 2.988 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.118e-06/1.406, allocations: 0 / 0.6654 GB, free: 2.988 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004147/1.41, allocations: 0.6054 MB / 0.666 GB, free: 2.383 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 129 * 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.0005337/1.411, allocations: 214.6 kB / 0.6662 GB, free: 2.164 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005058/1.416, allocations: 2.225 MB / 0.6683 GB, free: 15.95 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/1.416, allocations: 0 / 0.6683 GB, free: 15.95 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001859/1.418, allocations: 0.5766 MB / 0.6689 GB, free: 15.38 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0023/1.42, allocations: 319.9 kB / 0.6692 GB, free: 15.06 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01228/1.432, allocations: 4.864 MB / 0.674 GB, free: 9.949 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00448/1.437, allocations: 2.517 MB / 0.6764 GB, free: 7.402 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004027/1.441, allocations: 0.9768 MB / 0.6774 GB, free: 6.418 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006226/1.442, allocations: 159.4 kB / 0.6775 GB, free: 6.262 MB / 490.7 MB Notification: Performance of SimCode: time 1.65e-06/1.442, allocations: 0 / 0.6775 GB, free: 6.262 MB / 490.7 MB Notification: Performance of Templates: time 0.06337/1.505, allocations: 18.88 MB / 0.696 GB, free: 3.496 MB / 0.4948 GB