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_trunk_ModelicaTest.MultiBody.Joints.JointUSR") Notification: Performance of loadModel(ModelicaTest): time 2.428/2.428, allocations: 270.1 MB / 283.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.24e-05/3.255e-05, allocations: 5.828 kB / 348.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1108, allocations: 61.89 MB / 410.3 MB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5205/0.6313, allocations: 109.7 MB / 0.5078 GB, free: 10.43 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.6316, allocations: 81.3 kB / 0.5078 GB, free: 10.35 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2702/0.9018, allocations: 69 MB / 0.5752 GB, free: 5.039 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.54e-06/0.9018, allocations: 0 / 0.5752 GB, free: 5.039 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.00017/0.902, allocations: 60 kB / 0.5753 GB, free: 4.98 MB / 490.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.01162/0.9136, allocations: 3.461 MB / 0.5787 GB, free: 1.461 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.9137, allocations: 8.031 kB / 0.5787 GB, free: 1.453 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003772/0.9175, allocations: 0.5731 MB / 0.5792 GB, free: 0.875 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006472/0.924, allocations: 2.056 MB / 0.5812 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003338/0.9243, allocations: 246.6 kB / 0.5815 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00127/0.9256, allocations: 331.9 kB / 0.5818 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02297/0.9486, allocations: 7.873 MB / 0.5895 GB, free: 5.961 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001049/0.9488, allocations: 19.81 kB / 0.5895 GB, free: 5.941 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008045/0.9496, allocations: 144 kB / 0.5896 GB, free: 5.801 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001313/0.9509, allocations: 0.6538 MB / 0.5903 GB, free: 5.145 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0206/0.9716, allocations: 6.66 MB / 0.5968 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3495/1.321, allocations: 25.71 MB / 0.6219 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01724/1.338, allocations: 2.194 MB / 0.624 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003348/1.342, allocations: 1.033 MB / 0.625 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0199/1.362, allocations: 7.066 MB / 0.6319 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.502e-05/1.362, allocations: 48.52 kB / 0.632 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=80): time 9.146e-06/1.362, allocations: 0 / 0.632 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96): time 0.04066/1.403, allocations: 4.702 MB / 0.6366 GB, free: 118 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/1.403, allocations: 65.39 kB / 0.6366 GB, free: 118 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00667/1.409, allocations: 2.115 MB / 0.6387 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002433/1.41, allocations: 41.45 kB / 0.6387 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002179/1.412, allocations: 2.071 MB / 0.6408 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006345/1.412, allocations: 386.4 kB / 0.6411 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003212/1.413, allocations: 72.75 kB / 0.6412 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000342/1.413, allocations: 453.2 kB / 0.6416 GB, free: 116 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003468/1.417, allocations: 0.9838 MB / 0.6426 GB, free: 116 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004912/1.422, allocations: 3.115 MB / 0.6456 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005327/1.427, allocations: 1.72 MB / 0.6473 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001372/1.427, allocations: 22 kB / 0.6473 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=453) (initialization): time 0.008875/1.436, allocations: 3.814 MB / 0.6511 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.705e-05/1.436, allocations: 40.88 kB / 0.6511 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.914e-05/1.436, allocations: 75.06 kB / 0.6512 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001239/1.436, allocations: 114.5 kB / 0.6513 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003477/1.44, allocations: 0.842 MB / 0.6521 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001169/1.44, allocations: 152.9 kB / 0.6522 GB, free: 113 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003087/1.443, allocations: 181 kB / 0.6524 GB, free: 113 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004639/1.444, allocations: 213.9 kB / 0.6526 GB, free: 113 MB / 0.5105 GB 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.0006133/1.444, allocations: 403.3 kB / 0.653 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003315/1.445, allocations: 206.7 kB / 0.6532 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002582/1.447, allocations: 1.393 MB / 0.6546 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.647e-05/1.447, allocations: 9.688 kB / 0.6546 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.943e-06/1.447, allocations: 3.469 kB / 0.6546 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-05/1.447, allocations: 3.797 kB / 0.6546 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0152/1.463, allocations: 5.348 MB / 0.6598 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.341e-05/1.463, allocations: 15.78 kB / 0.6598 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/1.464, allocations: 238.7 kB / 0.66 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.117e-05/1.464, allocations: 27.19 kB / 0.6601 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.189e-05/1.464, allocations: 42.88 kB / 0.6601 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-05/1.464, allocations: 34.66 kB / 0.6601 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.745e-05/1.464, allocations: 23.56 kB / 0.6602 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002792/1.467, allocations: 3.269 MB / 0.6634 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000681/1.468, allocations: 302.9 kB / 0.6637 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003526/1.468, allocations: 43.44 kB / 0.6637 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/1.469, allocations: 60.89 kB / 0.6637 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001835/1.469, allocations: 136.8 kB / 0.6639 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/1.469, allocations: 47.97 kB / 0.6639 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002667/1.472, allocations: 1.496 MB / 0.6654 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.34e-07/1.472, allocations: 0 / 0.6654 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004171/1.476, allocations: 0.6138 MB / 0.666 GB, free: 105.6 MB / 0.5105 GB 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.0004693/1.477, allocations: 196.4 kB / 0.6662 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005587/1.482, allocations: 2.226 MB / 0.6683 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-05/1.483, allocations: 0 / 0.6683 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001864/1.484, allocations: 0.5813 MB / 0.6689 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003293/1.488, allocations: 322.4 kB / 0.6692 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0124/1.5, allocations: 4.866 MB / 0.674 GB, free: 102 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003179/1.503, allocations: 2.52 MB / 0.6764 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003554/1.507, allocations: 0.9754 MB / 0.6774 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005696/1.508, allocations: 162.3 kB / 0.6775 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.701e-06/1.508, allocations: 0 / 0.6775 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.05782/1.565, allocations: 18.86 MB / 0.696 GB, free: 99.23 MB / 0.5105 GB