Ticket #1330: sort-new.txt

File sort-new.txt, 332.9 KB (added by Adrian Pop, 14 years ago)
Line 
1 (-b1.frame_a.f[1]) + (b1.frameTranslation.frame_a.f[1] + b1.body.frame_a.f[1]) = 0.0;
2 (-b1.frame_a.f[2]) + (b1.frameTranslation.frame_a.f[2] + b1.body.frame_a.f[2]) = 0.0;
3 (-b1.frame_a.f[3]) + (b1.frameTranslation.frame_a.f[3] + b1.body.frame_a.f[3]) = 0.0;
4 (-b1.frame_a.t[1]) + (b1.frameTranslation.frame_a.t[1] + b1.body.frame_a.t[1]) = 0.0;
5 (-b1.frame_a.t[2]) + (b1.frameTranslation.frame_a.t[2] + b1.body.frame_a.t[2]) = 0.0;
6 (-b1.frame_a.t[3]) + (b1.frameTranslation.frame_a.t[3] + b1.body.frame_a.t[3]) = 0.0;
7 (-b2.frame_a.f[1]) + (b2.frameTranslation.frame_a.f[1] + b2.body.frame_a.f[1]) = 0.0;
8 (-b2.frame_a.f[2]) + (b2.frameTranslation.frame_a.f[2] + b2.body.frame_a.f[2]) = 0.0;
9 (-b2.frame_a.f[3]) + (b2.frameTranslation.frame_a.f[3] + b2.body.frame_a.f[3]) = 0.0;
10 (-b2.frame_a.t[1]) + (b2.frameTranslation.frame_a.t[1] + b2.body.frame_a.t[1]) = 0.0;
11 (-b2.frame_a.t[2]) + (b2.frameTranslation.frame_a.t[2] + b2.body.frame_a.t[2]) = 0.0;
12 (-b2.frame_a.t[3]) + (b2.frameTranslation.frame_a.t[3] + b2.body.frame_a.t[3]) = 0.0;
13 (-b3.frame_a.f[1]) + (b3.frameTranslation.frame_a.f[1] + b3.body.frame_a.f[1]) = 0.0;
14 (-b3.frame_a.f[2]) + (b3.frameTranslation.frame_a.f[2] + b3.body.frame_a.f[2]) = 0.0;
15 (-b3.frame_a.f[3]) + (b3.frameTranslation.frame_a.f[3] + b3.body.frame_a.f[3]) = 0.0;
16 (-b3.frame_a.t[1]) + (b3.frameTranslation.frame_a.t[1] + b3.body.frame_a.t[1]) = 0.0;
17 (-b3.frame_a.t[2]) + (b3.frameTranslation.frame_a.t[2] + b3.body.frame_a.t[2]) = 0.0;
18 (-b3.frame_a.t[3]) + (b3.frameTranslation.frame_a.t[3] + b3.body.frame_a.t[3]) = 0.0;
19 Real b0.Sbox[1,1];
20 Real b0.Sbox[1,2];
21 Real b0.Sbox[1,3];
22 Real b0.Sbox[2,1];
23 Real b0.Sbox[2,2];
24 Real b0.Sbox[2,3];
25 Real b0.Sbox[3,1];
26 Real b0.Sbox[3,2];
27 Real b0.Sbox[3,3];
28 Real b0.body.I[1,1](quantity = "MomentOfInertia", unit = "kg.m2");
29 Real b0.body.I[1,2](quantity = "MomentOfInertia", unit = "kg.m2");
30 Real b0.body.I[1,3](quantity = "MomentOfInertia", unit = "kg.m2");
31 Real b0.body.I[2,1](quantity = "MomentOfInertia", unit = "kg.m2");
32 Real b0.body.I[2,2](quantity = "MomentOfInertia", unit = "kg.m2");
33 Real b0.body.I[2,3](quantity = "MomentOfInertia", unit = "kg.m2");
34 Real b0.body.I[3,1](quantity = "MomentOfInertia", unit = "kg.m2");
35 Real b0.body.I[3,2](quantity = "MomentOfInertia", unit = "kg.m2");
36 Real b0.body.I[3,3](quantity = "MomentOfInertia", unit = "kg.m2");
37 Real b0.body.frame_a.S[1,1] = b0.body.Sa[1,1] "Transformation matrix from frame_a to inertial system";
38 Real b0.body.frame_a.S[1,2] = b0.body.Sa[1,2] "Transformation matrix from frame_a to inertial system";
39 Real b0.body.frame_a.S[1,3] = b0.body.Sa[1,3] "Transformation matrix from frame_a to inertial system";
40 Real b0.body.frame_a.S[2,1] = b0.body.Sa[2,1] "Transformation matrix from frame_a to inertial system";
41 Real b0.body.frame_a.S[2,2] = b0.body.Sa[2,2] "Transformation matrix from frame_a to inertial system";
42 Real b0.body.frame_a.S[2,3] = b0.body.Sa[2,3] "Transformation matrix from frame_a to inertial system";
43 Real b0.body.frame_a.S[3,1] = b0.body.Sa[3,1] "Transformation matrix from frame_a to inertial system";
44 Real b0.body.frame_a.S[3,2] = b0.body.Sa[3,2] "Transformation matrix from frame_a to inertial system";
45 Real b0.body.frame_a.S[3,3] = b0.body.Sa[3,3] "Transformation matrix from frame_a to inertial system";
46 Real b0.body.frame_a.a[1](quantity = "Acceleration", unit = "m/s2") = b0.body.aa[1] "Absolute acceleration of frame origin, resolved in frame_a";
47 Real b0.body.frame_a.a[2](quantity = "Acceleration", unit = "m/s2") = b0.body.aa[2] "Absolute acceleration of frame origin, resolved in frame_a";
48 Real b0.body.frame_a.a[3](quantity = "Acceleration", unit = "m/s2") = b0.body.aa[3] "Absolute acceleration of frame origin, resolved in frame_a";
49 Real b0.body.frame_a.f[1](quantity = "Force", unit = "N") = b0.body.fa[1];
50 Real b0.body.frame_a.f[2](quantity = "Force", unit = "N") = b0.body.fa[2];
51 Real b0.body.frame_a.f[3](quantity = "Force", unit = "N") = b0.body.fa[3];
52 Real b0.body.frame_a.t[1](quantity = "Torque", unit = "N.m") = b0.body.ta[1];
53 Real b0.body.frame_a.t[2](quantity = "Torque", unit = "N.m") = b0.body.ta[2];
54 Real b0.body.frame_a.t[3](quantity = "Torque", unit = "N.m") = b0.body.ta[3];
55 Real b0.body.frame_a.v[1](quantity = "Velocity", unit = "m/s") = b0.body.va[1] "Absolute velocity of frame origin, resolved in frame_a";
56 Real b0.body.frame_a.v[2](quantity = "Velocity", unit = "m/s") = b0.body.va[2] "Absolute velocity of frame origin, resolved in frame_a";
57 Real b0.body.frame_a.v[3](quantity = "Velocity", unit = "m/s") = b0.body.va[3] "Absolute velocity of frame origin, resolved in frame_a";
58 Real b0.body.frame_a.w[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b0.body.wa[1] "Absolute angular velocity of frame_a, resolved in frame_a";
59 Real b0.body.frame_a.w[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b0.body.wa[2] "Absolute angular velocity of frame_a, resolved in frame_a";
60 Real b0.body.frame_a.w[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b0.body.wa[3] "Absolute angular velocity of frame_a, resolved in frame_a";
61 Real b0.body.frame_a.z[1](quantity = "AngularAcceleration", unit = "rad/s2") = b0.body.za[1] "Absolute angular acceleration of frame_a, resolved in frame_a";
62 Real b0.body.frame_a.z[2](quantity = "AngularAcceleration", unit = "rad/s2") = b0.body.za[2] "Absolute angular acceleration of frame_a, resolved in frame_a";
63 Real b0.body.frame_a.z[3](quantity = "AngularAcceleration", unit = "rad/s2") = b0.body.za[3] "Absolute angular acceleration of frame_a, resolved in frame_a";
64 Real b0.body.m(quantity = "Mass", unit = "kg", min = 0.0);
65 Real b0.body.rCM[1](quantity = "Length", unit = "m");
66 Real b0.body.rCM[2](quantity = "Length", unit = "m");
67 Real b0.body.rCM[3](quantity = "Length", unit = "m");
68 Real b0.box.Sshape[1,1] "local 3 x 3 transformation matrix.";
69 Real b0.box.Sshape[1,2] "local 3 x 3 transformation matrix.";
70 Real b0.box.Sshape[1,3] "local 3 x 3 transformation matrix.";
71 Real b0.box.Sshape[2,1] "local 3 x 3 transformation matrix.";
72 Real b0.box.Sshape[2,2] "local 3 x 3 transformation matrix.";
73 Real b0.box.Sshape[2,3] "local 3 x 3 transformation matrix.";
74 Real b0.box.Sshape[3,1] "local 3 x 3 transformation matrix.";
75 Real b0.box.Sshape[3,2] "local 3 x 3 transformation matrix.";
76 Real b0.box.Sshape[3,3] "local 3 x 3 transformation matrix.";
77 Real b0.box.mcShape.Sshape[1,1] = b0.box.Sshape[1,1] "local 3 x 3 transformation matrix.";
78 Real b0.box.mcShape.Sshape[1,2] = b0.box.Sshape[1,2] "local 3 x 3 transformation matrix.";
79 Real b0.box.mcShape.Sshape[1,3] = b0.box.Sshape[1,3] "local 3 x 3 transformation matrix.";
80 Real b0.box.mcShape.Sshape[2,1] = b0.box.Sshape[2,1] "local 3 x 3 transformation matrix.";
81 Real b0.box.mcShape.Sshape[2,2] = b0.box.Sshape[2,2] "local 3 x 3 transformation matrix.";
82 Real b0.box.mcShape.Sshape[2,3] = b0.box.Sshape[2,3] "local 3 x 3 transformation matrix.";
83 Real b0.box.mcShape.Sshape[3,1] = b0.box.Sshape[3,1] "local 3 x 3 transformation matrix.";
84 Real b0.box.mcShape.Sshape[3,2] = b0.box.Sshape[3,2] "local 3 x 3 transformation matrix.";
85 Real b0.box.mcShape.Sshape[3,3] = b0.box.Sshape[3,3] "local 3 x 3 transformation matrix.";
86 Real b0.box.mcShape.abs_n_x = sqrt(b0.box.mcShape.lengthDirection[1] ^ 2.0 + (b0.box.mcShape.lengthDirection[2] ^ 2.0 + b0.box.mcShape.lengthDirection[3] ^ 2.0));
87 Real b0.box.mcShape.e_x[1] = if noEvent(b0.box.mcShape.abs_n_x < 1e-10) then 1.0 else b0.box.mcShape.lengthDirection[1] / b0.box.mcShape.abs_n_x;
88 Real b0.box.mcShape.e_x[2] = if noEvent(b0.box.mcShape.abs_n_x < 1e-10) then 0.0 else b0.box.mcShape.lengthDirection[2] / b0.box.mcShape.abs_n_x;
89 Real b0.box.mcShape.e_x[3] = if noEvent(b0.box.mcShape.abs_n_x < 1e-10) then 0.0 else b0.box.mcShape.lengthDirection[3] / b0.box.mcShape.abs_n_x;
90 Real b0.box.mcShape.e_y[1] = cross(MCVisualShape.local_normalize(cross({b0.box.mcShape.e_x[1],b0.box.mcShape.e_x[2],b0.box.mcShape.e_x[3]},if noEvent(b0.box.mcShape.n_z_aux[1] ^ 2.0 + (b0.box.mcShape.n_z_aux[2] ^ 2.0 + b0.box.mcShape.n_z_aux[3] ^ 2.0) > 1e-06) then {b0.box.mcShape.widthDirection[1],b0.box.mcShape.widthDirection[2],b0.box.mcShape.widthDirection[3]} else if noEvent(abs(b0.box.mcShape.e_x[1]) > 1e-06) then {0.0,1.0,0.0} else {1.0,0.0,0.0})),{b0.box.mcShape.e_x[1],b0.box.mcShape.e_x[2],b0.box.mcShape.e_x[3]})[1];
91 Real b0.box.mcShape.e_y[2] = cross(MCVisualShape.local_normalize(cross({b0.box.mcShape.e_x[1],b0.box.mcShape.e_x[2],b0.box.mcShape.e_x[3]},if noEvent(b0.box.mcShape.n_z_aux[1] ^ 2.0 + (b0.box.mcShape.n_z_aux[2] ^ 2.0 + b0.box.mcShape.n_z_aux[3] ^ 2.0) > 1e-06) then {b0.box.mcShape.widthDirection[1],b0.box.mcShape.widthDirection[2],b0.box.mcShape.widthDirection[3]} else if noEvent(abs(b0.box.mcShape.e_x[1]) > 1e-06) then {0.0,1.0,0.0} else {1.0,0.0,0.0})),{b0.box.mcShape.e_x[1],b0.box.mcShape.e_x[2],b0.box.mcShape.e_x[3]})[2];
92 Real b0.box.mcShape.e_y[3] = cross(MCVisualShape.local_normalize(cross({b0.box.mcShape.e_x[1],b0.box.mcShape.e_x[2],b0.box.mcShape.e_x[3]},if noEvent(b0.box.mcShape.n_z_aux[1] ^ 2.0 + (b0.box.mcShape.n_z_aux[2] ^ 2.0 + b0.box.mcShape.n_z_aux[3] ^ 2.0) > 1e-06) then {b0.box.mcShape.widthDirection[1],b0.box.mcShape.widthDirection[2],b0.box.mcShape.widthDirection[3]} else if noEvent(abs(b0.box.mcShape.e_x[1]) > 1e-06) then {0.0,1.0,0.0} else {1.0,0.0,0.0})),{b0.box.mcShape.e_x[1],b0.box.mcShape.e_x[2],b0.box.mcShape.e_x[3]})[3];
93 Real b0.box.mcShape.e_z[1] = b0.box.mcShape.e_x[2] * b0.box.mcShape.e_y[3] - b0.box.mcShape.e_x[3] * b0.box.mcShape.e_y[2];
94 Real b0.box.mcShape.e_z[2] = b0.box.mcShape.e_x[3] * b0.box.mcShape.e_y[1] - b0.box.mcShape.e_x[1] * b0.box.mcShape.e_y[3];
95 Real b0.box.mcShape.e_z[3] = b0.box.mcShape.e_x[1] * b0.box.mcShape.e_y[2] - b0.box.mcShape.e_x[2] * b0.box.mcShape.e_y[1];
96 Real b0.box.mcShape.n_z_aux[1] = b0.box.mcShape.e_x[2] * b0.box.mcShape.widthDirection[3] - b0.box.mcShape.e_x[3] * b0.box.mcShape.widthDirection[2];
97 Real b0.box.mcShape.n_z_aux[2] = b0.box.mcShape.e_x[3] * b0.box.mcShape.widthDirection[1] - b0.box.mcShape.e_x[1] * b0.box.mcShape.widthDirection[3];
98 Real b0.box.mcShape.n_z_aux[3] = b0.box.mcShape.e_x[1] * b0.box.mcShape.widthDirection[2] - b0.box.mcShape.e_x[2] * b0.box.mcShape.widthDirection[1];
99 Real b0.box.nHeight[1];
100 Real b0.box.nHeight[2];
101 Real b0.box.nHeight[3];
102 Real b0.box.nLength[1];
103 Real b0.box.nLength[2];
104 Real b0.box.nLength[3];
105 Real b0.box.nWidth[1];
106 Real b0.box.nWidth[2];
107 Real b0.box.nWidth[3];
108 Real b0.frameTranslation.frame_a.S[1,1] = b0.frameTranslation.Sa[1,1] "Transformation matrix from frame_a to inertial system";
109 Real b0.frameTranslation.frame_a.S[1,2] = b0.frameTranslation.Sa[1,2] "Transformation matrix from frame_a to inertial system";
110 Real b0.frameTranslation.frame_a.S[1,3] = b0.frameTranslation.Sa[1,3] "Transformation matrix from frame_a to inertial system";
111 Real b0.frameTranslation.frame_a.S[2,1] = b0.frameTranslation.Sa[2,1] "Transformation matrix from frame_a to inertial system";
112 Real b0.frameTranslation.frame_a.S[2,2] = b0.frameTranslation.Sa[2,2] "Transformation matrix from frame_a to inertial system";
113 Real b0.frameTranslation.frame_a.S[2,3] = b0.frameTranslation.Sa[2,3] "Transformation matrix from frame_a to inertial system";
114 Real b0.frameTranslation.frame_a.S[3,1] = b0.frameTranslation.Sa[3,1] "Transformation matrix from frame_a to inertial system";
115 Real b0.frameTranslation.frame_a.S[3,2] = b0.frameTranslation.Sa[3,2] "Transformation matrix from frame_a to inertial system";
116 Real b0.frameTranslation.frame_a.S[3,3] = b0.frameTranslation.Sa[3,3] "Transformation matrix from frame_a to inertial system";
117 Real b0.frameTranslation.frame_a.a[1](quantity = "Acceleration", unit = "m/s2") = b0.frameTranslation.aa[1] "Absolute acceleration of frame origin, resolved in frame_a";
118 Real b0.frameTranslation.frame_a.a[2](quantity = "Acceleration", unit = "m/s2") = b0.frameTranslation.aa[2] "Absolute acceleration of frame origin, resolved in frame_a";
119 Real b0.frameTranslation.frame_a.a[3](quantity = "Acceleration", unit = "m/s2") = b0.frameTranslation.aa[3] "Absolute acceleration of frame origin, resolved in frame_a";
120 Real b0.frameTranslation.frame_a.f[1](quantity = "Force", unit = "N") = b0.frameTranslation.fa[1];
121 Real b0.frameTranslation.frame_a.f[2](quantity = "Force", unit = "N") = b0.frameTranslation.fa[2];
122 Real b0.frameTranslation.frame_a.f[3](quantity = "Force", unit = "N") = b0.frameTranslation.fa[3];
123 Real b0.frameTranslation.frame_a.t[1](quantity = "Torque", unit = "N.m") = b0.frameTranslation.ta[1];
124 Real b0.frameTranslation.frame_a.t[2](quantity = "Torque", unit = "N.m") = b0.frameTranslation.ta[2];
125 Real b0.frameTranslation.frame_a.t[3](quantity = "Torque", unit = "N.m") = b0.frameTranslation.ta[3];
126 Real b0.frameTranslation.frame_a.v[1](quantity = "Velocity", unit = "m/s") = b0.frameTranslation.va[1] "Absolute velocity of frame origin, resolved in frame_a";
127 Real b0.frameTranslation.frame_a.v[2](quantity = "Velocity", unit = "m/s") = b0.frameTranslation.va[2] "Absolute velocity of frame origin, resolved in frame_a";
128 Real b0.frameTranslation.frame_a.v[3](quantity = "Velocity", unit = "m/s") = b0.frameTranslation.va[3] "Absolute velocity of frame origin, resolved in frame_a";
129 Real b0.frameTranslation.frame_a.w[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b0.frameTranslation.wa[1] "Absolute angular velocity of frame_a, resolved in frame_a";
130 Real b0.frameTranslation.frame_a.w[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b0.frameTranslation.wa[2] "Absolute angular velocity of frame_a, resolved in frame_a";
131 Real b0.frameTranslation.frame_a.w[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b0.frameTranslation.wa[3] "Absolute angular velocity of frame_a, resolved in frame_a";
132 Real b0.frameTranslation.frame_a.z[1](quantity = "AngularAcceleration", unit = "rad/s2") = b0.frameTranslation.za[1] "Absolute angular acceleration of frame_a, resolved in frame_a";
133 Real b0.frameTranslation.frame_a.z[2](quantity = "AngularAcceleration", unit = "rad/s2") = b0.frameTranslation.za[2] "Absolute angular acceleration of frame_a, resolved in frame_a";
134 Real b0.frameTranslation.frame_a.z[3](quantity = "AngularAcceleration", unit = "rad/s2") = b0.frameTranslation.za[3] "Absolute angular acceleration of frame_a, resolved in frame_a";
135 Real b0.frameTranslation.frame_b.S[1,1] = b0.frameTranslation.Sb[1,1] "Transformation matrix from frame_a to inertial system";
136 Real b0.frameTranslation.frame_b.S[1,2] = b0.frameTranslation.Sb[1,2] "Transformation matrix from frame_a to inertial system";
137 Real b0.frameTranslation.frame_b.S[1,3] = b0.frameTranslation.Sb[1,3] "Transformation matrix from frame_a to inertial system";
138 Real b0.frameTranslation.frame_b.S[2,1] = b0.frameTranslation.Sb[2,1] "Transformation matrix from frame_a to inertial system";
139 Real b0.frameTranslation.frame_b.S[2,2] = b0.frameTranslation.Sb[2,2] "Transformation matrix from frame_a to inertial system";
140 Real b0.frameTranslation.frame_b.S[2,3] = b0.frameTranslation.Sb[2,3] "Transformation matrix from frame_a to inertial system";
141 Real b0.frameTranslation.frame_b.S[3,1] = b0.frameTranslation.Sb[3,1] "Transformation matrix from frame_a to inertial system";
142 Real b0.frameTranslation.frame_b.S[3,2] = b0.frameTranslation.Sb[3,2] "Transformation matrix from frame_a to inertial system";
143 Real b0.frameTranslation.frame_b.S[3,3] = b0.frameTranslation.Sb[3,3] "Transformation matrix from frame_a to inertial system";
144 Real b0.frameTranslation.frame_b.a[1](quantity = "Acceleration", unit = "m/s2") = b0.frameTranslation.ab[1] "Absolute acceleration of frame origin, resolved in frame_a";
145 Real b0.frameTranslation.frame_b.a[2](quantity = "Acceleration", unit = "m/s2") = b0.frameTranslation.ab[2] "Absolute acceleration of frame origin, resolved in frame_a";
146 Real b0.frameTranslation.frame_b.a[3](quantity = "Acceleration", unit = "m/s2") = b0.frameTranslation.ab[3] "Absolute acceleration of frame origin, resolved in frame_a";
147 Real b0.frameTranslation.frame_b.f[1](quantity = "Force", unit = "N") = -b0.frameTranslation.fb[1];
148 Real b0.frameTranslation.frame_b.f[2](quantity = "Force", unit = "N") = -b0.frameTranslation.fb[2];
149 Real b0.frameTranslation.frame_b.f[3](quantity = "Force", unit = "N") = -b0.frameTranslation.fb[3];
150 Real b0.frameTranslation.frame_b.t[1](quantity = "Torque", unit = "N.m") = -b0.frameTranslation.tb[1];
151 Real b0.frameTranslation.frame_b.t[2](quantity = "Torque", unit = "N.m") = -b0.frameTranslation.tb[2];
152 Real b0.frameTranslation.frame_b.t[3](quantity = "Torque", unit = "N.m") = -b0.frameTranslation.tb[3];
153 Real b0.frameTranslation.frame_b.v[1](quantity = "Velocity", unit = "m/s") = b0.frameTranslation.vb[1] "Absolute velocity of frame origin, resolved in frame_a";
154 Real b0.frameTranslation.frame_b.v[2](quantity = "Velocity", unit = "m/s") = b0.frameTranslation.vb[2] "Absolute velocity of frame origin, resolved in frame_a";
155 Real b0.frameTranslation.frame_b.v[3](quantity = "Velocity", unit = "m/s") = b0.frameTranslation.vb[3] "Absolute velocity of frame origin, resolved in frame_a";
156 Real b0.frameTranslation.frame_b.w[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b0.frameTranslation.wb[1] "Absolute angular velocity of frame_a, resolved in frame_a";
157 Real b0.frameTranslation.frame_b.w[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b0.frameTranslation.wb[2] "Absolute angular velocity of frame_a, resolved in frame_a";
158 Real b0.frameTranslation.frame_b.w[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b0.frameTranslation.wb[3] "Absolute angular velocity of frame_a, resolved in frame_a";
159 Real b0.frameTranslation.frame_b.z[1](quantity = "AngularAcceleration", unit = "rad/s2") = b0.frameTranslation.zb[1] "Absolute angular acceleration of frame_a, resolved in frame_a";
160 Real b0.frameTranslation.frame_b.z[2](quantity = "AngularAcceleration", unit = "rad/s2") = b0.frameTranslation.zb[2] "Absolute angular acceleration of frame_a, resolved in frame_a";
161 Real b0.frameTranslation.frame_b.z[3](quantity = "AngularAcceleration", unit = "rad/s2") = b0.frameTranslation.zb[3] "Absolute angular acceleration of frame_a, resolved in frame_a";
162 Real b0.frame_a.S[1,1] = b0.Sa[1,1] "Transformation matrix from frame_a to inertial system";
163 Real b0.frame_a.S[1,2] = b0.Sa[1,2] "Transformation matrix from frame_a to inertial system";
164 Real b0.frame_a.S[1,3] = b0.Sa[1,3] "Transformation matrix from frame_a to inertial system";
165 Real b0.frame_a.S[2,1] = b0.Sa[2,1] "Transformation matrix from frame_a to inertial system";
166 Real b0.frame_a.S[2,2] = b0.Sa[2,2] "Transformation matrix from frame_a to inertial system";
167 Real b0.frame_a.S[2,3] = b0.Sa[2,3] "Transformation matrix from frame_a to inertial system";
168 Real b0.frame_a.S[3,1] = b0.Sa[3,1] "Transformation matrix from frame_a to inertial system";
169 Real b0.frame_a.S[3,2] = b0.Sa[3,2] "Transformation matrix from frame_a to inertial system";
170 Real b0.frame_a.S[3,3] = b0.Sa[3,3] "Transformation matrix from frame_a to inertial system";
171 Real b0.frame_a.a[1](quantity = "Acceleration", unit = "m/s2") = b0.aa[1] "Absolute acceleration of frame origin, resolved in frame_a";
172 Real b0.frame_a.a[2](quantity = "Acceleration", unit = "m/s2") = b0.aa[2] "Absolute acceleration of frame origin, resolved in frame_a";
173 Real b0.frame_a.a[3](quantity = "Acceleration", unit = "m/s2") = b0.aa[3] "Absolute acceleration of frame origin, resolved in frame_a";
174 Real b0.frame_a.f[1](quantity = "Force", unit = "N") = b0.fa[1];
175 Real b0.frame_a.f[2](quantity = "Force", unit = "N") = b0.fa[2];
176 Real b0.frame_a.f[3](quantity = "Force", unit = "N") = b0.fa[3];
177 Real b0.frame_a.t[1](quantity = "Torque", unit = "N.m") = b0.ta[1];
178 Real b0.frame_a.t[2](quantity = "Torque", unit = "N.m") = b0.ta[2];
179 Real b0.frame_a.t[3](quantity = "Torque", unit = "N.m") = b0.ta[3];
180 Real b0.frame_a.v[1](quantity = "Velocity", unit = "m/s") = b0.va[1] "Absolute velocity of frame origin, resolved in frame_a";
181 Real b0.frame_a.v[2](quantity = "Velocity", unit = "m/s") = b0.va[2] "Absolute velocity of frame origin, resolved in frame_a";
182 Real b0.frame_a.v[3](quantity = "Velocity", unit = "m/s") = b0.va[3] "Absolute velocity of frame origin, resolved in frame_a";
183 Real b0.frame_a.w[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b0.wa[1] "Absolute angular velocity of frame_a, resolved in frame_a";
184 Real b0.frame_a.w[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b0.wa[2] "Absolute angular velocity of frame_a, resolved in frame_a";
185 Real b0.frame_a.w[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b0.wa[3] "Absolute angular velocity of frame_a, resolved in frame_a";
186 Real b0.frame_a.z[1](quantity = "AngularAcceleration", unit = "rad/s2") = b0.za[1] "Absolute angular acceleration of frame_a, resolved in frame_a";
187 Real b0.frame_a.z[2](quantity = "AngularAcceleration", unit = "rad/s2") = b0.za[2] "Absolute angular acceleration of frame_a, resolved in frame_a";
188 Real b0.frame_a.z[3](quantity = "AngularAcceleration", unit = "rad/s2") = b0.za[3] "Absolute angular acceleration of frame_a, resolved in frame_a";
189 Real b0.frame_b.S[1,1] = b0.Sb[1,1] "Transformation matrix from frame_a to inertial system";
190 Real b0.frame_b.S[1,2] = b0.Sb[1,2] "Transformation matrix from frame_a to inertial system";
191 Real b0.frame_b.S[1,3] = b0.Sb[1,3] "Transformation matrix from frame_a to inertial system";
192 Real b0.frame_b.S[2,1] = b0.Sb[2,1] "Transformation matrix from frame_a to inertial system";
193 Real b0.frame_b.S[2,2] = b0.Sb[2,2] "Transformation matrix from frame_a to inertial system";
194 Real b0.frame_b.S[2,3] = b0.Sb[2,3] "Transformation matrix from frame_a to inertial system";
195 Real b0.frame_b.S[3,1] = b0.Sb[3,1] "Transformation matrix from frame_a to inertial system";
196 Real b0.frame_b.S[3,2] = b0.Sb[3,2] "Transformation matrix from frame_a to inertial system";
197 Real b0.frame_b.S[3,3] = b0.Sb[3,3] "Transformation matrix from frame_a to inertial system";
198 Real b0.frame_b.a[1](quantity = "Acceleration", unit = "m/s2") = b0.ab[1] "Absolute acceleration of frame origin, resolved in frame_a";
199 Real b0.frame_b.a[2](quantity = "Acceleration", unit = "m/s2") = b0.ab[2] "Absolute acceleration of frame origin, resolved in frame_a";
200 Real b0.frame_b.a[3](quantity = "Acceleration", unit = "m/s2") = b0.ab[3] "Absolute acceleration of frame origin, resolved in frame_a";
201 Real b0.frame_b.f[1](quantity = "Force", unit = "N") = -b0.fb[1];
202 Real b0.frame_b.f[2](quantity = "Force", unit = "N") = -b0.fb[2];
203 Real b0.frame_b.f[3](quantity = "Force", unit = "N") = -b0.fb[3];
204 Real b0.frame_b.t[1](quantity = "Torque", unit = "N.m") = -b0.tb[1];
205 Real b0.frame_b.t[2](quantity = "Torque", unit = "N.m") = -b0.tb[2];
206 Real b0.frame_b.t[3](quantity = "Torque", unit = "N.m") = -b0.tb[3];
207 Real b0.frame_b.v[1](quantity = "Velocity", unit = "m/s") = b0.vb[1] "Absolute velocity of frame origin, resolved in frame_a";
208 Real b0.frame_b.v[2](quantity = "Velocity", unit = "m/s") = b0.vb[2] "Absolute velocity of frame origin, resolved in frame_a";
209 Real b0.frame_b.v[3](quantity = "Velocity", unit = "m/s") = b0.vb[3] "Absolute velocity of frame origin, resolved in frame_a";
210 Real b0.frame_b.w[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b0.wb[1] "Absolute angular velocity of frame_a, resolved in frame_a";
211 Real b0.frame_b.w[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b0.wb[2] "Absolute angular velocity of frame_a, resolved in frame_a";
212 Real b0.frame_b.w[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b0.wb[3] "Absolute angular velocity of frame_a, resolved in frame_a";
213 Real b0.frame_b.z[1](quantity = "AngularAcceleration", unit = "rad/s2") = b0.zb[1] "Absolute angular acceleration of frame_a, resolved in frame_a";
214 Real b0.frame_b.z[2](quantity = "AngularAcceleration", unit = "rad/s2") = b0.zb[2] "Absolute angular acceleration of frame_a, resolved in frame_a";
215 Real b0.frame_b.z[3](quantity = "AngularAcceleration", unit = "rad/s2") = b0.zb[3] "Absolute angular acceleration of frame_a, resolved in frame_a";
216 Real b0.h(quantity = "Length", unit = "m");
217 Real b0.hi(quantity = "Length", unit = "m");
218 Real b0.l(quantity = "Length", unit = "m");
219 Real b0.mi(quantity = "Mass", unit = "kg", min = 0.0);
220 Real b0.mo(quantity = "Mass", unit = "kg", min = 0.0);
221 Real b0.w(quantity = "Length", unit = "m");
222 Real b0.wi(quantity = "Length", unit = "m");
223 Real b1.I22(quantity = "MomentOfInertia", unit = "kg.m2");
224 Real b1.Scyl[1,1];
225 Real b1.Scyl[1,2];
226 Real b1.Scyl[1,3];
227 Real b1.Scyl[2,1];
228 Real b1.Scyl[2,2];
229 Real b1.Scyl[2,3];
230 Real b1.Scyl[3,1];
231 Real b1.Scyl[3,2];
232 Real b1.Scyl[3,3];
233 Real b1.body.I[1,1](quantity = "MomentOfInertia", unit = "kg.m2");
234 Real b1.body.I[1,2](quantity = "MomentOfInertia", unit = "kg.m2");
235 Real b1.body.I[1,3](quantity = "MomentOfInertia", unit = "kg.m2");
236 Real b1.body.I[2,1](quantity = "MomentOfInertia", unit = "kg.m2");
237 Real b1.body.I[2,2](quantity = "MomentOfInertia", unit = "kg.m2");
238 Real b1.body.I[2,3](quantity = "MomentOfInertia", unit = "kg.m2");
239 Real b1.body.I[3,1](quantity = "MomentOfInertia", unit = "kg.m2");
240 Real b1.body.I[3,2](quantity = "MomentOfInertia", unit = "kg.m2");
241 Real b1.body.I[3,3](quantity = "MomentOfInertia", unit = "kg.m2");
242 Real b1.body.frame_a.S[1,1] = b1.body.Sa[1,1] "Transformation matrix from frame_a to inertial system";
243 Real b1.body.frame_a.S[1,2] = b1.body.Sa[1,2] "Transformation matrix from frame_a to inertial system";
244 Real b1.body.frame_a.S[1,3] = b1.body.Sa[1,3] "Transformation matrix from frame_a to inertial system";
245 Real b1.body.frame_a.S[2,1] = b1.body.Sa[2,1] "Transformation matrix from frame_a to inertial system";
246 Real b1.body.frame_a.S[2,2] = b1.body.Sa[2,2] "Transformation matrix from frame_a to inertial system";
247 Real b1.body.frame_a.S[2,3] = b1.body.Sa[2,3] "Transformation matrix from frame_a to inertial system";
248 Real b1.body.frame_a.S[3,1] = b1.body.Sa[3,1] "Transformation matrix from frame_a to inertial system";
249 Real b1.body.frame_a.S[3,2] = b1.body.Sa[3,2] "Transformation matrix from frame_a to inertial system";
250 Real b1.body.frame_a.S[3,3] = b1.body.Sa[3,3] "Transformation matrix from frame_a to inertial system";
251 Real b1.body.frame_a.a[1](quantity = "Acceleration", unit = "m/s2") = b1.body.aa[1] "Absolute acceleration of frame origin, resolved in frame_a";
252 Real b1.body.frame_a.a[2](quantity = "Acceleration", unit = "m/s2") = b1.body.aa[2] "Absolute acceleration of frame origin, resolved in frame_a";
253 Real b1.body.frame_a.a[3](quantity = "Acceleration", unit = "m/s2") = b1.body.aa[3] "Absolute acceleration of frame origin, resolved in frame_a";
254 Real b1.body.frame_a.f[1](quantity = "Force", unit = "N") = b1.body.fa[1];
255 Real b1.body.frame_a.f[2](quantity = "Force", unit = "N") = b1.body.fa[2];
256 Real b1.body.frame_a.f[3](quantity = "Force", unit = "N") = b1.body.fa[3];
257 Real b1.body.frame_a.t[1](quantity = "Torque", unit = "N.m") = b1.body.ta[1];
258 Real b1.body.frame_a.t[2](quantity = "Torque", unit = "N.m") = b1.body.ta[2];
259 Real b1.body.frame_a.t[3](quantity = "Torque", unit = "N.m") = b1.body.ta[3];
260 Real b1.body.frame_a.v[1](quantity = "Velocity", unit = "m/s") = b1.body.va[1] "Absolute velocity of frame origin, resolved in frame_a";
261 Real b1.body.frame_a.v[2](quantity = "Velocity", unit = "m/s") = b1.body.va[2] "Absolute velocity of frame origin, resolved in frame_a";
262 Real b1.body.frame_a.v[3](quantity = "Velocity", unit = "m/s") = b1.body.va[3] "Absolute velocity of frame origin, resolved in frame_a";
263 Real b1.body.frame_a.w[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b1.body.wa[1] "Absolute angular velocity of frame_a, resolved in frame_a";
264 Real b1.body.frame_a.w[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b1.body.wa[2] "Absolute angular velocity of frame_a, resolved in frame_a";
265 Real b1.body.frame_a.w[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b1.body.wa[3] "Absolute angular velocity of frame_a, resolved in frame_a";
266 Real b1.body.frame_a.z[1](quantity = "AngularAcceleration", unit = "rad/s2") = b1.body.za[1] "Absolute angular acceleration of frame_a, resolved in frame_a";
267 Real b1.body.frame_a.z[2](quantity = "AngularAcceleration", unit = "rad/s2") = b1.body.za[2] "Absolute angular acceleration of frame_a, resolved in frame_a";
268 Real b1.body.frame_a.z[3](quantity = "AngularAcceleration", unit = "rad/s2") = b1.body.za[3] "Absolute angular acceleration of frame_a, resolved in frame_a";
269 Real b1.body.m(quantity = "Mass", unit = "kg", min = 0.0);
270 Real b1.body.rCM[1](quantity = "Length", unit = "m");
271 Real b1.body.rCM[2](quantity = "Length", unit = "m");
272 Real b1.body.rCM[3](quantity = "Length", unit = "m");
273 Real b1.box.Sshape[1,1] "local 3 x 3 transformation matrix.";
274 Real b1.box.Sshape[1,2] "local 3 x 3 transformation matrix.";
275 Real b1.box.Sshape[1,3] "local 3 x 3 transformation matrix.";
276 Real b1.box.Sshape[2,1] "local 3 x 3 transformation matrix.";
277 Real b1.box.Sshape[2,2] "local 3 x 3 transformation matrix.";
278 Real b1.box.Sshape[2,3] "local 3 x 3 transformation matrix.";
279 Real b1.box.Sshape[3,1] "local 3 x 3 transformation matrix.";
280 Real b1.box.Sshape[3,2] "local 3 x 3 transformation matrix.";
281 Real b1.box.Sshape[3,3] "local 3 x 3 transformation matrix.";
282 Real b1.box.mcShape.Sshape[1,1] = b1.box.Sshape[1,1] "local 3 x 3 transformation matrix.";
283 Real b1.box.mcShape.Sshape[1,2] = b1.box.Sshape[1,2] "local 3 x 3 transformation matrix.";
284 Real b1.box.mcShape.Sshape[1,3] = b1.box.Sshape[1,3] "local 3 x 3 transformation matrix.";
285 Real b1.box.mcShape.Sshape[2,1] = b1.box.Sshape[2,1] "local 3 x 3 transformation matrix.";
286 Real b1.box.mcShape.Sshape[2,2] = b1.box.Sshape[2,2] "local 3 x 3 transformation matrix.";
287 Real b1.box.mcShape.Sshape[2,3] = b1.box.Sshape[2,3] "local 3 x 3 transformation matrix.";
288 Real b1.box.mcShape.Sshape[3,1] = b1.box.Sshape[3,1] "local 3 x 3 transformation matrix.";
289 Real b1.box.mcShape.Sshape[3,2] = b1.box.Sshape[3,2] "local 3 x 3 transformation matrix.";
290 Real b1.box.mcShape.Sshape[3,3] = b1.box.Sshape[3,3] "local 3 x 3 transformation matrix.";
291 Real b1.box.mcShape.abs_n_x = sqrt(b1.box.mcShape.lengthDirection[1] ^ 2.0 + (b1.box.mcShape.lengthDirection[2] ^ 2.0 + b1.box.mcShape.lengthDirection[3] ^ 2.0));
292 Real b1.box.mcShape.e_x[1] = if noEvent(b1.box.mcShape.abs_n_x < 1e-10) then 1.0 else b1.box.mcShape.lengthDirection[1] / b1.box.mcShape.abs_n_x;
293 Real b1.box.mcShape.e_x[2] = if noEvent(b1.box.mcShape.abs_n_x < 1e-10) then 0.0 else b1.box.mcShape.lengthDirection[2] / b1.box.mcShape.abs_n_x;
294 Real b1.box.mcShape.e_x[3] = if noEvent(b1.box.mcShape.abs_n_x < 1e-10) then 0.0 else b1.box.mcShape.lengthDirection[3] / b1.box.mcShape.abs_n_x;
295 Real b1.box.mcShape.e_y[1] = cross(MCVisualShape.local_normalize(cross({b1.box.mcShape.e_x[1],b1.box.mcShape.e_x[2],b1.box.mcShape.e_x[3]},if noEvent(b1.box.mcShape.n_z_aux[1] ^ 2.0 + (b1.box.mcShape.n_z_aux[2] ^ 2.0 + b1.box.mcShape.n_z_aux[3] ^ 2.0) > 1e-06) then {b1.box.mcShape.widthDirection[1],b1.box.mcShape.widthDirection[2],b1.box.mcShape.widthDirection[3]} else if noEvent(abs(b1.box.mcShape.e_x[1]) > 1e-06) then {0.0,1.0,0.0} else {1.0,0.0,0.0})),{b1.box.mcShape.e_x[1],b1.box.mcShape.e_x[2],b1.box.mcShape.e_x[3]})[1];
296 Real b1.box.mcShape.e_y[2] = cross(MCVisualShape.local_normalize(cross({b1.box.mcShape.e_x[1],b1.box.mcShape.e_x[2],b1.box.mcShape.e_x[3]},if noEvent(b1.box.mcShape.n_z_aux[1] ^ 2.0 + (b1.box.mcShape.n_z_aux[2] ^ 2.0 + b1.box.mcShape.n_z_aux[3] ^ 2.0) > 1e-06) then {b1.box.mcShape.widthDirection[1],b1.box.mcShape.widthDirection[2],b1.box.mcShape.widthDirection[3]} else if noEvent(abs(b1.box.mcShape.e_x[1]) > 1e-06) then {0.0,1.0,0.0} else {1.0,0.0,0.0})),{b1.box.mcShape.e_x[1],b1.box.mcShape.e_x[2],b1.box.mcShape.e_x[3]})[2];
297 Real b1.box.mcShape.e_y[3] = cross(MCVisualShape.local_normalize(cross({b1.box.mcShape.e_x[1],b1.box.mcShape.e_x[2],b1.box.mcShape.e_x[3]},if noEvent(b1.box.mcShape.n_z_aux[1] ^ 2.0 + (b1.box.mcShape.n_z_aux[2] ^ 2.0 + b1.box.mcShape.n_z_aux[3] ^ 2.0) > 1e-06) then {b1.box.mcShape.widthDirection[1],b1.box.mcShape.widthDirection[2],b1.box.mcShape.widthDirection[3]} else if noEvent(abs(b1.box.mcShape.e_x[1]) > 1e-06) then {0.0,1.0,0.0} else {1.0,0.0,0.0})),{b1.box.mcShape.e_x[1],b1.box.mcShape.e_x[2],b1.box.mcShape.e_x[3]})[3];
298 Real b1.box.mcShape.e_z[1] = b1.box.mcShape.e_x[2] * b1.box.mcShape.e_y[3] - b1.box.mcShape.e_x[3] * b1.box.mcShape.e_y[2];
299 Real b1.box.mcShape.e_z[2] = b1.box.mcShape.e_x[3] * b1.box.mcShape.e_y[1] - b1.box.mcShape.e_x[1] * b1.box.mcShape.e_y[3];
300 Real b1.box.mcShape.e_z[3] = b1.box.mcShape.e_x[1] * b1.box.mcShape.e_y[2] - b1.box.mcShape.e_x[2] * b1.box.mcShape.e_y[1];
301 Real b1.box.mcShape.n_z_aux[1] = b1.box.mcShape.e_x[2] * b1.box.mcShape.widthDirection[3] - b1.box.mcShape.e_x[3] * b1.box.mcShape.widthDirection[2];
302 Real b1.box.mcShape.n_z_aux[2] = b1.box.mcShape.e_x[3] * b1.box.mcShape.widthDirection[1] - b1.box.mcShape.e_x[1] * b1.box.mcShape.widthDirection[3];
303 Real b1.box.mcShape.n_z_aux[3] = b1.box.mcShape.e_x[1] * b1.box.mcShape.widthDirection[2] - b1.box.mcShape.e_x[2] * b1.box.mcShape.widthDirection[1];
304 Real b1.box.nHeight[1];
305 Real b1.box.nHeight[2];
306 Real b1.box.nHeight[3];
307 Real b1.box.nLength[1];
308 Real b1.box.nLength[2];
309 Real b1.box.nLength[3];
310 Real b1.box.nWidth[1];
311 Real b1.box.nWidth[2];
312 Real b1.box.nWidth[3];
313 Real b1.frameTranslation.frame_a.S[1,1] = b1.frameTranslation.Sa[1,1] "Transformation matrix from frame_a to inertial system";
314 Real b1.frameTranslation.frame_a.S[1,2] = b1.frameTranslation.Sa[1,2] "Transformation matrix from frame_a to inertial system";
315 Real b1.frameTranslation.frame_a.S[1,3] = b1.frameTranslation.Sa[1,3] "Transformation matrix from frame_a to inertial system";
316 Real b1.frameTranslation.frame_a.S[2,1] = b1.frameTranslation.Sa[2,1] "Transformation matrix from frame_a to inertial system";
317 Real b1.frameTranslation.frame_a.S[2,2] = b1.frameTranslation.Sa[2,2] "Transformation matrix from frame_a to inertial system";
318 Real b1.frameTranslation.frame_a.S[2,3] = b1.frameTranslation.Sa[2,3] "Transformation matrix from frame_a to inertial system";
319 Real b1.frameTranslation.frame_a.S[3,1] = b1.frameTranslation.Sa[3,1] "Transformation matrix from frame_a to inertial system";
320 Real b1.frameTranslation.frame_a.S[3,2] = b1.frameTranslation.Sa[3,2] "Transformation matrix from frame_a to inertial system";
321 Real b1.frameTranslation.frame_a.S[3,3] = b1.frameTranslation.Sa[3,3] "Transformation matrix from frame_a to inertial system";
322 Real b1.frameTranslation.frame_a.a[1](quantity = "Acceleration", unit = "m/s2") = b1.frameTranslation.aa[1] "Absolute acceleration of frame origin, resolved in frame_a";
323 Real b1.frameTranslation.frame_a.a[2](quantity = "Acceleration", unit = "m/s2") = b1.frameTranslation.aa[2] "Absolute acceleration of frame origin, resolved in frame_a";
324 Real b1.frameTranslation.frame_a.a[3](quantity = "Acceleration", unit = "m/s2") = b1.frameTranslation.aa[3] "Absolute acceleration of frame origin, resolved in frame_a";
325 Real b1.frameTranslation.frame_a.f[1](quantity = "Force", unit = "N") = b1.frameTranslation.fa[1];
326 Real b1.frameTranslation.frame_a.f[2](quantity = "Force", unit = "N") = b1.frameTranslation.fa[2];
327 Real b1.frameTranslation.frame_a.f[3](quantity = "Force", unit = "N") = b1.frameTranslation.fa[3];
328 Real b1.frameTranslation.frame_a.t[1](quantity = "Torque", unit = "N.m") = b1.frameTranslation.ta[1];
329 Real b1.frameTranslation.frame_a.t[2](quantity = "Torque", unit = "N.m") = b1.frameTranslation.ta[2];
330 Real b1.frameTranslation.frame_a.t[3](quantity = "Torque", unit = "N.m") = b1.frameTranslation.ta[3];
331 Real b1.frameTranslation.frame_a.v[1](quantity = "Velocity", unit = "m/s") = b1.frameTranslation.va[1] "Absolute velocity of frame origin, resolved in frame_a";
332 Real b1.frameTranslation.frame_a.v[2](quantity = "Velocity", unit = "m/s") = b1.frameTranslation.va[2] "Absolute velocity of frame origin, resolved in frame_a";
333 Real b1.frameTranslation.frame_a.v[3](quantity = "Velocity", unit = "m/s") = b1.frameTranslation.va[3] "Absolute velocity of frame origin, resolved in frame_a";
334 Real b1.frameTranslation.frame_a.w[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b1.frameTranslation.wa[1] "Absolute angular velocity of frame_a, resolved in frame_a";
335 Real b1.frameTranslation.frame_a.w[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b1.frameTranslation.wa[2] "Absolute angular velocity of frame_a, resolved in frame_a";
336 Real b1.frameTranslation.frame_a.w[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b1.frameTranslation.wa[3] "Absolute angular velocity of frame_a, resolved in frame_a";
337 Real b1.frameTranslation.frame_a.z[1](quantity = "AngularAcceleration", unit = "rad/s2") = b1.frameTranslation.za[1] "Absolute angular acceleration of frame_a, resolved in frame_a";
338 Real b1.frameTranslation.frame_a.z[2](quantity = "AngularAcceleration", unit = "rad/s2") = b1.frameTranslation.za[2] "Absolute angular acceleration of frame_a, resolved in frame_a";
339 Real b1.frameTranslation.frame_a.z[3](quantity = "AngularAcceleration", unit = "rad/s2") = b1.frameTranslation.za[3] "Absolute angular acceleration of frame_a, resolved in frame_a";
340 Real b1.frameTranslation.frame_b.S[1,1] = b1.frameTranslation.Sb[1,1] "Transformation matrix from frame_a to inertial system";
341 Real b1.frameTranslation.frame_b.S[1,2] = b1.frameTranslation.Sb[1,2] "Transformation matrix from frame_a to inertial system";
342 Real b1.frameTranslation.frame_b.S[1,3] = b1.frameTranslation.Sb[1,3] "Transformation matrix from frame_a to inertial system";
343 Real b1.frameTranslation.frame_b.S[2,1] = b1.frameTranslation.Sb[2,1] "Transformation matrix from frame_a to inertial system";
344 Real b1.frameTranslation.frame_b.S[2,2] = b1.frameTranslation.Sb[2,2] "Transformation matrix from frame_a to inertial system";
345 Real b1.frameTranslation.frame_b.S[2,3] = b1.frameTranslation.Sb[2,3] "Transformation matrix from frame_a to inertial system";
346 Real b1.frameTranslation.frame_b.S[3,1] = b1.frameTranslation.Sb[3,1] "Transformation matrix from frame_a to inertial system";
347 Real b1.frameTranslation.frame_b.S[3,2] = b1.frameTranslation.Sb[3,2] "Transformation matrix from frame_a to inertial system";
348 Real b1.frameTranslation.frame_b.S[3,3] = b1.frameTranslation.Sb[3,3] "Transformation matrix from frame_a to inertial system";
349 Real b1.frameTranslation.frame_b.a[1](quantity = "Acceleration", unit = "m/s2") = b1.frameTranslation.ab[1] "Absolute acceleration of frame origin, resolved in frame_a";
350 Real b1.frameTranslation.frame_b.a[2](quantity = "Acceleration", unit = "m/s2") = b1.frameTranslation.ab[2] "Absolute acceleration of frame origin, resolved in frame_a";
351 Real b1.frameTranslation.frame_b.a[3](quantity = "Acceleration", unit = "m/s2") = b1.frameTranslation.ab[3] "Absolute acceleration of frame origin, resolved in frame_a";
352 Real b1.frameTranslation.frame_b.f[1](quantity = "Force", unit = "N") = -b1.frameTranslation.fb[1];
353 Real b1.frameTranslation.frame_b.f[2](quantity = "Force", unit = "N") = -b1.frameTranslation.fb[2];
354 Real b1.frameTranslation.frame_b.f[3](quantity = "Force", unit = "N") = -b1.frameTranslation.fb[3];
355 Real b1.frameTranslation.frame_b.t[1](quantity = "Torque", unit = "N.m") = -b1.frameTranslation.tb[1];
356 Real b1.frameTranslation.frame_b.t[2](quantity = "Torque", unit = "N.m") = -b1.frameTranslation.tb[2];
357 Real b1.frameTranslation.frame_b.t[3](quantity = "Torque", unit = "N.m") = -b1.frameTranslation.tb[3];
358 Real b1.frameTranslation.frame_b.v[1](quantity = "Velocity", unit = "m/s") = b1.frameTranslation.vb[1] "Absolute velocity of frame origin, resolved in frame_a";
359 Real b1.frameTranslation.frame_b.v[2](quantity = "Velocity", unit = "m/s") = b1.frameTranslation.vb[2] "Absolute velocity of frame origin, resolved in frame_a";
360 Real b1.frameTranslation.frame_b.v[3](quantity = "Velocity", unit = "m/s") = b1.frameTranslation.vb[3] "Absolute velocity of frame origin, resolved in frame_a";
361 Real b1.frameTranslation.frame_b.w[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b1.frameTranslation.wb[1] "Absolute angular velocity of frame_a, resolved in frame_a";
362 Real b1.frameTranslation.frame_b.w[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b1.frameTranslation.wb[2] "Absolute angular velocity of frame_a, resolved in frame_a";
363 Real b1.frameTranslation.frame_b.w[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b1.frameTranslation.wb[3] "Absolute angular velocity of frame_a, resolved in frame_a";
364 Real b1.frameTranslation.frame_b.z[1](quantity = "AngularAcceleration", unit = "rad/s2") = b1.frameTranslation.zb[1] "Absolute angular acceleration of frame_a, resolved in frame_a";
365 Real b1.frameTranslation.frame_b.z[2](quantity = "AngularAcceleration", unit = "rad/s2") = b1.frameTranslation.zb[2] "Absolute angular acceleration of frame_a, resolved in frame_a";
366 Real b1.frameTranslation.frame_b.z[3](quantity = "AngularAcceleration", unit = "rad/s2") = b1.frameTranslation.zb[3] "Absolute angular acceleration of frame_a, resolved in frame_a";
367 Real b1.frame_a.S[1,1] = b1.Sa[1,1] "Transformation matrix from frame_a to inertial system";
368 Real b1.frame_a.S[1,2] = b1.Sa[1,2] "Transformation matrix from frame_a to inertial system";
369 Real b1.frame_a.S[1,3] = b1.Sa[1,3] "Transformation matrix from frame_a to inertial system";
370 Real b1.frame_a.S[2,1] = b1.Sa[2,1] "Transformation matrix from frame_a to inertial system";
371 Real b1.frame_a.S[2,2] = b1.Sa[2,2] "Transformation matrix from frame_a to inertial system";
372 Real b1.frame_a.S[2,3] = b1.Sa[2,3] "Transformation matrix from frame_a to inertial system";
373 Real b1.frame_a.S[3,1] = b1.Sa[3,1] "Transformation matrix from frame_a to inertial system";
374 Real b1.frame_a.S[3,2] = b1.Sa[3,2] "Transformation matrix from frame_a to inertial system";
375 Real b1.frame_a.S[3,3] = b1.Sa[3,3] "Transformation matrix from frame_a to inertial system";
376 Real b1.frame_a.a[1](quantity = "Acceleration", unit = "m/s2") = b1.aa[1] "Absolute acceleration of frame origin, resolved in frame_a";
377 Real b1.frame_a.a[2](quantity = "Acceleration", unit = "m/s2") = b1.aa[2] "Absolute acceleration of frame origin, resolved in frame_a";
378 Real b1.frame_a.a[3](quantity = "Acceleration", unit = "m/s2") = b1.aa[3] "Absolute acceleration of frame origin, resolved in frame_a";
379 Real b1.frame_a.f[1](quantity = "Force", unit = "N") = b1.fa[1];
380 Real b1.frame_a.f[2](quantity = "Force", unit = "N") = b1.fa[2];
381 Real b1.frame_a.f[3](quantity = "Force", unit = "N") = b1.fa[3];
382 Real b1.frame_a.t[1](quantity = "Torque", unit = "N.m") = b1.ta[1];
383 Real b1.frame_a.t[2](quantity = "Torque", unit = "N.m") = b1.ta[2];
384 Real b1.frame_a.t[3](quantity = "Torque", unit = "N.m") = b1.ta[3];
385 Real b1.frame_a.v[1](quantity = "Velocity", unit = "m/s") = b1.va[1] "Absolute velocity of frame origin, resolved in frame_a";
386 Real b1.frame_a.v[2](quantity = "Velocity", unit = "m/s") = b1.va[2] "Absolute velocity of frame origin, resolved in frame_a";
387 Real b1.frame_a.v[3](quantity = "Velocity", unit = "m/s") = b1.va[3] "Absolute velocity of frame origin, resolved in frame_a";
388 Real b1.frame_a.w[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b1.wa[1] "Absolute angular velocity of frame_a, resolved in frame_a";
389 Real b1.frame_a.w[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b1.wa[2] "Absolute angular velocity of frame_a, resolved in frame_a";
390 Real b1.frame_a.w[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b1.wa[3] "Absolute angular velocity of frame_a, resolved in frame_a";
391 Real b1.frame_a.z[1](quantity = "AngularAcceleration", unit = "rad/s2") = b1.za[1] "Absolute angular acceleration of frame_a, resolved in frame_a";
392 Real b1.frame_a.z[2](quantity = "AngularAcceleration", unit = "rad/s2") = b1.za[2] "Absolute angular acceleration of frame_a, resolved in frame_a";
393 Real b1.frame_a.z[3](quantity = "AngularAcceleration", unit = "rad/s2") = b1.za[3] "Absolute angular acceleration of frame_a, resolved in frame_a";
394 Real b1.frame_b.S[1,1] = b1.Sb[1,1] "Transformation matrix from frame_a to inertial system";
395 Real b1.frame_b.S[1,2] = b1.Sb[1,2] "Transformation matrix from frame_a to inertial system";
396 Real b1.frame_b.S[1,3] = b1.Sb[1,3] "Transformation matrix from frame_a to inertial system";
397 Real b1.frame_b.S[2,1] = b1.Sb[2,1] "Transformation matrix from frame_a to inertial system";
398 Real b1.frame_b.S[2,2] = b1.Sb[2,2] "Transformation matrix from frame_a to inertial system";
399 Real b1.frame_b.S[2,3] = b1.Sb[2,3] "Transformation matrix from frame_a to inertial system";
400 Real b1.frame_b.S[3,1] = b1.Sb[3,1] "Transformation matrix from frame_a to inertial system";
401 Real b1.frame_b.S[3,2] = b1.Sb[3,2] "Transformation matrix from frame_a to inertial system";
402 Real b1.frame_b.S[3,3] = b1.Sb[3,3] "Transformation matrix from frame_a to inertial system";
403 Real b1.frame_b.a[1](quantity = "Acceleration", unit = "m/s2") = b1.ab[1] "Absolute acceleration of frame origin, resolved in frame_a";
404 Real b1.frame_b.a[2](quantity = "Acceleration", unit = "m/s2") = b1.ab[2] "Absolute acceleration of frame origin, resolved in frame_a";
405 Real b1.frame_b.a[3](quantity = "Acceleration", unit = "m/s2") = b1.ab[3] "Absolute acceleration of frame origin, resolved in frame_a";
406 Real b1.frame_b.f[1](quantity = "Force", unit = "N") = -b1.fb[1];
407 Real b1.frame_b.f[2](quantity = "Force", unit = "N") = -b1.fb[2];
408 Real b1.frame_b.f[3](quantity = "Force", unit = "N") = -b1.fb[3];
409 Real b1.frame_b.t[1](quantity = "Torque", unit = "N.m") = -b1.tb[1];
410 Real b1.frame_b.t[2](quantity = "Torque", unit = "N.m") = -b1.tb[2];
411 Real b1.frame_b.t[3](quantity = "Torque", unit = "N.m") = -b1.tb[3];
412 Real b1.frame_b.v[1](quantity = "Velocity", unit = "m/s") = b1.vb[1] "Absolute velocity of frame origin, resolved in frame_a";
413 Real b1.frame_b.v[2](quantity = "Velocity", unit = "m/s") = b1.vb[2] "Absolute velocity of frame origin, resolved in frame_a";
414 Real b1.frame_b.v[3](quantity = "Velocity", unit = "m/s") = b1.vb[3] "Absolute velocity of frame origin, resolved in frame_a";
415 Real b1.frame_b.w[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b1.wb[1] "Absolute angular velocity of frame_a, resolved in frame_a";
416 Real b1.frame_b.w[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b1.wb[2] "Absolute angular velocity of frame_a, resolved in frame_a";
417 Real b1.frame_b.w[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b1.wb[3] "Absolute angular velocity of frame_a, resolved in frame_a";
418 Real b1.frame_b.z[1](quantity = "AngularAcceleration", unit = "rad/s2") = b1.zb[1] "Absolute angular acceleration of frame_a, resolved in frame_a";
419 Real b1.frame_b.z[2](quantity = "AngularAcceleration", unit = "rad/s2") = b1.zb[2] "Absolute angular acceleration of frame_a, resolved in frame_a";
420 Real b1.frame_b.z[3](quantity = "AngularAcceleration", unit = "rad/s2") = b1.zb[3] "Absolute angular acceleration of frame_a, resolved in frame_a";
421 Real b1.mi(quantity = "Mass", unit = "kg", min = 0.0);
422 Real b1.mo(quantity = "Mass", unit = "kg", min = 0.0);
423 Real b2.I22(quantity = "MomentOfInertia", unit = "kg.m2");
424 Real b2.Scyl[1,1];
425 Real b2.Scyl[1,2];
426 Real b2.Scyl[1,3];
427 Real b2.Scyl[2,1];
428 Real b2.Scyl[2,2];
429 Real b2.Scyl[2,3];
430 Real b2.Scyl[3,1];
431 Real b2.Scyl[3,2];
432 Real b2.Scyl[3,3];
433 Real b2.body.I[1,1](quantity = "MomentOfInertia", unit = "kg.m2");
434 Real b2.body.I[1,2](quantity = "MomentOfInertia", unit = "kg.m2");
435 Real b2.body.I[1,3](quantity = "MomentOfInertia", unit = "kg.m2");
436 Real b2.body.I[2,1](quantity = "MomentOfInertia", unit = "kg.m2");
437 Real b2.body.I[2,2](quantity = "MomentOfInertia", unit = "kg.m2");
438 Real b2.body.I[2,3](quantity = "MomentOfInertia", unit = "kg.m2");
439 Real b2.body.I[3,1](quantity = "MomentOfInertia", unit = "kg.m2");
440 Real b2.body.I[3,2](quantity = "MomentOfInertia", unit = "kg.m2");
441 Real b2.body.I[3,3](quantity = "MomentOfInertia", unit = "kg.m2");
442 Real b2.body.frame_a.S[1,1] = b2.body.Sa[1,1] "Transformation matrix from frame_a to inertial system";
443 Real b2.body.frame_a.S[1,2] = b2.body.Sa[1,2] "Transformation matrix from frame_a to inertial system";
444 Real b2.body.frame_a.S[1,3] = b2.body.Sa[1,3] "Transformation matrix from frame_a to inertial system";
445 Real b2.body.frame_a.S[2,1] = b2.body.Sa[2,1] "Transformation matrix from frame_a to inertial system";
446 Real b2.body.frame_a.S[2,2] = b2.body.Sa[2,2] "Transformation matrix from frame_a to inertial system";
447 Real b2.body.frame_a.S[2,3] = b2.body.Sa[2,3] "Transformation matrix from frame_a to inertial system";
448 Real b2.body.frame_a.S[3,1] = b2.body.Sa[3,1] "Transformation matrix from frame_a to inertial system";
449 Real b2.body.frame_a.S[3,2] = b2.body.Sa[3,2] "Transformation matrix from frame_a to inertial system";
450 Real b2.body.frame_a.S[3,3] = b2.body.Sa[3,3] "Transformation matrix from frame_a to inertial system";
451 Real b2.body.frame_a.a[1](quantity = "Acceleration", unit = "m/s2") = b2.body.aa[1] "Absolute acceleration of frame origin, resolved in frame_a";
452 Real b2.body.frame_a.a[2](quantity = "Acceleration", unit = "m/s2") = b2.body.aa[2] "Absolute acceleration of frame origin, resolved in frame_a";
453 Real b2.body.frame_a.a[3](quantity = "Acceleration", unit = "m/s2") = b2.body.aa[3] "Absolute acceleration of frame origin, resolved in frame_a";
454 Real b2.body.frame_a.f[1](quantity = "Force", unit = "N") = b2.body.fa[1];
455 Real b2.body.frame_a.f[2](quantity = "Force", unit = "N") = b2.body.fa[2];
456 Real b2.body.frame_a.f[3](quantity = "Force", unit = "N") = b2.body.fa[3];
457 Real b2.body.frame_a.t[1](quantity = "Torque", unit = "N.m") = b2.body.ta[1];
458 Real b2.body.frame_a.t[2](quantity = "Torque", unit = "N.m") = b2.body.ta[2];
459 Real b2.body.frame_a.t[3](quantity = "Torque", unit = "N.m") = b2.body.ta[3];
460 Real b2.body.frame_a.v[1](quantity = "Velocity", unit = "m/s") = b2.body.va[1] "Absolute velocity of frame origin, resolved in frame_a";
461 Real b2.body.frame_a.v[2](quantity = "Velocity", unit = "m/s") = b2.body.va[2] "Absolute velocity of frame origin, resolved in frame_a";
462 Real b2.body.frame_a.v[3](quantity = "Velocity", unit = "m/s") = b2.body.va[3] "Absolute velocity of frame origin, resolved in frame_a";
463 Real b2.body.frame_a.w[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b2.body.wa[1] "Absolute angular velocity of frame_a, resolved in frame_a";
464 Real b2.body.frame_a.w[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b2.body.wa[2] "Absolute angular velocity of frame_a, resolved in frame_a";
465 Real b2.body.frame_a.w[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b2.body.wa[3] "Absolute angular velocity of frame_a, resolved in frame_a";
466 Real b2.body.frame_a.z[1](quantity = "AngularAcceleration", unit = "rad/s2") = b2.body.za[1] "Absolute angular acceleration of frame_a, resolved in frame_a";
467 Real b2.body.frame_a.z[2](quantity = "AngularAcceleration", unit = "rad/s2") = b2.body.za[2] "Absolute angular acceleration of frame_a, resolved in frame_a";
468 Real b2.body.frame_a.z[3](quantity = "AngularAcceleration", unit = "rad/s2") = b2.body.za[3] "Absolute angular acceleration of frame_a, resolved in frame_a";
469 Real b2.body.m(quantity = "Mass", unit = "kg", min = 0.0);
470 Real b2.body.rCM[1](quantity = "Length", unit = "m");
471 Real b2.body.rCM[2](quantity = "Length", unit = "m");
472 Real b2.body.rCM[3](quantity = "Length", unit = "m");
473 Real b2.box.Sshape[1,1] "local 3 x 3 transformation matrix.";
474 Real b2.box.Sshape[1,2] "local 3 x 3 transformation matrix.";
475 Real b2.box.Sshape[1,3] "local 3 x 3 transformation matrix.";
476 Real b2.box.Sshape[2,1] "local 3 x 3 transformation matrix.";
477 Real b2.box.Sshape[2,2] "local 3 x 3 transformation matrix.";
478 Real b2.box.Sshape[2,3] "local 3 x 3 transformation matrix.";
479 Real b2.box.Sshape[3,1] "local 3 x 3 transformation matrix.";
480 Real b2.box.Sshape[3,2] "local 3 x 3 transformation matrix.";
481 Real b2.box.Sshape[3,3] "local 3 x 3 transformation matrix.";
482 Real b2.box.mcShape.Sshape[1,1] = b2.box.Sshape[1,1] "local 3 x 3 transformation matrix.";
483 Real b2.box.mcShape.Sshape[1,2] = b2.box.Sshape[1,2] "local 3 x 3 transformation matrix.";
484 Real b2.box.mcShape.Sshape[1,3] = b2.box.Sshape[1,3] "local 3 x 3 transformation matrix.";
485 Real b2.box.mcShape.Sshape[2,1] = b2.box.Sshape[2,1] "local 3 x 3 transformation matrix.";
486 Real b2.box.mcShape.Sshape[2,2] = b2.box.Sshape[2,2] "local 3 x 3 transformation matrix.";
487 Real b2.box.mcShape.Sshape[2,3] = b2.box.Sshape[2,3] "local 3 x 3 transformation matrix.";
488 Real b2.box.mcShape.Sshape[3,1] = b2.box.Sshape[3,1] "local 3 x 3 transformation matrix.";
489 Real b2.box.mcShape.Sshape[3,2] = b2.box.Sshape[3,2] "local 3 x 3 transformation matrix.";
490 Real b2.box.mcShape.Sshape[3,3] = b2.box.Sshape[3,3] "local 3 x 3 transformation matrix.";
491 Real b2.box.mcShape.abs_n_x = sqrt(b2.box.mcShape.lengthDirection[1] ^ 2.0 + (b2.box.mcShape.lengthDirection[2] ^ 2.0 + b2.box.mcShape.lengthDirection[3] ^ 2.0));
492 Real b2.box.mcShape.e_x[1] = if noEvent(b2.box.mcShape.abs_n_x < 1e-10) then 1.0 else b2.box.mcShape.lengthDirection[1] / b2.box.mcShape.abs_n_x;
493 Real b2.box.mcShape.e_x[2] = if noEvent(b2.box.mcShape.abs_n_x < 1e-10) then 0.0 else b2.box.mcShape.lengthDirection[2] / b2.box.mcShape.abs_n_x;
494 Real b2.box.mcShape.e_x[3] = if noEvent(b2.box.mcShape.abs_n_x < 1e-10) then 0.0 else b2.box.mcShape.lengthDirection[3] / b2.box.mcShape.abs_n_x;
495 Real b2.box.mcShape.e_y[1] = cross(MCVisualShape.local_normalize(cross({b2.box.mcShape.e_x[1],b2.box.mcShape.e_x[2],b2.box.mcShape.e_x[3]},if noEvent(b2.box.mcShape.n_z_aux[1] ^ 2.0 + (b2.box.mcShape.n_z_aux[2] ^ 2.0 + b2.box.mcShape.n_z_aux[3] ^ 2.0) > 1e-06) then {b2.box.mcShape.widthDirection[1],b2.box.mcShape.widthDirection[2],b2.box.mcShape.widthDirection[3]} else if noEvent(abs(b2.box.mcShape.e_x[1]) > 1e-06) then {0.0,1.0,0.0} else {1.0,0.0,0.0})),{b2.box.mcShape.e_x[1],b2.box.mcShape.e_x[2],b2.box.mcShape.e_x[3]})[1];
496 Real b2.box.mcShape.e_y[2] = cross(MCVisualShape.local_normalize(cross({b2.box.mcShape.e_x[1],b2.box.mcShape.e_x[2],b2.box.mcShape.e_x[3]},if noEvent(b2.box.mcShape.n_z_aux[1] ^ 2.0 + (b2.box.mcShape.n_z_aux[2] ^ 2.0 + b2.box.mcShape.n_z_aux[3] ^ 2.0) > 1e-06) then {b2.box.mcShape.widthDirection[1],b2.box.mcShape.widthDirection[2],b2.box.mcShape.widthDirection[3]} else if noEvent(abs(b2.box.mcShape.e_x[1]) > 1e-06) then {0.0,1.0,0.0} else {1.0,0.0,0.0})),{b2.box.mcShape.e_x[1],b2.box.mcShape.e_x[2],b2.box.mcShape.e_x[3]})[2];
497 Real b2.box.mcShape.e_y[3] = cross(MCVisualShape.local_normalize(cross({b2.box.mcShape.e_x[1],b2.box.mcShape.e_x[2],b2.box.mcShape.e_x[3]},if noEvent(b2.box.mcShape.n_z_aux[1] ^ 2.0 + (b2.box.mcShape.n_z_aux[2] ^ 2.0 + b2.box.mcShape.n_z_aux[3] ^ 2.0) > 1e-06) then {b2.box.mcShape.widthDirection[1],b2.box.mcShape.widthDirection[2],b2.box.mcShape.widthDirection[3]} else if noEvent(abs(b2.box.mcShape.e_x[1]) > 1e-06) then {0.0,1.0,0.0} else {1.0,0.0,0.0})),{b2.box.mcShape.e_x[1],b2.box.mcShape.e_x[2],b2.box.mcShape.e_x[3]})[3];
498 Real b2.box.mcShape.e_z[1] = b2.box.mcShape.e_x[2] * b2.box.mcShape.e_y[3] - b2.box.mcShape.e_x[3] * b2.box.mcShape.e_y[2];
499 Real b2.box.mcShape.e_z[2] = b2.box.mcShape.e_x[3] * b2.box.mcShape.e_y[1] - b2.box.mcShape.e_x[1] * b2.box.mcShape.e_y[3];
500 Real b2.box.mcShape.e_z[3] = b2.box.mcShape.e_x[1] * b2.box.mcShape.e_y[2] - b2.box.mcShape.e_x[2] * b2.box.mcShape.e_y[1];
501 Real b2.box.mcShape.n_z_aux[1] = b2.box.mcShape.e_x[2] * b2.box.mcShape.widthDirection[3] - b2.box.mcShape.e_x[3] * b2.box.mcShape.widthDirection[2];
502 Real b2.box.mcShape.n_z_aux[2] = b2.box.mcShape.e_x[3] * b2.box.mcShape.widthDirection[1] - b2.box.mcShape.e_x[1] * b2.box.mcShape.widthDirection[3];
503 Real b2.box.mcShape.n_z_aux[3] = b2.box.mcShape.e_x[1] * b2.box.mcShape.widthDirection[2] - b2.box.mcShape.e_x[2] * b2.box.mcShape.widthDirection[1];
504 Real b2.box.nHeight[1];
505 Real b2.box.nHeight[2];
506 Real b2.box.nHeight[3];
507 Real b2.box.nLength[1];
508 Real b2.box.nLength[2];
509 Real b2.box.nLength[3];
510 Real b2.box.nWidth[1];
511 Real b2.box.nWidth[2];
512 Real b2.box.nWidth[3];
513 Real b2.frameTranslation.frame_a.S[1,1] = b2.frameTranslation.Sa[1,1] "Transformation matrix from frame_a to inertial system";
514 Real b2.frameTranslation.frame_a.S[1,2] = b2.frameTranslation.Sa[1,2] "Transformation matrix from frame_a to inertial system";
515 Real b2.frameTranslation.frame_a.S[1,3] = b2.frameTranslation.Sa[1,3] "Transformation matrix from frame_a to inertial system";
516 Real b2.frameTranslation.frame_a.S[2,1] = b2.frameTranslation.Sa[2,1] "Transformation matrix from frame_a to inertial system";
517 Real b2.frameTranslation.frame_a.S[2,2] = b2.frameTranslation.Sa[2,2] "Transformation matrix from frame_a to inertial system";
518 Real b2.frameTranslation.frame_a.S[2,3] = b2.frameTranslation.Sa[2,3] "Transformation matrix from frame_a to inertial system";
519 Real b2.frameTranslation.frame_a.S[3,1] = b2.frameTranslation.Sa[3,1] "Transformation matrix from frame_a to inertial system";
520 Real b2.frameTranslation.frame_a.S[3,2] = b2.frameTranslation.Sa[3,2] "Transformation matrix from frame_a to inertial system";
521 Real b2.frameTranslation.frame_a.S[3,3] = b2.frameTranslation.Sa[3,3] "Transformation matrix from frame_a to inertial system";
522 Real b2.frameTranslation.frame_a.a[1](quantity = "Acceleration", unit = "m/s2") = b2.frameTranslation.aa[1] "Absolute acceleration of frame origin, resolved in frame_a";
523 Real b2.frameTranslation.frame_a.a[2](quantity = "Acceleration", unit = "m/s2") = b2.frameTranslation.aa[2] "Absolute acceleration of frame origin, resolved in frame_a";
524 Real b2.frameTranslation.frame_a.a[3](quantity = "Acceleration", unit = "m/s2") = b2.frameTranslation.aa[3] "Absolute acceleration of frame origin, resolved in frame_a";
525 Real b2.frameTranslation.frame_a.f[1](quantity = "Force", unit = "N") = b2.frameTranslation.fa[1];
526 Real b2.frameTranslation.frame_a.f[2](quantity = "Force", unit = "N") = b2.frameTranslation.fa[2];
527 Real b2.frameTranslation.frame_a.f[3](quantity = "Force", unit = "N") = b2.frameTranslation.fa[3];
528 Real b2.frameTranslation.frame_a.t[1](quantity = "Torque", unit = "N.m") = b2.frameTranslation.ta[1];
529 Real b2.frameTranslation.frame_a.t[2](quantity = "Torque", unit = "N.m") = b2.frameTranslation.ta[2];
530 Real b2.frameTranslation.frame_a.t[3](quantity = "Torque", unit = "N.m") = b2.frameTranslation.ta[3];
531 Real b2.frameTranslation.frame_a.v[1](quantity = "Velocity", unit = "m/s") = b2.frameTranslation.va[1] "Absolute velocity of frame origin, resolved in frame_a";
532 Real b2.frameTranslation.frame_a.v[2](quantity = "Velocity", unit = "m/s") = b2.frameTranslation.va[2] "Absolute velocity of frame origin, resolved in frame_a";
533 Real b2.frameTranslation.frame_a.v[3](quantity = "Velocity", unit = "m/s") = b2.frameTranslation.va[3] "Absolute velocity of frame origin, resolved in frame_a";
534 Real b2.frameTranslation.frame_a.w[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b2.frameTranslation.wa[1] "Absolute angular velocity of frame_a, resolved in frame_a";
535 Real b2.frameTranslation.frame_a.w[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b2.frameTranslation.wa[2] "Absolute angular velocity of frame_a, resolved in frame_a";
536 Real b2.frameTranslation.frame_a.w[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b2.frameTranslation.wa[3] "Absolute angular velocity of frame_a, resolved in frame_a";
537 Real b2.frameTranslation.frame_a.z[1](quantity = "AngularAcceleration", unit = "rad/s2") = b2.frameTranslation.za[1] "Absolute angular acceleration of frame_a, resolved in frame_a";
538 Real b2.frameTranslation.frame_a.z[2](quantity = "AngularAcceleration", unit = "rad/s2") = b2.frameTranslation.za[2] "Absolute angular acceleration of frame_a, resolved in frame_a";
539 Real b2.frameTranslation.frame_a.z[3](quantity = "AngularAcceleration", unit = "rad/s2") = b2.frameTranslation.za[3] "Absolute angular acceleration of frame_a, resolved in frame_a";
540 Real b2.frameTranslation.frame_b.S[1,1] = b2.frameTranslation.Sb[1,1] "Transformation matrix from frame_a to inertial system";
541 Real b2.frameTranslation.frame_b.S[1,2] = b2.frameTranslation.Sb[1,2] "Transformation matrix from frame_a to inertial system";
542 Real b2.frameTranslation.frame_b.S[1,3] = b2.frameTranslation.Sb[1,3] "Transformation matrix from frame_a to inertial system";
543 Real b2.frameTranslation.frame_b.S[2,1] = b2.frameTranslation.Sb[2,1] "Transformation matrix from frame_a to inertial system";
544 Real b2.frameTranslation.frame_b.S[2,2] = b2.frameTranslation.Sb[2,2] "Transformation matrix from frame_a to inertial system";
545 Real b2.frameTranslation.frame_b.S[2,3] = b2.frameTranslation.Sb[2,3] "Transformation matrix from frame_a to inertial system";
546 Real b2.frameTranslation.frame_b.S[3,1] = b2.frameTranslation.Sb[3,1] "Transformation matrix from frame_a to inertial system";
547 Real b2.frameTranslation.frame_b.S[3,2] = b2.frameTranslation.Sb[3,2] "Transformation matrix from frame_a to inertial system";
548 Real b2.frameTranslation.frame_b.S[3,3] = b2.frameTranslation.Sb[3,3] "Transformation matrix from frame_a to inertial system";
549 Real b2.frameTranslation.frame_b.a[1](quantity = "Acceleration", unit = "m/s2") = b2.frameTranslation.ab[1] "Absolute acceleration of frame origin, resolved in frame_a";
550 Real b2.frameTranslation.frame_b.a[2](quantity = "Acceleration", unit = "m/s2") = b2.frameTranslation.ab[2] "Absolute acceleration of frame origin, resolved in frame_a";
551 Real b2.frameTranslation.frame_b.a[3](quantity = "Acceleration", unit = "m/s2") = b2.frameTranslation.ab[3] "Absolute acceleration of frame origin, resolved in frame_a";
552 Real b2.frameTranslation.frame_b.f[1](quantity = "Force", unit = "N") = -b2.frameTranslation.fb[1];
553 Real b2.frameTranslation.frame_b.f[2](quantity = "Force", unit = "N") = -b2.frameTranslation.fb[2];
554 Real b2.frameTranslation.frame_b.f[3](quantity = "Force", unit = "N") = -b2.frameTranslation.fb[3];
555 Real b2.frameTranslation.frame_b.t[1](quantity = "Torque", unit = "N.m") = -b2.frameTranslation.tb[1];
556 Real b2.frameTranslation.frame_b.t[2](quantity = "Torque", unit = "N.m") = -b2.frameTranslation.tb[2];
557 Real b2.frameTranslation.frame_b.t[3](quantity = "Torque", unit = "N.m") = -b2.frameTranslation.tb[3];
558 Real b2.frameTranslation.frame_b.v[1](quantity = "Velocity", unit = "m/s") = b2.frameTranslation.vb[1] "Absolute velocity of frame origin, resolved in frame_a";
559 Real b2.frameTranslation.frame_b.v[2](quantity = "Velocity", unit = "m/s") = b2.frameTranslation.vb[2] "Absolute velocity of frame origin, resolved in frame_a";
560 Real b2.frameTranslation.frame_b.v[3](quantity = "Velocity", unit = "m/s") = b2.frameTranslation.vb[3] "Absolute velocity of frame origin, resolved in frame_a";
561 Real b2.frameTranslation.frame_b.w[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b2.frameTranslation.wb[1] "Absolute angular velocity of frame_a, resolved in frame_a";
562 Real b2.frameTranslation.frame_b.w[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b2.frameTranslation.wb[2] "Absolute angular velocity of frame_a, resolved in frame_a";
563 Real b2.frameTranslation.frame_b.w[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b2.frameTranslation.wb[3] "Absolute angular velocity of frame_a, resolved in frame_a";
564 Real b2.frameTranslation.frame_b.z[1](quantity = "AngularAcceleration", unit = "rad/s2") = b2.frameTranslation.zb[1] "Absolute angular acceleration of frame_a, resolved in frame_a";
565 Real b2.frameTranslation.frame_b.z[2](quantity = "AngularAcceleration", unit = "rad/s2") = b2.frameTranslation.zb[2] "Absolute angular acceleration of frame_a, resolved in frame_a";
566 Real b2.frameTranslation.frame_b.z[3](quantity = "AngularAcceleration", unit = "rad/s2") = b2.frameTranslation.zb[3] "Absolute angular acceleration of frame_a, resolved in frame_a";
567 Real b2.frame_a.S[1,1] = b2.Sa[1,1] "Transformation matrix from frame_a to inertial system";
568 Real b2.frame_a.S[1,2] = b2.Sa[1,2] "Transformation matrix from frame_a to inertial system";
569 Real b2.frame_a.S[1,3] = b2.Sa[1,3] "Transformation matrix from frame_a to inertial system";
570 Real b2.frame_a.S[2,1] = b2.Sa[2,1] "Transformation matrix from frame_a to inertial system";
571 Real b2.frame_a.S[2,2] = b2.Sa[2,2] "Transformation matrix from frame_a to inertial system";
572 Real b2.frame_a.S[2,3] = b2.Sa[2,3] "Transformation matrix from frame_a to inertial system";
573 Real b2.frame_a.S[3,1] = b2.Sa[3,1] "Transformation matrix from frame_a to inertial system";
574 Real b2.frame_a.S[3,2] = b2.Sa[3,2] "Transformation matrix from frame_a to inertial system";
575 Real b2.frame_a.S[3,3] = b2.Sa[3,3] "Transformation matrix from frame_a to inertial system";
576 Real b2.frame_a.a[1](quantity = "Acceleration", unit = "m/s2") = b2.aa[1] "Absolute acceleration of frame origin, resolved in frame_a";
577 Real b2.frame_a.a[2](quantity = "Acceleration", unit = "m/s2") = b2.aa[2] "Absolute acceleration of frame origin, resolved in frame_a";
578 Real b2.frame_a.a[3](quantity = "Acceleration", unit = "m/s2") = b2.aa[3] "Absolute acceleration of frame origin, resolved in frame_a";
579 Real b2.frame_a.f[1](quantity = "Force", unit = "N") = b2.fa[1];
580 Real b2.frame_a.f[2](quantity = "Force", unit = "N") = b2.fa[2];
581 Real b2.frame_a.f[3](quantity = "Force", unit = "N") = b2.fa[3];
582 Real b2.frame_a.t[1](quantity = "Torque", unit = "N.m") = b2.ta[1];
583 Real b2.frame_a.t[2](quantity = "Torque", unit = "N.m") = b2.ta[2];
584 Real b2.frame_a.t[3](quantity = "Torque", unit = "N.m") = b2.ta[3];
585 Real b2.frame_a.v[1](quantity = "Velocity", unit = "m/s") = b2.va[1] "Absolute velocity of frame origin, resolved in frame_a";
586 Real b2.frame_a.v[2](quantity = "Velocity", unit = "m/s") = b2.va[2] "Absolute velocity of frame origin, resolved in frame_a";
587 Real b2.frame_a.v[3](quantity = "Velocity", unit = "m/s") = b2.va[3] "Absolute velocity of frame origin, resolved in frame_a";
588 Real b2.frame_a.w[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b2.wa[1] "Absolute angular velocity of frame_a, resolved in frame_a";
589 Real b2.frame_a.w[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b2.wa[2] "Absolute angular velocity of frame_a, resolved in frame_a";
590 Real b2.frame_a.w[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b2.wa[3] "Absolute angular velocity of frame_a, resolved in frame_a";
591 Real b2.frame_a.z[1](quantity = "AngularAcceleration", unit = "rad/s2") = b2.za[1] "Absolute angular acceleration of frame_a, resolved in frame_a";
592 Real b2.frame_a.z[2](quantity = "AngularAcceleration", unit = "rad/s2") = b2.za[2] "Absolute angular acceleration of frame_a, resolved in frame_a";
593 Real b2.frame_a.z[3](quantity = "AngularAcceleration", unit = "rad/s2") = b2.za[3] "Absolute angular acceleration of frame_a, resolved in frame_a";
594 Real b2.frame_b.S[1,1] = b2.Sb[1,1] "Transformation matrix from frame_a to inertial system";
595 Real b2.frame_b.S[1,2] = b2.Sb[1,2] "Transformation matrix from frame_a to inertial system";
596 Real b2.frame_b.S[1,3] = b2.Sb[1,3] "Transformation matrix from frame_a to inertial system";
597 Real b2.frame_b.S[2,1] = b2.Sb[2,1] "Transformation matrix from frame_a to inertial system";
598 Real b2.frame_b.S[2,2] = b2.Sb[2,2] "Transformation matrix from frame_a to inertial system";
599 Real b2.frame_b.S[2,3] = b2.Sb[2,3] "Transformation matrix from frame_a to inertial system";
600 Real b2.frame_b.S[3,1] = b2.Sb[3,1] "Transformation matrix from frame_a to inertial system";
601 Real b2.frame_b.S[3,2] = b2.Sb[3,2] "Transformation matrix from frame_a to inertial system";
602 Real b2.frame_b.S[3,3] = b2.Sb[3,3] "Transformation matrix from frame_a to inertial system";
603 Real b2.frame_b.a[1](quantity = "Acceleration", unit = "m/s2") = b2.ab[1] "Absolute acceleration of frame origin, resolved in frame_a";
604 Real b2.frame_b.a[2](quantity = "Acceleration", unit = "m/s2") = b2.ab[2] "Absolute acceleration of frame origin, resolved in frame_a";
605 Real b2.frame_b.a[3](quantity = "Acceleration", unit = "m/s2") = b2.ab[3] "Absolute acceleration of frame origin, resolved in frame_a";
606 Real b2.frame_b.f[1](quantity = "Force", unit = "N") = -b2.fb[1];
607 Real b2.frame_b.f[2](quantity = "Force", unit = "N") = -b2.fb[2];
608 Real b2.frame_b.f[3](quantity = "Force", unit = "N") = -b2.fb[3];
609 Real b2.frame_b.t[1](quantity = "Torque", unit = "N.m") = -b2.tb[1];
610 Real b2.frame_b.t[2](quantity = "Torque", unit = "N.m") = -b2.tb[2];
611 Real b2.frame_b.t[3](quantity = "Torque", unit = "N.m") = -b2.tb[3];
612 Real b2.frame_b.v[1](quantity = "Velocity", unit = "m/s") = b2.vb[1] "Absolute velocity of frame origin, resolved in frame_a";
613 Real b2.frame_b.v[2](quantity = "Velocity", unit = "m/s") = b2.vb[2] "Absolute velocity of frame origin, resolved in frame_a";
614 Real b2.frame_b.v[3](quantity = "Velocity", unit = "m/s") = b2.vb[3] "Absolute velocity of frame origin, resolved in frame_a";
615 Real b2.frame_b.w[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b2.wb[1] "Absolute angular velocity of frame_a, resolved in frame_a";
616 Real b2.frame_b.w[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b2.wb[2] "Absolute angular velocity of frame_a, resolved in frame_a";
617 Real b2.frame_b.w[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b2.wb[3] "Absolute angular velocity of frame_a, resolved in frame_a";
618 Real b2.frame_b.z[1](quantity = "AngularAcceleration", unit = "rad/s2") = b2.zb[1] "Absolute angular acceleration of frame_a, resolved in frame_a";
619 Real b2.frame_b.z[2](quantity = "AngularAcceleration", unit = "rad/s2") = b2.zb[2] "Absolute angular acceleration of frame_a, resolved in frame_a";
620 Real b2.frame_b.z[3](quantity = "AngularAcceleration", unit = "rad/s2") = b2.zb[3] "Absolute angular acceleration of frame_a, resolved in frame_a";
621 Real b2.mi(quantity = "Mass", unit = "kg", min = 0.0);
622 Real b2.mo(quantity = "Mass", unit = "kg", min = 0.0);
623 Real b3.I22(quantity = "MomentOfInertia", unit = "kg.m2");
624 Real b3.Scyl[1,1];
625 Real b3.Scyl[1,2];
626 Real b3.Scyl[1,3];
627 Real b3.Scyl[2,1];
628 Real b3.Scyl[2,2];
629 Real b3.Scyl[2,3];
630 Real b3.Scyl[3,1];
631 Real b3.Scyl[3,2];
632 Real b3.Scyl[3,3];
633 Real b3.body.I[1,1](quantity = "MomentOfInertia", unit = "kg.m2");
634 Real b3.body.I[1,2](quantity = "MomentOfInertia", unit = "kg.m2");
635 Real b3.body.I[1,3](quantity = "MomentOfInertia", unit = "kg.m2");
636 Real b3.body.I[2,1](quantity = "MomentOfInertia", unit = "kg.m2");
637 Real b3.body.I[2,2](quantity = "MomentOfInertia", unit = "kg.m2");
638 Real b3.body.I[2,3](quantity = "MomentOfInertia", unit = "kg.m2");
639 Real b3.body.I[3,1](quantity = "MomentOfInertia", unit = "kg.m2");
640 Real b3.body.I[3,2](quantity = "MomentOfInertia", unit = "kg.m2");
641 Real b3.body.I[3,3](quantity = "MomentOfInertia", unit = "kg.m2");
642 Real b3.body.frame_a.S[1,1] = b3.body.Sa[1,1] "Transformation matrix from frame_a to inertial system";
643 Real b3.body.frame_a.S[1,2] = b3.body.Sa[1,2] "Transformation matrix from frame_a to inertial system";
644 Real b3.body.frame_a.S[1,3] = b3.body.Sa[1,3] "Transformation matrix from frame_a to inertial system";
645 Real b3.body.frame_a.S[2,1] = b3.body.Sa[2,1] "Transformation matrix from frame_a to inertial system";
646 Real b3.body.frame_a.S[2,2] = b3.body.Sa[2,2] "Transformation matrix from frame_a to inertial system";
647 Real b3.body.frame_a.S[2,3] = b3.body.Sa[2,3] "Transformation matrix from frame_a to inertial system";
648 Real b3.body.frame_a.S[3,1] = b3.body.Sa[3,1] "Transformation matrix from frame_a to inertial system";
649 Real b3.body.frame_a.S[3,2] = b3.body.Sa[3,2] "Transformation matrix from frame_a to inertial system";
650 Real b3.body.frame_a.S[3,3] = b3.body.Sa[3,3] "Transformation matrix from frame_a to inertial system";
651 Real b3.body.frame_a.a[1](quantity = "Acceleration", unit = "m/s2") = b3.body.aa[1] "Absolute acceleration of frame origin, resolved in frame_a";
652 Real b3.body.frame_a.a[2](quantity = "Acceleration", unit = "m/s2") = b3.body.aa[2] "Absolute acceleration of frame origin, resolved in frame_a";
653 Real b3.body.frame_a.a[3](quantity = "Acceleration", unit = "m/s2") = b3.body.aa[3] "Absolute acceleration of frame origin, resolved in frame_a";
654 Real b3.body.frame_a.f[1](quantity = "Force", unit = "N") = b3.body.fa[1];
655 Real b3.body.frame_a.f[2](quantity = "Force", unit = "N") = b3.body.fa[2];
656 Real b3.body.frame_a.f[3](quantity = "Force", unit = "N") = b3.body.fa[3];
657 Real b3.body.frame_a.t[1](quantity = "Torque", unit = "N.m") = b3.body.ta[1];
658 Real b3.body.frame_a.t[2](quantity = "Torque", unit = "N.m") = b3.body.ta[2];
659 Real b3.body.frame_a.t[3](quantity = "Torque", unit = "N.m") = b3.body.ta[3];
660 Real b3.body.frame_a.v[1](quantity = "Velocity", unit = "m/s") = b3.body.va[1] "Absolute velocity of frame origin, resolved in frame_a";
661 Real b3.body.frame_a.v[2](quantity = "Velocity", unit = "m/s") = b3.body.va[2] "Absolute velocity of frame origin, resolved in frame_a";
662 Real b3.body.frame_a.v[3](quantity = "Velocity", unit = "m/s") = b3.body.va[3] "Absolute velocity of frame origin, resolved in frame_a";
663 Real b3.body.frame_a.w[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b3.body.wa[1] "Absolute angular velocity of frame_a, resolved in frame_a";
664 Real b3.body.frame_a.w[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b3.body.wa[2] "Absolute angular velocity of frame_a, resolved in frame_a";
665 Real b3.body.frame_a.w[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b3.body.wa[3] "Absolute angular velocity of frame_a, resolved in frame_a";
666 Real b3.body.frame_a.z[1](quantity = "AngularAcceleration", unit = "rad/s2") = b3.body.za[1] "Absolute angular acceleration of frame_a, resolved in frame_a";
667 Real b3.body.frame_a.z[2](quantity = "AngularAcceleration", unit = "rad/s2") = b3.body.za[2] "Absolute angular acceleration of frame_a, resolved in frame_a";
668 Real b3.body.frame_a.z[3](quantity = "AngularAcceleration", unit = "rad/s2") = b3.body.za[3] "Absolute angular acceleration of frame_a, resolved in frame_a";
669 Real b3.body.m(quantity = "Mass", unit = "kg", min = 0.0);
670 Real b3.body.rCM[1](quantity = "Length", unit = "m");
671 Real b3.body.rCM[2](quantity = "Length", unit = "m");
672 Real b3.body.rCM[3](quantity = "Length", unit = "m");
673 Real b3.box.Sshape[1,1] "local 3 x 3 transformation matrix.";
674 Real b3.box.Sshape[1,2] "local 3 x 3 transformation matrix.";
675 Real b3.box.Sshape[1,3] "local 3 x 3 transformation matrix.";
676 Real b3.box.Sshape[2,1] "local 3 x 3 transformation matrix.";
677 Real b3.box.Sshape[2,2] "local 3 x 3 transformation matrix.";
678 Real b3.box.Sshape[2,3] "local 3 x 3 transformation matrix.";
679 Real b3.box.Sshape[3,1] "local 3 x 3 transformation matrix.";
680 Real b3.box.Sshape[3,2] "local 3 x 3 transformation matrix.";
681 Real b3.box.Sshape[3,3] "local 3 x 3 transformation matrix.";
682 Real b3.box.mcShape.Sshape[1,1] = b3.box.Sshape[1,1] "local 3 x 3 transformation matrix.";
683 Real b3.box.mcShape.Sshape[1,2] = b3.box.Sshape[1,2] "local 3 x 3 transformation matrix.";
684 Real b3.box.mcShape.Sshape[1,3] = b3.box.Sshape[1,3] "local 3 x 3 transformation matrix.";
685 Real b3.box.mcShape.Sshape[2,1] = b3.box.Sshape[2,1] "local 3 x 3 transformation matrix.";
686 Real b3.box.mcShape.Sshape[2,2] = b3.box.Sshape[2,2] "local 3 x 3 transformation matrix.";
687 Real b3.box.mcShape.Sshape[2,3] = b3.box.Sshape[2,3] "local 3 x 3 transformation matrix.";
688 Real b3.box.mcShape.Sshape[3,1] = b3.box.Sshape[3,1] "local 3 x 3 transformation matrix.";
689 Real b3.box.mcShape.Sshape[3,2] = b3.box.Sshape[3,2] "local 3 x 3 transformation matrix.";
690 Real b3.box.mcShape.Sshape[3,3] = b3.box.Sshape[3,3] "local 3 x 3 transformation matrix.";
691 Real b3.box.mcShape.abs_n_x = sqrt(b3.box.mcShape.lengthDirection[1] ^ 2.0 + (b3.box.mcShape.lengthDirection[2] ^ 2.0 + b3.box.mcShape.lengthDirection[3] ^ 2.0));
692 Real b3.box.mcShape.e_x[1] = if noEvent(b3.box.mcShape.abs_n_x < 1e-10) then 1.0 else b3.box.mcShape.lengthDirection[1] / b3.box.mcShape.abs_n_x;
693 Real b3.box.mcShape.e_x[2] = if noEvent(b3.box.mcShape.abs_n_x < 1e-10) then 0.0 else b3.box.mcShape.lengthDirection[2] / b3.box.mcShape.abs_n_x;
694 Real b3.box.mcShape.e_x[3] = if noEvent(b3.box.mcShape.abs_n_x < 1e-10) then 0.0 else b3.box.mcShape.lengthDirection[3] / b3.box.mcShape.abs_n_x;
695 Real b3.box.mcShape.e_y[1] = cross(MCVisualShape.local_normalize(cross({b3.box.mcShape.e_x[1],b3.box.mcShape.e_x[2],b3.box.mcShape.e_x[3]},if noEvent(b3.box.mcShape.n_z_aux[1] ^ 2.0 + (b3.box.mcShape.n_z_aux[2] ^ 2.0 + b3.box.mcShape.n_z_aux[3] ^ 2.0) > 1e-06) then {b3.box.mcShape.widthDirection[1],b3.box.mcShape.widthDirection[2],b3.box.mcShape.widthDirection[3]} else if noEvent(abs(b3.box.mcShape.e_x[1]) > 1e-06) then {0.0,1.0,0.0} else {1.0,0.0,0.0})),{b3.box.mcShape.e_x[1],b3.box.mcShape.e_x[2],b3.box.mcShape.e_x[3]})[1];
696 Real b3.box.mcShape.e_y[2] = cross(MCVisualShape.local_normalize(cross({b3.box.mcShape.e_x[1],b3.box.mcShape.e_x[2],b3.box.mcShape.e_x[3]},if noEvent(b3.box.mcShape.n_z_aux[1] ^ 2.0 + (b3.box.mcShape.n_z_aux[2] ^ 2.0 + b3.box.mcShape.n_z_aux[3] ^ 2.0) > 1e-06) then {b3.box.mcShape.widthDirection[1],b3.box.mcShape.widthDirection[2],b3.box.mcShape.widthDirection[3]} else if noEvent(abs(b3.box.mcShape.e_x[1]) > 1e-06) then {0.0,1.0,0.0} else {1.0,0.0,0.0})),{b3.box.mcShape.e_x[1],b3.box.mcShape.e_x[2],b3.box.mcShape.e_x[3]})[2];
697 Real b3.box.mcShape.e_y[3] = cross(MCVisualShape.local_normalize(cross({b3.box.mcShape.e_x[1],b3.box.mcShape.e_x[2],b3.box.mcShape.e_x[3]},if noEvent(b3.box.mcShape.n_z_aux[1] ^ 2.0 + (b3.box.mcShape.n_z_aux[2] ^ 2.0 + b3.box.mcShape.n_z_aux[3] ^ 2.0) > 1e-06) then {b3.box.mcShape.widthDirection[1],b3.box.mcShape.widthDirection[2],b3.box.mcShape.widthDirection[3]} else if noEvent(abs(b3.box.mcShape.e_x[1]) > 1e-06) then {0.0,1.0,0.0} else {1.0,0.0,0.0})),{b3.box.mcShape.e_x[1],b3.box.mcShape.e_x[2],b3.box.mcShape.e_x[3]})[3];
698 Real b3.box.mcShape.e_z[1] = b3.box.mcShape.e_x[2] * b3.box.mcShape.e_y[3] - b3.box.mcShape.e_x[3] * b3.box.mcShape.e_y[2];
699 Real b3.box.mcShape.e_z[2] = b3.box.mcShape.e_x[3] * b3.box.mcShape.e_y[1] - b3.box.mcShape.e_x[1] * b3.box.mcShape.e_y[3];
700 Real b3.box.mcShape.e_z[3] = b3.box.mcShape.e_x[1] * b3.box.mcShape.e_y[2] - b3.box.mcShape.e_x[2] * b3.box.mcShape.e_y[1];
701 Real b3.box.mcShape.n_z_aux[1] = b3.box.mcShape.e_x[2] * b3.box.mcShape.widthDirection[3] - b3.box.mcShape.e_x[3] * b3.box.mcShape.widthDirection[2];
702 Real b3.box.mcShape.n_z_aux[2] = b3.box.mcShape.e_x[3] * b3.box.mcShape.widthDirection[1] - b3.box.mcShape.e_x[1] * b3.box.mcShape.widthDirection[3];
703 Real b3.box.mcShape.n_z_aux[3] = b3.box.mcShape.e_x[1] * b3.box.mcShape.widthDirection[2] - b3.box.mcShape.e_x[2] * b3.box.mcShape.widthDirection[1];
704 Real b3.box.nHeight[1];
705 Real b3.box.nHeight[2];
706 Real b3.box.nHeight[3];
707 Real b3.box.nLength[1];
708 Real b3.box.nLength[2];
709 Real b3.box.nLength[3];
710 Real b3.box.nWidth[1];
711 Real b3.box.nWidth[2];
712 Real b3.box.nWidth[3];
713 Real b3.frameTranslation.frame_a.S[1,1] = b3.frameTranslation.Sa[1,1] "Transformation matrix from frame_a to inertial system";
714 Real b3.frameTranslation.frame_a.S[1,2] = b3.frameTranslation.Sa[1,2] "Transformation matrix from frame_a to inertial system";
715 Real b3.frameTranslation.frame_a.S[1,3] = b3.frameTranslation.Sa[1,3] "Transformation matrix from frame_a to inertial system";
716 Real b3.frameTranslation.frame_a.S[2,1] = b3.frameTranslation.Sa[2,1] "Transformation matrix from frame_a to inertial system";
717 Real b3.frameTranslation.frame_a.S[2,2] = b3.frameTranslation.Sa[2,2] "Transformation matrix from frame_a to inertial system";
718 Real b3.frameTranslation.frame_a.S[2,3] = b3.frameTranslation.Sa[2,3] "Transformation matrix from frame_a to inertial system";
719 Real b3.frameTranslation.frame_a.S[3,1] = b3.frameTranslation.Sa[3,1] "Transformation matrix from frame_a to inertial system";
720 Real b3.frameTranslation.frame_a.S[3,2] = b3.frameTranslation.Sa[3,2] "Transformation matrix from frame_a to inertial system";
721 Real b3.frameTranslation.frame_a.S[3,3] = b3.frameTranslation.Sa[3,3] "Transformation matrix from frame_a to inertial system";
722 Real b3.frameTranslation.frame_a.a[1](quantity = "Acceleration", unit = "m/s2") = b3.frameTranslation.aa[1] "Absolute acceleration of frame origin, resolved in frame_a";
723 Real b3.frameTranslation.frame_a.a[2](quantity = "Acceleration", unit = "m/s2") = b3.frameTranslation.aa[2] "Absolute acceleration of frame origin, resolved in frame_a";
724 Real b3.frameTranslation.frame_a.a[3](quantity = "Acceleration", unit = "m/s2") = b3.frameTranslation.aa[3] "Absolute acceleration of frame origin, resolved in frame_a";
725 Real b3.frameTranslation.frame_a.f[1](quantity = "Force", unit = "N") = b3.frameTranslation.fa[1];
726 Real b3.frameTranslation.frame_a.f[2](quantity = "Force", unit = "N") = b3.frameTranslation.fa[2];
727 Real b3.frameTranslation.frame_a.f[3](quantity = "Force", unit = "N") = b3.frameTranslation.fa[3];
728 Real b3.frameTranslation.frame_a.t[1](quantity = "Torque", unit = "N.m") = b3.frameTranslation.ta[1];
729 Real b3.frameTranslation.frame_a.t[2](quantity = "Torque", unit = "N.m") = b3.frameTranslation.ta[2];
730 Real b3.frameTranslation.frame_a.t[3](quantity = "Torque", unit = "N.m") = b3.frameTranslation.ta[3];
731 Real b3.frameTranslation.frame_a.v[1](quantity = "Velocity", unit = "m/s") = b3.frameTranslation.va[1] "Absolute velocity of frame origin, resolved in frame_a";
732 Real b3.frameTranslation.frame_a.v[2](quantity = "Velocity", unit = "m/s") = b3.frameTranslation.va[2] "Absolute velocity of frame origin, resolved in frame_a";
733 Real b3.frameTranslation.frame_a.v[3](quantity = "Velocity", unit = "m/s") = b3.frameTranslation.va[3] "Absolute velocity of frame origin, resolved in frame_a";
734 Real b3.frameTranslation.frame_a.w[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b3.frameTranslation.wa[1] "Absolute angular velocity of frame_a, resolved in frame_a";
735 Real b3.frameTranslation.frame_a.w[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b3.frameTranslation.wa[2] "Absolute angular velocity of frame_a, resolved in frame_a";
736 Real b3.frameTranslation.frame_a.w[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b3.frameTranslation.wa[3] "Absolute angular velocity of frame_a, resolved in frame_a";
737 Real b3.frameTranslation.frame_a.z[1](quantity = "AngularAcceleration", unit = "rad/s2") = b3.frameTranslation.za[1] "Absolute angular acceleration of frame_a, resolved in frame_a";
738 Real b3.frameTranslation.frame_a.z[2](quantity = "AngularAcceleration", unit = "rad/s2") = b3.frameTranslation.za[2] "Absolute angular acceleration of frame_a, resolved in frame_a";
739 Real b3.frameTranslation.frame_a.z[3](quantity = "AngularAcceleration", unit = "rad/s2") = b3.frameTranslation.za[3] "Absolute angular acceleration of frame_a, resolved in frame_a";
740 Real b3.frameTranslation.frame_b.S[1,1] = b3.frameTranslation.Sb[1,1] "Transformation matrix from frame_a to inertial system";
741 Real b3.frameTranslation.frame_b.S[1,2] = b3.frameTranslation.Sb[1,2] "Transformation matrix from frame_a to inertial system";
742 Real b3.frameTranslation.frame_b.S[1,3] = b3.frameTranslation.Sb[1,3] "Transformation matrix from frame_a to inertial system";
743 Real b3.frameTranslation.frame_b.S[2,1] = b3.frameTranslation.Sb[2,1] "Transformation matrix from frame_a to inertial system";
744 Real b3.frameTranslation.frame_b.S[2,2] = b3.frameTranslation.Sb[2,2] "Transformation matrix from frame_a to inertial system";
745 Real b3.frameTranslation.frame_b.S[2,3] = b3.frameTranslation.Sb[2,3] "Transformation matrix from frame_a to inertial system";
746 Real b3.frameTranslation.frame_b.S[3,1] = b3.frameTranslation.Sb[3,1] "Transformation matrix from frame_a to inertial system";
747 Real b3.frameTranslation.frame_b.S[3,2] = b3.frameTranslation.Sb[3,2] "Transformation matrix from frame_a to inertial system";
748 Real b3.frameTranslation.frame_b.S[3,3] = b3.frameTranslation.Sb[3,3] "Transformation matrix from frame_a to inertial system";
749 Real b3.frameTranslation.frame_b.a[1](quantity = "Acceleration", unit = "m/s2") = b3.frameTranslation.ab[1] "Absolute acceleration of frame origin, resolved in frame_a";
750 Real b3.frameTranslation.frame_b.a[2](quantity = "Acceleration", unit = "m/s2") = b3.frameTranslation.ab[2] "Absolute acceleration of frame origin, resolved in frame_a";
751 Real b3.frameTranslation.frame_b.a[3](quantity = "Acceleration", unit = "m/s2") = b3.frameTranslation.ab[3] "Absolute acceleration of frame origin, resolved in frame_a";
752 Real b3.frameTranslation.frame_b.f[1](quantity = "Force", unit = "N") = -b3.frameTranslation.fb[1];
753 Real b3.frameTranslation.frame_b.f[2](quantity = "Force", unit = "N") = -b3.frameTranslation.fb[2];
754 Real b3.frameTranslation.frame_b.f[3](quantity = "Force", unit = "N") = -b3.frameTranslation.fb[3];
755 Real b3.frameTranslation.frame_b.t[1](quantity = "Torque", unit = "N.m") = -b3.frameTranslation.tb[1];
756 Real b3.frameTranslation.frame_b.t[2](quantity = "Torque", unit = "N.m") = -b3.frameTranslation.tb[2];
757 Real b3.frameTranslation.frame_b.t[3](quantity = "Torque", unit = "N.m") = -b3.frameTranslation.tb[3];
758 Real b3.frameTranslation.frame_b.v[1](quantity = "Velocity", unit = "m/s") = b3.frameTranslation.vb[1] "Absolute velocity of frame origin, resolved in frame_a";
759 Real b3.frameTranslation.frame_b.v[2](quantity = "Velocity", unit = "m/s") = b3.frameTranslation.vb[2] "Absolute velocity of frame origin, resolved in frame_a";
760 Real b3.frameTranslation.frame_b.v[3](quantity = "Velocity", unit = "m/s") = b3.frameTranslation.vb[3] "Absolute velocity of frame origin, resolved in frame_a";
761 Real b3.frameTranslation.frame_b.w[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b3.frameTranslation.wb[1] "Absolute angular velocity of frame_a, resolved in frame_a";
762 Real b3.frameTranslation.frame_b.w[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b3.frameTranslation.wb[2] "Absolute angular velocity of frame_a, resolved in frame_a";
763 Real b3.frameTranslation.frame_b.w[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b3.frameTranslation.wb[3] "Absolute angular velocity of frame_a, resolved in frame_a";
764 Real b3.frameTranslation.frame_b.z[1](quantity = "AngularAcceleration", unit = "rad/s2") = b3.frameTranslation.zb[1] "Absolute angular acceleration of frame_a, resolved in frame_a";
765 Real b3.frameTranslation.frame_b.z[2](quantity = "AngularAcceleration", unit = "rad/s2") = b3.frameTranslation.zb[2] "Absolute angular acceleration of frame_a, resolved in frame_a";
766 Real b3.frameTranslation.frame_b.z[3](quantity = "AngularAcceleration", unit = "rad/s2") = b3.frameTranslation.zb[3] "Absolute angular acceleration of frame_a, resolved in frame_a";
767 Real b3.frame_a.S[1,1] = b3.Sa[1,1] "Transformation matrix from frame_a to inertial system";
768 Real b3.frame_a.S[1,2] = b3.Sa[1,2] "Transformation matrix from frame_a to inertial system";
769 Real b3.frame_a.S[1,3] = b3.Sa[1,3] "Transformation matrix from frame_a to inertial system";
770 Real b3.frame_a.S[2,1] = b3.Sa[2,1] "Transformation matrix from frame_a to inertial system";
771 Real b3.frame_a.S[2,2] = b3.Sa[2,2] "Transformation matrix from frame_a to inertial system";
772 Real b3.frame_a.S[2,3] = b3.Sa[2,3] "Transformation matrix from frame_a to inertial system";
773 Real b3.frame_a.S[3,1] = b3.Sa[3,1] "Transformation matrix from frame_a to inertial system";
774 Real b3.frame_a.S[3,2] = b3.Sa[3,2] "Transformation matrix from frame_a to inertial system";
775 Real b3.frame_a.S[3,3] = b3.Sa[3,3] "Transformation matrix from frame_a to inertial system";
776 Real b3.frame_a.a[1](quantity = "Acceleration", unit = "m/s2") = b3.aa[1] "Absolute acceleration of frame origin, resolved in frame_a";
777 Real b3.frame_a.a[2](quantity = "Acceleration", unit = "m/s2") = b3.aa[2] "Absolute acceleration of frame origin, resolved in frame_a";
778 Real b3.frame_a.a[3](quantity = "Acceleration", unit = "m/s2") = b3.aa[3] "Absolute acceleration of frame origin, resolved in frame_a";
779 Real b3.frame_a.f[1](quantity = "Force", unit = "N") = b3.fa[1];
780 Real b3.frame_a.f[2](quantity = "Force", unit = "N") = b3.fa[2];
781 Real b3.frame_a.f[3](quantity = "Force", unit = "N") = b3.fa[3];
782 Real b3.frame_a.t[1](quantity = "Torque", unit = "N.m") = b3.ta[1];
783 Real b3.frame_a.t[2](quantity = "Torque", unit = "N.m") = b3.ta[2];
784 Real b3.frame_a.t[3](quantity = "Torque", unit = "N.m") = b3.ta[3];
785 Real b3.frame_a.v[1](quantity = "Velocity", unit = "m/s") = b3.va[1] "Absolute velocity of frame origin, resolved in frame_a";
786 Real b3.frame_a.v[2](quantity = "Velocity", unit = "m/s") = b3.va[2] "Absolute velocity of frame origin, resolved in frame_a";
787 Real b3.frame_a.v[3](quantity = "Velocity", unit = "m/s") = b3.va[3] "Absolute velocity of frame origin, resolved in frame_a";
788 Real b3.frame_a.w[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b3.wa[1] "Absolute angular velocity of frame_a, resolved in frame_a";
789 Real b3.frame_a.w[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b3.wa[2] "Absolute angular velocity of frame_a, resolved in frame_a";
790 Real b3.frame_a.w[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b3.wa[3] "Absolute angular velocity of frame_a, resolved in frame_a";
791 Real b3.frame_a.z[1](quantity = "AngularAcceleration", unit = "rad/s2") = b3.za[1] "Absolute angular acceleration of frame_a, resolved in frame_a";
792 Real b3.frame_a.z[2](quantity = "AngularAcceleration", unit = "rad/s2") = b3.za[2] "Absolute angular acceleration of frame_a, resolved in frame_a";
793 Real b3.frame_a.z[3](quantity = "AngularAcceleration", unit = "rad/s2") = b3.za[3] "Absolute angular acceleration of frame_a, resolved in frame_a";
794 Real b3.frame_b.S[1,1] = b3.Sb[1,1] "Transformation matrix from frame_a to inertial system";
795 Real b3.frame_b.S[1,2] = b3.Sb[1,2] "Transformation matrix from frame_a to inertial system";
796 Real b3.frame_b.S[1,3] = b3.Sb[1,3] "Transformation matrix from frame_a to inertial system";
797 Real b3.frame_b.S[2,1] = b3.Sb[2,1] "Transformation matrix from frame_a to inertial system";
798 Real b3.frame_b.S[2,2] = b3.Sb[2,2] "Transformation matrix from frame_a to inertial system";
799 Real b3.frame_b.S[2,3] = b3.Sb[2,3] "Transformation matrix from frame_a to inertial system";
800 Real b3.frame_b.S[3,1] = b3.Sb[3,1] "Transformation matrix from frame_a to inertial system";
801 Real b3.frame_b.S[3,2] = b3.Sb[3,2] "Transformation matrix from frame_a to inertial system";
802 Real b3.frame_b.S[3,3] = b3.Sb[3,3] "Transformation matrix from frame_a to inertial system";
803 Real b3.frame_b.a[1](quantity = "Acceleration", unit = "m/s2") = b3.ab[1] "Absolute acceleration of frame origin, resolved in frame_a";
804 Real b3.frame_b.a[2](quantity = "Acceleration", unit = "m/s2") = b3.ab[2] "Absolute acceleration of frame origin, resolved in frame_a";
805 Real b3.frame_b.a[3](quantity = "Acceleration", unit = "m/s2") = b3.ab[3] "Absolute acceleration of frame origin, resolved in frame_a";
806 Real b3.frame_b.f[1](quantity = "Force", unit = "N") = -b3.fb[1];
807 Real b3.frame_b.f[2](quantity = "Force", unit = "N") = -b3.fb[2];
808 Real b3.frame_b.f[3](quantity = "Force", unit = "N") = -b3.fb[3];
809 Real b3.frame_b.t[1](quantity = "Torque", unit = "N.m") = -b3.tb[1];
810 Real b3.frame_b.t[2](quantity = "Torque", unit = "N.m") = -b3.tb[2];
811 Real b3.frame_b.t[3](quantity = "Torque", unit = "N.m") = -b3.tb[3];
812 Real b3.frame_b.v[1](quantity = "Velocity", unit = "m/s") = b3.vb[1] "Absolute velocity of frame origin, resolved in frame_a";
813 Real b3.frame_b.v[2](quantity = "Velocity", unit = "m/s") = b3.vb[2] "Absolute velocity of frame origin, resolved in frame_a";
814 Real b3.frame_b.v[3](quantity = "Velocity", unit = "m/s") = b3.vb[3] "Absolute velocity of frame origin, resolved in frame_a";
815 Real b3.frame_b.w[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b3.wb[1] "Absolute angular velocity of frame_a, resolved in frame_a";
816 Real b3.frame_b.w[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b3.wb[2] "Absolute angular velocity of frame_a, resolved in frame_a";
817 Real b3.frame_b.w[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = b3.wb[3] "Absolute angular velocity of frame_a, resolved in frame_a";
818 Real b3.frame_b.z[1](quantity = "AngularAcceleration", unit = "rad/s2") = b3.zb[1] "Absolute angular acceleration of frame_a, resolved in frame_a";
819 Real b3.frame_b.z[2](quantity = "AngularAcceleration", unit = "rad/s2") = b3.zb[2] "Absolute angular acceleration of frame_a, resolved in frame_a";
820 Real b3.frame_b.z[3](quantity = "AngularAcceleration", unit = "rad/s2") = b3.zb[3] "Absolute angular acceleration of frame_a, resolved in frame_a";
821 Real b3.mi(quantity = "Mass", unit = "kg", min = 0.0);
822 Real b3.mo(quantity = "Mass", unit = "kg", min = 0.0);
823 Real barC.S_rel[1,1];
824 Real barC.S_rel[1,2];
825 Real barC.S_rel[1,3];
826 Real barC.S_rel[2,1];
827 Real barC.S_rel[2,2];
828 Real barC.S_rel[2,3];
829 Real barC.S_rel[3,1];
830 Real barC.S_rel[3,2];
831 Real barC.S_rel[3,3];
832 Real barC.a_rela[1](quantity = "Acceleration", unit = "m/s2");
833 Real barC.a_rela[2](quantity = "Acceleration", unit = "m/s2");
834 Real barC.a_rela[3](quantity = "Acceleration", unit = "m/s2");
835 Real barC.fRod(quantity = "Force", unit = "N") "Constraint force in direction of the rod";
836 Real barC.frame_a.S[1,1] = barC.Sa[1,1] "Transformation matrix from frame_a to inertial system";
837 Real barC.frame_a.S[1,2] = barC.Sa[1,2] "Transformation matrix from frame_a to inertial system";
838 Real barC.frame_a.S[1,3] = barC.Sa[1,3] "Transformation matrix from frame_a to inertial system";
839 Real barC.frame_a.S[2,1] = barC.Sa[2,1] "Transformation matrix from frame_a to inertial system";
840 Real barC.frame_a.S[2,2] = barC.Sa[2,2] "Transformation matrix from frame_a to inertial system";
841 Real barC.frame_a.S[2,3] = barC.Sa[2,3] "Transformation matrix from frame_a to inertial system";
842 Real barC.frame_a.S[3,1] = barC.Sa[3,1] "Transformation matrix from frame_a to inertial system";
843 Real barC.frame_a.S[3,2] = barC.Sa[3,2] "Transformation matrix from frame_a to inertial system";
844 Real barC.frame_a.S[3,3] = barC.Sa[3,3] "Transformation matrix from frame_a to inertial system";
845 Real barC.frame_a.a[1](quantity = "Acceleration", unit = "m/s2") = barC.aa[1] "Absolute acceleration of frame origin, resolved in frame_a";
846 Real barC.frame_a.a[2](quantity = "Acceleration", unit = "m/s2") = barC.aa[2] "Absolute acceleration of frame origin, resolved in frame_a";
847 Real barC.frame_a.a[3](quantity = "Acceleration", unit = "m/s2") = barC.aa[3] "Absolute acceleration of frame origin, resolved in frame_a";
848 Real barC.frame_a.f[1](quantity = "Force", unit = "N") = barC.fa[1];
849 Real barC.frame_a.f[2](quantity = "Force", unit = "N") = barC.fa[2];
850 Real barC.frame_a.f[3](quantity = "Force", unit = "N") = barC.fa[3];
851 Real barC.frame_a.t[1](quantity = "Torque", unit = "N.m") = barC.ta[1];
852 Real barC.frame_a.t[2](quantity = "Torque", unit = "N.m") = barC.ta[2];
853 Real barC.frame_a.t[3](quantity = "Torque", unit = "N.m") = barC.ta[3];
854 Real barC.frame_a.v[1](quantity = "Velocity", unit = "m/s") = barC.va[1] "Absolute velocity of frame origin, resolved in frame_a";
855 Real barC.frame_a.v[2](quantity = "Velocity", unit = "m/s") = barC.va[2] "Absolute velocity of frame origin, resolved in frame_a";
856 Real barC.frame_a.v[3](quantity = "Velocity", unit = "m/s") = barC.va[3] "Absolute velocity of frame origin, resolved in frame_a";
857 Real barC.frame_a.w[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = barC.wa[1] "Absolute angular velocity of frame_a, resolved in frame_a";
858 Real barC.frame_a.w[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = barC.wa[2] "Absolute angular velocity of frame_a, resolved in frame_a";
859 Real barC.frame_a.w[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = barC.wa[3] "Absolute angular velocity of frame_a, resolved in frame_a";
860 Real barC.frame_a.z[1](quantity = "AngularAcceleration", unit = "rad/s2") = barC.za[1] "Absolute angular acceleration of frame_a, resolved in frame_a";
861 Real barC.frame_a.z[2](quantity = "AngularAcceleration", unit = "rad/s2") = barC.za[2] "Absolute angular acceleration of frame_a, resolved in frame_a";
862 Real barC.frame_a.z[3](quantity = "AngularAcceleration", unit = "rad/s2") = barC.za[3] "Absolute angular acceleration of frame_a, resolved in frame_a";
863 Real barC.frame_b.S[1,1] = barC.Sb[1,1] "Transformation matrix from frame_a to inertial system";
864 Real barC.frame_b.S[1,2] = barC.Sb[1,2] "Transformation matrix from frame_a to inertial system";
865 Real barC.frame_b.S[1,3] = barC.Sb[1,3] "Transformation matrix from frame_a to inertial system";
866 Real barC.frame_b.S[2,1] = barC.Sb[2,1] "Transformation matrix from frame_a to inertial system";
867 Real barC.frame_b.S[2,2] = barC.Sb[2,2] "Transformation matrix from frame_a to inertial system";
868 Real barC.frame_b.S[2,3] = barC.Sb[2,3] "Transformation matrix from frame_a to inertial system";
869 Real barC.frame_b.S[3,1] = barC.Sb[3,1] "Transformation matrix from frame_a to inertial system";
870 Real barC.frame_b.S[3,2] = barC.Sb[3,2] "Transformation matrix from frame_a to inertial system";
871 Real barC.frame_b.S[3,3] = barC.Sb[3,3] "Transformation matrix from frame_a to inertial system";
872 Real barC.frame_b.a[1](quantity = "Acceleration", unit = "m/s2") = barC.ab[1] "Absolute acceleration of frame origin, resolved in frame_a";
873 Real barC.frame_b.a[2](quantity = "Acceleration", unit = "m/s2") = barC.ab[2] "Absolute acceleration of frame origin, resolved in frame_a";
874 Real barC.frame_b.a[3](quantity = "Acceleration", unit = "m/s2") = barC.ab[3] "Absolute acceleration of frame origin, resolved in frame_a";
875 Real barC.frame_b.f[1](quantity = "Force", unit = "N") = -barC.fb[1];
876 Real barC.frame_b.f[2](quantity = "Force", unit = "N") = -barC.fb[2];
877 Real barC.frame_b.f[3](quantity = "Force", unit = "N") = -barC.fb[3];
878 Real barC.frame_b.t[1](quantity = "Torque", unit = "N.m") = -barC.tb[1];
879 Real barC.frame_b.t[2](quantity = "Torque", unit = "N.m") = -barC.tb[2];
880 Real barC.frame_b.t[3](quantity = "Torque", unit = "N.m") = -barC.tb[3];
881 Real barC.frame_b.v[1](quantity = "Velocity", unit = "m/s") = barC.vb[1] "Absolute velocity of frame origin, resolved in frame_a";
882 Real barC.frame_b.v[2](quantity = "Velocity", unit = "m/s") = barC.vb[2] "Absolute velocity of frame origin, resolved in frame_a";
883 Real barC.frame_b.v[3](quantity = "Velocity", unit = "m/s") = barC.vb[3] "Absolute velocity of frame origin, resolved in frame_a";
884 Real barC.frame_b.w[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = barC.wb[1] "Absolute angular velocity of frame_a, resolved in frame_a";
885 Real barC.frame_b.w[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = barC.wb[2] "Absolute angular velocity of frame_a, resolved in frame_a";
886 Real barC.frame_b.w[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = barC.wb[3] "Absolute angular velocity of frame_a, resolved in frame_a";
887 Real barC.frame_b.z[1](quantity = "AngularAcceleration", unit = "rad/s2") = barC.zb[1] "Absolute angular acceleration of frame_a, resolved in frame_a";
888 Real barC.frame_b.z[2](quantity = "AngularAcceleration", unit = "rad/s2") = barC.zb[2] "Absolute angular acceleration of frame_a, resolved in frame_a";
889 Real barC.frame_b.z[3](quantity = "AngularAcceleration", unit = "rad/s2") = barC.zb[3] "Absolute angular acceleration of frame_a, resolved in frame_a";
890 Real barC.frame_c.S[1,1] = barC.Sc[1,1] "Transformation matrix from frame_a to inertial system";
891 Real barC.frame_c.S[1,2] = barC.Sc[1,2] "Transformation matrix from frame_a to inertial system";
892 Real barC.frame_c.S[1,3] = barC.Sc[1,3] "Transformation matrix from frame_a to inertial system";
893 Real barC.frame_c.S[2,1] = barC.Sc[2,1] "Transformation matrix from frame_a to inertial system";
894 Real barC.frame_c.S[2,2] = barC.Sc[2,2] "Transformation matrix from frame_a to inertial system";
895 Real barC.frame_c.S[2,3] = barC.Sc[2,3] "Transformation matrix from frame_a to inertial system";
896 Real barC.frame_c.S[3,1] = barC.Sc[3,1] "Transformation matrix from frame_a to inertial system";
897 Real barC.frame_c.S[3,2] = barC.Sc[3,2] "Transformation matrix from frame_a to inertial system";
898 Real barC.frame_c.S[3,3] = barC.Sc[3,3] "Transformation matrix from frame_a to inertial system";
899 Real barC.frame_c.a[1](quantity = "Acceleration", unit = "m/s2") = barC.ac[1] "Absolute acceleration of frame origin, resolved in frame_a";
900 Real barC.frame_c.a[2](quantity = "Acceleration", unit = "m/s2") = barC.ac[2] "Absolute acceleration of frame origin, resolved in frame_a";
901 Real barC.frame_c.a[3](quantity = "Acceleration", unit = "m/s2") = barC.ac[3] "Absolute acceleration of frame origin, resolved in frame_a";
902 Real barC.frame_c.f[1](quantity = "Force", unit = "N") = -barC.fc[1];
903 Real barC.frame_c.f[2](quantity = "Force", unit = "N") = -barC.fc[2];
904 Real barC.frame_c.f[3](quantity = "Force", unit = "N") = -barC.fc[3];
905 Real barC.frame_c.t[1](quantity = "Torque", unit = "N.m") = -barC.tc[1];
906 Real barC.frame_c.t[2](quantity = "Torque", unit = "N.m") = -barC.tc[2];
907 Real barC.frame_c.t[3](quantity = "Torque", unit = "N.m") = -barC.tc[3];
908 Real barC.frame_c.v[1](quantity = "Velocity", unit = "m/s") = barC.vc[1] "Absolute velocity of frame origin, resolved in frame_a";
909 Real barC.frame_c.v[2](quantity = "Velocity", unit = "m/s") = barC.vc[2] "Absolute velocity of frame origin, resolved in frame_a";
910 Real barC.frame_c.v[3](quantity = "Velocity", unit = "m/s") = barC.vc[3] "Absolute velocity of frame origin, resolved in frame_a";
911 Real barC.frame_c.w[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = barC.wc[1] "Absolute angular velocity of frame_a, resolved in frame_a";
912 Real barC.frame_c.w[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = barC.wc[2] "Absolute angular velocity of frame_a, resolved in frame_a";
913 Real barC.frame_c.w[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = barC.wc[3] "Absolute angular velocity of frame_a, resolved in frame_a";
914 Real barC.frame_c.z[1](quantity = "AngularAcceleration", unit = "rad/s2") = barC.zc[1] "Absolute angular acceleration of frame_a, resolved in frame_a";
915 Real barC.frame_c.z[2](quantity = "AngularAcceleration", unit = "rad/s2") = barC.zc[2] "Absolute angular acceleration of frame_a, resolved in frame_a";
916 Real barC.frame_c.z[3](quantity = "AngularAcceleration", unit = "rad/s2") = barC.zc[3] "Absolute angular acceleration of frame_a, resolved in frame_a";
917 Real barC.r_rela[1](quantity = "Length", unit = "m");
918 Real barC.r_rela[2](quantity = "Length", unit = "m");
919 Real barC.r_rela[3](quantity = "Length", unit = "m");
920 Real barC.v_rela[1](quantity = "Velocity", unit = "m/s");
921 Real barC.v_rela[2](quantity = "Velocity", unit = "m/s");
922 Real barC.v_rela[3](quantity = "Velocity", unit = "m/s");
923 Real barC.vaux[1](quantity = "Velocity", unit = "m/s");
924 Real barC.vaux[2](quantity = "Velocity", unit = "m/s");
925 Real barC.vaux[3](quantity = "Velocity", unit = "m/s");
926 Real barC.w_rela[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
927 Real barC.w_rela[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
928 Real barC.w_rela[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
929 Real barC.z_rela[1](quantity = "AngularAcceleration", unit = "rad/s2");
930 Real barC.z_rela[2](quantity = "AngularAcceleration", unit = "rad/s2");
931 Real barC.z_rela[3](quantity = "AngularAcceleration", unit = "rad/s2");
932 Real inertial.frame_b.S[1,1] "Transformation matrix from frame_a to inertial system";
933 Real inertial.frame_b.S[1,2] "Transformation matrix from frame_a to inertial system";
934 Real inertial.frame_b.S[1,3] "Transformation matrix from frame_a to inertial system";
935 Real inertial.frame_b.S[2,1] "Transformation matrix from frame_a to inertial system";
936 Real inertial.frame_b.S[2,2] "Transformation matrix from frame_a to inertial system";
937 Real inertial.frame_b.S[2,3] "Transformation matrix from frame_a to inertial system";
938 Real inertial.frame_b.S[3,1] "Transformation matrix from frame_a to inertial system";
939 Real inertial.frame_b.S[3,2] "Transformation matrix from frame_a to inertial system";
940 Real inertial.frame_b.S[3,3] "Transformation matrix from frame_a to inertial system";
941 Real inertial.frame_b.a[1](quantity = "Acceleration", unit = "m/s2") "Absolute acceleration of frame origin, resolved in frame_a";
942 Real inertial.frame_b.a[2](quantity = "Acceleration", unit = "m/s2") "Absolute acceleration of frame origin, resolved in frame_a";
943 Real inertial.frame_b.a[3](quantity = "Acceleration", unit = "m/s2") "Absolute acceleration of frame origin, resolved in frame_a";
944 Real inertial.frame_b.f[1](quantity = "Force", unit = "N");
945 Real inertial.frame_b.f[2](quantity = "Force", unit = "N");
946 Real inertial.frame_b.f[3](quantity = "Force", unit = "N");
947 Real inertial.frame_b.t[1](quantity = "Torque", unit = "N.m");
948 Real inertial.frame_b.t[2](quantity = "Torque", unit = "N.m");
949 Real inertial.frame_b.t[3](quantity = "Torque", unit = "N.m");
950 Real inertial.frame_b.v[1](quantity = "Velocity", unit = "m/s") "Absolute velocity of frame origin, resolved in frame_a";
951 Real inertial.frame_b.v[2](quantity = "Velocity", unit = "m/s") "Absolute velocity of frame origin, resolved in frame_a";
952 Real inertial.frame_b.v[3](quantity = "Velocity", unit = "m/s") "Absolute velocity of frame origin, resolved in frame_a";
953 Real inertial.frame_b.w[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") "Absolute angular velocity of frame_a, resolved in frame_a";
954 Real inertial.frame_b.w[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") "Absolute angular velocity of frame_a, resolved in frame_a";
955 Real inertial.frame_b.w[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") "Absolute angular velocity of frame_a, resolved in frame_a";
956 Real inertial.frame_b.z[1](quantity = "AngularAcceleration", unit = "rad/s2") "Absolute angular acceleration of frame_a, resolved in frame_a";
957 Real inertial.frame_b.z[2](quantity = "AngularAcceleration", unit = "rad/s2") "Absolute angular acceleration of frame_a, resolved in frame_a";
958 Real inertial.frame_b.z[3](quantity = "AngularAcceleration", unit = "rad/s2") "Absolute angular acceleration of frame_a, resolved in frame_a";
959 Real inertial.gravity[1](quantity = "Acceleration", unit = "m/s2") "Gravity acceleration vector";
960 Real inertial.gravity[2](quantity = "Acceleration", unit = "m/s2") "Gravity acceleration vector";
961 Real inertial.gravity[3](quantity = "Acceleration", unit = "m/s2") "Gravity acceleration vector";
962 Real j1.S_rel[1,1];
963 Real j1.S_rel[1,2];
964 Real j1.S_rel[1,3];
965 Real j1.S_rel[2,1];
966 Real j1.S_rel[2,2];
967 Real j1.S_rel[2,3];
968 Real j1.S_rel[3,1];
969 Real j1.S_rel[3,2];
970 Real j1.S_rel[3,3];
971 Real j1.a_rela[1](quantity = "Acceleration", unit = "m/s2");
972 Real j1.a_rela[2](quantity = "Acceleration", unit = "m/s2");
973 Real j1.a_rela[3](quantity = "Acceleration", unit = "m/s2");
974 Real j1.axis.phi(quantity = "Angle", unit = "rad", displayUnit = "deg") "Absolute rotation angle of flange";
975 Real j1.axis.tau(quantity = "Torque", unit = "N.m") "Cut torque in the flange";
976 Real j1.bearing.phi(quantity = "Angle", unit = "rad", displayUnit = "deg") "Absolute rotation angle of flange";
977 Real j1.bearing.tau(quantity = "Torque", unit = "N.m") "Cut torque in the flange";
978 Real j1.cosq;
979 Real j1.frame_a.S[1,1] = j1.Sa[1,1] "Transformation matrix from frame_a to inertial system";
980 Real j1.frame_a.S[1,2] = j1.Sa[1,2] "Transformation matrix from frame_a to inertial system";
981 Real j1.frame_a.S[1,3] = j1.Sa[1,3] "Transformation matrix from frame_a to inertial system";
982 Real j1.frame_a.S[2,1] = j1.Sa[2,1] "Transformation matrix from frame_a to inertial system";
983 Real j1.frame_a.S[2,2] = j1.Sa[2,2] "Transformation matrix from frame_a to inertial system";
984 Real j1.frame_a.S[2,3] = j1.Sa[2,3] "Transformation matrix from frame_a to inertial system";
985 Real j1.frame_a.S[3,1] = j1.Sa[3,1] "Transformation matrix from frame_a to inertial system";
986 Real j1.frame_a.S[3,2] = j1.Sa[3,2] "Transformation matrix from frame_a to inertial system";
987 Real j1.frame_a.S[3,3] = j1.Sa[3,3] "Transformation matrix from frame_a to inertial system";
988 Real j1.frame_a.a[1](quantity = "Acceleration", unit = "m/s2") = j1.aa[1] "Absolute acceleration of frame origin, resolved in frame_a";
989 Real j1.frame_a.a[2](quantity = "Acceleration", unit = "m/s2") = j1.aa[2] "Absolute acceleration of frame origin, resolved in frame_a";
990 Real j1.frame_a.a[3](quantity = "Acceleration", unit = "m/s2") = j1.aa[3] "Absolute acceleration of frame origin, resolved in frame_a";
991 Real j1.frame_a.f[1](quantity = "Force", unit = "N") = j1.fa[1];
992 Real j1.frame_a.f[2](quantity = "Force", unit = "N") = j1.fa[2];
993 Real j1.frame_a.f[3](quantity = "Force", unit = "N") = j1.fa[3];
994 Real j1.frame_a.t[1](quantity = "Torque", unit = "N.m") = j1.ta[1];
995 Real j1.frame_a.t[2](quantity = "Torque", unit = "N.m") = j1.ta[2];
996 Real j1.frame_a.t[3](quantity = "Torque", unit = "N.m") = j1.ta[3];
997 Real j1.frame_a.v[1](quantity = "Velocity", unit = "m/s") = j1.va[1] "Absolute velocity of frame origin, resolved in frame_a";
998 Real j1.frame_a.v[2](quantity = "Velocity", unit = "m/s") = j1.va[2] "Absolute velocity of frame origin, resolved in frame_a";
999 Real j1.frame_a.v[3](quantity = "Velocity", unit = "m/s") = j1.va[3] "Absolute velocity of frame origin, resolved in frame_a";
1000 Real j1.frame_a.w[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = j1.wa[1] "Absolute angular velocity of frame_a, resolved in frame_a";
1001 Real j1.frame_a.w[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = j1.wa[2] "Absolute angular velocity of frame_a, resolved in frame_a";
1002 Real j1.frame_a.w[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = j1.wa[3] "Absolute angular velocity of frame_a, resolved in frame_a";
1003 Real j1.frame_a.z[1](quantity = "AngularAcceleration", unit = "rad/s2") = j1.za[1] "Absolute angular acceleration of frame_a, resolved in frame_a";
1004 Real j1.frame_a.z[2](quantity = "AngularAcceleration", unit = "rad/s2") = j1.za[2] "Absolute angular acceleration of frame_a, resolved in frame_a";
1005 Real j1.frame_a.z[3](quantity = "AngularAcceleration", unit = "rad/s2") = j1.za[3] "Absolute angular acceleration of frame_a, resolved in frame_a";
1006 Real j1.frame_b.S[1,1] = j1.Sb[1,1] "Transformation matrix from frame_a to inertial system";
1007 Real j1.frame_b.S[1,2] = j1.Sb[1,2] "Transformation matrix from frame_a to inertial system";
1008 Real j1.frame_b.S[1,3] = j1.Sb[1,3] "Transformation matrix from frame_a to inertial system";
1009 Real j1.frame_b.S[2,1] = j1.Sb[2,1] "Transformation matrix from frame_a to inertial system";
1010 Real j1.frame_b.S[2,2] = j1.Sb[2,2] "Transformation matrix from frame_a to inertial system";
1011 Real j1.frame_b.S[2,3] = j1.Sb[2,3] "Transformation matrix from frame_a to inertial system";
1012 Real j1.frame_b.S[3,1] = j1.Sb[3,1] "Transformation matrix from frame_a to inertial system";
1013 Real j1.frame_b.S[3,2] = j1.Sb[3,2] "Transformation matrix from frame_a to inertial system";
1014 Real j1.frame_b.S[3,3] = j1.Sb[3,3] "Transformation matrix from frame_a to inertial system";
1015 Real j1.frame_b.a[1](quantity = "Acceleration", unit = "m/s2") = j1.ab[1] "Absolute acceleration of frame origin, resolved in frame_a";
1016 Real j1.frame_b.a[2](quantity = "Acceleration", unit = "m/s2") = j1.ab[2] "Absolute acceleration of frame origin, resolved in frame_a";
1017 Real j1.frame_b.a[3](quantity = "Acceleration", unit = "m/s2") = j1.ab[3] "Absolute acceleration of frame origin, resolved in frame_a";
1018 Real j1.frame_b.f[1](quantity = "Force", unit = "N") = -j1.fb[1];
1019 Real j1.frame_b.f[2](quantity = "Force", unit = "N") = -j1.fb[2];
1020 Real j1.frame_b.f[3](quantity = "Force", unit = "N") = -j1.fb[3];
1021 Real j1.frame_b.t[1](quantity = "Torque", unit = "N.m") = -j1.tb[1];
1022 Real j1.frame_b.t[2](quantity = "Torque", unit = "N.m") = -j1.tb[2];
1023 Real j1.frame_b.t[3](quantity = "Torque", unit = "N.m") = -j1.tb[3];
1024 Real j1.frame_b.v[1](quantity = "Velocity", unit = "m/s") = j1.vb[1] "Absolute velocity of frame origin, resolved in frame_a";
1025 Real j1.frame_b.v[2](quantity = "Velocity", unit = "m/s") = j1.vb[2] "Absolute velocity of frame origin, resolved in frame_a";
1026 Real j1.frame_b.v[3](quantity = "Velocity", unit = "m/s") = j1.vb[3] "Absolute velocity of frame origin, resolved in frame_a";
1027 Real j1.frame_b.w[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = j1.wb[1] "Absolute angular velocity of frame_a, resolved in frame_a";
1028 Real j1.frame_b.w[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = j1.wb[2] "Absolute angular velocity of frame_a, resolved in frame_a";
1029 Real j1.frame_b.w[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = j1.wb[3] "Absolute angular velocity of frame_a, resolved in frame_a";
1030 Real j1.frame_b.z[1](quantity = "AngularAcceleration", unit = "rad/s2") = j1.zb[1] "Absolute angular acceleration of frame_a, resolved in frame_a";
1031 Real j1.frame_b.z[2](quantity = "AngularAcceleration", unit = "rad/s2") = j1.zb[2] "Absolute angular acceleration of frame_a, resolved in frame_a";
1032 Real j1.frame_b.z[3](quantity = "AngularAcceleration", unit = "rad/s2") = j1.zb[3] "Absolute angular acceleration of frame_a, resolved in frame_a";
1033 Real j1.nn[1];
1034 Real j1.nn[2];
1035 Real j1.nn[3];
1036 Real j1.q(quantity = "Angle", unit = "rad", displayUnit = "deg", fixed = j1.startValueFixed);
1037 Real j1.qd(quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min", start = 20.0, fixed = j1.startValueFixed);
1038 Real j1.qdd(quantity = "AngularAcceleration", unit = "rad/s2");
1039 Real j1.qq(quantity = "Angle", unit = "rad", displayUnit = "deg");
1040 Real j1.r_rela[1](quantity = "Length", unit = "m");
1041 Real j1.r_rela[2](quantity = "Length", unit = "m");
1042 Real j1.r_rela[3](quantity = "Length", unit = "m");
1043 Real j1.sinq;
1044 Real j1.v_rela[1](quantity = "Velocity", unit = "m/s");
1045 Real j1.v_rela[2](quantity = "Velocity", unit = "m/s");
1046 Real j1.v_rela[3](quantity = "Velocity", unit = "m/s");
1047 Real j1.w_rela[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
1048 Real j1.w_rela[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
1049 Real j1.w_rela[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
1050 Real j1.z_rela[1](quantity = "AngularAcceleration", unit = "rad/s2");
1051 Real j1.z_rela[2](quantity = "AngularAcceleration", unit = "rad/s2");
1052 Real j1.z_rela[3](quantity = "AngularAcceleration", unit = "rad/s2");
1053 Real j2.S_rel[1,1];
1054 Real j2.S_rel[1,2];
1055 Real j2.S_rel[1,3];
1056 Real j2.S_rel[2,1];
1057 Real j2.S_rel[2,2];
1058 Real j2.S_rel[2,3];
1059 Real j2.S_rel[3,1];
1060 Real j2.S_rel[3,2];
1061 Real j2.S_rel[3,3];
1062 Real j2.a_rela[1](quantity = "Acceleration", unit = "m/s2");
1063 Real j2.a_rela[2](quantity = "Acceleration", unit = "m/s2");
1064 Real j2.a_rela[3](quantity = "Acceleration", unit = "m/s2");
1065 Real j2.axis.f(quantity = "Force", unit = "N") "cut force directed into flange";
1066 Real j2.axis.s(quantity = "Length", unit = "m") "absolute position of flange";
1067 Real j2.bearing.f(quantity = "Force", unit = "N") "cut force directed into flange";
1068 Real j2.bearing.s(quantity = "Length", unit = "m") "absolute position of flange";
1069 Real j2.frame_a.S[1,1] = j2.Sa[1,1] "Transformation matrix from frame_a to inertial system";
1070 Real j2.frame_a.S[1,2] = j2.Sa[1,2] "Transformation matrix from frame_a to inertial system";
1071 Real j2.frame_a.S[1,3] = j2.Sa[1,3] "Transformation matrix from frame_a to inertial system";
1072 Real j2.frame_a.S[2,1] = j2.Sa[2,1] "Transformation matrix from frame_a to inertial system";
1073 Real j2.frame_a.S[2,2] = j2.Sa[2,2] "Transformation matrix from frame_a to inertial system";
1074 Real j2.frame_a.S[2,3] = j2.Sa[2,3] "Transformation matrix from frame_a to inertial system";
1075 Real j2.frame_a.S[3,1] = j2.Sa[3,1] "Transformation matrix from frame_a to inertial system";
1076 Real j2.frame_a.S[3,2] = j2.Sa[3,2] "Transformation matrix from frame_a to inertial system";
1077 Real j2.frame_a.S[3,3] = j2.Sa[3,3] "Transformation matrix from frame_a to inertial system";
1078 Real j2.frame_a.a[1](quantity = "Acceleration", unit = "m/s2") = j2.aa[1] "Absolute acceleration of frame origin, resolved in frame_a";
1079 Real j2.frame_a.a[2](quantity = "Acceleration", unit = "m/s2") = j2.aa[2] "Absolute acceleration of frame origin, resolved in frame_a";
1080 Real j2.frame_a.a[3](quantity = "Acceleration", unit = "m/s2") = j2.aa[3] "Absolute acceleration of frame origin, resolved in frame_a";
1081 Real j2.frame_a.f[1](quantity = "Force", unit = "N") = j2.fa[1];
1082 Real j2.frame_a.f[2](quantity = "Force", unit = "N") = j2.fa[2];
1083 Real j2.frame_a.f[3](quantity = "Force", unit = "N") = j2.fa[3];
1084 Real j2.frame_a.t[1](quantity = "Torque", unit = "N.m") = j2.ta[1];
1085 Real j2.frame_a.t[2](quantity = "Torque", unit = "N.m") = j2.ta[2];
1086 Real j2.frame_a.t[3](quantity = "Torque", unit = "N.m") = j2.ta[3];
1087 Real j2.frame_a.v[1](quantity = "Velocity", unit = "m/s") = j2.va[1] "Absolute velocity of frame origin, resolved in frame_a";
1088 Real j2.frame_a.v[2](quantity = "Velocity", unit = "m/s") = j2.va[2] "Absolute velocity of frame origin, resolved in frame_a";
1089 Real j2.frame_a.v[3](quantity = "Velocity", unit = "m/s") = j2.va[3] "Absolute velocity of frame origin, resolved in frame_a";
1090 Real j2.frame_a.w[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = j2.wa[1] "Absolute angular velocity of frame_a, resolved in frame_a";
1091 Real j2.frame_a.w[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = j2.wa[2] "Absolute angular velocity of frame_a, resolved in frame_a";
1092 Real j2.frame_a.w[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = j2.wa[3] "Absolute angular velocity of frame_a, resolved in frame_a";
1093 Real j2.frame_a.z[1](quantity = "AngularAcceleration", unit = "rad/s2") = j2.za[1] "Absolute angular acceleration of frame_a, resolved in frame_a";
1094 Real j2.frame_a.z[2](quantity = "AngularAcceleration", unit = "rad/s2") = j2.za[2] "Absolute angular acceleration of frame_a, resolved in frame_a";
1095 Real j2.frame_a.z[3](quantity = "AngularAcceleration", unit = "rad/s2") = j2.za[3] "Absolute angular acceleration of frame_a, resolved in frame_a";
1096 Real j2.frame_b.S[1,1] = j2.Sb[1,1] "Transformation matrix from frame_a to inertial system";
1097 Real j2.frame_b.S[1,2] = j2.Sb[1,2] "Transformation matrix from frame_a to inertial system";
1098 Real j2.frame_b.S[1,3] = j2.Sb[1,3] "Transformation matrix from frame_a to inertial system";
1099 Real j2.frame_b.S[2,1] = j2.Sb[2,1] "Transformation matrix from frame_a to inertial system";
1100 Real j2.frame_b.S[2,2] = j2.Sb[2,2] "Transformation matrix from frame_a to inertial system";
1101 Real j2.frame_b.S[2,3] = j2.Sb[2,3] "Transformation matrix from frame_a to inertial system";
1102 Real j2.frame_b.S[3,1] = j2.Sb[3,1] "Transformation matrix from frame_a to inertial system";
1103 Real j2.frame_b.S[3,2] = j2.Sb[3,2] "Transformation matrix from frame_a to inertial system";
1104 Real j2.frame_b.S[3,3] = j2.Sb[3,3] "Transformation matrix from frame_a to inertial system";
1105 Real j2.frame_b.a[1](quantity = "Acceleration", unit = "m/s2") = j2.ab[1] "Absolute acceleration of frame origin, resolved in frame_a";
1106 Real j2.frame_b.a[2](quantity = "Acceleration", unit = "m/s2") = j2.ab[2] "Absolute acceleration of frame origin, resolved in frame_a";
1107 Real j2.frame_b.a[3](quantity = "Acceleration", unit = "m/s2") = j2.ab[3] "Absolute acceleration of frame origin, resolved in frame_a";
1108 Real j2.frame_b.f[1](quantity = "Force", unit = "N") = -j2.fb[1];
1109 Real j2.frame_b.f[2](quantity = "Force", unit = "N") = -j2.fb[2];
1110 Real j2.frame_b.f[3](quantity = "Force", unit = "N") = -j2.fb[3];
1111 Real j2.frame_b.t[1](quantity = "Torque", unit = "N.m") = -j2.tb[1];
1112 Real j2.frame_b.t[2](quantity = "Torque", unit = "N.m") = -j2.tb[2];
1113 Real j2.frame_b.t[3](quantity = "Torque", unit = "N.m") = -j2.tb[3];
1114 Real j2.frame_b.v[1](quantity = "Velocity", unit = "m/s") = j2.vb[1] "Absolute velocity of frame origin, resolved in frame_a";
1115 Real j2.frame_b.v[2](quantity = "Velocity", unit = "m/s") = j2.vb[2] "Absolute velocity of frame origin, resolved in frame_a";
1116 Real j2.frame_b.v[3](quantity = "Velocity", unit = "m/s") = j2.vb[3] "Absolute velocity of frame origin, resolved in frame_a";
1117 Real j2.frame_b.w[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = j2.wb[1] "Absolute angular velocity of frame_a, resolved in frame_a";
1118 Real j2.frame_b.w[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = j2.wb[2] "Absolute angular velocity of frame_a, resolved in frame_a";
1119 Real j2.frame_b.w[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") = j2.wb[3] "Absolute angular velocity of frame_a, resolved in frame_a";
1120 Real j2.frame_b.z[1](quantity = "AngularAcceleration", unit = "rad/s2") = j2.zb[1] "Absolute angular acceleration of frame_a, resolved in frame_a";
1121 Real j2.frame_b.z[2](quantity = "AngularAcceleration", unit = "rad/s2") = j2.zb[2] "Absolute angular acceleration of frame_a, resolved in frame_a";
1122 Real j2.frame_b.z[3](quantity = "AngularAcceleration", unit = "rad/s2") = j2.zb[3] "Absolute angular acceleration of frame_a, resolved in frame_a";
1123 Real j2.nn[1];
1124 Real j2.nn[2];
1125 Real j2.nn[3];
1126 Real j2.q(quantity = "Length", unit = "m", fixed = j2.startValueFixed);
1127 Real j2.qd(quantity = "Velocity", unit = "m/s", fixed = j2.startValueFixed);
1128 Real j2.qdd(quantity = "Acceleration", unit = "m/s2");
1129 Real j2.qq(quantity = "Length", unit = "m");
1130 Real j2.r_rela[1](quantity = "Length", unit = "m");
1131 Real j2.r_rela[2](quantity = "Length", unit = "m");
1132 Real j2.r_rela[3](quantity = "Length", unit = "m");
1133 Real j2.v_rela[1](quantity = "Velocity", unit = "m/s");
1134 Real j2.v_rela[2](quantity = "Velocity", unit = "m/s");
1135 Real j2.v_rela[3](quantity = "Velocity", unit = "m/s");
1136 Real j2.vaux[1](quantity = "Velocity", unit = "m/s");
1137 Real j2.vaux[2](quantity = "Velocity", unit = "m/s");
1138 Real j2.vaux[3](quantity = "Velocity", unit = "m/s");
1139 Real j2.w_rela[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
1140 Real j2.w_rela[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
1141 Real j2.w_rela[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
1142 Real j2.z_rela[1](quantity = "AngularAcceleration", unit = "rad/s2");
1143 Real j2.z_rela[2](quantity = "AngularAcceleration", unit = "rad/s2");
1144 Real j2.z_rela[3](quantity = "AngularAcceleration", unit = "rad/s2");
1145 b0.body.I[1,1] = b0.Sbox[1,1] ^ 2.0 * (b0.mo * (b0.w ^ 2.0 / 12.0 + b0.h ^ 2.0 / 12.0) - b0.mi * (b0.wi ^ 2.0 / 12.0 + b0.hi ^ 2.0 / 12.0)) + (b0.Sbox[1,2] ^ 2.0 * (b0.mo * (b0.l ^ 2.0 / 12.0 + b0.h ^ 2.0 / 12.0) - b0.mi * (b0.l ^ 2.0 / 12.0 + b0.hi ^ 2.0 / 12.0)) + b0.Sbox[1,3] ^ 2.0 * (b0.mo * (b0.l ^ 2.0 / 12.0 + b0.w ^ 2.0 / 12.0) - b0.mi * (b0.l ^ 2.0 / 12.0 + b0.wi ^ 2.0 / 12.0)));
1146 b0.body.I[1,2] = b0.Sbox[1,1] * ((b0.mo * (b0.w ^ 2.0 / 12.0 + b0.h ^ 2.0 / 12.0) - b0.mi * (b0.wi ^ 2.0 / 12.0 + b0.hi ^ 2.0 / 12.0)) * b0.Sbox[2,1]) + (b0.Sbox[1,2] * ((b0.mo * (b0.l ^ 2.0 / 12.0 + b0.h ^ 2.0 / 12.0) - b0.mi * (b0.l ^ 2.0 / 12.0 + b0.hi ^ 2.0 / 12.0)) * b0.Sbox[2,2]) + b0.Sbox[1,3] * ((b0.mo * (b0.l ^ 2.0 / 12.0 + b0.w ^ 2.0 / 12.0) - b0.mi * (b0.l ^ 2.0 / 12.0 + b0.wi ^ 2.0 / 12.0)) * b0.Sbox[2,3]));
1147 b0.body.I[1,3] = b0.Sbox[1,1] * ((b0.mo * (b0.w ^ 2.0 / 12.0 + b0.h ^ 2.0 / 12.0) - b0.mi * (b0.wi ^ 2.0 / 12.0 + b0.hi ^ 2.0 / 12.0)) * b0.Sbox[3,1]) + (b0.Sbox[1,2] * ((b0.mo * (b0.l ^ 2.0 / 12.0 + b0.h ^ 2.0 / 12.0) - b0.mi * (b0.l ^ 2.0 / 12.0 + b0.hi ^ 2.0 / 12.0)) * b0.Sbox[3,2]) + b0.Sbox[1,3] * ((b0.mo * (b0.l ^ 2.0 / 12.0 + b0.w ^ 2.0 / 12.0) - b0.mi * (b0.l ^ 2.0 / 12.0 + b0.wi ^ 2.0 / 12.0)) * b0.Sbox[3,3]));
1148 b0.body.I[2,1] = b0.Sbox[2,1] * ((b0.mo * (b0.w ^ 2.0 / 12.0 + b0.h ^ 2.0 / 12.0) - b0.mi * (b0.wi ^ 2.0 / 12.0 + b0.hi ^ 2.0 / 12.0)) * b0.Sbox[1,1]) + (b0.Sbox[2,2] * ((b0.mo * (b0.l ^ 2.0 / 12.0 + b0.h ^ 2.0 / 12.0) - b0.mi * (b0.l ^ 2.0 / 12.0 + b0.hi ^ 2.0 / 12.0)) * b0.Sbox[1,2]) + b0.Sbox[2,3] * ((b0.mo * (b0.l ^ 2.0 / 12.0 + b0.w ^ 2.0 / 12.0) - b0.mi * (b0.l ^ 2.0 / 12.0 + b0.wi ^ 2.0 / 12.0)) * b0.Sbox[1,3]));
1149 b0.body.I[2,2] = b0.Sbox[2,1] ^ 2.0 * (b0.mo * (b0.w ^ 2.0 / 12.0 + b0.h ^ 2.0 / 12.0) - b0.mi * (b0.wi ^ 2.0 / 12.0 + b0.hi ^ 2.0 / 12.0)) + (b0.Sbox[2,2] ^ 2.0 * (b0.mo * (b0.l ^ 2.0 / 12.0 + b0.h ^ 2.0 / 12.0) - b0.mi * (b0.l ^ 2.0 / 12.0 + b0.hi ^ 2.0 / 12.0)) + b0.Sbox[2,3] ^ 2.0 * (b0.mo * (b0.l ^ 2.0 / 12.0 + b0.w ^ 2.0 / 12.0) - b0.mi * (b0.l ^ 2.0 / 12.0 + b0.wi ^ 2.0 / 12.0)));
1150 b0.body.I[2,3] = b0.Sbox[2,1] * ((b0.mo * (b0.w ^ 2.0 / 12.0 + b0.h ^ 2.0 / 12.0) - b0.mi * (b0.wi ^ 2.0 / 12.0 + b0.hi ^ 2.0 / 12.0)) * b0.Sbox[3,1]) + (b0.Sbox[2,2] * ((b0.mo * (b0.l ^ 2.0 / 12.0 + b0.h ^ 2.0 / 12.0) - b0.mi * (b0.l ^ 2.0 / 12.0 + b0.hi ^ 2.0 / 12.0)) * b0.Sbox[3,2]) + b0.Sbox[2,3] * ((b0.mo * (b0.l ^ 2.0 / 12.0 + b0.w ^ 2.0 / 12.0) - b0.mi * (b0.l ^ 2.0 / 12.0 + b0.wi ^ 2.0 / 12.0)) * b0.Sbox[3,3]));
1151 b0.body.I[3,1] = b0.Sbox[3,1] * ((b0.mo * (b0.w ^ 2.0 / 12.0 + b0.h ^ 2.0 / 12.0) - b0.mi * (b0.wi ^ 2.0 / 12.0 + b0.hi ^ 2.0 / 12.0)) * b0.Sbox[1,1]) + (b0.Sbox[3,2] * ((b0.mo * (b0.l ^ 2.0 / 12.0 + b0.h ^ 2.0 / 12.0) - b0.mi * (b0.l ^ 2.0 / 12.0 + b0.hi ^ 2.0 / 12.0)) * b0.Sbox[1,2]) + b0.Sbox[3,3] * ((b0.mo * (b0.l ^ 2.0 / 12.0 + b0.w ^ 2.0 / 12.0) - b0.mi * (b0.l ^ 2.0 / 12.0 + b0.wi ^ 2.0 / 12.0)) * b0.Sbox[1,3]));
1152 b0.body.I[3,2] = b0.Sbox[3,1] * ((b0.mo * (b0.w ^ 2.0 / 12.0 + b0.h ^ 2.0 / 12.0) - b0.mi * (b0.wi ^ 2.0 / 12.0 + b0.hi ^ 2.0 / 12.0)) * b0.Sbox[2,1]) + (b0.Sbox[3,2] * ((b0.mo * (b0.l ^ 2.0 / 12.0 + b0.h ^ 2.0 / 12.0) - b0.mi * (b0.l ^ 2.0 / 12.0 + b0.hi ^ 2.0 / 12.0)) * b0.Sbox[2,2]) + b0.Sbox[3,3] * ((b0.mo * (b0.l ^ 2.0 / 12.0 + b0.w ^ 2.0 / 12.0) - b0.mi * (b0.l ^ 2.0 / 12.0 + b0.wi ^ 2.0 / 12.0)) * b0.Sbox[2,3]));
1153 b0.body.I[3,3] = b0.Sbox[3,1] ^ 2.0 * (b0.mo * (b0.w ^ 2.0 / 12.0 + b0.h ^ 2.0 / 12.0) - b0.mi * (b0.wi ^ 2.0 / 12.0 + b0.hi ^ 2.0 / 12.0)) + (b0.Sbox[3,2] ^ 2.0 * (b0.mo * (b0.l ^ 2.0 / 12.0 + b0.h ^ 2.0 / 12.0) - b0.mi * (b0.l ^ 2.0 / 12.0 + b0.hi ^ 2.0 / 12.0)) + b0.Sbox[3,3] ^ 2.0 * (b0.mo * (b0.l ^ 2.0 / 12.0 + b0.w ^ 2.0 / 12.0) - b0.mi * (b0.l ^ 2.0 / 12.0 + b0.wi ^ 2.0 / 12.0)));
1154 b0.body.fa[1] = b0.body.m * (b0.body.aa[1] + (b0.body.za[2] * b0.body.rCM[3] + ((-b0.body.za[3] * b0.body.rCM[2]) + (b0.body.wa[2] * (b0.body.wa[1] * b0.body.rCM[2] - b0.body.wa[2] * b0.body.rCM[1]) + (-b0.body.wa[3] * (b0.body.wa[3] * b0.body.rCM[1] - b0.body.wa[1] * b0.body.rCM[3]))))));
1155 b0.body.fa[2] = b0.body.m * (b0.body.aa[2] + (b0.body.za[3] * b0.body.rCM[1] + ((-b0.body.za[1] * b0.body.rCM[3]) + (b0.body.wa[3] * (b0.body.wa[2] * b0.body.rCM[3] - b0.body.wa[3] * b0.body.rCM[2]) + (-b0.body.wa[1] * (b0.body.wa[1] * b0.body.rCM[2] - b0.body.wa[2] * b0.body.rCM[1]))))));
1156 b0.body.fa[3] = b0.body.m * (b0.body.aa[3] + (b0.body.za[1] * b0.body.rCM[2] + ((-b0.body.za[2] * b0.body.rCM[1]) + (b0.body.wa[1] * (b0.body.wa[3] * b0.body.rCM[1] - b0.body.wa[1] * b0.body.rCM[3]) + (-b0.body.wa[2] * (b0.body.wa[2] * b0.body.rCM[3] - b0.body.wa[3] * b0.body.rCM[2]))))));
1157 b0.body.frame_a.S[1,1] = b0.frameTranslation.frame_a.S[1,1];
1158 b0.body.frame_a.S[1,1] = b0.frame_a.S[1,1];
1159 b0.body.frame_a.S[1,1] = inertial.frame_b.S[1,1];
1160 b0.body.frame_a.S[1,1] = j1.frame_a.S[1,1];
1161 b0.body.frame_a.S[1,2] = b0.frameTranslation.frame_a.S[1,2];
1162 b0.body.frame_a.S[1,2] = b0.frame_a.S[1,2];
1163 b0.body.frame_a.S[1,2] = inertial.frame_b.S[1,2];
1164 b0.body.frame_a.S[1,2] = j1.frame_a.S[1,2];
1165 b0.body.frame_a.S[1,3] = b0.frameTranslation.frame_a.S[1,3];
1166 b0.body.frame_a.S[1,3] = b0.frame_a.S[1,3];
1167 b0.body.frame_a.S[1,3] = inertial.frame_b.S[1,3];
1168 b0.body.frame_a.S[1,3] = j1.frame_a.S[1,3];
1169 b0.body.frame_a.S[2,1] = b0.frameTranslation.frame_a.S[2,1];
1170 b0.body.frame_a.S[2,1] = b0.frame_a.S[2,1];
1171 b0.body.frame_a.S[2,1] = inertial.frame_b.S[2,1];
1172 b0.body.frame_a.S[2,1] = j1.frame_a.S[2,1];
1173 b0.body.frame_a.S[2,2] = b0.frameTranslation.frame_a.S[2,2];
1174 b0.body.frame_a.S[2,2] = b0.frame_a.S[2,2];
1175 b0.body.frame_a.S[2,2] = inertial.frame_b.S[2,2];
1176 b0.body.frame_a.S[2,2] = j1.frame_a.S[2,2];
1177 b0.body.frame_a.S[2,3] = b0.frameTranslation.frame_a.S[2,3];
1178 b0.body.frame_a.S[2,3] = b0.frame_a.S[2,3];
1179 b0.body.frame_a.S[2,3] = inertial.frame_b.S[2,3];
1180 b0.body.frame_a.S[2,3] = j1.frame_a.S[2,3];
1181 b0.body.frame_a.S[3,1] = b0.frameTranslation.frame_a.S[3,1];
1182 b0.body.frame_a.S[3,1] = b0.frame_a.S[3,1];
1183 b0.body.frame_a.S[3,1] = inertial.frame_b.S[3,1];
1184 b0.body.frame_a.S[3,1] = j1.frame_a.S[3,1];
1185 b0.body.frame_a.S[3,2] = b0.frameTranslation.frame_a.S[3,2];
1186 b0.body.frame_a.S[3,2] = b0.frame_a.S[3,2];
1187 b0.body.frame_a.S[3,2] = inertial.frame_b.S[3,2];
1188 b0.body.frame_a.S[3,2] = j1.frame_a.S[3,2];
1189 b0.body.frame_a.S[3,3] = b0.frameTranslation.frame_a.S[3,3];
1190 b0.body.frame_a.S[3,3] = b0.frame_a.S[3,3];
1191 b0.body.frame_a.S[3,3] = inertial.frame_b.S[3,3];
1192 b0.body.frame_a.S[3,3] = j1.frame_a.S[3,3];
1193 b0.body.frame_a.a[1] = b0.frameTranslation.frame_a.a[1];
1194 b0.body.frame_a.a[1] = b0.frame_a.a[1];
1195 b0.body.frame_a.a[1] = inertial.frame_b.a[1];
1196 b0.body.frame_a.a[1] = j1.frame_a.a[1];
1197 b0.body.frame_a.a[2] = b0.frameTranslation.frame_a.a[2];
1198 b0.body.frame_a.a[2] = b0.frame_a.a[2];
1199 b0.body.frame_a.a[2] = inertial.frame_b.a[2];
1200 b0.body.frame_a.a[2] = j1.frame_a.a[2];
1201 b0.body.frame_a.a[3] = b0.frameTranslation.frame_a.a[3];
1202 b0.body.frame_a.a[3] = b0.frame_a.a[3];
1203 b0.body.frame_a.a[3] = inertial.frame_b.a[3];
1204 b0.body.frame_a.a[3] = j1.frame_a.a[3];
1205 b0.body.frame_a.f[1] + ((-b0.frame_a.f[1]) + b0.frameTranslation.frame_a.f[1]) = 0.0;
1206 b0.body.frame_a.f[2] + ((-b0.frame_a.f[2]) + b0.frameTranslation.frame_a.f[2]) = 0.0;
1207 b0.body.frame_a.f[3] + ((-b0.frame_a.f[3]) + b0.frameTranslation.frame_a.f[3]) = 0.0;
1208 b0.body.frame_a.r0[1] = b0.frameTranslation.frame_a.r0[1];
1209 b0.body.frame_a.r0[1] = b0.frame_a.r0[1];
1210 b0.body.frame_a.r0[1] = inertial.frame_b.r0[1];
1211 b0.body.frame_a.r0[1] = j1.frame_a.r0[1];
1212 b0.body.frame_a.r0[2] = b0.frameTranslation.frame_a.r0[2];
1213 b0.body.frame_a.r0[2] = b0.frame_a.r0[2];
1214 b0.body.frame_a.r0[2] = inertial.frame_b.r0[2];
1215 b0.body.frame_a.r0[2] = j1.frame_a.r0[2];
1216 b0.body.frame_a.r0[3] = b0.frameTranslation.frame_a.r0[3];
1217 b0.body.frame_a.r0[3] = b0.frame_a.r0[3];
1218 b0.body.frame_a.r0[3] = inertial.frame_b.r0[3];
1219 b0.body.frame_a.r0[3] = j1.frame_a.r0[3];
1220 b0.body.frame_a.t[1] + ((-b0.frame_a.t[1]) + b0.frameTranslation.frame_a.t[1]) = 0.0;
1221 b0.body.frame_a.t[2] + ((-b0.frame_a.t[2]) + b0.frameTranslation.frame_a.t[2]) = 0.0;
1222 b0.body.frame_a.t[3] + ((-b0.frame_a.t[3]) + b0.frameTranslation.frame_a.t[3]) = 0.0;
1223 b0.body.frame_a.v[1] = b0.frameTranslation.frame_a.v[1];
1224 b0.body.frame_a.v[1] = b0.frame_a.v[1];
1225 b0.body.frame_a.v[1] = inertial.frame_b.v[1];
1226 b0.body.frame_a.v[1] = j1.frame_a.v[1];
1227 b0.body.frame_a.v[2] = b0.frameTranslation.frame_a.v[2];
1228 b0.body.frame_a.v[2] = b0.frame_a.v[2];
1229 b0.body.frame_a.v[2] = inertial.frame_b.v[2];
1230 b0.body.frame_a.v[2] = j1.frame_a.v[2];
1231 b0.body.frame_a.v[3] = b0.frameTranslation.frame_a.v[3];
1232 b0.body.frame_a.v[3] = b0.frame_a.v[3];
1233 b0.body.frame_a.v[3] = inertial.frame_b.v[3];
1234 b0.body.frame_a.v[3] = j1.frame_a.v[3];
1235 b0.body.frame_a.w[1] = b0.frameTranslation.frame_a.w[1];
1236 b0.body.frame_a.w[1] = b0.frame_a.w[1];
1237 b0.body.frame_a.w[1] = inertial.frame_b.w[1];
1238 b0.body.frame_a.w[1] = j1.frame_a.w[1];
1239 b0.body.frame_a.w[2] = b0.frameTranslation.frame_a.w[2];
1240 b0.body.frame_a.w[2] = b0.frame_a.w[2];
1241 b0.body.frame_a.w[2] = inertial.frame_b.w[2];
1242 b0.body.frame_a.w[2] = j1.frame_a.w[2];
1243 b0.body.frame_a.w[3] = b0.frameTranslation.frame_a.w[3];
1244 b0.body.frame_a.w[3] = b0.frame_a.w[3];
1245 b0.body.frame_a.w[3] = inertial.frame_b.w[3];
1246 b0.body.frame_a.w[3] = j1.frame_a.w[3];
1247 b0.body.frame_a.z[1] = b0.frameTranslation.frame_a.z[1];
1248 b0.body.frame_a.z[1] = b0.frame_a.z[1];
1249 b0.body.frame_a.z[1] = inertial.frame_b.z[1];
1250 b0.body.frame_a.z[1] = j1.frame_a.z[1];
1251 b0.body.frame_a.z[2] = b0.frameTranslation.frame_a.z[2];
1252 b0.body.frame_a.z[2] = b0.frame_a.z[2];
1253 b0.body.frame_a.z[2] = inertial.frame_b.z[2];
1254 b0.body.frame_a.z[2] = j1.frame_a.z[2];
1255 b0.body.frame_a.z[3] = b0.frameTranslation.frame_a.z[3];
1256 b0.body.frame_a.z[3] = b0.frame_a.z[3];
1257 b0.body.frame_a.z[3] = inertial.frame_b.z[3];
1258 b0.body.frame_a.z[3] = j1.frame_a.z[3];
1259 b0.body.m = b0.mo - b0.mi;
1260 b0.body.rCM[1] = b0.r0[1] + 0.5 * (b0.l * b0.box.nLength[1]);
1261 b0.body.rCM[2] = b0.r0[2] + 0.5 * (b0.l * b0.box.nLength[2]);
1262 b0.body.rCM[3] = b0.r0[3] + 0.5 * (b0.l * b0.box.nLength[3]);
1263 b0.body.ta[1] = b0.body.I[1,1] * b0.body.za[1] + (b0.body.I[1,2] * b0.body.za[2] + (b0.body.I[1,3] * b0.body.za[3] + (b0.body.wa[2] * (b0.body.I[3,1] * b0.body.wa[1] + (b0.body.I[3,2] * b0.body.wa[2] + b0.body.I[3,3] * b0.body.wa[3])) + ((-b0.body.wa[3] * (b0.body.I[2,1] * b0.body.wa[1] + (b0.body.I[2,2] * b0.body.wa[2] + b0.body.I[2,3] * b0.body.wa[3]))) + (b0.body.rCM[2] * b0.body.fa[3] + (-b0.body.rCM[3] * b0.body.fa[2]))))));
1264 b0.body.ta[2] = b0.body.I[2,1] * b0.body.za[1] + (b0.body.I[2,2] * b0.body.za[2] + (b0.body.I[2,3] * b0.body.za[3] + (b0.body.wa[3] * (b0.body.I[1,1] * b0.body.wa[1] + (b0.body.I[1,2] * b0.body.wa[2] + b0.body.I[1,3] * b0.body.wa[3])) + ((-b0.body.wa[1] * (b0.body.I[3,1] * b0.body.wa[1] + (b0.body.I[3,2] * b0.body.wa[2] + b0.body.I[3,3] * b0.body.wa[3]))) + (b0.body.rCM[3] * b0.body.fa[1] + (-b0.body.rCM[1] * b0.body.fa[3]))))));
1265 b0.body.ta[3] = b0.body.I[3,1] * b0.body.za[1] + (b0.body.I[3,2] * b0.body.za[2] + (b0.body.I[3,3] * b0.body.za[3] + (b0.body.wa[1] * (b0.body.I[2,1] * b0.body.wa[1] + (b0.body.I[2,2] * b0.body.wa[2] + b0.body.I[2,3] * b0.body.wa[3])) + ((-b0.body.wa[2] * (b0.body.I[1,1] * b0.body.wa[1] + (b0.body.I[1,2] * b0.body.wa[2] + b0.body.I[1,3] * b0.body.wa[3]))) + (b0.body.rCM[1] * b0.body.fa[2] + (-b0.body.rCM[2] * b0.body.fa[1]))))));
1266 b0.box.S[1,1] = b0.Sa[1,1];
1267 b0.box.S[1,2] = b0.Sa[1,2];
1268 b0.box.S[1,3] = b0.Sa[1,3];
1269 b0.box.S[2,1] = b0.Sa[2,1];
1270 b0.box.S[2,2] = b0.Sa[2,2];
1271 b0.box.S[2,3] = b0.Sa[2,3];
1272 b0.box.S[3,1] = b0.Sa[3,1];
1273 b0.box.S[3,2] = b0.Sa[3,2];
1274 b0.box.S[3,3] = b0.Sa[3,3];
1275 b0.box.Sshape[1,1] = b0.Sbox[1,1];
1276 b0.box.Sshape[1,2] = b0.Sbox[1,2];
1277 b0.box.Sshape[1,3] = b0.Sbox[1,3];
1278 b0.box.Sshape[2,1] = b0.Sbox[2,1];
1279 b0.box.Sshape[2,2] = b0.Sbox[2,2];
1280 b0.box.Sshape[2,3] = b0.Sbox[2,3];
1281 b0.box.Sshape[3,1] = b0.Sbox[3,1];
1282 b0.box.Sshape[3,2] = b0.Sbox[3,2];
1283 b0.box.Sshape[3,3] = b0.Sbox[3,3];
1284 b0.box.mcShape.Extra = b0.box.mcShape.extra;
1285 b0.box.mcShape.Form = 9.87e+25 + 1e+20 * PackShape(b0.box.mcShape.shapeType);
1286 b0.box.mcShape.Material = PackMaterial(b0.box.mcShape.color[1] / 255.0,b0.box.mcShape.color[2] / 255.0,b0.box.mcShape.color[3] / 255.0,b0.box.mcShape.specularCoefficient);
1287 b0.box.mcShape.Sshape[1,1] = b0.box.mcShape.e_x[1];
1288 b0.box.mcShape.Sshape[1,2] = b0.box.mcShape.e_y[1];
1289 b0.box.mcShape.Sshape[1,3] = b0.box.mcShape.e_x[2] * b0.box.mcShape.e_y[3] - b0.box.mcShape.e_x[3] * b0.box.mcShape.e_y[2];
1290 b0.box.mcShape.Sshape[2,1] = b0.box.mcShape.e_x[2];
1291 b0.box.mcShape.Sshape[2,2] = b0.box.mcShape.e_y[2];
1292 b0.box.mcShape.Sshape[2,3] = b0.box.mcShape.e_x[3] * b0.box.mcShape.e_y[1] - b0.box.mcShape.e_x[1] * b0.box.mcShape.e_y[3];
1293 b0.box.mcShape.Sshape[3,1] = b0.box.mcShape.e_x[3];
1294 b0.box.mcShape.Sshape[3,2] = b0.box.mcShape.e_y[3];
1295 b0.box.mcShape.Sshape[3,3] = b0.box.mcShape.e_x[1] * b0.box.mcShape.e_y[2] - b0.box.mcShape.e_x[2] * b0.box.mcShape.e_y[1];
1296 b0.box.mcShape.e_x[1] = b0.box.nLength[1];
1297 b0.box.mcShape.e_x[2] = b0.box.nLength[2];
1298 b0.box.mcShape.e_x[3] = b0.box.nLength[3];
1299 b0.box.mcShape.e_y[1] = b0.box.nWidth[1];
1300 b0.box.mcShape.e_y[2] = b0.box.nWidth[2];
1301 b0.box.mcShape.e_y[3] = b0.box.nWidth[3];
1302 b0.box.mcShape.e_z[1] = b0.box.nHeight[1];
1303 b0.box.mcShape.e_z[2] = b0.box.nHeight[2];
1304 b0.box.mcShape.e_z[3] = b0.box.nHeight[3];
1305 b0.box.mcShape.rvisobj[1] = b0.box.mcShape.r[1] + (b0.box.mcShape.S[1,1] * b0.box.mcShape.r_shape[1] + (b0.box.mcShape.S[1,2] * b0.box.mcShape.r_shape[2] + b0.box.mcShape.S[1,3] * b0.box.mcShape.r_shape[3]));
1306 b0.box.mcShape.rvisobj[2] = b0.box.mcShape.r[2] + (b0.box.mcShape.S[2,1] * b0.box.mcShape.r_shape[1] + (b0.box.mcShape.S[2,2] * b0.box.mcShape.r_shape[2] + b0.box.mcShape.S[2,3] * b0.box.mcShape.r_shape[3]));
1307 b0.box.mcShape.rvisobj[3] = b0.box.mcShape.r[3] + (b0.box.mcShape.S[3,1] * b0.box.mcShape.r_shape[1] + (b0.box.mcShape.S[3,2] * b0.box.mcShape.r_shape[2] + b0.box.mcShape.S[3,3] * b0.box.mcShape.r_shape[3]));
1308 b0.box.mcShape.rxvisobj[1] = b0.box.mcShape.S[1,1] * b0.box.mcShape.e_x[1] + (b0.box.mcShape.S[1,2] * b0.box.mcShape.e_x[2] + b0.box.mcShape.S[1,3] * b0.box.mcShape.e_x[3]);
1309 b0.box.mcShape.rxvisobj[2] = b0.box.mcShape.S[2,1] * b0.box.mcShape.e_x[1] + (b0.box.mcShape.S[2,2] * b0.box.mcShape.e_x[2] + b0.box.mcShape.S[2,3] * b0.box.mcShape.e_x[3]);
1310 b0.box.mcShape.rxvisobj[3] = b0.box.mcShape.S[3,1] * b0.box.mcShape.e_x[1] + (b0.box.mcShape.S[3,2] * b0.box.mcShape.e_x[2] + b0.box.mcShape.S[3,3] * b0.box.mcShape.e_x[3]);
1311 b0.box.mcShape.ryvisobj[1] = b0.box.mcShape.S[1,1] * b0.box.mcShape.e_y[1] + (b0.box.mcShape.S[1,2] * b0.box.mcShape.e_y[2] + b0.box.mcShape.S[1,3] * b0.box.mcShape.e_y[3]);
1312 b0.box.mcShape.ryvisobj[2] = b0.box.mcShape.S[2,1] * b0.box.mcShape.e_y[1] + (b0.box.mcShape.S[2,2] * b0.box.mcShape.e_y[2] + b0.box.mcShape.S[2,3] * b0.box.mcShape.e_y[3]);
1313 b0.box.mcShape.ryvisobj[3] = b0.box.mcShape.S[3,1] * b0.box.mcShape.e_y[1] + (b0.box.mcShape.S[3,2] * b0.box.mcShape.e_y[2] + b0.box.mcShape.S[3,3] * b0.box.mcShape.e_y[3]);
1314 b0.box.mcShape.size[1] = b0.box.mcShape.length;
1315 b0.box.mcShape.size[2] = b0.box.mcShape.width;
1316 b0.box.mcShape.size[3] = b0.box.mcShape.height;
1317 b0.box.r[1] = b0.r0a[1];
1318 b0.box.r[2] = b0.r0a[2];
1319 b0.box.r[3] = b0.r0a[3];
1320 b0.frameTranslation.Sb[1,1] = b0.frameTranslation.Sa[1,1];
1321 b0.frameTranslation.Sb[1,2] = b0.frameTranslation.Sa[1,2];
1322 b0.frameTranslation.Sb[1,3] = b0.frameTranslation.Sa[1,3];
1323 b0.frameTranslation.Sb[2,1] = b0.frameTranslation.Sa[2,1];
1324 b0.frameTranslation.Sb[2,2] = b0.frameTranslation.Sa[2,2];
1325 b0.frameTranslation.Sb[2,3] = b0.frameTranslation.Sa[2,3];
1326 b0.frameTranslation.Sb[3,1] = b0.frameTranslation.Sa[3,1];
1327 b0.frameTranslation.Sb[3,2] = b0.frameTranslation.Sa[3,2];
1328 b0.frameTranslation.Sb[3,3] = b0.frameTranslation.Sa[3,3];
1329 b0.frameTranslation.ab[1] = b0.frameTranslation.aa[1] + (b0.frameTranslation.za[2] * b0.frameTranslation.r[3] + ((-b0.frameTranslation.za[3] * b0.frameTranslation.r[2]) + (b0.frameTranslation.wa[2] * b0.frameTranslation.vaux[3] + (-b0.frameTranslation.wa[3] * b0.frameTranslation.vaux[2]))));
1330 b0.frameTranslation.ab[2] = b0.frameTranslation.aa[2] + (b0.frameTranslation.za[3] * b0.frameTranslation.r[1] + ((-b0.frameTranslation.za[1] * b0.frameTranslation.r[3]) + (b0.frameTranslation.wa[3] * b0.frameTranslation.vaux[1] + (-b0.frameTranslation.wa[1] * b0.frameTranslation.vaux[3]))));
1331 b0.frameTranslation.ab[3] = b0.frameTranslation.aa[3] + (b0.frameTranslation.za[1] * b0.frameTranslation.r[2] + ((-b0.frameTranslation.za[2] * b0.frameTranslation.r[1]) + (b0.frameTranslation.wa[1] * b0.frameTranslation.vaux[2] + (-b0.frameTranslation.wa[2] * b0.frameTranslation.vaux[1]))));
1332 b0.frameTranslation.fa[1] = b0.frameTranslation.fb[1];
1333 b0.frameTranslation.fa[2] = b0.frameTranslation.fb[2];
1334 b0.frameTranslation.fa[3] = b0.frameTranslation.fb[3];
1335 b0.frameTranslation.frame_b.S[1,1] = b0.frame_b.S[1,1];
1336 b0.frameTranslation.frame_b.S[1,1] = j2.frame_a.S[1,1];
1337 b0.frameTranslation.frame_b.S[1,2] = b0.frame_b.S[1,2];
1338 b0.frameTranslation.frame_b.S[1,2] = j2.frame_a.S[1,2];
1339 b0.frameTranslation.frame_b.S[1,3] = b0.frame_b.S[1,3];
1340 b0.frameTranslation.frame_b.S[1,3] = j2.frame_a.S[1,3];
1341 b0.frameTranslation.frame_b.S[2,1] = b0.frame_b.S[2,1];
1342 b0.frameTranslation.frame_b.S[2,1] = j2.frame_a.S[2,1];
1343 b0.frameTranslation.frame_b.S[2,2] = b0.frame_b.S[2,2];
1344 b0.frameTranslation.frame_b.S[2,2] = j2.frame_a.S[2,2];
1345 b0.frameTranslation.frame_b.S[2,3] = b0.frame_b.S[2,3];
1346 b0.frameTranslation.frame_b.S[2,3] = j2.frame_a.S[2,3];
1347 b0.frameTranslation.frame_b.S[3,1] = b0.frame_b.S[3,1];
1348 b0.frameTranslation.frame_b.S[3,1] = j2.frame_a.S[3,1];
1349 b0.frameTranslation.frame_b.S[3,2] = b0.frame_b.S[3,2];
1350 b0.frameTranslation.frame_b.S[3,2] = j2.frame_a.S[3,2];
1351 b0.frameTranslation.frame_b.S[3,3] = b0.frame_b.S[3,3];
1352 b0.frameTranslation.frame_b.S[3,3] = j2.frame_a.S[3,3];
1353 b0.frameTranslation.frame_b.a[1] = b0.frame_b.a[1];
1354 b0.frameTranslation.frame_b.a[1] = j2.frame_a.a[1];
1355 b0.frameTranslation.frame_b.a[2] = b0.frame_b.a[2];
1356 b0.frameTranslation.frame_b.a[2] = j2.frame_a.a[2];
1357 b0.frameTranslation.frame_b.a[3] = b0.frame_b.a[3];
1358 b0.frameTranslation.frame_b.a[3] = j2.frame_a.a[3];
1359 b0.frameTranslation.frame_b.f[1] + (-b0.frame_b.f[1]) = 0.0;
1360 b0.frameTranslation.frame_b.f[2] + (-b0.frame_b.f[2]) = 0.0;
1361 b0.frameTranslation.frame_b.f[3] + (-b0.frame_b.f[3]) = 0.0;
1362 b0.frameTranslation.frame_b.r0[1] = b0.frame_b.r0[1];
1363 b0.frameTranslation.frame_b.r0[1] = j2.frame_a.r0[1];
1364 b0.frameTranslation.frame_b.r0[2] = b0.frame_b.r0[2];
1365 b0.frameTranslation.frame_b.r0[2] = j2.frame_a.r0[2];
1366 b0.frameTranslation.frame_b.r0[3] = b0.frame_b.r0[3];
1367 b0.frameTranslation.frame_b.r0[3] = j2.frame_a.r0[3];
1368 b0.frameTranslation.frame_b.t[1] + (-b0.frame_b.t[1]) = 0.0;
1369 b0.frameTranslation.frame_b.t[2] + (-b0.frame_b.t[2]) = 0.0;
1370 b0.frameTranslation.frame_b.t[3] + (-b0.frame_b.t[3]) = 0.0;
1371 b0.frameTranslation.frame_b.v[1] = b0.frame_b.v[1];
1372 b0.frameTranslation.frame_b.v[1] = j2.frame_a.v[1];
1373 b0.frameTranslation.frame_b.v[2] = b0.frame_b.v[2];
1374 b0.frameTranslation.frame_b.v[2] = j2.frame_a.v[2];
1375 b0.frameTranslation.frame_b.v[3] = b0.frame_b.v[3];
1376 b0.frameTranslation.frame_b.v[3] = j2.frame_a.v[3];
1377 b0.frameTranslation.frame_b.w[1] = b0.frame_b.w[1];
1378 b0.frameTranslation.frame_b.w[1] = j2.frame_a.w[1];
1379 b0.frameTranslation.frame_b.w[2] = b0.frame_b.w[2];
1380 b0.frameTranslation.frame_b.w[2] = j2.frame_a.w[2];
1381 b0.frameTranslation.frame_b.w[3] = b0.frame_b.w[3];
1382 b0.frameTranslation.frame_b.w[3] = j2.frame_a.w[3];
1383 b0.frameTranslation.frame_b.z[1] = b0.frame_b.z[1];
1384 b0.frameTranslation.frame_b.z[1] = j2.frame_a.z[1];
1385 b0.frameTranslation.frame_b.z[2] = b0.frame_b.z[2];
1386 b0.frameTranslation.frame_b.z[2] = j2.frame_a.z[2];
1387 b0.frameTranslation.frame_b.z[3] = b0.frame_b.z[3];
1388 b0.frameTranslation.frame_b.z[3] = j2.frame_a.z[3];
1389 b0.frameTranslation.r0b[1] = b0.frameTranslation.r0a[1] + (b0.frameTranslation.Sa[1,1] * b0.frameTranslation.r[1] + (b0.frameTranslation.Sa[1,2] * b0.frameTranslation.r[2] + b0.frameTranslation.Sa[1,3] * b0.frameTranslation.r[3]));
1390 b0.frameTranslation.r0b[2] = b0.frameTranslation.r0a[2] + (b0.frameTranslation.Sa[2,1] * b0.frameTranslation.r[1] + (b0.frameTranslation.Sa[2,2] * b0.frameTranslation.r[2] + b0.frameTranslation.Sa[2,3] * b0.frameTranslation.r[3]));
1391 b0.frameTranslation.r0b[3] = b0.frameTranslation.r0a[3] + (b0.frameTranslation.Sa[3,1] * b0.frameTranslation.r[1] + (b0.frameTranslation.Sa[3,2] * b0.frameTranslation.r[2] + b0.frameTranslation.Sa[3,3] * b0.frameTranslation.r[3]));
1392 b0.frameTranslation.ta[1] = b0.frameTranslation.tb[1] + (b0.frameTranslation.r[2] * b0.frameTranslation.fa[3] + (-b0.frameTranslation.r[3] * b0.frameTranslation.fa[2]));
1393 b0.frameTranslation.ta[2] = b0.frameTranslation.tb[2] + (b0.frameTranslation.r[3] * b0.frameTranslation.fa[1] + (-b0.frameTranslation.r[1] * b0.frameTranslation.fa[3]));
1394 b0.frameTranslation.ta[3] = b0.frameTranslation.tb[3] + (b0.frameTranslation.r[1] * b0.frameTranslation.fa[2] + (-b0.frameTranslation.r[2] * b0.frameTranslation.fa[1]));
1395 b0.frameTranslation.vaux[1] = b0.frameTranslation.wa[2] * b0.frameTranslation.r[3] - b0.frameTranslation.wa[3] * b0.frameTranslation.r[2];
1396 b0.frameTranslation.vaux[2] = b0.frameTranslation.wa[3] * b0.frameTranslation.r[1] - b0.frameTranslation.wa[1] * b0.frameTranslation.r[3];
1397 b0.frameTranslation.vaux[3] = b0.frameTranslation.wa[1] * b0.frameTranslation.r[2] - b0.frameTranslation.wa[2] * b0.frameTranslation.r[1];
1398 b0.frameTranslation.vb[1] = b0.frameTranslation.va[1] + b0.frameTranslation.vaux[1];
1399 b0.frameTranslation.vb[2] = b0.frameTranslation.va[2] + b0.frameTranslation.vaux[2];
1400 b0.frameTranslation.vb[3] = b0.frameTranslation.va[3] + b0.frameTranslation.vaux[3];
1401 b0.frameTranslation.wb[1] = b0.frameTranslation.wa[1];
1402 b0.frameTranslation.wb[2] = b0.frameTranslation.wa[2];
1403 b0.frameTranslation.wb[3] = b0.frameTranslation.wa[3];
1404 b0.frameTranslation.zb[1] = b0.frameTranslation.za[1];
1405 b0.frameTranslation.zb[2] = b0.frameTranslation.za[2];
1406 b0.frameTranslation.zb[3] = b0.frameTranslation.za[3];
1407 b0.frame_b.f[1] + j2.frame_a.f[1] = 0.0;
1408 b0.frame_b.f[2] + j2.frame_a.f[2] = 0.0;
1409 b0.frame_b.f[3] + j2.frame_a.f[3] = 0.0;
1410 b0.frame_b.t[1] + j2.frame_a.t[1] = 0.0;
1411 b0.frame_b.t[2] + j2.frame_a.t[2] = 0.0;
1412 b0.frame_b.t[3] + j2.frame_a.t[3] = 0.0;
1413 b0.h = b0.Height;
1414 b0.hi = b0.InnerHeight;
1415 b0.l = b0.Length;
1416 b0.mi = 1000.0 * (b0.rho * (b0.l * (b0.wi * b0.hi)));
1417 b0.mo = 1000.0 * (b0.rho * (b0.l * (b0.w * b0.h)));
1418 b0.w = b0.Width;
1419 b0.wi = b0.InnerWidth;
1420 b1.I22 = b1.mo * (b1.Length ^ 2.0 + 3.0 * b1.Radius ^ 2.0) / 12.0 - b1.mi * (b1.Length ^ 2.0 + 3.0 * b1.InnerRadius ^ 2.0) / 12.0;
1421 b1.body.I[1,1] = b1.Scyl[1,1] ^ 2.0 * (0.5 * (b1.mo * b1.Radius ^ 2.0) - 0.5 * (b1.mi * b1.InnerRadius ^ 2.0)) + (b1.Scyl[1,2] ^ 2.0 * b1.I22 + b1.Scyl[1,3] ^ 2.0 * b1.I22);
1422 b1.body.I[1,2] = b1.Scyl[1,1] * ((0.5 * (b1.mo * b1.Radius ^ 2.0) - 0.5 * (b1.mi * b1.InnerRadius ^ 2.0)) * b1.Scyl[2,1]) + (b1.Scyl[1,2] * (b1.I22 * b1.Scyl[2,2]) + b1.Scyl[1,3] * (b1.I22 * b1.Scyl[2,3]));
1423 b1.body.I[1,3] = b1.Scyl[1,1] * ((0.5 * (b1.mo * b1.Radius ^ 2.0) - 0.5 * (b1.mi * b1.InnerRadius ^ 2.0)) * b1.Scyl[3,1]) + (b1.Scyl[1,2] * (b1.I22 * b1.Scyl[3,2]) + b1.Scyl[1,3] * (b1.I22 * b1.Scyl[3,3]));
1424 b1.body.I[2,1] = b1.Scyl[2,1] * ((0.5 * (b1.mo * b1.Radius ^ 2.0) - 0.5 * (b1.mi * b1.InnerRadius ^ 2.0)) * b1.Scyl[1,1]) + (b1.Scyl[2,2] * (b1.I22 * b1.Scyl[1,2]) + b1.Scyl[2,3] * (b1.I22 * b1.Scyl[1,3]));
1425 b1.body.I[2,2] = b1.Scyl[2,1] ^ 2.0 * (0.5 * (b1.mo * b1.Radius ^ 2.0) - 0.5 * (b1.mi * b1.InnerRadius ^ 2.0)) + (b1.Scyl[2,2] ^ 2.0 * b1.I22 + b1.Scyl[2,3] ^ 2.0 * b1.I22);
1426 b1.body.I[2,3] = b1.Scyl[2,1] * ((0.5 * (b1.mo * b1.Radius ^ 2.0) - 0.5 * (b1.mi * b1.InnerRadius ^ 2.0)) * b1.Scyl[3,1]) + (b1.Scyl[2,2] * (b1.I22 * b1.Scyl[3,2]) + b1.Scyl[2,3] * (b1.I22 * b1.Scyl[3,3]));
1427 b1.body.I[3,1] = b1.Scyl[3,1] * ((0.5 * (b1.mo * b1.Radius ^ 2.0) - 0.5 * (b1.mi * b1.InnerRadius ^ 2.0)) * b1.Scyl[1,1]) + (b1.Scyl[3,2] * (b1.I22 * b1.Scyl[1,2]) + b1.Scyl[3,3] * (b1.I22 * b1.Scyl[1,3]));
1428 b1.body.I[3,2] = b1.Scyl[3,1] * ((0.5 * (b1.mo * b1.Radius ^ 2.0) - 0.5 * (b1.mi * b1.InnerRadius ^ 2.0)) * b1.Scyl[2,1]) + (b1.Scyl[3,2] * (b1.I22 * b1.Scyl[2,2]) + b1.Scyl[3,3] * (b1.I22 * b1.Scyl[2,3]));
1429 b1.body.I[3,3] = b1.Scyl[3,1] ^ 2.0 * (0.5 * (b1.mo * b1.Radius ^ 2.0) - 0.5 * (b1.mi * b1.InnerRadius ^ 2.0)) + (b1.Scyl[3,2] ^ 2.0 * b1.I22 + b1.Scyl[3,3] ^ 2.0 * b1.I22);
1430 b1.body.fa[1] = b1.body.m * (b1.body.aa[1] + (b1.body.za[2] * b1.body.rCM[3] + ((-b1.body.za[3] * b1.body.rCM[2]) + (b1.body.wa[2] * (b1.body.wa[1] * b1.body.rCM[2] - b1.body.wa[2] * b1.body.rCM[1]) + (-b1.body.wa[3] * (b1.body.wa[3] * b1.body.rCM[1] - b1.body.wa[1] * b1.body.rCM[3]))))));
1431 b1.body.fa[2] = b1.body.m * (b1.body.aa[2] + (b1.body.za[3] * b1.body.rCM[1] + ((-b1.body.za[1] * b1.body.rCM[3]) + (b1.body.wa[3] * (b1.body.wa[2] * b1.body.rCM[3] - b1.body.wa[3] * b1.body.rCM[2]) + (-b1.body.wa[1] * (b1.body.wa[1] * b1.body.rCM[2] - b1.body.wa[2] * b1.body.rCM[1]))))));
1432 b1.body.fa[3] = b1.body.m * (b1.body.aa[3] + (b1.body.za[1] * b1.body.rCM[2] + ((-b1.body.za[2] * b1.body.rCM[1]) + (b1.body.wa[1] * (b1.body.wa[3] * b1.body.rCM[1] - b1.body.wa[1] * b1.body.rCM[3]) + (-b1.body.wa[2] * (b1.body.wa[2] * b1.body.rCM[3] - b1.body.wa[3] * b1.body.rCM[2]))))));
1433 b1.body.frame_a.S[1,1] = b1.frameTranslation.frame_a.S[1,1];
1434 b1.body.frame_a.S[1,1] = b1.frame_a.S[1,1];
1435 b1.body.frame_a.S[1,1] = j1.frame_b.S[1,1];
1436 b1.body.frame_a.S[1,2] = b1.frameTranslation.frame_a.S[1,2];
1437 b1.body.frame_a.S[1,2] = b1.frame_a.S[1,2];
1438 b1.body.frame_a.S[1,2] = j1.frame_b.S[1,2];
1439 b1.body.frame_a.S[1,3] = b1.frameTranslation.frame_a.S[1,3];
1440 b1.body.frame_a.S[1,3] = b1.frame_a.S[1,3];
1441 b1.body.frame_a.S[1,3] = j1.frame_b.S[1,3];
1442 b1.body.frame_a.S[2,1] = b1.frameTranslation.frame_a.S[2,1];
1443 b1.body.frame_a.S[2,1] = b1.frame_a.S[2,1];
1444 b1.body.frame_a.S[2,1] = j1.frame_b.S[2,1];
1445 b1.body.frame_a.S[2,2] = b1.frameTranslation.frame_a.S[2,2];
1446 b1.body.frame_a.S[2,2] = b1.frame_a.S[2,2];
1447 b1.body.frame_a.S[2,2] = j1.frame_b.S[2,2];
1448 b1.body.frame_a.S[2,3] = b1.frameTranslation.frame_a.S[2,3];
1449 b1.body.frame_a.S[2,3] = b1.frame_a.S[2,3];
1450 b1.body.frame_a.S[2,3] = j1.frame_b.S[2,3];
1451 b1.body.frame_a.S[3,1] = b1.frameTranslation.frame_a.S[3,1];
1452 b1.body.frame_a.S[3,1] = b1.frame_a.S[3,1];
1453 b1.body.frame_a.S[3,1] = j1.frame_b.S[3,1];
1454 b1.body.frame_a.S[3,2] = b1.frameTranslation.frame_a.S[3,2];
1455 b1.body.frame_a.S[3,2] = b1.frame_a.S[3,2];
1456 b1.body.frame_a.S[3,2] = j1.frame_b.S[3,2];
1457 b1.body.frame_a.S[3,3] = b1.frameTranslation.frame_a.S[3,3];
1458 b1.body.frame_a.S[3,3] = b1.frame_a.S[3,3];
1459 b1.body.frame_a.S[3,3] = j1.frame_b.S[3,3];
1460 b1.body.frame_a.a[1] = b1.frameTranslation.frame_a.a[1];
1461 b1.body.frame_a.a[1] = b1.frame_a.a[1];
1462 b1.body.frame_a.a[1] = j1.frame_b.a[1];
1463 b1.body.frame_a.a[2] = b1.frameTranslation.frame_a.a[2];
1464 b1.body.frame_a.a[2] = b1.frame_a.a[2];
1465 b1.body.frame_a.a[2] = j1.frame_b.a[2];
1466 b1.body.frame_a.a[3] = b1.frameTranslation.frame_a.a[3];
1467 b1.body.frame_a.a[3] = b1.frame_a.a[3];
1468 b1.body.frame_a.a[3] = j1.frame_b.a[3];
1469 b1.body.frame_a.r0[1] = b1.frameTranslation.frame_a.r0[1];
1470 b1.body.frame_a.r0[1] = b1.frame_a.r0[1];
1471 b1.body.frame_a.r0[1] = j1.frame_b.r0[1];
1472 b1.body.frame_a.r0[2] = b1.frameTranslation.frame_a.r0[2];
1473 b1.body.frame_a.r0[2] = b1.frame_a.r0[2];
1474 b1.body.frame_a.r0[2] = j1.frame_b.r0[2];
1475 b1.body.frame_a.r0[3] = b1.frameTranslation.frame_a.r0[3];
1476 b1.body.frame_a.r0[3] = b1.frame_a.r0[3];
1477 b1.body.frame_a.r0[3] = j1.frame_b.r0[3];
1478 b1.body.frame_a.v[1] = b1.frameTranslation.frame_a.v[1];
1479 b1.body.frame_a.v[1] = b1.frame_a.v[1];
1480 b1.body.frame_a.v[1] = j1.frame_b.v[1];
1481 b1.body.frame_a.v[2] = b1.frameTranslation.frame_a.v[2];
1482 b1.body.frame_a.v[2] = b1.frame_a.v[2];
1483 b1.body.frame_a.v[2] = j1.frame_b.v[2];
1484 b1.body.frame_a.v[3] = b1.frameTranslation.frame_a.v[3];
1485 b1.body.frame_a.v[3] = b1.frame_a.v[3];
1486 b1.body.frame_a.v[3] = j1.frame_b.v[3];
1487 b1.body.frame_a.w[1] = b1.frameTranslation.frame_a.w[1];
1488 b1.body.frame_a.w[1] = b1.frame_a.w[1];
1489 b1.body.frame_a.w[1] = j1.frame_b.w[1];
1490 b1.body.frame_a.w[2] = b1.frameTranslation.frame_a.w[2];
1491 b1.body.frame_a.w[2] = b1.frame_a.w[2];
1492 b1.body.frame_a.w[2] = j1.frame_b.w[2];
1493 b1.body.frame_a.w[3] = b1.frameTranslation.frame_a.w[3];
1494 b1.body.frame_a.w[3] = b1.frame_a.w[3];
1495 b1.body.frame_a.w[3] = j1.frame_b.w[3];
1496 b1.body.frame_a.z[1] = b1.frameTranslation.frame_a.z[1];
1497 b1.body.frame_a.z[1] = b1.frame_a.z[1];
1498 b1.body.frame_a.z[1] = j1.frame_b.z[1];
1499 b1.body.frame_a.z[2] = b1.frameTranslation.frame_a.z[2];
1500 b1.body.frame_a.z[2] = b1.frame_a.z[2];
1501 b1.body.frame_a.z[2] = j1.frame_b.z[2];
1502 b1.body.frame_a.z[3] = b1.frameTranslation.frame_a.z[3];
1503 b1.body.frame_a.z[3] = b1.frame_a.z[3];
1504 b1.body.frame_a.z[3] = j1.frame_b.z[3];
1505 b1.body.m = b1.mo - b1.mi;
1506 b1.body.rCM[1] = b1.r0[1] + 0.5 * (b1.Length * b1.box.nLength[1]);
1507 b1.body.rCM[2] = b1.r0[2] + 0.5 * (b1.Length * b1.box.nLength[2]);
1508 b1.body.rCM[3] = b1.r0[3] + 0.5 * (b1.Length * b1.box.nLength[3]);
1509 b1.body.ta[1] = b1.body.I[1,1] * b1.body.za[1] + (b1.body.I[1,2] * b1.body.za[2] + (b1.body.I[1,3] * b1.body.za[3] + (b1.body.wa[2] * (b1.body.I[3,1] * b1.body.wa[1] + (b1.body.I[3,2] * b1.body.wa[2] + b1.body.I[3,3] * b1.body.wa[3])) + ((-b1.body.wa[3] * (b1.body.I[2,1] * b1.body.wa[1] + (b1.body.I[2,2] * b1.body.wa[2] + b1.body.I[2,3] * b1.body.wa[3]))) + (b1.body.rCM[2] * b1.body.fa[3] + (-b1.body.rCM[3] * b1.body.fa[2]))))));
1510 b1.body.ta[2] = b1.body.I[2,1] * b1.body.za[1] + (b1.body.I[2,2] * b1.body.za[2] + (b1.body.I[2,3] * b1.body.za[3] + (b1.body.wa[3] * (b1.body.I[1,1] * b1.body.wa[1] + (b1.body.I[1,2] * b1.body.wa[2] + b1.body.I[1,3] * b1.body.wa[3])) + ((-b1.body.wa[1] * (b1.body.I[3,1] * b1.body.wa[1] + (b1.body.I[3,2] * b1.body.wa[2] + b1.body.I[3,3] * b1.body.wa[3]))) + (b1.body.rCM[3] * b1.body.fa[1] + (-b1.body.rCM[1] * b1.body.fa[3]))))));
1511 b1.body.ta[3] = b1.body.I[3,1] * b1.body.za[1] + (b1.body.I[3,2] * b1.body.za[2] + (b1.body.I[3,3] * b1.body.za[3] + (b1.body.wa[1] * (b1.body.I[2,1] * b1.body.wa[1] + (b1.body.I[2,2] * b1.body.wa[2] + b1.body.I[2,3] * b1.body.wa[3])) + ((-b1.body.wa[2] * (b1.body.I[1,1] * b1.body.wa[1] + (b1.body.I[1,2] * b1.body.wa[2] + b1.body.I[1,3] * b1.body.wa[3]))) + (b1.body.rCM[1] * b1.body.fa[2] + (-b1.body.rCM[2] * b1.body.fa[1]))))));
1512 b1.box.S[1,1] = b1.Sa[1,1];
1513 b1.box.S[1,2] = b1.Sa[1,2];
1514 b1.box.S[1,3] = b1.Sa[1,3];
1515 b1.box.S[2,1] = b1.Sa[2,1];
1516 b1.box.S[2,2] = b1.Sa[2,2];
1517 b1.box.S[2,3] = b1.Sa[2,3];
1518 b1.box.S[3,1] = b1.Sa[3,1];
1519 b1.box.S[3,2] = b1.Sa[3,2];
1520 b1.box.S[3,3] = b1.Sa[3,3];
1521 b1.box.Sshape[1,1] = b1.Scyl[1,1];
1522 b1.box.Sshape[1,2] = b1.Scyl[1,2];
1523 b1.box.Sshape[1,3] = b1.Scyl[1,3];
1524 b1.box.Sshape[2,1] = b1.Scyl[2,1];
1525 b1.box.Sshape[2,2] = b1.Scyl[2,2];
1526 b1.box.Sshape[2,3] = b1.Scyl[2,3];
1527 b1.box.Sshape[3,1] = b1.Scyl[3,1];
1528 b1.box.Sshape[3,2] = b1.Scyl[3,2];
1529 b1.box.Sshape[3,3] = b1.Scyl[3,3];
1530 b1.box.mcShape.Extra = b1.box.mcShape.extra;
1531 b1.box.mcShape.Form = 9.87e+25 + 1e+20 * PackShape(b1.box.mcShape.shapeType);
1532 b1.box.mcShape.Material = PackMaterial(b1.box.mcShape.color[1] / 255.0,b1.box.mcShape.color[2] / 255.0,b1.box.mcShape.color[3] / 255.0,b1.box.mcShape.specularCoefficient);
1533 b1.box.mcShape.Sshape[1,1] = b1.box.mcShape.e_x[1];
1534 b1.box.mcShape.Sshape[1,2] = b1.box.mcShape.e_y[1];
1535 b1.box.mcShape.Sshape[1,3] = b1.box.mcShape.e_x[2] * b1.box.mcShape.e_y[3] - b1.box.mcShape.e_x[3] * b1.box.mcShape.e_y[2];
1536 b1.box.mcShape.Sshape[2,1] = b1.box.mcShape.e_x[2];
1537 b1.box.mcShape.Sshape[2,2] = b1.box.mcShape.e_y[2];
1538 b1.box.mcShape.Sshape[2,3] = b1.box.mcShape.e_x[3] * b1.box.mcShape.e_y[1] - b1.box.mcShape.e_x[1] * b1.box.mcShape.e_y[3];
1539 b1.box.mcShape.Sshape[3,1] = b1.box.mcShape.e_x[3];
1540 b1.box.mcShape.Sshape[3,2] = b1.box.mcShape.e_y[3];
1541 b1.box.mcShape.Sshape[3,3] = b1.box.mcShape.e_x[1] * b1.box.mcShape.e_y[2] - b1.box.mcShape.e_x[2] * b1.box.mcShape.e_y[1];
1542 b1.box.mcShape.e_x[1] = b1.box.nLength[1];
1543 b1.box.mcShape.e_x[2] = b1.box.nLength[2];
1544 b1.box.mcShape.e_x[3] = b1.box.nLength[3];
1545 b1.box.mcShape.e_y[1] = b1.box.nWidth[1];
1546 b1.box.mcShape.e_y[2] = b1.box.nWidth[2];
1547 b1.box.mcShape.e_y[3] = b1.box.nWidth[3];
1548 b1.box.mcShape.e_z[1] = b1.box.nHeight[1];
1549 b1.box.mcShape.e_z[2] = b1.box.nHeight[2];
1550 b1.box.mcShape.e_z[3] = b1.box.nHeight[3];
1551 b1.box.mcShape.rvisobj[1] = b1.box.mcShape.r[1] + (b1.box.mcShape.S[1,1] * b1.box.mcShape.r_shape[1] + (b1.box.mcShape.S[1,2] * b1.box.mcShape.r_shape[2] + b1.box.mcShape.S[1,3] * b1.box.mcShape.r_shape[3]));
1552 b1.box.mcShape.rvisobj[2] = b1.box.mcShape.r[2] + (b1.box.mcShape.S[2,1] * b1.box.mcShape.r_shape[1] + (b1.box.mcShape.S[2,2] * b1.box.mcShape.r_shape[2] + b1.box.mcShape.S[2,3] * b1.box.mcShape.r_shape[3]));
1553 b1.box.mcShape.rvisobj[3] = b1.box.mcShape.r[3] + (b1.box.mcShape.S[3,1] * b1.box.mcShape.r_shape[1] + (b1.box.mcShape.S[3,2] * b1.box.mcShape.r_shape[2] + b1.box.mcShape.S[3,3] * b1.box.mcShape.r_shape[3]));
1554 b1.box.mcShape.rxvisobj[1] = b1.box.mcShape.S[1,1] * b1.box.mcShape.e_x[1] + (b1.box.mcShape.S[1,2] * b1.box.mcShape.e_x[2] + b1.box.mcShape.S[1,3] * b1.box.mcShape.e_x[3]);
1555 b1.box.mcShape.rxvisobj[2] = b1.box.mcShape.S[2,1] * b1.box.mcShape.e_x[1] + (b1.box.mcShape.S[2,2] * b1.box.mcShape.e_x[2] + b1.box.mcShape.S[2,3] * b1.box.mcShape.e_x[3]);
1556 b1.box.mcShape.rxvisobj[3] = b1.box.mcShape.S[3,1] * b1.box.mcShape.e_x[1] + (b1.box.mcShape.S[3,2] * b1.box.mcShape.e_x[2] + b1.box.mcShape.S[3,3] * b1.box.mcShape.e_x[3]);
1557 b1.box.mcShape.ryvisobj[1] = b1.box.mcShape.S[1,1] * b1.box.mcShape.e_y[1] + (b1.box.mcShape.S[1,2] * b1.box.mcShape.e_y[2] + b1.box.mcShape.S[1,3] * b1.box.mcShape.e_y[3]);
1558 b1.box.mcShape.ryvisobj[2] = b1.box.mcShape.S[2,1] * b1.box.mcShape.e_y[1] + (b1.box.mcShape.S[2,2] * b1.box.mcShape.e_y[2] + b1.box.mcShape.S[2,3] * b1.box.mcShape.e_y[3]);
1559 b1.box.mcShape.ryvisobj[3] = b1.box.mcShape.S[3,1] * b1.box.mcShape.e_y[1] + (b1.box.mcShape.S[3,2] * b1.box.mcShape.e_y[2] + b1.box.mcShape.S[3,3] * b1.box.mcShape.e_y[3]);
1560 b1.box.mcShape.size[1] = b1.box.mcShape.length;
1561 b1.box.mcShape.size[2] = b1.box.mcShape.width;
1562 b1.box.mcShape.size[3] = b1.box.mcShape.height;
1563 b1.box.r[1] = b1.r0a[1];
1564 b1.box.r[2] = b1.r0a[2];
1565 b1.box.r[3] = b1.r0a[3];
1566 b1.frameTranslation.Sb[1,1] = b1.frameTranslation.Sa[1,1];
1567 b1.frameTranslation.Sb[1,2] = b1.frameTranslation.Sa[1,2];
1568 b1.frameTranslation.Sb[1,3] = b1.frameTranslation.Sa[1,3];
1569 b1.frameTranslation.Sb[2,1] = b1.frameTranslation.Sa[2,1];
1570 b1.frameTranslation.Sb[2,2] = b1.frameTranslation.Sa[2,2];
1571 b1.frameTranslation.Sb[2,3] = b1.frameTranslation.Sa[2,3];
1572 b1.frameTranslation.Sb[3,1] = b1.frameTranslation.Sa[3,1];
1573 b1.frameTranslation.Sb[3,2] = b1.frameTranslation.Sa[3,2];
1574 b1.frameTranslation.Sb[3,3] = b1.frameTranslation.Sa[3,3];
1575 b1.frameTranslation.ab[1] = b1.frameTranslation.aa[1] + (b1.frameTranslation.za[2] * b1.frameTranslation.r[3] + ((-b1.frameTranslation.za[3] * b1.frameTranslation.r[2]) + (b1.frameTranslation.wa[2] * b1.frameTranslation.vaux[3] + (-b1.frameTranslation.wa[3] * b1.frameTranslation.vaux[2]))));
1576 b1.frameTranslation.ab[2] = b1.frameTranslation.aa[2] + (b1.frameTranslation.za[3] * b1.frameTranslation.r[1] + ((-b1.frameTranslation.za[1] * b1.frameTranslation.r[3]) + (b1.frameTranslation.wa[3] * b1.frameTranslation.vaux[1] + (-b1.frameTranslation.wa[1] * b1.frameTranslation.vaux[3]))));
1577 b1.frameTranslation.ab[3] = b1.frameTranslation.aa[3] + (b1.frameTranslation.za[1] * b1.frameTranslation.r[2] + ((-b1.frameTranslation.za[2] * b1.frameTranslation.r[1]) + (b1.frameTranslation.wa[1] * b1.frameTranslation.vaux[2] + (-b1.frameTranslation.wa[2] * b1.frameTranslation.vaux[1]))));
1578 b1.frameTranslation.fa[1] = b1.frameTranslation.fb[1];
1579 b1.frameTranslation.fa[2] = b1.frameTranslation.fb[2];
1580 b1.frameTranslation.fa[3] = b1.frameTranslation.fb[3];
1581 b1.frameTranslation.frame_b.S[1,1] = b1.frame_b.S[1,1];
1582 b1.frameTranslation.frame_b.S[1,1] = barC.frame_b.S[1,1];
1583 b1.frameTranslation.frame_b.S[1,2] = b1.frame_b.S[1,2];
1584 b1.frameTranslation.frame_b.S[1,2] = barC.frame_b.S[1,2];
1585 b1.frameTranslation.frame_b.S[1,3] = b1.frame_b.S[1,3];
1586 b1.frameTranslation.frame_b.S[1,3] = barC.frame_b.S[1,3];
1587 b1.frameTranslation.frame_b.S[2,1] = b1.frame_b.S[2,1];
1588 b1.frameTranslation.frame_b.S[2,1] = barC.frame_b.S[2,1];
1589 b1.frameTranslation.frame_b.S[2,2] = b1.frame_b.S[2,2];
1590 b1.frameTranslation.frame_b.S[2,2] = barC.frame_b.S[2,2];
1591 b1.frameTranslation.frame_b.S[2,3] = b1.frame_b.S[2,3];
1592 b1.frameTranslation.frame_b.S[2,3] = barC.frame_b.S[2,3];
1593 b1.frameTranslation.frame_b.S[3,1] = b1.frame_b.S[3,1];
1594 b1.frameTranslation.frame_b.S[3,1] = barC.frame_b.S[3,1];
1595 b1.frameTranslation.frame_b.S[3,2] = b1.frame_b.S[3,2];
1596 b1.frameTranslation.frame_b.S[3,2] = barC.frame_b.S[3,2];
1597 b1.frameTranslation.frame_b.S[3,3] = b1.frame_b.S[3,3];
1598 b1.frameTranslation.frame_b.S[3,3] = barC.frame_b.S[3,3];
1599 b1.frameTranslation.frame_b.a[1] = b1.frame_b.a[1];
1600 b1.frameTranslation.frame_b.a[1] = barC.frame_b.a[1];
1601 b1.frameTranslation.frame_b.a[2] = b1.frame_b.a[2];
1602 b1.frameTranslation.frame_b.a[2] = barC.frame_b.a[2];
1603 b1.frameTranslation.frame_b.a[3] = b1.frame_b.a[3];
1604 b1.frameTranslation.frame_b.a[3] = barC.frame_b.a[3];
1605 b1.frameTranslation.frame_b.f[1] + (-b1.frame_b.f[1]) = 0.0;
1606 b1.frameTranslation.frame_b.f[2] + (-b1.frame_b.f[2]) = 0.0;
1607 b1.frameTranslation.frame_b.f[3] + (-b1.frame_b.f[3]) = 0.0;
1608 b1.frameTranslation.frame_b.r0[1] = b1.frame_b.r0[1];
1609 b1.frameTranslation.frame_b.r0[1] = barC.frame_b.r0[1];
1610 b1.frameTranslation.frame_b.r0[2] = b1.frame_b.r0[2];
1611 b1.frameTranslation.frame_b.r0[2] = barC.frame_b.r0[2];
1612 b1.frameTranslation.frame_b.r0[3] = b1.frame_b.r0[3];
1613 b1.frameTranslation.frame_b.r0[3] = barC.frame_b.r0[3];
1614 b1.frameTranslation.frame_b.t[1] + (-b1.frame_b.t[1]) = 0.0;
1615 b1.frameTranslation.frame_b.t[2] + (-b1.frame_b.t[2]) = 0.0;
1616 b1.frameTranslation.frame_b.t[3] + (-b1.frame_b.t[3]) = 0.0;
1617 b1.frameTranslation.frame_b.v[1] = b1.frame_b.v[1];
1618 b1.frameTranslation.frame_b.v[1] = barC.frame_b.v[1];
1619 b1.frameTranslation.frame_b.v[2] = b1.frame_b.v[2];
1620 b1.frameTranslation.frame_b.v[2] = barC.frame_b.v[2];
1621 b1.frameTranslation.frame_b.v[3] = b1.frame_b.v[3];
1622 b1.frameTranslation.frame_b.v[3] = barC.frame_b.v[3];
1623 b1.frameTranslation.frame_b.w[1] = b1.frame_b.w[1];
1624 b1.frameTranslation.frame_b.w[1] = barC.frame_b.w[1];
1625 b1.frameTranslation.frame_b.w[2] = b1.frame_b.w[2];
1626 b1.frameTranslation.frame_b.w[2] = barC.frame_b.w[2];
1627 b1.frameTranslation.frame_b.w[3] = b1.frame_b.w[3];
1628 b1.frameTranslation.frame_b.w[3] = barC.frame_b.w[3];
1629 b1.frameTranslation.frame_b.z[1] = b1.frame_b.z[1];
1630 b1.frameTranslation.frame_b.z[1] = barC.frame_b.z[1];
1631 b1.frameTranslation.frame_b.z[2] = b1.frame_b.z[2];
1632 b1.frameTranslation.frame_b.z[2] = barC.frame_b.z[2];
1633 b1.frameTranslation.frame_b.z[3] = b1.frame_b.z[3];
1634 b1.frameTranslation.frame_b.z[3] = barC.frame_b.z[3];
1635 b1.frameTranslation.r0b[1] = b1.frameTranslation.r0a[1] + (b1.frameTranslation.Sa[1,1] * b1.frameTranslation.r[1] + (b1.frameTranslation.Sa[1,2] * b1.frameTranslation.r[2] + b1.frameTranslation.Sa[1,3] * b1.frameTranslation.r[3]));
1636 b1.frameTranslation.r0b[2] = b1.frameTranslation.r0a[2] + (b1.frameTranslation.Sa[2,1] * b1.frameTranslation.r[1] + (b1.frameTranslation.Sa[2,2] * b1.frameTranslation.r[2] + b1.frameTranslation.Sa[2,3] * b1.frameTranslation.r[3]));
1637 b1.frameTranslation.r0b[3] = b1.frameTranslation.r0a[3] + (b1.frameTranslation.Sa[3,1] * b1.frameTranslation.r[1] + (b1.frameTranslation.Sa[3,2] * b1.frameTranslation.r[2] + b1.frameTranslation.Sa[3,3] * b1.frameTranslation.r[3]));
1638 b1.frameTranslation.ta[1] = b1.frameTranslation.tb[1] + (b1.frameTranslation.r[2] * b1.frameTranslation.fa[3] + (-b1.frameTranslation.r[3] * b1.frameTranslation.fa[2]));
1639 b1.frameTranslation.ta[2] = b1.frameTranslation.tb[2] + (b1.frameTranslation.r[3] * b1.frameTranslation.fa[1] + (-b1.frameTranslation.r[1] * b1.frameTranslation.fa[3]));
1640 b1.frameTranslation.ta[3] = b1.frameTranslation.tb[3] + (b1.frameTranslation.r[1] * b1.frameTranslation.fa[2] + (-b1.frameTranslation.r[2] * b1.frameTranslation.fa[1]));
1641 b1.frameTranslation.vaux[1] = b1.frameTranslation.wa[2] * b1.frameTranslation.r[3] - b1.frameTranslation.wa[3] * b1.frameTranslation.r[2];
1642 b1.frameTranslation.vaux[2] = b1.frameTranslation.wa[3] * b1.frameTranslation.r[1] - b1.frameTranslation.wa[1] * b1.frameTranslation.r[3];
1643 b1.frameTranslation.vaux[3] = b1.frameTranslation.wa[1] * b1.frameTranslation.r[2] - b1.frameTranslation.wa[2] * b1.frameTranslation.r[1];
1644 b1.frameTranslation.vb[1] = b1.frameTranslation.va[1] + b1.frameTranslation.vaux[1];
1645 b1.frameTranslation.vb[2] = b1.frameTranslation.va[2] + b1.frameTranslation.vaux[2];
1646 b1.frameTranslation.vb[3] = b1.frameTranslation.va[3] + b1.frameTranslation.vaux[3];
1647 b1.frameTranslation.wb[1] = b1.frameTranslation.wa[1];
1648 b1.frameTranslation.wb[2] = b1.frameTranslation.wa[2];
1649 b1.frameTranslation.wb[3] = b1.frameTranslation.wa[3];
1650 b1.frameTranslation.zb[1] = b1.frameTranslation.za[1];
1651 b1.frameTranslation.zb[2] = b1.frameTranslation.za[2];
1652 b1.frameTranslation.zb[3] = b1.frameTranslation.za[3];
1653 b1.frame_b.f[1] + barC.frame_b.f[1] = 0.0;
1654 b1.frame_b.f[2] + barC.frame_b.f[2] = 0.0;
1655 b1.frame_b.f[3] + barC.frame_b.f[3] = 0.0;
1656 b1.frame_b.t[1] + barC.frame_b.t[1] = 0.0;
1657 b1.frame_b.t[2] + barC.frame_b.t[2] = 0.0;
1658 b1.frame_b.t[3] + barC.frame_b.t[3] = 0.0;
1659 b1.mi = 3141.59265358979 * (b1.rho * (b1.Length * b1.InnerRadius ^ 2.0));
1660 b1.mo = 3141.59265358979 * (b1.rho * (b1.Length * b1.Radius ^ 2.0));
1661 b2.I22 = b2.mo * (b2.Length ^ 2.0 + 3.0 * b2.Radius ^ 2.0) / 12.0 - b2.mi * (b2.Length ^ 2.0 + 3.0 * b2.InnerRadius ^ 2.0) / 12.0;
1662 b2.body.I[1,1] = b2.Scyl[1,1] ^ 2.0 * (0.5 * (b2.mo * b2.Radius ^ 2.0) - 0.5 * (b2.mi * b2.InnerRadius ^ 2.0)) + (b2.Scyl[1,2] ^ 2.0 * b2.I22 + b2.Scyl[1,3] ^ 2.0 * b2.I22);
1663 b2.body.I[1,2] = b2.Scyl[1,1] * ((0.5 * (b2.mo * b2.Radius ^ 2.0) - 0.5 * (b2.mi * b2.InnerRadius ^ 2.0)) * b2.Scyl[2,1]) + (b2.Scyl[1,2] * (b2.I22 * b2.Scyl[2,2]) + b2.Scyl[1,3] * (b2.I22 * b2.Scyl[2,3]));
1664 b2.body.I[1,3] = b2.Scyl[1,1] * ((0.5 * (b2.mo * b2.Radius ^ 2.0) - 0.5 * (b2.mi * b2.InnerRadius ^ 2.0)) * b2.Scyl[3,1]) + (b2.Scyl[1,2] * (b2.I22 * b2.Scyl[3,2]) + b2.Scyl[1,3] * (b2.I22 * b2.Scyl[3,3]));
1665 b2.body.I[2,1] = b2.Scyl[2,1] * ((0.5 * (b2.mo * b2.Radius ^ 2.0) - 0.5 * (b2.mi * b2.InnerRadius ^ 2.0)) * b2.Scyl[1,1]) + (b2.Scyl[2,2] * (b2.I22 * b2.Scyl[1,2]) + b2.Scyl[2,3] * (b2.I22 * b2.Scyl[1,3]));
1666 b2.body.I[2,2] = b2.Scyl[2,1] ^ 2.0 * (0.5 * (b2.mo * b2.Radius ^ 2.0) - 0.5 * (b2.mi * b2.InnerRadius ^ 2.0)) + (b2.Scyl[2,2] ^ 2.0 * b2.I22 + b2.Scyl[2,3] ^ 2.0 * b2.I22);
1667 b2.body.I[2,3] = b2.Scyl[2,1] * ((0.5 * (b2.mo * b2.Radius ^ 2.0) - 0.5 * (b2.mi * b2.InnerRadius ^ 2.0)) * b2.Scyl[3,1]) + (b2.Scyl[2,2] * (b2.I22 * b2.Scyl[3,2]) + b2.Scyl[2,3] * (b2.I22 * b2.Scyl[3,3]));
1668 b2.body.I[3,1] = b2.Scyl[3,1] * ((0.5 * (b2.mo * b2.Radius ^ 2.0) - 0.5 * (b2.mi * b2.InnerRadius ^ 2.0)) * b2.Scyl[1,1]) + (b2.Scyl[3,2] * (b2.I22 * b2.Scyl[1,2]) + b2.Scyl[3,3] * (b2.I22 * b2.Scyl[1,3]));
1669 b2.body.I[3,2] = b2.Scyl[3,1] * ((0.5 * (b2.mo * b2.Radius ^ 2.0) - 0.5 * (b2.mi * b2.InnerRadius ^ 2.0)) * b2.Scyl[2,1]) + (b2.Scyl[3,2] * (b2.I22 * b2.Scyl[2,2]) + b2.Scyl[3,3] * (b2.I22 * b2.Scyl[2,3]));
1670 b2.body.I[3,3] = b2.Scyl[3,1] ^ 2.0 * (0.5 * (b2.mo * b2.Radius ^ 2.0) - 0.5 * (b2.mi * b2.InnerRadius ^ 2.0)) + (b2.Scyl[3,2] ^ 2.0 * b2.I22 + b2.Scyl[3,3] ^ 2.0 * b2.I22);
1671 b2.body.fa[1] = b2.body.m * (b2.body.aa[1] + (b2.body.za[2] * b2.body.rCM[3] + ((-b2.body.za[3] * b2.body.rCM[2]) + (b2.body.wa[2] * (b2.body.wa[1] * b2.body.rCM[2] - b2.body.wa[2] * b2.body.rCM[1]) + (-b2.body.wa[3] * (b2.body.wa[3] * b2.body.rCM[1] - b2.body.wa[1] * b2.body.rCM[3]))))));
1672 b2.body.fa[2] = b2.body.m * (b2.body.aa[2] + (b2.body.za[3] * b2.body.rCM[1] + ((-b2.body.za[1] * b2.body.rCM[3]) + (b2.body.wa[3] * (b2.body.wa[2] * b2.body.rCM[3] - b2.body.wa[3] * b2.body.rCM[2]) + (-b2.body.wa[1] * (b2.body.wa[1] * b2.body.rCM[2] - b2.body.wa[2] * b2.body.rCM[1]))))));
1673 b2.body.fa[3] = b2.body.m * (b2.body.aa[3] + (b2.body.za[1] * b2.body.rCM[2] + ((-b2.body.za[2] * b2.body.rCM[1]) + (b2.body.wa[1] * (b2.body.wa[3] * b2.body.rCM[1] - b2.body.wa[1] * b2.body.rCM[3]) + (-b2.body.wa[2] * (b2.body.wa[2] * b2.body.rCM[3] - b2.body.wa[3] * b2.body.rCM[2]))))));
1674 b2.body.frame_a.S[1,1] = b2.frameTranslation.frame_a.S[1,1];
1675 b2.body.frame_a.S[1,1] = b2.frame_a.S[1,1];
1676 b2.body.frame_a.S[1,1] = j2.frame_b.S[1,1];
1677 b2.body.frame_a.S[1,2] = b2.frameTranslation.frame_a.S[1,2];
1678 b2.body.frame_a.S[1,2] = b2.frame_a.S[1,2];
1679 b2.body.frame_a.S[1,2] = j2.frame_b.S[1,2];
1680 b2.body.frame_a.S[1,3] = b2.frameTranslation.frame_a.S[1,3];
1681 b2.body.frame_a.S[1,3] = b2.frame_a.S[1,3];
1682 b2.body.frame_a.S[1,3] = j2.frame_b.S[1,3];
1683 b2.body.frame_a.S[2,1] = b2.frameTranslation.frame_a.S[2,1];
1684 b2.body.frame_a.S[2,1] = b2.frame_a.S[2,1];
1685 b2.body.frame_a.S[2,1] = j2.frame_b.S[2,1];
1686 b2.body.frame_a.S[2,2] = b2.frameTranslation.frame_a.S[2,2];
1687 b2.body.frame_a.S[2,2] = b2.frame_a.S[2,2];
1688 b2.body.frame_a.S[2,2] = j2.frame_b.S[2,2];
1689 b2.body.frame_a.S[2,3] = b2.frameTranslation.frame_a.S[2,3];
1690 b2.body.frame_a.S[2,3] = b2.frame_a.S[2,3];
1691 b2.body.frame_a.S[2,3] = j2.frame_b.S[2,3];
1692 b2.body.frame_a.S[3,1] = b2.frameTranslation.frame_a.S[3,1];
1693 b2.body.frame_a.S[3,1] = b2.frame_a.S[3,1];
1694 b2.body.frame_a.S[3,1] = j2.frame_b.S[3,1];
1695 b2.body.frame_a.S[3,2] = b2.frameTranslation.frame_a.S[3,2];
1696 b2.body.frame_a.S[3,2] = b2.frame_a.S[3,2];
1697 b2.body.frame_a.S[3,2] = j2.frame_b.S[3,2];
1698 b2.body.frame_a.S[3,3] = b2.frameTranslation.frame_a.S[3,3];
1699 b2.body.frame_a.S[3,3] = b2.frame_a.S[3,3];
1700 b2.body.frame_a.S[3,3] = j2.frame_b.S[3,3];
1701 b2.body.frame_a.a[1] = b2.frameTranslation.frame_a.a[1];
1702 b2.body.frame_a.a[1] = b2.frame_a.a[1];
1703 b2.body.frame_a.a[1] = j2.frame_b.a[1];
1704 b2.body.frame_a.a[2] = b2.frameTranslation.frame_a.a[2];
1705 b2.body.frame_a.a[2] = b2.frame_a.a[2];
1706 b2.body.frame_a.a[2] = j2.frame_b.a[2];
1707 b2.body.frame_a.a[3] = b2.frameTranslation.frame_a.a[3];
1708 b2.body.frame_a.a[3] = b2.frame_a.a[3];
1709 b2.body.frame_a.a[3] = j2.frame_b.a[3];
1710 b2.body.frame_a.r0[1] = b2.frameTranslation.frame_a.r0[1];
1711 b2.body.frame_a.r0[1] = b2.frame_a.r0[1];
1712 b2.body.frame_a.r0[1] = j2.frame_b.r0[1];
1713 b2.body.frame_a.r0[2] = b2.frameTranslation.frame_a.r0[2];
1714 b2.body.frame_a.r0[2] = b2.frame_a.r0[2];
1715 b2.body.frame_a.r0[2] = j2.frame_b.r0[2];
1716 b2.body.frame_a.r0[3] = b2.frameTranslation.frame_a.r0[3];
1717 b2.body.frame_a.r0[3] = b2.frame_a.r0[3];
1718 b2.body.frame_a.r0[3] = j2.frame_b.r0[3];
1719 b2.body.frame_a.v[1] = b2.frameTranslation.frame_a.v[1];
1720 b2.body.frame_a.v[1] = b2.frame_a.v[1];
1721 b2.body.frame_a.v[1] = j2.frame_b.v[1];
1722 b2.body.frame_a.v[2] = b2.frameTranslation.frame_a.v[2];
1723 b2.body.frame_a.v[2] = b2.frame_a.v[2];
1724 b2.body.frame_a.v[2] = j2.frame_b.v[2];
1725 b2.body.frame_a.v[3] = b2.frameTranslation.frame_a.v[3];
1726 b2.body.frame_a.v[3] = b2.frame_a.v[3];
1727 b2.body.frame_a.v[3] = j2.frame_b.v[3];
1728 b2.body.frame_a.w[1] = b2.frameTranslation.frame_a.w[1];
1729 b2.body.frame_a.w[1] = b2.frame_a.w[1];
1730 b2.body.frame_a.w[1] = j2.frame_b.w[1];
1731 b2.body.frame_a.w[2] = b2.frameTranslation.frame_a.w[2];
1732 b2.body.frame_a.w[2] = b2.frame_a.w[2];
1733 b2.body.frame_a.w[2] = j2.frame_b.w[2];
1734 b2.body.frame_a.w[3] = b2.frameTranslation.frame_a.w[3];
1735 b2.body.frame_a.w[3] = b2.frame_a.w[3];
1736 b2.body.frame_a.w[3] = j2.frame_b.w[3];
1737 b2.body.frame_a.z[1] = b2.frameTranslation.frame_a.z[1];
1738 b2.body.frame_a.z[1] = b2.frame_a.z[1];
1739 b2.body.frame_a.z[1] = j2.frame_b.z[1];
1740 b2.body.frame_a.z[2] = b2.frameTranslation.frame_a.z[2];
1741 b2.body.frame_a.z[2] = b2.frame_a.z[2];
1742 b2.body.frame_a.z[2] = j2.frame_b.z[2];
1743 b2.body.frame_a.z[3] = b2.frameTranslation.frame_a.z[3];
1744 b2.body.frame_a.z[3] = b2.frame_a.z[3];
1745 b2.body.frame_a.z[3] = j2.frame_b.z[3];
1746 b2.body.m = b2.mo - b2.mi;
1747 b2.body.rCM[1] = b2.r0[1] + 0.5 * (b2.Length * b2.box.nLength[1]);
1748 b2.body.rCM[2] = b2.r0[2] + 0.5 * (b2.Length * b2.box.nLength[2]);
1749 b2.body.rCM[3] = b2.r0[3] + 0.5 * (b2.Length * b2.box.nLength[3]);
1750 b2.body.ta[1] = b2.body.I[1,1] * b2.body.za[1] + (b2.body.I[1,2] * b2.body.za[2] + (b2.body.I[1,3] * b2.body.za[3] + (b2.body.wa[2] * (b2.body.I[3,1] * b2.body.wa[1] + (b2.body.I[3,2] * b2.body.wa[2] + b2.body.I[3,3] * b2.body.wa[3])) + ((-b2.body.wa[3] * (b2.body.I[2,1] * b2.body.wa[1] + (b2.body.I[2,2] * b2.body.wa[2] + b2.body.I[2,3] * b2.body.wa[3]))) + (b2.body.rCM[2] * b2.body.fa[3] + (-b2.body.rCM[3] * b2.body.fa[2]))))));
1751 b2.body.ta[2] = b2.body.I[2,1] * b2.body.za[1] + (b2.body.I[2,2] * b2.body.za[2] + (b2.body.I[2,3] * b2.body.za[3] + (b2.body.wa[3] * (b2.body.I[1,1] * b2.body.wa[1] + (b2.body.I[1,2] * b2.body.wa[2] + b2.body.I[1,3] * b2.body.wa[3])) + ((-b2.body.wa[1] * (b2.body.I[3,1] * b2.body.wa[1] + (b2.body.I[3,2] * b2.body.wa[2] + b2.body.I[3,3] * b2.body.wa[3]))) + (b2.body.rCM[3] * b2.body.fa[1] + (-b2.body.rCM[1] * b2.body.fa[3]))))));
1752 b2.body.ta[3] = b2.body.I[3,1] * b2.body.za[1] + (b2.body.I[3,2] * b2.body.za[2] + (b2.body.I[3,3] * b2.body.za[3] + (b2.body.wa[1] * (b2.body.I[2,1] * b2.body.wa[1] + (b2.body.I[2,2] * b2.body.wa[2] + b2.body.I[2,3] * b2.body.wa[3])) + ((-b2.body.wa[2] * (b2.body.I[1,1] * b2.body.wa[1] + (b2.body.I[1,2] * b2.body.wa[2] + b2.body.I[1,3] * b2.body.wa[3]))) + (b2.body.rCM[1] * b2.body.fa[2] + (-b2.body.rCM[2] * b2.body.fa[1]))))));
1753 b2.box.S[1,1] = b2.Sa[1,1];
1754 b2.box.S[1,2] = b2.Sa[1,2];
1755 b2.box.S[1,3] = b2.Sa[1,3];
1756 b2.box.S[2,1] = b2.Sa[2,1];
1757 b2.box.S[2,2] = b2.Sa[2,2];
1758 b2.box.S[2,3] = b2.Sa[2,3];
1759 b2.box.S[3,1] = b2.Sa[3,1];
1760 b2.box.S[3,2] = b2.Sa[3,2];
1761 b2.box.S[3,3] = b2.Sa[3,3];
1762 b2.box.Sshape[1,1] = b2.Scyl[1,1];
1763 b2.box.Sshape[1,2] = b2.Scyl[1,2];
1764 b2.box.Sshape[1,3] = b2.Scyl[1,3];
1765 b2.box.Sshape[2,1] = b2.Scyl[2,1];
1766 b2.box.Sshape[2,2] = b2.Scyl[2,2];
1767 b2.box.Sshape[2,3] = b2.Scyl[2,3];
1768 b2.box.Sshape[3,1] = b2.Scyl[3,1];
1769 b2.box.Sshape[3,2] = b2.Scyl[3,2];
1770 b2.box.Sshape[3,3] = b2.Scyl[3,3];
1771 b2.box.mcShape.Extra = b2.box.mcShape.extra;
1772 b2.box.mcShape.Form = 9.87e+25 + 1e+20 * PackShape(b2.box.mcShape.shapeType);
1773 b2.box.mcShape.Material = PackMaterial(b2.box.mcShape.color[1] / 255.0,b2.box.mcShape.color[2] / 255.0,b2.box.mcShape.color[3] / 255.0,b2.box.mcShape.specularCoefficient);
1774 b2.box.mcShape.Sshape[1,1] = b2.box.mcShape.e_x[1];
1775 b2.box.mcShape.Sshape[1,2] = b2.box.mcShape.e_y[1];
1776 b2.box.mcShape.Sshape[1,3] = b2.box.mcShape.e_x[2] * b2.box.mcShape.e_y[3] - b2.box.mcShape.e_x[3] * b2.box.mcShape.e_y[2];
1777 b2.box.mcShape.Sshape[2,1] = b2.box.mcShape.e_x[2];
1778 b2.box.mcShape.Sshape[2,2] = b2.box.mcShape.e_y[2];
1779 b2.box.mcShape.Sshape[2,3] = b2.box.mcShape.e_x[3] * b2.box.mcShape.e_y[1] - b2.box.mcShape.e_x[1] * b2.box.mcShape.e_y[3];
1780 b2.box.mcShape.Sshape[3,1] = b2.box.mcShape.e_x[3];
1781 b2.box.mcShape.Sshape[3,2] = b2.box.mcShape.e_y[3];
1782 b2.box.mcShape.Sshape[3,3] = b2.box.mcShape.e_x[1] * b2.box.mcShape.e_y[2] - b2.box.mcShape.e_x[2] * b2.box.mcShape.e_y[1];
1783 b2.box.mcShape.e_x[1] = b2.box.nLength[1];
1784 b2.box.mcShape.e_x[2] = b2.box.nLength[2];
1785 b2.box.mcShape.e_x[3] = b2.box.nLength[3];
1786 b2.box.mcShape.e_y[1] = b2.box.nWidth[1];
1787 b2.box.mcShape.e_y[2] = b2.box.nWidth[2];
1788 b2.box.mcShape.e_y[3] = b2.box.nWidth[3];
1789 b2.box.mcShape.e_z[1] = b2.box.nHeight[1];
1790 b2.box.mcShape.e_z[2] = b2.box.nHeight[2];
1791 b2.box.mcShape.e_z[3] = b2.box.nHeight[3];
1792 b2.box.mcShape.rvisobj[1] = b2.box.mcShape.r[1] + (b2.box.mcShape.S[1,1] * b2.box.mcShape.r_shape[1] + (b2.box.mcShape.S[1,2] * b2.box.mcShape.r_shape[2] + b2.box.mcShape.S[1,3] * b2.box.mcShape.r_shape[3]));
1793 b2.box.mcShape.rvisobj[2] = b2.box.mcShape.r[2] + (b2.box.mcShape.S[2,1] * b2.box.mcShape.r_shape[1] + (b2.box.mcShape.S[2,2] * b2.box.mcShape.r_shape[2] + b2.box.mcShape.S[2,3] * b2.box.mcShape.r_shape[3]));
1794 b2.box.mcShape.rvisobj[3] = b2.box.mcShape.r[3] + (b2.box.mcShape.S[3,1] * b2.box.mcShape.r_shape[1] + (b2.box.mcShape.S[3,2] * b2.box.mcShape.r_shape[2] + b2.box.mcShape.S[3,3] * b2.box.mcShape.r_shape[3]));
1795 b2.box.mcShape.rxvisobj[1] = b2.box.mcShape.S[1,1] * b2.box.mcShape.e_x[1] + (b2.box.mcShape.S[1,2] * b2.box.mcShape.e_x[2] + b2.box.mcShape.S[1,3] * b2.box.mcShape.e_x[3]);
1796 b2.box.mcShape.rxvisobj[2] = b2.box.mcShape.S[2,1] * b2.box.mcShape.e_x[1] + (b2.box.mcShape.S[2,2] * b2.box.mcShape.e_x[2] + b2.box.mcShape.S[2,3] * b2.box.mcShape.e_x[3]);
1797 b2.box.mcShape.rxvisobj[3] = b2.box.mcShape.S[3,1] * b2.box.mcShape.e_x[1] + (b2.box.mcShape.S[3,2] * b2.box.mcShape.e_x[2] + b2.box.mcShape.S[3,3] * b2.box.mcShape.e_x[3]);
1798 b2.box.mcShape.ryvisobj[1] = b2.box.mcShape.S[1,1] * b2.box.mcShape.e_y[1] + (b2.box.mcShape.S[1,2] * b2.box.mcShape.e_y[2] + b2.box.mcShape.S[1,3] * b2.box.mcShape.e_y[3]);
1799 b2.box.mcShape.ryvisobj[2] = b2.box.mcShape.S[2,1] * b2.box.mcShape.e_y[1] + (b2.box.mcShape.S[2,2] * b2.box.mcShape.e_y[2] + b2.box.mcShape.S[2,3] * b2.box.mcShape.e_y[3]);
1800 b2.box.mcShape.ryvisobj[3] = b2.box.mcShape.S[3,1] * b2.box.mcShape.e_y[1] + (b2.box.mcShape.S[3,2] * b2.box.mcShape.e_y[2] + b2.box.mcShape.S[3,3] * b2.box.mcShape.e_y[3]);
1801 b2.box.mcShape.size[1] = b2.box.mcShape.length;
1802 b2.box.mcShape.size[2] = b2.box.mcShape.width;
1803 b2.box.mcShape.size[3] = b2.box.mcShape.height;
1804 b2.box.r[1] = b2.r0a[1];
1805 b2.box.r[2] = b2.r0a[2];
1806 b2.box.r[3] = b2.r0a[3];
1807 b2.frameTranslation.Sb[1,1] = b2.frameTranslation.Sa[1,1];
1808 b2.frameTranslation.Sb[1,2] = b2.frameTranslation.Sa[1,2];
1809 b2.frameTranslation.Sb[1,3] = b2.frameTranslation.Sa[1,3];
1810 b2.frameTranslation.Sb[2,1] = b2.frameTranslation.Sa[2,1];
1811 b2.frameTranslation.Sb[2,2] = b2.frameTranslation.Sa[2,2];
1812 b2.frameTranslation.Sb[2,3] = b2.frameTranslation.Sa[2,3];
1813 b2.frameTranslation.Sb[3,1] = b2.frameTranslation.Sa[3,1];
1814 b2.frameTranslation.Sb[3,2] = b2.frameTranslation.Sa[3,2];
1815 b2.frameTranslation.Sb[3,3] = b2.frameTranslation.Sa[3,3];
1816 b2.frameTranslation.ab[1] = b2.frameTranslation.aa[1] + (b2.frameTranslation.za[2] * b2.frameTranslation.r[3] + ((-b2.frameTranslation.za[3] * b2.frameTranslation.r[2]) + (b2.frameTranslation.wa[2] * b2.frameTranslation.vaux[3] + (-b2.frameTranslation.wa[3] * b2.frameTranslation.vaux[2]))));
1817 b2.frameTranslation.ab[2] = b2.frameTranslation.aa[2] + (b2.frameTranslation.za[3] * b2.frameTranslation.r[1] + ((-b2.frameTranslation.za[1] * b2.frameTranslation.r[3]) + (b2.frameTranslation.wa[3] * b2.frameTranslation.vaux[1] + (-b2.frameTranslation.wa[1] * b2.frameTranslation.vaux[3]))));
1818 b2.frameTranslation.ab[3] = b2.frameTranslation.aa[3] + (b2.frameTranslation.za[1] * b2.frameTranslation.r[2] + ((-b2.frameTranslation.za[2] * b2.frameTranslation.r[1]) + (b2.frameTranslation.wa[1] * b2.frameTranslation.vaux[2] + (-b2.frameTranslation.wa[2] * b2.frameTranslation.vaux[1]))));
1819 b2.frameTranslation.fa[1] = b2.frameTranslation.fb[1];
1820 b2.frameTranslation.fa[2] = b2.frameTranslation.fb[2];
1821 b2.frameTranslation.fa[3] = b2.frameTranslation.fb[3];
1822 b2.frameTranslation.frame_b.S[1,1] = b2.frame_b.S[1,1];
1823 b2.frameTranslation.frame_b.S[1,1] = barC.frame_a.S[1,1];
1824 b2.frameTranslation.frame_b.S[1,2] = b2.frame_b.S[1,2];
1825 b2.frameTranslation.frame_b.S[1,2] = barC.frame_a.S[1,2];
1826 b2.frameTranslation.frame_b.S[1,3] = b2.frame_b.S[1,3];
1827 b2.frameTranslation.frame_b.S[1,3] = barC.frame_a.S[1,3];
1828 b2.frameTranslation.frame_b.S[2,1] = b2.frame_b.S[2,1];
1829 b2.frameTranslation.frame_b.S[2,1] = barC.frame_a.S[2,1];
1830 b2.frameTranslation.frame_b.S[2,2] = b2.frame_b.S[2,2];
1831 b2.frameTranslation.frame_b.S[2,2] = barC.frame_a.S[2,2];
1832 b2.frameTranslation.frame_b.S[2,3] = b2.frame_b.S[2,3];
1833 b2.frameTranslation.frame_b.S[2,3] = barC.frame_a.S[2,3];
1834 b2.frameTranslation.frame_b.S[3,1] = b2.frame_b.S[3,1];
1835 b2.frameTranslation.frame_b.S[3,1] = barC.frame_a.S[3,1];
1836 b2.frameTranslation.frame_b.S[3,2] = b2.frame_b.S[3,2];
1837 b2.frameTranslation.frame_b.S[3,2] = barC.frame_a.S[3,2];
1838 b2.frameTranslation.frame_b.S[3,3] = b2.frame_b.S[3,3];
1839 b2.frameTranslation.frame_b.S[3,3] = barC.frame_a.S[3,3];
1840 b2.frameTranslation.frame_b.a[1] = b2.frame_b.a[1];
1841 b2.frameTranslation.frame_b.a[1] = barC.frame_a.a[1];
1842 b2.frameTranslation.frame_b.a[2] = b2.frame_b.a[2];
1843 b2.frameTranslation.frame_b.a[2] = barC.frame_a.a[2];
1844 b2.frameTranslation.frame_b.a[3] = b2.frame_b.a[3];
1845 b2.frameTranslation.frame_b.a[3] = barC.frame_a.a[3];
1846 b2.frameTranslation.frame_b.f[1] + (-b2.frame_b.f[1]) = 0.0;
1847 b2.frameTranslation.frame_b.f[2] + (-b2.frame_b.f[2]) = 0.0;
1848 b2.frameTranslation.frame_b.f[3] + (-b2.frame_b.f[3]) = 0.0;
1849 b2.frameTranslation.frame_b.r0[1] = b2.frame_b.r0[1];
1850 b2.frameTranslation.frame_b.r0[1] = barC.frame_a.r0[1];
1851 b2.frameTranslation.frame_b.r0[2] = b2.frame_b.r0[2];
1852 b2.frameTranslation.frame_b.r0[2] = barC.frame_a.r0[2];
1853 b2.frameTranslation.frame_b.r0[3] = b2.frame_b.r0[3];
1854 b2.frameTranslation.frame_b.r0[3] = barC.frame_a.r0[3];
1855 b2.frameTranslation.frame_b.t[1] + (-b2.frame_b.t[1]) = 0.0;
1856 b2.frameTranslation.frame_b.t[2] + (-b2.frame_b.t[2]) = 0.0;
1857 b2.frameTranslation.frame_b.t[3] + (-b2.frame_b.t[3]) = 0.0;
1858 b2.frameTranslation.frame_b.v[1] = b2.frame_b.v[1];
1859 b2.frameTranslation.frame_b.v[1] = barC.frame_a.v[1];
1860 b2.frameTranslation.frame_b.v[2] = b2.frame_b.v[2];
1861 b2.frameTranslation.frame_b.v[2] = barC.frame_a.v[2];
1862 b2.frameTranslation.frame_b.v[3] = b2.frame_b.v[3];
1863 b2.frameTranslation.frame_b.v[3] = barC.frame_a.v[3];
1864 b2.frameTranslation.frame_b.w[1] = b2.frame_b.w[1];
1865 b2.frameTranslation.frame_b.w[1] = barC.frame_a.w[1];
1866 b2.frameTranslation.frame_b.w[2] = b2.frame_b.w[2];
1867 b2.frameTranslation.frame_b.w[2] = barC.frame_a.w[2];
1868 b2.frameTranslation.frame_b.w[3] = b2.frame_b.w[3];
1869 b2.frameTranslation.frame_b.w[3] = barC.frame_a.w[3];
1870 b2.frameTranslation.frame_b.z[1] = b2.frame_b.z[1];
1871 b2.frameTranslation.frame_b.z[1] = barC.frame_a.z[1];
1872 b2.frameTranslation.frame_b.z[2] = b2.frame_b.z[2];
1873 b2.frameTranslation.frame_b.z[2] = barC.frame_a.z[2];
1874 b2.frameTranslation.frame_b.z[3] = b2.frame_b.z[3];
1875 b2.frameTranslation.frame_b.z[3] = barC.frame_a.z[3];
1876 b2.frameTranslation.r0b[1] = b2.frameTranslation.r0a[1] + (b2.frameTranslation.Sa[1,1] * b2.frameTranslation.r[1] + (b2.frameTranslation.Sa[1,2] * b2.frameTranslation.r[2] + b2.frameTranslation.Sa[1,3] * b2.frameTranslation.r[3]));
1877 b2.frameTranslation.r0b[2] = b2.frameTranslation.r0a[2] + (b2.frameTranslation.Sa[2,1] * b2.frameTranslation.r[1] + (b2.frameTranslation.Sa[2,2] * b2.frameTranslation.r[2] + b2.frameTranslation.Sa[2,3] * b2.frameTranslation.r[3]));
1878 b2.frameTranslation.r0b[3] = b2.frameTranslation.r0a[3] + (b2.frameTranslation.Sa[3,1] * b2.frameTranslation.r[1] + (b2.frameTranslation.Sa[3,2] * b2.frameTranslation.r[2] + b2.frameTranslation.Sa[3,3] * b2.frameTranslation.r[3]));
1879 b2.frameTranslation.ta[1] = b2.frameTranslation.tb[1] + (b2.frameTranslation.r[2] * b2.frameTranslation.fa[3] + (-b2.frameTranslation.r[3] * b2.frameTranslation.fa[2]));
1880 b2.frameTranslation.ta[2] = b2.frameTranslation.tb[2] + (b2.frameTranslation.r[3] * b2.frameTranslation.fa[1] + (-b2.frameTranslation.r[1] * b2.frameTranslation.fa[3]));
1881 b2.frameTranslation.ta[3] = b2.frameTranslation.tb[3] + (b2.frameTranslation.r[1] * b2.frameTranslation.fa[2] + (-b2.frameTranslation.r[2] * b2.frameTranslation.fa[1]));
1882 b2.frameTranslation.vaux[1] = b2.frameTranslation.wa[2] * b2.frameTranslation.r[3] - b2.frameTranslation.wa[3] * b2.frameTranslation.r[2];
1883 b2.frameTranslation.vaux[2] = b2.frameTranslation.wa[3] * b2.frameTranslation.r[1] - b2.frameTranslation.wa[1] * b2.frameTranslation.r[3];
1884 b2.frameTranslation.vaux[3] = b2.frameTranslation.wa[1] * b2.frameTranslation.r[2] - b2.frameTranslation.wa[2] * b2.frameTranslation.r[1];
1885 b2.frameTranslation.vb[1] = b2.frameTranslation.va[1] + b2.frameTranslation.vaux[1];
1886 b2.frameTranslation.vb[2] = b2.frameTranslation.va[2] + b2.frameTranslation.vaux[2];
1887 b2.frameTranslation.vb[3] = b2.frameTranslation.va[3] + b2.frameTranslation.vaux[3];
1888 b2.frameTranslation.wb[1] = b2.frameTranslation.wa[1];
1889 b2.frameTranslation.wb[2] = b2.frameTranslation.wa[2];
1890 b2.frameTranslation.wb[3] = b2.frameTranslation.wa[3];
1891 b2.frameTranslation.zb[1] = b2.frameTranslation.za[1];
1892 b2.frameTranslation.zb[2] = b2.frameTranslation.za[2];
1893 b2.frameTranslation.zb[3] = b2.frameTranslation.za[3];
1894 b2.mi = 3141.59265358979 * (b2.rho * (b2.Length * b2.InnerRadius ^ 2.0));
1895 b2.mo = 3141.59265358979 * (b2.rho * (b2.Length * b2.Radius ^ 2.0));
1896 b3.I22 = b3.mo * (b3.Length ^ 2.0 + 3.0 * b3.Radius ^ 2.0) / 12.0 - b3.mi * (b3.Length ^ 2.0 + 3.0 * b3.InnerRadius ^ 2.0) / 12.0;
1897 b3.body.I[1,1] = b3.Scyl[1,1] ^ 2.0 * (0.5 * (b3.mo * b3.Radius ^ 2.0) - 0.5 * (b3.mi * b3.InnerRadius ^ 2.0)) + (b3.Scyl[1,2] ^ 2.0 * b3.I22 + b3.Scyl[1,3] ^ 2.0 * b3.I22);
1898 b3.body.I[1,2] = b3.Scyl[1,1] * ((0.5 * (b3.mo * b3.Radius ^ 2.0) - 0.5 * (b3.mi * b3.InnerRadius ^ 2.0)) * b3.Scyl[2,1]) + (b3.Scyl[1,2] * (b3.I22 * b3.Scyl[2,2]) + b3.Scyl[1,3] * (b3.I22 * b3.Scyl[2,3]));
1899 b3.body.I[1,3] = b3.Scyl[1,1] * ((0.5 * (b3.mo * b3.Radius ^ 2.0) - 0.5 * (b3.mi * b3.InnerRadius ^ 2.0)) * b3.Scyl[3,1]) + (b3.Scyl[1,2] * (b3.I22 * b3.Scyl[3,2]) + b3.Scyl[1,3] * (b3.I22 * b3.Scyl[3,3]));
1900 b3.body.I[2,1] = b3.Scyl[2,1] * ((0.5 * (b3.mo * b3.Radius ^ 2.0) - 0.5 * (b3.mi * b3.InnerRadius ^ 2.0)) * b3.Scyl[1,1]) + (b3.Scyl[2,2] * (b3.I22 * b3.Scyl[1,2]) + b3.Scyl[2,3] * (b3.I22 * b3.Scyl[1,3]));
1901 b3.body.I[2,2] = b3.Scyl[2,1] ^ 2.0 * (0.5 * (b3.mo * b3.Radius ^ 2.0) - 0.5 * (b3.mi * b3.InnerRadius ^ 2.0)) + (b3.Scyl[2,2] ^ 2.0 * b3.I22 + b3.Scyl[2,3] ^ 2.0 * b3.I22);
1902 b3.body.I[2,3] = b3.Scyl[2,1] * ((0.5 * (b3.mo * b3.Radius ^ 2.0) - 0.5 * (b3.mi * b3.InnerRadius ^ 2.0)) * b3.Scyl[3,1]) + (b3.Scyl[2,2] * (b3.I22 * b3.Scyl[3,2]) + b3.Scyl[2,3] * (b3.I22 * b3.Scyl[3,3]));
1903 b3.body.I[3,1] = b3.Scyl[3,1] * ((0.5 * (b3.mo * b3.Radius ^ 2.0) - 0.5 * (b3.mi * b3.InnerRadius ^ 2.0)) * b3.Scyl[1,1]) + (b3.Scyl[3,2] * (b3.I22 * b3.Scyl[1,2]) + b3.Scyl[3,3] * (b3.I22 * b3.Scyl[1,3]));
1904 b3.body.I[3,2] = b3.Scyl[3,1] * ((0.5 * (b3.mo * b3.Radius ^ 2.0) - 0.5 * (b3.mi * b3.InnerRadius ^ 2.0)) * b3.Scyl[2,1]) + (b3.Scyl[3,2] * (b3.I22 * b3.Scyl[2,2]) + b3.Scyl[3,3] * (b3.I22 * b3.Scyl[2,3]));
1905 b3.body.I[3,3] = b3.Scyl[3,1] ^ 2.0 * (0.5 * (b3.mo * b3.Radius ^ 2.0) - 0.5 * (b3.mi * b3.InnerRadius ^ 2.0)) + (b3.Scyl[3,2] ^ 2.0 * b3.I22 + b3.Scyl[3,3] ^ 2.0 * b3.I22);
1906 b3.body.fa[1] = b3.body.m * (b3.body.aa[1] + (b3.body.za[2] * b3.body.rCM[3] + ((-b3.body.za[3] * b3.body.rCM[2]) + (b3.body.wa[2] * (b3.body.wa[1] * b3.body.rCM[2] - b3.body.wa[2] * b3.body.rCM[1]) + (-b3.body.wa[3] * (b3.body.wa[3] * b3.body.rCM[1] - b3.body.wa[1] * b3.body.rCM[3]))))));
1907 b3.body.fa[2] = b3.body.m * (b3.body.aa[2] + (b3.body.za[3] * b3.body.rCM[1] + ((-b3.body.za[1] * b3.body.rCM[3]) + (b3.body.wa[3] * (b3.body.wa[2] * b3.body.rCM[3] - b3.body.wa[3] * b3.body.rCM[2]) + (-b3.body.wa[1] * (b3.body.wa[1] * b3.body.rCM[2] - b3.body.wa[2] * b3.body.rCM[1]))))));
1908 b3.body.fa[3] = b3.body.m * (b3.body.aa[3] + (b3.body.za[1] * b3.body.rCM[2] + ((-b3.body.za[2] * b3.body.rCM[1]) + (b3.body.wa[1] * (b3.body.wa[3] * b3.body.rCM[1] - b3.body.wa[1] * b3.body.rCM[3]) + (-b3.body.wa[2] * (b3.body.wa[2] * b3.body.rCM[3] - b3.body.wa[3] * b3.body.rCM[2]))))));
1909 b3.body.frame_a.S[1,1] = b3.frameTranslation.frame_a.S[1,1];
1910 b3.body.frame_a.S[1,1] = b3.frame_a.S[1,1];
1911 b3.body.frame_a.S[1,1] = barC.frame_c.S[1,1];
1912 b3.body.frame_a.S[1,2] = b3.frameTranslation.frame_a.S[1,2];
1913 b3.body.frame_a.S[1,2] = b3.frame_a.S[1,2];
1914 b3.body.frame_a.S[1,2] = barC.frame_c.S[1,2];
1915 b3.body.frame_a.S[1,3] = b3.frameTranslation.frame_a.S[1,3];
1916 b3.body.frame_a.S[1,3] = b3.frame_a.S[1,3];
1917 b3.body.frame_a.S[1,3] = barC.frame_c.S[1,3];
1918 b3.body.frame_a.S[2,1] = b3.frameTranslation.frame_a.S[2,1];
1919 b3.body.frame_a.S[2,1] = b3.frame_a.S[2,1];
1920 b3.body.frame_a.S[2,1] = barC.frame_c.S[2,1];
1921 b3.body.frame_a.S[2,2] = b3.frameTranslation.frame_a.S[2,2];
1922 b3.body.frame_a.S[2,2] = b3.frame_a.S[2,2];
1923 b3.body.frame_a.S[2,2] = barC.frame_c.S[2,2];
1924 b3.body.frame_a.S[2,3] = b3.frameTranslation.frame_a.S[2,3];
1925 b3.body.frame_a.S[2,3] = b3.frame_a.S[2,3];
1926 b3.body.frame_a.S[2,3] = barC.frame_c.S[2,3];
1927 b3.body.frame_a.S[3,1] = b3.frameTranslation.frame_a.S[3,1];
1928 b3.body.frame_a.S[3,1] = b3.frame_a.S[3,1];
1929 b3.body.frame_a.S[3,1] = barC.frame_c.S[3,1];
1930 b3.body.frame_a.S[3,2] = b3.frameTranslation.frame_a.S[3,2];
1931 b3.body.frame_a.S[3,2] = b3.frame_a.S[3,2];
1932 b3.body.frame_a.S[3,2] = barC.frame_c.S[3,2];
1933 b3.body.frame_a.S[3,3] = b3.frameTranslation.frame_a.S[3,3];
1934 b3.body.frame_a.S[3,3] = b3.frame_a.S[3,3];
1935 b3.body.frame_a.S[3,3] = barC.frame_c.S[3,3];
1936 b3.body.frame_a.a[1] = b3.frameTranslation.frame_a.a[1];
1937 b3.body.frame_a.a[1] = b3.frame_a.a[1];
1938 b3.body.frame_a.a[1] = barC.frame_c.a[1];
1939 b3.body.frame_a.a[2] = b3.frameTranslation.frame_a.a[2];
1940 b3.body.frame_a.a[2] = b3.frame_a.a[2];
1941 b3.body.frame_a.a[2] = barC.frame_c.a[2];
1942 b3.body.frame_a.a[3] = b3.frameTranslation.frame_a.a[3];
1943 b3.body.frame_a.a[3] = b3.frame_a.a[3];
1944 b3.body.frame_a.a[3] = barC.frame_c.a[3];
1945 b3.body.frame_a.r0[1] = b3.frameTranslation.frame_a.r0[1];
1946 b3.body.frame_a.r0[1] = b3.frame_a.r0[1];
1947 b3.body.frame_a.r0[1] = barC.frame_c.r0[1];
1948 b3.body.frame_a.r0[2] = b3.frameTranslation.frame_a.r0[2];
1949 b3.body.frame_a.r0[2] = b3.frame_a.r0[2];
1950 b3.body.frame_a.r0[2] = barC.frame_c.r0[2];
1951 b3.body.frame_a.r0[3] = b3.frameTranslation.frame_a.r0[3];
1952 b3.body.frame_a.r0[3] = b3.frame_a.r0[3];
1953 b3.body.frame_a.r0[3] = barC.frame_c.r0[3];
1954 b3.body.frame_a.v[1] = b3.frameTranslation.frame_a.v[1];
1955 b3.body.frame_a.v[1] = b3.frame_a.v[1];
1956 b3.body.frame_a.v[1] = barC.frame_c.v[1];
1957 b3.body.frame_a.v[2] = b3.frameTranslation.frame_a.v[2];
1958 b3.body.frame_a.v[2] = b3.frame_a.v[2];
1959 b3.body.frame_a.v[2] = barC.frame_c.v[2];
1960 b3.body.frame_a.v[3] = b3.frameTranslation.frame_a.v[3];
1961 b3.body.frame_a.v[3] = b3.frame_a.v[3];
1962 b3.body.frame_a.v[3] = barC.frame_c.v[3];
1963 b3.body.frame_a.w[1] = b3.frameTranslation.frame_a.w[1];
1964 b3.body.frame_a.w[1] = b3.frame_a.w[1];
1965 b3.body.frame_a.w[1] = barC.frame_c.w[1];
1966 b3.body.frame_a.w[2] = b3.frameTranslation.frame_a.w[2];
1967 b3.body.frame_a.w[2] = b3.frame_a.w[2];
1968 b3.body.frame_a.w[2] = barC.frame_c.w[2];
1969 b3.body.frame_a.w[3] = b3.frameTranslation.frame_a.w[3];
1970 b3.body.frame_a.w[3] = b3.frame_a.w[3];
1971 b3.body.frame_a.w[3] = barC.frame_c.w[3];
1972 b3.body.frame_a.z[1] = b3.frameTranslation.frame_a.z[1];
1973 b3.body.frame_a.z[1] = b3.frame_a.z[1];
1974 b3.body.frame_a.z[1] = barC.frame_c.z[1];
1975 b3.body.frame_a.z[2] = b3.frameTranslation.frame_a.z[2];
1976 b3.body.frame_a.z[2] = b3.frame_a.z[2];
1977 b3.body.frame_a.z[2] = barC.frame_c.z[2];
1978 b3.body.frame_a.z[3] = b3.frameTranslation.frame_a.z[3];
1979 b3.body.frame_a.z[3] = b3.frame_a.z[3];
1980 b3.body.frame_a.z[3] = barC.frame_c.z[3];
1981 b3.body.m = b3.mo - b3.mi;
1982 b3.body.rCM[1] = b3.r0[1] + 0.5 * (b3.Length * b3.box.nLength[1]);
1983 b3.body.rCM[2] = b3.r0[2] + 0.5 * (b3.Length * b3.box.nLength[2]);
1984 b3.body.rCM[3] = b3.r0[3] + 0.5 * (b3.Length * b3.box.nLength[3]);
1985 b3.body.ta[1] = b3.body.I[1,1] * b3.body.za[1] + (b3.body.I[1,2] * b3.body.za[2] + (b3.body.I[1,3] * b3.body.za[3] + (b3.body.wa[2] * (b3.body.I[3,1] * b3.body.wa[1] + (b3.body.I[3,2] * b3.body.wa[2] + b3.body.I[3,3] * b3.body.wa[3])) + ((-b3.body.wa[3] * (b3.body.I[2,1] * b3.body.wa[1] + (b3.body.I[2,2] * b3.body.wa[2] + b3.body.I[2,3] * b3.body.wa[3]))) + (b3.body.rCM[2] * b3.body.fa[3] + (-b3.body.rCM[3] * b3.body.fa[2]))))));
1986 b3.body.ta[2] = b3.body.I[2,1] * b3.body.za[1] + (b3.body.I[2,2] * b3.body.za[2] + (b3.body.I[2,3] * b3.body.za[3] + (b3.body.wa[3] * (b3.body.I[1,1] * b3.body.wa[1] + (b3.body.I[1,2] * b3.body.wa[2] + b3.body.I[1,3] * b3.body.wa[3])) + ((-b3.body.wa[1] * (b3.body.I[3,1] * b3.body.wa[1] + (b3.body.I[3,2] * b3.body.wa[2] + b3.body.I[3,3] * b3.body.wa[3]))) + (b3.body.rCM[3] * b3.body.fa[1] + (-b3.body.rCM[1] * b3.body.fa[3]))))));
1987 b3.body.ta[3] = b3.body.I[3,1] * b3.body.za[1] + (b3.body.I[3,2] * b3.body.za[2] + (b3.body.I[3,3] * b3.body.za[3] + (b3.body.wa[1] * (b3.body.I[2,1] * b3.body.wa[1] + (b3.body.I[2,2] * b3.body.wa[2] + b3.body.I[2,3] * b3.body.wa[3])) + ((-b3.body.wa[2] * (b3.body.I[1,1] * b3.body.wa[1] + (b3.body.I[1,2] * b3.body.wa[2] + b3.body.I[1,3] * b3.body.wa[3]))) + (b3.body.rCM[1] * b3.body.fa[2] + (-b3.body.rCM[2] * b3.body.fa[1]))))));
1988 b3.box.S[1,1] = b3.Sa[1,1];
1989 b3.box.S[1,2] = b3.Sa[1,2];
1990 b3.box.S[1,3] = b3.Sa[1,3];
1991 b3.box.S[2,1] = b3.Sa[2,1];
1992 b3.box.S[2,2] = b3.Sa[2,2];
1993 b3.box.S[2,3] = b3.Sa[2,3];
1994 b3.box.S[3,1] = b3.Sa[3,1];
1995 b3.box.S[3,2] = b3.Sa[3,2];
1996 b3.box.S[3,3] = b3.Sa[3,3];
1997 b3.box.Sshape[1,1] = b3.Scyl[1,1];
1998 b3.box.Sshape[1,2] = b3.Scyl[1,2];
1999 b3.box.Sshape[1,3] = b3.Scyl[1,3];
2000 b3.box.Sshape[2,1] = b3.Scyl[2,1];
2001 b3.box.Sshape[2,2] = b3.Scyl[2,2];
2002 b3.box.Sshape[2,3] = b3.Scyl[2,3];
2003 b3.box.Sshape[3,1] = b3.Scyl[3,1];
2004 b3.box.Sshape[3,2] = b3.Scyl[3,2];
2005 b3.box.Sshape[3,3] = b3.Scyl[3,3];
2006 b3.box.mcShape.Extra = b3.box.mcShape.extra;
2007 b3.box.mcShape.Form = 9.87e+25 + 1e+20 * PackShape(b3.box.mcShape.shapeType);
2008 b3.box.mcShape.Material = PackMaterial(b3.box.mcShape.color[1] / 255.0,b3.box.mcShape.color[2] / 255.0,b3.box.mcShape.color[3] / 255.0,b3.box.mcShape.specularCoefficient);
2009 b3.box.mcShape.Sshape[1,1] = b3.box.mcShape.e_x[1];
2010 b3.box.mcShape.Sshape[1,2] = b3.box.mcShape.e_y[1];
2011 b3.box.mcShape.Sshape[1,3] = b3.box.mcShape.e_x[2] * b3.box.mcShape.e_y[3] - b3.box.mcShape.e_x[3] * b3.box.mcShape.e_y[2];
2012 b3.box.mcShape.Sshape[2,1] = b3.box.mcShape.e_x[2];
2013 b3.box.mcShape.Sshape[2,2] = b3.box.mcShape.e_y[2];
2014 b3.box.mcShape.Sshape[2,3] = b3.box.mcShape.e_x[3] * b3.box.mcShape.e_y[1] - b3.box.mcShape.e_x[1] * b3.box.mcShape.e_y[3];
2015 b3.box.mcShape.Sshape[3,1] = b3.box.mcShape.e_x[3];
2016 b3.box.mcShape.Sshape[3,2] = b3.box.mcShape.e_y[3];
2017 b3.box.mcShape.Sshape[3,3] = b3.box.mcShape.e_x[1] * b3.box.mcShape.e_y[2] - b3.box.mcShape.e_x[2] * b3.box.mcShape.e_y[1];
2018 b3.box.mcShape.e_x[1] = b3.box.nLength[1];
2019 b3.box.mcShape.e_x[2] = b3.box.nLength[2];
2020 b3.box.mcShape.e_x[3] = b3.box.nLength[3];
2021 b3.box.mcShape.e_y[1] = b3.box.nWidth[1];
2022 b3.box.mcShape.e_y[2] = b3.box.nWidth[2];
2023 b3.box.mcShape.e_y[3] = b3.box.nWidth[3];
2024 b3.box.mcShape.e_z[1] = b3.box.nHeight[1];
2025 b3.box.mcShape.e_z[2] = b3.box.nHeight[2];
2026 b3.box.mcShape.e_z[3] = b3.box.nHeight[3];
2027 b3.box.mcShape.rvisobj[1] = b3.box.mcShape.r[1] + (b3.box.mcShape.S[1,1] * b3.box.mcShape.r_shape[1] + (b3.box.mcShape.S[1,2] * b3.box.mcShape.r_shape[2] + b3.box.mcShape.S[1,3] * b3.box.mcShape.r_shape[3]));
2028 b3.box.mcShape.rvisobj[2] = b3.box.mcShape.r[2] + (b3.box.mcShape.S[2,1] * b3.box.mcShape.r_shape[1] + (b3.box.mcShape.S[2,2] * b3.box.mcShape.r_shape[2] + b3.box.mcShape.S[2,3] * b3.box.mcShape.r_shape[3]));
2029 b3.box.mcShape.rvisobj[3] = b3.box.mcShape.r[3] + (b3.box.mcShape.S[3,1] * b3.box.mcShape.r_shape[1] + (b3.box.mcShape.S[3,2] * b3.box.mcShape.r_shape[2] + b3.box.mcShape.S[3,3] * b3.box.mcShape.r_shape[3]));
2030 b3.box.mcShape.rxvisobj[1] = b3.box.mcShape.S[1,1] * b3.box.mcShape.e_x[1] + (b3.box.mcShape.S[1,2] * b3.box.mcShape.e_x[2] + b3.box.mcShape.S[1,3] * b3.box.mcShape.e_x[3]);
2031 b3.box.mcShape.rxvisobj[2] = b3.box.mcShape.S[2,1] * b3.box.mcShape.e_x[1] + (b3.box.mcShape.S[2,2] * b3.box.mcShape.e_x[2] + b3.box.mcShape.S[2,3] * b3.box.mcShape.e_x[3]);
2032 b3.box.mcShape.rxvisobj[3] = b3.box.mcShape.S[3,1] * b3.box.mcShape.e_x[1] + (b3.box.mcShape.S[3,2] * b3.box.mcShape.e_x[2] + b3.box.mcShape.S[3,3] * b3.box.mcShape.e_x[3]);
2033 b3.box.mcShape.ryvisobj[1] = b3.box.mcShape.S[1,1] * b3.box.mcShape.e_y[1] + (b3.box.mcShape.S[1,2] * b3.box.mcShape.e_y[2] + b3.box.mcShape.S[1,3] * b3.box.mcShape.e_y[3]);
2034 b3.box.mcShape.ryvisobj[2] = b3.box.mcShape.S[2,1] * b3.box.mcShape.e_y[1] + (b3.box.mcShape.S[2,2] * b3.box.mcShape.e_y[2] + b3.box.mcShape.S[2,3] * b3.box.mcShape.e_y[3]);
2035 b3.box.mcShape.ryvisobj[3] = b3.box.mcShape.S[3,1] * b3.box.mcShape.e_y[1] + (b3.box.mcShape.S[3,2] * b3.box.mcShape.e_y[2] + b3.box.mcShape.S[3,3] * b3.box.mcShape.e_y[3]);
2036 b3.box.mcShape.size[1] = b3.box.mcShape.length;
2037 b3.box.mcShape.size[2] = b3.box.mcShape.width;
2038 b3.box.mcShape.size[3] = b3.box.mcShape.height;
2039 b3.box.r[1] = b3.r0a[1];
2040 b3.box.r[2] = b3.r0a[2];
2041 b3.box.r[3] = b3.r0a[3];
2042 b3.frameTranslation.Sb[1,1] = b3.frameTranslation.Sa[1,1];
2043 b3.frameTranslation.Sb[1,2] = b3.frameTranslation.Sa[1,2];
2044 b3.frameTranslation.Sb[1,3] = b3.frameTranslation.Sa[1,3];
2045 b3.frameTranslation.Sb[2,1] = b3.frameTranslation.Sa[2,1];
2046 b3.frameTranslation.Sb[2,2] = b3.frameTranslation.Sa[2,2];
2047 b3.frameTranslation.Sb[2,3] = b3.frameTranslation.Sa[2,3];
2048 b3.frameTranslation.Sb[3,1] = b3.frameTranslation.Sa[3,1];
2049 b3.frameTranslation.Sb[3,2] = b3.frameTranslation.Sa[3,2];
2050 b3.frameTranslation.Sb[3,3] = b3.frameTranslation.Sa[3,3];
2051 b3.frameTranslation.ab[1] = b3.frameTranslation.aa[1] + (b3.frameTranslation.za[2] * b3.frameTranslation.r[3] + ((-b3.frameTranslation.za[3] * b3.frameTranslation.r[2]) + (b3.frameTranslation.wa[2] * b3.frameTranslation.vaux[3] + (-b3.frameTranslation.wa[3] * b3.frameTranslation.vaux[2]))));
2052 b3.frameTranslation.ab[2] = b3.frameTranslation.aa[2] + (b3.frameTranslation.za[3] * b3.frameTranslation.r[1] + ((-b3.frameTranslation.za[1] * b3.frameTranslation.r[3]) + (b3.frameTranslation.wa[3] * b3.frameTranslation.vaux[1] + (-b3.frameTranslation.wa[1] * b3.frameTranslation.vaux[3]))));
2053 b3.frameTranslation.ab[3] = b3.frameTranslation.aa[3] + (b3.frameTranslation.za[1] * b3.frameTranslation.r[2] + ((-b3.frameTranslation.za[2] * b3.frameTranslation.r[1]) + (b3.frameTranslation.wa[1] * b3.frameTranslation.vaux[2] + (-b3.frameTranslation.wa[2] * b3.frameTranslation.vaux[1]))));
2054 b3.frameTranslation.fa[1] = b3.frameTranslation.fb[1];
2055 b3.frameTranslation.fa[2] = b3.frameTranslation.fb[2];
2056 b3.frameTranslation.fa[3] = b3.frameTranslation.fb[3];
2057 b3.frameTranslation.frame_b.S[1,1] = b3.frame_b.S[1,1];
2058 b3.frameTranslation.frame_b.S[1,2] = b3.frame_b.S[1,2];
2059 b3.frameTranslation.frame_b.S[1,3] = b3.frame_b.S[1,3];
2060 b3.frameTranslation.frame_b.S[2,1] = b3.frame_b.S[2,1];
2061 b3.frameTranslation.frame_b.S[2,2] = b3.frame_b.S[2,2];
2062 b3.frameTranslation.frame_b.S[2,3] = b3.frame_b.S[2,3];
2063 b3.frameTranslation.frame_b.S[3,1] = b3.frame_b.S[3,1];
2064 b3.frameTranslation.frame_b.S[3,2] = b3.frame_b.S[3,2];
2065 b3.frameTranslation.frame_b.S[3,3] = b3.frame_b.S[3,3];
2066 b3.frameTranslation.frame_b.a[1] = b3.frame_b.a[1];
2067 b3.frameTranslation.frame_b.a[2] = b3.frame_b.a[2];
2068 b3.frameTranslation.frame_b.a[3] = b3.frame_b.a[3];
2069 b3.frameTranslation.frame_b.f[1] + (-b3.frame_b.f[1]) = 0.0;
2070 b3.frameTranslation.frame_b.f[2] + (-b3.frame_b.f[2]) = 0.0;
2071 b3.frameTranslation.frame_b.f[3] + (-b3.frame_b.f[3]) = 0.0;
2072 b3.frameTranslation.frame_b.r0[1] = b3.frame_b.r0[1];
2073 b3.frameTranslation.frame_b.r0[2] = b3.frame_b.r0[2];
2074 b3.frameTranslation.frame_b.r0[3] = b3.frame_b.r0[3];
2075 b3.frameTranslation.frame_b.t[1] + (-b3.frame_b.t[1]) = 0.0;
2076 b3.frameTranslation.frame_b.t[2] + (-b3.frame_b.t[2]) = 0.0;
2077 b3.frameTranslation.frame_b.t[3] + (-b3.frame_b.t[3]) = 0.0;
2078 b3.frameTranslation.frame_b.v[1] = b3.frame_b.v[1];
2079 b3.frameTranslation.frame_b.v[2] = b3.frame_b.v[2];
2080 b3.frameTranslation.frame_b.v[3] = b3.frame_b.v[3];
2081 b3.frameTranslation.frame_b.w[1] = b3.frame_b.w[1];
2082 b3.frameTranslation.frame_b.w[2] = b3.frame_b.w[2];
2083 b3.frameTranslation.frame_b.w[3] = b3.frame_b.w[3];
2084 b3.frameTranslation.frame_b.z[1] = b3.frame_b.z[1];
2085 b3.frameTranslation.frame_b.z[2] = b3.frame_b.z[2];
2086 b3.frameTranslation.frame_b.z[3] = b3.frame_b.z[3];
2087 b3.frameTranslation.r0b[1] = b3.frameTranslation.r0a[1] + (b3.frameTranslation.Sa[1,1] * b3.frameTranslation.r[1] + (b3.frameTranslation.Sa[1,2] * b3.frameTranslation.r[2] + b3.frameTranslation.Sa[1,3] * b3.frameTranslation.r[3]));
2088 b3.frameTranslation.r0b[2] = b3.frameTranslation.r0a[2] + (b3.frameTranslation.Sa[2,1] * b3.frameTranslation.r[1] + (b3.frameTranslation.Sa[2,2] * b3.frameTranslation.r[2] + b3.frameTranslation.Sa[2,3] * b3.frameTranslation.r[3]));
2089 b3.frameTranslation.r0b[3] = b3.frameTranslation.r0a[3] + (b3.frameTranslation.Sa[3,1] * b3.frameTranslation.r[1] + (b3.frameTranslation.Sa[3,2] * b3.frameTranslation.r[2] + b3.frameTranslation.Sa[3,3] * b3.frameTranslation.r[3]));
2090 b3.frameTranslation.ta[1] = b3.frameTranslation.tb[1] + (b3.frameTranslation.r[2] * b3.frameTranslation.fa[3] + (-b3.frameTranslation.r[3] * b3.frameTranslation.fa[2]));
2091 b3.frameTranslation.ta[2] = b3.frameTranslation.tb[2] + (b3.frameTranslation.r[3] * b3.frameTranslation.fa[1] + (-b3.frameTranslation.r[1] * b3.frameTranslation.fa[3]));
2092 b3.frameTranslation.ta[3] = b3.frameTranslation.tb[3] + (b3.frameTranslation.r[1] * b3.frameTranslation.fa[2] + (-b3.frameTranslation.r[2] * b3.frameTranslation.fa[1]));
2093 b3.frameTranslation.vaux[1] = b3.frameTranslation.wa[2] * b3.frameTranslation.r[3] - b3.frameTranslation.wa[3] * b3.frameTranslation.r[2];
2094 b3.frameTranslation.vaux[2] = b3.frameTranslation.wa[3] * b3.frameTranslation.r[1] - b3.frameTranslation.wa[1] * b3.frameTranslation.r[3];
2095 b3.frameTranslation.vaux[3] = b3.frameTranslation.wa[1] * b3.frameTranslation.r[2] - b3.frameTranslation.wa[2] * b3.frameTranslation.r[1];
2096 b3.frameTranslation.vb[1] = b3.frameTranslation.va[1] + b3.frameTranslation.vaux[1];
2097 b3.frameTranslation.vb[2] = b3.frameTranslation.va[2] + b3.frameTranslation.vaux[2];
2098 b3.frameTranslation.vb[3] = b3.frameTranslation.va[3] + b3.frameTranslation.vaux[3];
2099 b3.frameTranslation.wb[1] = b3.frameTranslation.wa[1];
2100 b3.frameTranslation.wb[2] = b3.frameTranslation.wa[2];
2101 b3.frameTranslation.wb[3] = b3.frameTranslation.wa[3];
2102 b3.frameTranslation.zb[1] = b3.frameTranslation.za[1];
2103 b3.frameTranslation.zb[2] = b3.frameTranslation.za[2];
2104 b3.frameTranslation.zb[3] = b3.frameTranslation.za[3];
2105 b3.frame_a.f[1] + barC.frame_c.f[1] = 0.0;
2106 b3.frame_a.f[2] + barC.frame_c.f[2] = 0.0;
2107 b3.frame_a.f[3] + barC.frame_c.f[3] = 0.0;
2108 b3.frame_a.t[1] + barC.frame_c.t[1] = 0.0;
2109 b3.frame_a.t[2] + barC.frame_c.t[2] = 0.0;
2110 b3.frame_a.t[3] + barC.frame_c.t[3] = 0.0;
2111 b3.frame_b.f[1] = 0.0;
2112 b3.frame_b.f[2] = 0.0;
2113 b3.frame_b.f[3] = 0.0;
2114 b3.frame_b.t[1] = 0.0;
2115 b3.frame_b.t[2] = 0.0;
2116 b3.frame_b.t[3] = 0.0;
2117 b3.mi = 3141.59265358979 * (b3.rho * (b3.Length * b3.InnerRadius ^ 2.0));
2118 b3.mo = 3141.59265358979 * (b3.rho * (b3.Length * b3.Radius ^ 2.0));
2119 barC.S_rel[1,1] = barC.Sb[1,1] * barC.Sa[1,1] + (barC.Sb[2,1] * barC.Sa[2,1] + barC.Sb[3,1] * barC.Sa[3,1]);
2120 barC.S_rel[1,2] = barC.Sb[1,1] * barC.Sa[1,2] + (barC.Sb[2,1] * barC.Sa[2,2] + barC.Sb[3,1] * barC.Sa[3,2]);
2121 barC.S_rel[1,3] = barC.Sb[1,1] * barC.Sa[1,3] + (barC.Sb[2,1] * barC.Sa[2,3] + barC.Sb[3,1] * barC.Sa[3,3]);
2122 barC.S_rel[2,1] = barC.Sb[1,2] * barC.Sa[1,1] + (barC.Sb[2,2] * barC.Sa[2,1] + barC.Sb[3,2] * barC.Sa[3,1]);
2123 barC.S_rel[2,2] = barC.Sb[1,2] * barC.Sa[1,2] + (barC.Sb[2,2] * barC.Sa[2,2] + barC.Sb[3,2] * barC.Sa[3,2]);
2124 barC.S_rel[2,3] = barC.Sb[1,2] * barC.Sa[1,3] + (barC.Sb[2,2] * barC.Sa[2,3] + barC.Sb[3,2] * barC.Sa[3,3]);
2125 barC.S_rel[3,1] = barC.Sb[1,3] * barC.Sa[1,1] + (barC.Sb[2,3] * barC.Sa[2,1] + barC.Sb[3,3] * barC.Sa[3,1]);
2126 barC.S_rel[3,2] = barC.Sb[1,3] * barC.Sa[1,2] + (barC.Sb[2,3] * barC.Sa[2,2] + barC.Sb[3,3] * barC.Sa[3,2]);
2127 barC.S_rel[3,3] = barC.Sb[1,3] * barC.Sa[1,3] + (barC.Sb[2,3] * barC.Sa[2,3] + barC.Sb[3,3] * barC.Sa[3,3]);
2128 barC.S_relc[1,1] = barC.nx[1];
2129 barC.S_relc[1,2] = barC.nx[2];
2130 barC.S_relc[1,3] = barC.nx[3];
2131 barC.S_relc[2,1] = barC.ny[1];
2132 barC.S_relc[2,2] = barC.ny[2];
2133 barC.S_relc[2,3] = barC.ny[3];
2134 barC.S_relc[3,1] = barC.nz[1];
2135 barC.S_relc[3,2] = barC.nz[2];
2136 barC.S_relc[3,3] = barC.nz[3];
2137 barC.Sc[1,1] = barC.Sa[1,1] * barC.S_relc[1,1] + (barC.Sa[1,2] * barC.S_relc[1,2] + barC.Sa[1,3] * barC.S_relc[1,3]);
2138 barC.Sc[1,2] = barC.Sa[1,1] * barC.S_relc[2,1] + (barC.Sa[1,2] * barC.S_relc[2,2] + barC.Sa[1,3] * barC.S_relc[2,3]);
2139 barC.Sc[1,3] = barC.Sa[1,1] * barC.S_relc[3,1] + (barC.Sa[1,2] * barC.S_relc[3,2] + barC.Sa[1,3] * barC.S_relc[3,3]);
2140 barC.Sc[2,1] = barC.Sa[2,1] * barC.S_relc[1,1] + (barC.Sa[2,2] * barC.S_relc[1,2] + barC.Sa[2,3] * barC.S_relc[1,3]);
2141 barC.Sc[2,2] = barC.Sa[2,1] * barC.S_relc[2,1] + (barC.Sa[2,2] * barC.S_relc[2,2] + barC.Sa[2,3] * barC.S_relc[2,3]);
2142 barC.Sc[2,3] = barC.Sa[2,1] * barC.S_relc[3,1] + (barC.Sa[2,2] * barC.S_relc[3,2] + barC.Sa[2,3] * barC.S_relc[3,3]);
2143 barC.Sc[3,1] = barC.Sa[3,1] * barC.S_relc[1,1] + (barC.Sa[3,2] * barC.S_relc[1,2] + barC.Sa[3,3] * barC.S_relc[1,3]);
2144 barC.Sc[3,2] = barC.Sa[3,1] * barC.S_relc[2,1] + (barC.Sa[3,2] * barC.S_relc[2,2] + barC.Sa[3,3] * barC.S_relc[2,3]);
2145 barC.Sc[3,3] = barC.Sa[3,1] * barC.S_relc[3,1] + (barC.Sa[3,2] * barC.S_relc[3,2] + barC.Sa[3,3] * barC.S_relc[3,3]);
2146 barC.a_rela[1] = barC.S_rel[1,1] * barC.ab[1] + (barC.S_rel[2,1] * barC.ab[2] + barC.S_rel[3,1] * barC.ab[3]) - barC.aa[1] - (barC.za[2] * barC.r_rela[3] - barC.za[3] * barC.r_rela[2]) - (barC.wa[2] * (barC.vaux[3] + 2.0 * barC.v_rela[3]) - barC.wa[3] * (barC.vaux[2] + 2.0 * barC.v_rela[2]));
2147 barC.a_rela[2] = barC.S_rel[1,2] * barC.ab[1] + (barC.S_rel[2,2] * barC.ab[2] + barC.S_rel[3,2] * barC.ab[3]) - barC.aa[2] - (barC.za[3] * barC.r_rela[1] - barC.za[1] * barC.r_rela[3]) - (barC.wa[3] * (barC.vaux[1] + 2.0 * barC.v_rela[1]) - barC.wa[1] * (barC.vaux[3] + 2.0 * barC.v_rela[3]));
2148 barC.a_rela[3] = barC.S_rel[1,3] * barC.ab[1] + (barC.S_rel[2,3] * barC.ab[2] + barC.S_rel[3,3] * barC.ab[3]) - barC.aa[3] - (barC.za[1] * barC.r_rela[2] - barC.za[2] * barC.r_rela[1]) - (barC.wa[1] * (barC.vaux[2] + 2.0 * barC.v_rela[2]) - barC.wa[2] * (barC.vaux[1] + 2.0 * barC.v_rela[1]));
2149 barC.ac[1] = barC.S_relc[1,1] * barC.aa[1] + (barC.S_relc[1,2] * barC.aa[2] + barC.S_relc[1,3] * barC.aa[3]);
2150 barC.ac[2] = barC.S_relc[2,1] * barC.aa[1] + (barC.S_relc[2,2] * barC.aa[2] + barC.S_relc[2,3] * barC.aa[3]);
2151 barC.ac[3] = barC.S_relc[3,1] * barC.aa[1] + (barC.S_relc[3,2] * barC.aa[2] + barC.S_relc[3,3] * barC.aa[3]);
2152 barC.b1[1] = barC.na[2] * barC.nx[3] - barC.na[3] * barC.nx[2];
2153 barC.b1[2] = barC.na[3] * barC.nx[1] - barC.na[1] * barC.nx[3];
2154 barC.b1[3] = barC.na[1] * barC.nx[2] - barC.na[2] * barC.nx[1];
2155 barC.bb = barC.ny[1] * barC.bd[1] + (barC.ny[2] * barC.bd[2] + barC.ny[3] * barC.bd[3]);
2156 barC.bd[1] = (barC.na[2] * barC.nxd[3] - barC.na[3] * barC.nxd[2]) / barC.normb;
2157 barC.bd[2] = (barC.na[3] * barC.nxd[1] - barC.na[1] * barC.nxd[3]) / barC.normb;
2158 barC.bd[3] = (barC.na[1] * barC.nxd[2] - barC.na[2] * barC.nxd[1]) / barC.normb;
2159 barC.bdd[1] = (barC.na[2] * barC.nxdd[3] - barC.na[3] * barC.nxdd[2]) / barC.normb - barC.bb * barC.bd[1];
2160 barC.bdd[2] = (barC.na[3] * barC.nxdd[1] - barC.na[1] * barC.nxdd[3]) / barC.normb - barC.bb * barC.bd[2];
2161 barC.bdd[3] = (barC.na[1] * barC.nxdd[2] - barC.na[2] * barC.nxdd[1]) / barC.normb - barC.bb * barC.bd[3];
2162 barC.constraintResidue = barC.r_rela[1] ^ 2.0 / 2.0 + (barC.r_rela[2] ^ 2.0 / 2.0 + barC.r_rela[3] ^ 2.0 / 2.0) - barC.L ^ 2.0 / 2.0;
2163 barC.constraintResidue_d = barC.r_rela[1] * barC.v_rela[1] + (barC.r_rela[2] * barC.v_rela[2] + barC.r_rela[3] * barC.v_rela[3]);
2164 barC.constraintResidue_dd = barC.r_rela[1] * barC.a_rela[1] + (barC.r_rela[2] * barC.a_rela[2] + (barC.r_rela[3] * barC.a_rela[3] + (barC.v_rela[1] ^ 2.0 + (barC.v_rela[2] ^ 2.0 + barC.v_rela[3] ^ 2.0))));
2165 barC.fa[1] = barC.fb_a[1] + (barC.S_relc[1,1] * barC.fc[1] + (barC.S_relc[2,1] * barC.fc[2] + barC.S_relc[3,1] * barC.fc[3]));
2166 barC.fa[2] = barC.fb_a[2] + (barC.S_relc[1,2] * barC.fc[1] + (barC.S_relc[2,2] * barC.fc[2] + barC.S_relc[3,2] * barC.fc[3]));
2167 barC.fa[3] = barC.fb_a[3] + (barC.S_relc[1,3] * barC.fc[1] + (barC.S_relc[2,3] * barC.fc[2] + barC.S_relc[3,3] * barC.fc[3]));
2168 barC.fb[1] = barC.S_rel[1,1] * barC.fb_a[1] + (barC.S_rel[1,2] * barC.fb_a[2] + barC.S_rel[1,3] * barC.fb_a[3]);
2169 barC.fb[2] = barC.S_rel[2,1] * barC.fb_a[1] + (barC.S_rel[2,2] * barC.fb_a[2] + barC.S_rel[2,3] * barC.fb_a[3]);
2170 barC.fb[3] = barC.S_rel[3,1] * barC.fb_a[1] + (barC.S_rel[3,2] * barC.fb_a[2] + barC.S_rel[3,3] * barC.fb_a[3]);
2171 barC.fb_a[1] = barC.S_relc[1,1] * barC.fRod + ((-barC.S_relc[2,1]) * barC.tc[3] / barC.L + barC.S_relc[3,1] * barC.tc[2] / barC.L);
2172 barC.fb_a[2] = barC.S_relc[1,2] * barC.fRod + ((-barC.S_relc[2,2]) * barC.tc[3] / barC.L + barC.S_relc[3,2] * barC.tc[2] / barC.L);
2173 barC.fb_a[3] = barC.S_relc[1,3] * barC.fRod + ((-barC.S_relc[2,3]) * barC.tc[3] / barC.L + barC.S_relc[3,3] * barC.tc[2] / barC.L);
2174 barC.frame_a.f[1] + b2.frame_b.f[1] = 0.0;
2175 barC.frame_a.f[2] + b2.frame_b.f[2] = 0.0;
2176 barC.frame_a.f[3] + b2.frame_b.f[3] = 0.0;
2177 barC.frame_a.t[1] + b2.frame_b.t[1] = 0.0;
2178 barC.frame_a.t[2] + b2.frame_b.t[2] = 0.0;
2179 barC.frame_a.t[3] + b2.frame_b.t[3] = 0.0;
2180 barC.normb = sqrt(barC.b1[1] ^ 2.0 + (barC.b1[2] ^ 2.0 + barC.b1[3] ^ 2.0));
2181 barC.nx[1] = barC.r_rela[1] / barC.L;
2182 barC.nx[2] = barC.r_rela[2] / barC.L;
2183 barC.nx[3] = barC.r_rela[3] / barC.L;
2184 barC.nxd[1] = barC.v_rela[1] / barC.L;
2185 barC.nxd[2] = barC.v_rela[2] / barC.L;
2186 barC.nxd[3] = barC.v_rela[3] / barC.L;
2187 barC.nxdd[1] = barC.a_rela[1] / barC.L;
2188 barC.nxdd[2] = barC.a_rela[2] / barC.L;
2189 barC.nxdd[3] = barC.a_rela[3] / barC.L;
2190 barC.ny[1] = barC.b1[1] / barC.normb;
2191 barC.ny[2] = barC.b1[2] / barC.normb;
2192 barC.ny[3] = barC.b1[3] / barC.normb;
2193 barC.nyd[1] = barC.bd[1] - barC.bb * barC.ny[1];
2194 barC.nyd[2] = barC.bd[2] - barC.bb * barC.ny[2];
2195 barC.nyd[3] = barC.bd[3] - barC.bb * barC.ny[3];
2196 barC.nydd[1] = barC.bdd[1] - (barC.nyd[1] * barC.bd[1] + (barC.nyd[2] * barC.bd[2] + (barC.nyd[3] * barC.bd[3] + (barC.ny[1] * barC.bdd[1] + (barC.ny[2] * barC.bdd[2] + barC.ny[3] * barC.bdd[3]))))) * barC.ny[1] - barC.bb * barC.nyd[1];
2197 barC.nydd[2] = barC.bdd[2] - (barC.nyd[1] * barC.bd[1] + (barC.nyd[2] * barC.bd[2] + (barC.nyd[3] * barC.bd[3] + (barC.ny[1] * barC.bdd[1] + (barC.ny[2] * barC.bdd[2] + barC.ny[3] * barC.bdd[3]))))) * barC.ny[2] - barC.bb * barC.nyd[2];
2198 barC.nydd[3] = barC.bdd[3] - (barC.nyd[1] * barC.bd[1] + (barC.nyd[2] * barC.bd[2] + (barC.nyd[3] * barC.bd[3] + (barC.ny[1] * barC.bdd[1] + (barC.ny[2] * barC.bdd[2] + barC.ny[3] * barC.bdd[3]))))) * barC.ny[3] - barC.bb * barC.nyd[3];
2199 barC.nz[1] = barC.nx[2] * barC.ny[3] - barC.nx[3] * barC.ny[2];
2200 barC.nz[2] = barC.nx[3] * barC.ny[1] - barC.nx[1] * barC.ny[3];
2201 barC.nz[3] = barC.nx[1] * barC.ny[2] - barC.nx[2] * barC.ny[1];
2202 barC.nzd[1] = barC.nxd[2] * barC.ny[3] + ((-barC.nxd[3] * barC.ny[2]) + (barC.nx[2] * barC.nyd[3] + (-barC.nx[3] * barC.nyd[2])));
2203 barC.nzd[2] = barC.nxd[3] * barC.ny[1] + ((-barC.nxd[1] * barC.ny[3]) + (barC.nx[3] * barC.nyd[1] + (-barC.nx[1] * barC.nyd[3])));
2204 barC.nzd[3] = barC.nxd[1] * barC.ny[2] + ((-barC.nxd[2] * barC.ny[1]) + (barC.nx[1] * barC.nyd[2] + (-barC.nx[2] * barC.nyd[1])));
2205 barC.nzdd[1] = barC.nxdd[2] * barC.ny[3] + ((-barC.nxdd[3] * barC.ny[2]) + (barC.nx[2] * barC.nydd[3] + ((-barC.nx[3] * barC.nydd[2]) + 2.0 * (barC.nxd[2] * barC.nyd[3] - barC.nxd[3] * barC.nyd[2]))));
2206 barC.nzdd[2] = barC.nxdd[3] * barC.ny[1] + ((-barC.nxdd[1] * barC.ny[3]) + (barC.nx[3] * barC.nydd[1] + ((-barC.nx[1] * barC.nydd[3]) + 2.0 * (barC.nxd[3] * barC.nyd[1] - barC.nxd[1] * barC.nyd[3]))));
2207 barC.nzdd[3] = barC.nxdd[1] * barC.ny[2] + ((-barC.nxdd[2] * barC.ny[1]) + (barC.nx[1] * barC.nydd[2] + ((-barC.nx[2] * barC.nydd[1]) + 2.0 * (barC.nxd[1] * barC.nyd[2] - barC.nxd[2] * barC.nyd[1]))));
2208 barC.r0c[1] = barC.r0a[1];
2209 barC.r0c[2] = barC.r0a[2];
2210 barC.r0c[3] = barC.r0a[3];
2211 barC.r_rela[1] = barC.Sa[1,1] * (barC.r0b[1] - barC.r0a[1]) + (barC.Sa[2,1] * (barC.r0b[2] - barC.r0a[2]) + barC.Sa[3,1] * (barC.r0b[3] - barC.r0a[3]));
2212 barC.r_rela[2] = barC.Sa[1,2] * (barC.r0b[1] - barC.r0a[1]) + (barC.Sa[2,2] * (barC.r0b[2] - barC.r0a[2]) + barC.Sa[3,2] * (barC.r0b[3] - barC.r0a[3]));
2213 barC.r_rela[3] = barC.Sa[1,3] * (barC.r0b[1] - barC.r0a[1]) + (barC.Sa[2,3] * (barC.r0b[2] - barC.r0a[2]) + barC.Sa[3,3] * (barC.r0b[3] - barC.r0a[3]));
2214 barC.ta[1] = barC.tc[1] * barC.nx[1];
2215 barC.ta[2] = barC.tc[1] * barC.nx[2];
2216 barC.ta[3] = barC.tc[1] * barC.nx[3];
2217 barC.tb[1] = 0.0;
2218 barC.tb[2] = 0.0;
2219 barC.tb[3] = 0.0;
2220 barC.v_rela[1] = barC.S_rel[1,1] * barC.vb[1] + (barC.S_rel[2,1] * barC.vb[2] + barC.S_rel[3,1] * barC.vb[3]) - barC.va[1] - barC.vaux[1];
2221 barC.v_rela[2] = barC.S_rel[1,2] * barC.vb[1] + (barC.S_rel[2,2] * barC.vb[2] + barC.S_rel[3,2] * barC.vb[3]) - barC.va[2] - barC.vaux[2];
2222 barC.v_rela[3] = barC.S_rel[1,3] * barC.vb[1] + (barC.S_rel[2,3] * barC.vb[2] + barC.S_rel[3,3] * barC.vb[3]) - barC.va[3] - barC.vaux[3];
2223 barC.vaux[1] = barC.wa[2] * barC.r_rela[3] - barC.wa[3] * barC.r_rela[2];
2224 barC.vaux[2] = barC.wa[3] * barC.r_rela[1] - barC.wa[1] * barC.r_rela[3];
2225 barC.vaux[3] = barC.wa[1] * barC.r_rela[2] - barC.wa[2] * barC.r_rela[1];
2226 barC.vc[1] = barC.S_relc[1,1] * barC.va[1] + (barC.S_relc[1,2] * barC.va[2] + barC.S_relc[1,3] * barC.va[3]);
2227 barC.vc[2] = barC.S_relc[2,1] * barC.va[1] + (barC.S_relc[2,2] * barC.va[2] + barC.S_relc[2,3] * barC.va[3]);
2228 barC.vc[3] = barC.S_relc[3,1] * barC.va[1] + (barC.S_relc[3,2] * barC.va[2] + barC.S_relc[3,3] * barC.va[3]);
2229 barC.w_rela[1] = barC.S_rel[1,1] * barC.wb[1] + (barC.S_rel[2,1] * barC.wb[2] + barC.S_rel[3,1] * barC.wb[3]) - barC.wa[1];
2230 barC.w_rela[2] = barC.S_rel[1,2] * barC.wb[1] + (barC.S_rel[2,2] * barC.wb[2] + barC.S_rel[3,2] * barC.wb[3]) - barC.wa[2];
2231 barC.w_rela[3] = barC.S_rel[1,3] * barC.wb[1] + (barC.S_rel[2,3] * barC.wb[2] + barC.S_rel[3,3] * barC.wb[3]) - barC.wa[3];
2232 barC.w_relc[1] = barC.nz[1] * barC.nyd[1] + (barC.nz[2] * barC.nyd[2] + barC.nz[3] * barC.nyd[3]);
2233 barC.w_relc[2] = barC.nx[1] * barC.nzd[1] + (barC.nx[2] * barC.nzd[2] + barC.nx[3] * barC.nzd[3]);
2234 barC.w_relc[3] = barC.ny[1] * barC.nxd[1] + (barC.ny[2] * barC.nxd[2] + barC.ny[3] * barC.nxd[3]);
2235 barC.wc[1] = barC.S_relc[1,1] * barC.wa[1] + (barC.S_relc[1,2] * barC.wa[2] + (barC.S_relc[1,3] * barC.wa[3] + barC.w_relc[1]));
2236 barC.wc[2] = barC.S_relc[2,1] * barC.wa[1] + (barC.S_relc[2,2] * barC.wa[2] + (barC.S_relc[2,3] * barC.wa[3] + barC.w_relc[2]));
2237 barC.wc[3] = barC.S_relc[3,1] * barC.wa[1] + (barC.S_relc[3,2] * barC.wa[2] + (barC.S_relc[3,3] * barC.wa[3] + barC.w_relc[3]));
2238 barC.z_rela[1] = barC.S_rel[1,1] * barC.zb[1] + (barC.S_rel[2,1] * barC.zb[2] + barC.S_rel[3,1] * barC.zb[3]) - barC.za[1] - (barC.wa[2] * barC.w_rela[3] - barC.wa[3] * barC.w_rela[2]);
2239 barC.z_rela[2] = barC.S_rel[1,2] * barC.zb[1] + (barC.S_rel[2,2] * barC.zb[2] + barC.S_rel[3,2] * barC.zb[3]) - barC.za[2] - (barC.wa[3] * barC.w_rela[1] - barC.wa[1] * barC.w_rela[3]);
2240 barC.z_rela[3] = barC.S_rel[1,3] * barC.zb[1] + (barC.S_rel[2,3] * barC.zb[2] + barC.S_rel[3,3] * barC.zb[3]) - barC.za[3] - (barC.wa[1] * barC.w_rela[2] - barC.wa[2] * barC.w_rela[1]);
2241 barC.z_relc[1] = barC.nz[1] * barC.nydd[1] + (barC.nz[2] * barC.nydd[2] + (barC.nz[3] * barC.nydd[3] + (barC.nzd[1] * barC.nyd[1] + (barC.nzd[2] * barC.nyd[2] + barC.nzd[3] * barC.nyd[3]))));
2242 barC.z_relc[2] = barC.nx[1] * barC.nzdd[1] + (barC.nx[2] * barC.nzdd[2] + (barC.nx[3] * barC.nzdd[3] + (barC.nxd[1] * barC.nzd[1] + (barC.nxd[2] * barC.nzd[2] + barC.nxd[3] * barC.nzd[3]))));
2243 barC.z_relc[3] = barC.ny[1] * barC.nxdd[1] + (barC.ny[2] * barC.nxdd[2] + (barC.ny[3] * barC.nxdd[3] + (barC.nyd[1] * barC.nxd[1] + (barC.nyd[2] * barC.nxd[2] + barC.nyd[3] * barC.nxd[3]))));
2244 barC.zc[1] = barC.S_relc[1,1] * barC.za[1] + (barC.S_relc[1,2] * barC.za[2] + (barC.S_relc[1,3] * barC.za[3] + (barC.wc[2] * barC.w_relc[3] + ((-barC.wc[3] * barC.w_relc[2]) + barC.z_relc[1]))));
2245 barC.zc[2] = barC.S_relc[2,1] * barC.za[1] + (barC.S_relc[2,2] * barC.za[2] + (barC.S_relc[2,3] * barC.za[3] + (barC.wc[3] * barC.w_relc[1] + ((-barC.wc[1] * barC.w_relc[3]) + barC.z_relc[2]))));
2246 barC.zc[3] = barC.S_relc[3,1] * barC.za[1] + (barC.S_relc[3,2] * barC.za[2] + (barC.S_relc[3,3] * barC.za[3] + (barC.wc[1] * barC.w_relc[2] + ((-barC.wc[2] * barC.w_relc[1]) + barC.z_relc[3]))));
2247 constant Real b0.PI = 3.14159265358979 "Only for compatibility reasons";
2248 constant Real b0.frameTranslation.PI = 3.14159265358979 "Only for compatibility reasons";
2249 constant Real b0.frameTranslation.pi = 3.14159265358979;
2250 constant Real b0.pi = 3.14159265358979;
2251 constant Real b1.PI = 3.14159265358979 "Only for compatibility reasons";
2252 constant Real b1.frameTranslation.PI = 3.14159265358979 "Only for compatibility reasons";
2253 constant Real b1.frameTranslation.pi = 3.14159265358979;
2254 constant Real b1.pi = 3.14159265358979;
2255 constant Real b2.PI = 3.14159265358979 "Only for compatibility reasons";
2256 constant Real b2.frameTranslation.PI = 3.14159265358979 "Only for compatibility reasons";
2257 constant Real b2.frameTranslation.pi = 3.14159265358979;
2258 constant Real b2.pi = 3.14159265358979;
2259 constant Real b3.PI = 3.14159265358979 "Only for compatibility reasons";
2260 constant Real b3.frameTranslation.PI = 3.14159265358979 "Only for compatibility reasons";
2261 constant Real b3.frameTranslation.pi = 3.14159265358979;
2262 constant Real b3.pi = 3.14159265358979;
2263 constant Real barC.PI = 3.14159265358979 "Only for compatibility reasons";
2264 constant Real barC.pi = 3.14159265358979;
2265 constant Real j1.PI = 3.14159265358979 "Only for compatibility reasons";
2266 constant Real j1.pi = 3.14159265358979;
2267 constant Real j2.PI = 3.14159265358979 "Only for compatibility reasons";
2268 constant Real j2.pi = 3.14159265358979;
2269 constrain(barC.constraintResidue,barC.constraintResidue_d,barC.constraintResidue_dd);
2270 inertial.frame_b.S[1,1] = 1.0;
2271 inertial.frame_b.S[1,2] = 0.0;
2272 inertial.frame_b.S[1,3] = 0.0;
2273 inertial.frame_b.S[2,1] = 0.0;
2274 inertial.frame_b.S[2,2] = 1.0;
2275 inertial.frame_b.S[2,3] = 0.0;
2276 inertial.frame_b.S[3,1] = 0.0;
2277 inertial.frame_b.S[3,2] = 0.0;
2278 inertial.frame_b.S[3,3] = 1.0;
2279 inertial.frame_b.a[1] = -inertial.gravity[1];
2280 inertial.frame_b.a[2] = -inertial.gravity[2];
2281 inertial.frame_b.a[3] = -inertial.gravity[3];
2282 inertial.frame_b.r0[1] = 0.0;
2283 inertial.frame_b.r0[2] = 0.0;
2284 inertial.frame_b.r0[3] = 0.0;
2285 inertial.frame_b.v[1] = 0.0;
2286 inertial.frame_b.v[2] = 0.0;
2287 inertial.frame_b.v[3] = 0.0;
2288 inertial.frame_b.w[1] = 0.0;
2289 inertial.frame_b.w[2] = 0.0;
2290 inertial.frame_b.w[3] = 0.0;
2291 inertial.frame_b.z[1] = 0.0;
2292 inertial.frame_b.z[2] = 0.0;
2293 inertial.frame_b.z[3] = 0.0;
2294 inertial.gravity[1] = inertial.g * inertial.ng[1];
2295 inertial.gravity[2] = inertial.g * inertial.ng[2];
2296 inertial.gravity[3] = inertial.g * inertial.ng[3];
2297 input Real b0.body.frame_a.r0[1](quantity = "Length", unit = "m") = b0.body.r0a[1] "Position vector from inertial system to frame origin, resolved in inertial system";
2298 input Real b0.body.frame_a.r0[2](quantity = "Length", unit = "m") = b0.body.r0a[2] "Position vector from inertial system to frame origin, resolved in inertial system";
2299 input Real b0.body.frame_a.r0[3](quantity = "Length", unit = "m") = b0.body.r0a[3] "Position vector from inertial system to frame origin, resolved in inertial system";
2300 input Real b0.box.S[1,1] "3 x 3 transformation matrix.";
2301 input Real b0.box.S[1,2] "3 x 3 transformation matrix.";
2302 input Real b0.box.S[1,3] "3 x 3 transformation matrix.";
2303 input Real b0.box.S[2,1] "3 x 3 transformation matrix.";
2304 input Real b0.box.S[2,2] "3 x 3 transformation matrix.";
2305 input Real b0.box.S[2,3] "3 x 3 transformation matrix.";
2306 input Real b0.box.S[3,1] "3 x 3 transformation matrix.";
2307 input Real b0.box.S[3,2] "3 x 3 transformation matrix.";
2308 input Real b0.box.S[3,3] "3 x 3 transformation matrix.";
2309 input Real b0.box.mcShape.S[1,1] = b0.box.S[1,1] "3 x 3 transformation matrix.";
2310 input Real b0.box.mcShape.S[1,2] = b0.box.S[1,2] "3 x 3 transformation matrix.";
2311 input Real b0.box.mcShape.S[1,3] = b0.box.S[1,3] "3 x 3 transformation matrix.";
2312 input Real b0.box.mcShape.S[2,1] = b0.box.S[2,1] "3 x 3 transformation matrix.";
2313 input Real b0.box.mcShape.S[2,2] = b0.box.S[2,2] "3 x 3 transformation matrix.";
2314 input Real b0.box.mcShape.S[2,3] = b0.box.S[2,3] "3 x 3 transformation matrix.";
2315 input Real b0.box.mcShape.S[3,1] = b0.box.S[3,1] "3 x 3 transformation matrix.";
2316 input Real b0.box.mcShape.S[3,2] = b0.box.S[3,2] "3 x 3 transformation matrix.";
2317 input Real b0.box.mcShape.S[3,3] = b0.box.S[3,3] "3 x 3 transformation matrix.";
2318 input Real b0.box.mcShape.color[1] = 255.0 * b0.box.Material[1] "Color of shape";
2319 input Real b0.box.mcShape.color[2] = 255.0 * b0.box.Material[2] "Color of shape";
2320 input Real b0.box.mcShape.color[3] = 255.0 * b0.box.Material[3] "Color of shape";
2321 input Real b0.box.mcShape.extra = b0.box.Extra "Additional size data for some of the shape types";
2322 input Real b0.box.mcShape.height(quantity = "Length", unit = "m") = b0.box.Height "Height of visual object";
2323 input Real b0.box.mcShape.length(quantity = "Length", unit = "m") = b0.box.Length "Length of visual object";
2324 input Real b0.box.mcShape.lengthDirection[1] = b0.box.LengthDirection[1] "Vector in length direction, resolved in object frame";
2325 input Real b0.box.mcShape.lengthDirection[2] = b0.box.LengthDirection[2] "Vector in length direction, resolved in object frame";
2326 input Real b0.box.mcShape.lengthDirection[3] = b0.box.LengthDirection[3] "Vector in length direction, resolved in object frame";
2327 input Real b0.box.mcShape.r[1](quantity = "Length", unit = "m") = b0.box.r[1] "Position vector from origin of world frame to origin of object frame, resolved in world frame";
2328 input Real b0.box.mcShape.r[2](quantity = "Length", unit = "m") = b0.box.r[2] "Position vector from origin of world frame to origin of object frame, resolved in world frame";
2329 input Real b0.box.mcShape.r[3](quantity = "Length", unit = "m") = b0.box.r[3] "Position vector from origin of world frame to origin of object frame, resolved in world frame";
2330 input Real b0.box.mcShape.r_shape[1](quantity = "Length", unit = "m") = b0.box.r0[1] "Position vector from origin of object frame to shape origin, resolved in object frame";
2331 input Real b0.box.mcShape.r_shape[2](quantity = "Length", unit = "m") = b0.box.r0[2] "Position vector from origin of object frame to shape origin, resolved in object frame";
2332 input Real b0.box.mcShape.r_shape[3](quantity = "Length", unit = "m") = b0.box.r0[3] "Position vector from origin of object frame to shape origin, resolved in object frame";
2333 input Real b0.box.mcShape.specularCoefficient = b0.box.Material[4];
2334 input Real b0.box.mcShape.width(quantity = "Length", unit = "m") = b0.box.Width "Width of visual object";
2335 input Real b0.box.mcShape.widthDirection[1] = b0.box.WidthDirection[1] "Vector in width direction, resolved in object frame";
2336 input Real b0.box.mcShape.widthDirection[2] = b0.box.WidthDirection[2] "Vector in width direction, resolved in object frame";
2337 input Real b0.box.mcShape.widthDirection[3] = b0.box.WidthDirection[3] "Vector in width direction, resolved in object frame";
2338 input Real b0.box.r[1] "Position of visual object.";
2339 input Real b0.box.r[2] "Position of visual object.";
2340 input Real b0.box.r[3] "Position of visual object.";
2341 input Real b0.frameTranslation.frame_a.r0[1](quantity = "Length", unit = "m") = b0.frameTranslation.r0a[1] "Position vector from inertial system to frame origin, resolved in inertial system";
2342 input Real b0.frameTranslation.frame_a.r0[2](quantity = "Length", unit = "m") = b0.frameTranslation.r0a[2] "Position vector from inertial system to frame origin, resolved in inertial system";
2343 input Real b0.frameTranslation.frame_a.r0[3](quantity = "Length", unit = "m") = b0.frameTranslation.r0a[3] "Position vector from inertial system to frame origin, resolved in inertial system";
2344 input Real b0.frame_a.r0[1](quantity = "Length", unit = "m") = b0.r0a[1] "Position vector from inertial system to frame origin, resolved in inertial system";
2345 input Real b0.frame_a.r0[2](quantity = "Length", unit = "m") = b0.r0a[2] "Position vector from inertial system to frame origin, resolved in inertial system";
2346 input Real b0.frame_a.r0[3](quantity = "Length", unit = "m") = b0.r0a[3] "Position vector from inertial system to frame origin, resolved in inertial system";
2347 input Real b1.body.frame_a.r0[1](quantity = "Length", unit = "m") = b1.body.r0a[1] "Position vector from inertial system to frame origin, resolved in inertial system";
2348 input Real b1.body.frame_a.r0[2](quantity = "Length", unit = "m") = b1.body.r0a[2] "Position vector from inertial system to frame origin, resolved in inertial system";
2349 input Real b1.body.frame_a.r0[3](quantity = "Length", unit = "m") = b1.body.r0a[3] "Position vector from inertial system to frame origin, resolved in inertial system";
2350 input Real b1.box.S[1,1] "3 x 3 transformation matrix.";
2351 input Real b1.box.S[1,2] "3 x 3 transformation matrix.";
2352 input Real b1.box.S[1,3] "3 x 3 transformation matrix.";
2353 input Real b1.box.S[2,1] "3 x 3 transformation matrix.";
2354 input Real b1.box.S[2,2] "3 x 3 transformation matrix.";
2355 input Real b1.box.S[2,3] "3 x 3 transformation matrix.";
2356 input Real b1.box.S[3,1] "3 x 3 transformation matrix.";
2357 input Real b1.box.S[3,2] "3 x 3 transformation matrix.";
2358 input Real b1.box.S[3,3] "3 x 3 transformation matrix.";
2359 input Real b1.box.mcShape.S[1,1] = b1.box.S[1,1] "3 x 3 transformation matrix.";
2360 input Real b1.box.mcShape.S[1,2] = b1.box.S[1,2] "3 x 3 transformation matrix.";
2361 input Real b1.box.mcShape.S[1,3] = b1.box.S[1,3] "3 x 3 transformation matrix.";
2362 input Real b1.box.mcShape.S[2,1] = b1.box.S[2,1] "3 x 3 transformation matrix.";
2363 input Real b1.box.mcShape.S[2,2] = b1.box.S[2,2] "3 x 3 transformation matrix.";
2364 input Real b1.box.mcShape.S[2,3] = b1.box.S[2,3] "3 x 3 transformation matrix.";
2365 input Real b1.box.mcShape.S[3,1] = b1.box.S[3,1] "3 x 3 transformation matrix.";
2366 input Real b1.box.mcShape.S[3,2] = b1.box.S[3,2] "3 x 3 transformation matrix.";
2367 input Real b1.box.mcShape.S[3,3] = b1.box.S[3,3] "3 x 3 transformation matrix.";
2368 input Real b1.box.mcShape.color[1] = 255.0 * b1.box.Material[1] "Color of shape";
2369 input Real b1.box.mcShape.color[2] = 255.0 * b1.box.Material[2] "Color of shape";
2370 input Real b1.box.mcShape.color[3] = 255.0 * b1.box.Material[3] "Color of shape";
2371 input Real b1.box.mcShape.extra = b1.box.Extra "Additional size data for some of the shape types";
2372 input Real b1.box.mcShape.height(quantity = "Length", unit = "m") = b1.box.Height "Height of visual object";
2373 input Real b1.box.mcShape.length(quantity = "Length", unit = "m") = b1.box.Length "Length of visual object";
2374 input Real b1.box.mcShape.lengthDirection[1] = b1.box.LengthDirection[1] "Vector in length direction, resolved in object frame";
2375 input Real b1.box.mcShape.lengthDirection[2] = b1.box.LengthDirection[2] "Vector in length direction, resolved in object frame";
2376 input Real b1.box.mcShape.lengthDirection[3] = b1.box.LengthDirection[3] "Vector in length direction, resolved in object frame";
2377 input Real b1.box.mcShape.r[1](quantity = "Length", unit = "m") = b1.box.r[1] "Position vector from origin of world frame to origin of object frame, resolved in world frame";
2378 input Real b1.box.mcShape.r[2](quantity = "Length", unit = "m") = b1.box.r[2] "Position vector from origin of world frame to origin of object frame, resolved in world frame";
2379 input Real b1.box.mcShape.r[3](quantity = "Length", unit = "m") = b1.box.r[3] "Position vector from origin of world frame to origin of object frame, resolved in world frame";
2380 input Real b1.box.mcShape.r_shape[1](quantity = "Length", unit = "m") = b1.box.r0[1] "Position vector from origin of object frame to shape origin, resolved in object frame";
2381 input Real b1.box.mcShape.r_shape[2](quantity = "Length", unit = "m") = b1.box.r0[2] "Position vector from origin of object frame to shape origin, resolved in object frame";
2382 input Real b1.box.mcShape.r_shape[3](quantity = "Length", unit = "m") = b1.box.r0[3] "Position vector from origin of object frame to shape origin, resolved in object frame";
2383 input Real b1.box.mcShape.specularCoefficient = b1.box.Material[4];
2384 input Real b1.box.mcShape.width(quantity = "Length", unit = "m") = b1.box.Width "Width of visual object";
2385 input Real b1.box.mcShape.widthDirection[1] = b1.box.WidthDirection[1] "Vector in width direction, resolved in object frame";
2386 input Real b1.box.mcShape.widthDirection[2] = b1.box.WidthDirection[2] "Vector in width direction, resolved in object frame";
2387 input Real b1.box.mcShape.widthDirection[3] = b1.box.WidthDirection[3] "Vector in width direction, resolved in object frame";
2388 input Real b1.box.r[1] "Position of visual object.";
2389 input Real b1.box.r[2] "Position of visual object.";
2390 input Real b1.box.r[3] "Position of visual object.";
2391 input Real b1.frameTranslation.frame_a.r0[1](quantity = "Length", unit = "m") = b1.frameTranslation.r0a[1] "Position vector from inertial system to frame origin, resolved in inertial system";
2392 input Real b1.frameTranslation.frame_a.r0[2](quantity = "Length", unit = "m") = b1.frameTranslation.r0a[2] "Position vector from inertial system to frame origin, resolved in inertial system";
2393 input Real b1.frameTranslation.frame_a.r0[3](quantity = "Length", unit = "m") = b1.frameTranslation.r0a[3] "Position vector from inertial system to frame origin, resolved in inertial system";
2394 input Real b1.frame_a.r0[1](quantity = "Length", unit = "m") = b1.r0a[1] "Position vector from inertial system to frame origin, resolved in inertial system";
2395 input Real b1.frame_a.r0[2](quantity = "Length", unit = "m") = b1.r0a[2] "Position vector from inertial system to frame origin, resolved in inertial system";
2396 input Real b1.frame_a.r0[3](quantity = "Length", unit = "m") = b1.r0a[3] "Position vector from inertial system to frame origin, resolved in inertial system";
2397 input Real b2.body.frame_a.r0[1](quantity = "Length", unit = "m") = b2.body.r0a[1] "Position vector from inertial system to frame origin, resolved in inertial system";
2398 input Real b2.body.frame_a.r0[2](quantity = "Length", unit = "m") = b2.body.r0a[2] "Position vector from inertial system to frame origin, resolved in inertial system";
2399 input Real b2.body.frame_a.r0[3](quantity = "Length", unit = "m") = b2.body.r0a[3] "Position vector from inertial system to frame origin, resolved in inertial system";
2400 input Real b2.box.S[1,1] "3 x 3 transformation matrix.";
2401 input Real b2.box.S[1,2] "3 x 3 transformation matrix.";
2402 input Real b2.box.S[1,3] "3 x 3 transformation matrix.";
2403 input Real b2.box.S[2,1] "3 x 3 transformation matrix.";
2404 input Real b2.box.S[2,2] "3 x 3 transformation matrix.";
2405 input Real b2.box.S[2,3] "3 x 3 transformation matrix.";
2406 input Real b2.box.S[3,1] "3 x 3 transformation matrix.";
2407 input Real b2.box.S[3,2] "3 x 3 transformation matrix.";
2408 input Real b2.box.S[3,3] "3 x 3 transformation matrix.";
2409 input Real b2.box.mcShape.S[1,1] = b2.box.S[1,1] "3 x 3 transformation matrix.";
2410 input Real b2.box.mcShape.S[1,2] = b2.box.S[1,2] "3 x 3 transformation matrix.";
2411 input Real b2.box.mcShape.S[1,3] = b2.box.S[1,3] "3 x 3 transformation matrix.";
2412 input Real b2.box.mcShape.S[2,1] = b2.box.S[2,1] "3 x 3 transformation matrix.";
2413 input Real b2.box.mcShape.S[2,2] = b2.box.S[2,2] "3 x 3 transformation matrix.";
2414 input Real b2.box.mcShape.S[2,3] = b2.box.S[2,3] "3 x 3 transformation matrix.";
2415 input Real b2.box.mcShape.S[3,1] = b2.box.S[3,1] "3 x 3 transformation matrix.";
2416 input Real b2.box.mcShape.S[3,2] = b2.box.S[3,2] "3 x 3 transformation matrix.";
2417 input Real b2.box.mcShape.S[3,3] = b2.box.S[3,3] "3 x 3 transformation matrix.";
2418 input Real b2.box.mcShape.color[1] = 255.0 * b2.box.Material[1] "Color of shape";
2419 input Real b2.box.mcShape.color[2] = 255.0 * b2.box.Material[2] "Color of shape";
2420 input Real b2.box.mcShape.color[3] = 255.0 * b2.box.Material[3] "Color of shape";
2421 input Real b2.box.mcShape.extra = b2.box.Extra "Additional size data for some of the shape types";
2422 input Real b2.box.mcShape.height(quantity = "Length", unit = "m") = b2.box.Height "Height of visual object";
2423 input Real b2.box.mcShape.length(quantity = "Length", unit = "m") = b2.box.Length "Length of visual object";
2424 input Real b2.box.mcShape.lengthDirection[1] = b2.box.LengthDirection[1] "Vector in length direction, resolved in object frame";
2425 input Real b2.box.mcShape.lengthDirection[2] = b2.box.LengthDirection[2] "Vector in length direction, resolved in object frame";
2426 input Real b2.box.mcShape.lengthDirection[3] = b2.box.LengthDirection[3] "Vector in length direction, resolved in object frame";
2427 input Real b2.box.mcShape.r[1](quantity = "Length", unit = "m") = b2.box.r[1] "Position vector from origin of world frame to origin of object frame, resolved in world frame";
2428 input Real b2.box.mcShape.r[2](quantity = "Length", unit = "m") = b2.box.r[2] "Position vector from origin of world frame to origin of object frame, resolved in world frame";
2429 input Real b2.box.mcShape.r[3](quantity = "Length", unit = "m") = b2.box.r[3] "Position vector from origin of world frame to origin of object frame, resolved in world frame";
2430 input Real b2.box.mcShape.r_shape[1](quantity = "Length", unit = "m") = b2.box.r0[1] "Position vector from origin of object frame to shape origin, resolved in object frame";
2431 input Real b2.box.mcShape.r_shape[2](quantity = "Length", unit = "m") = b2.box.r0[2] "Position vector from origin of object frame to shape origin, resolved in object frame";
2432 input Real b2.box.mcShape.r_shape[3](quantity = "Length", unit = "m") = b2.box.r0[3] "Position vector from origin of object frame to shape origin, resolved in object frame";
2433 input Real b2.box.mcShape.specularCoefficient = b2.box.Material[4];
2434 input Real b2.box.mcShape.width(quantity = "Length", unit = "m") = b2.box.Width "Width of visual object";
2435 input Real b2.box.mcShape.widthDirection[1] = b2.box.WidthDirection[1] "Vector in width direction, resolved in object frame";
2436 input Real b2.box.mcShape.widthDirection[2] = b2.box.WidthDirection[2] "Vector in width direction, resolved in object frame";
2437 input Real b2.box.mcShape.widthDirection[3] = b2.box.WidthDirection[3] "Vector in width direction, resolved in object frame";
2438 input Real b2.box.r[1] "Position of visual object.";
2439 input Real b2.box.r[2] "Position of visual object.";
2440 input Real b2.box.r[3] "Position of visual object.";
2441 input Real b2.frameTranslation.frame_a.r0[1](quantity = "Length", unit = "m") = b2.frameTranslation.r0a[1] "Position vector from inertial system to frame origin, resolved in inertial system";
2442 input Real b2.frameTranslation.frame_a.r0[2](quantity = "Length", unit = "m") = b2.frameTranslation.r0a[2] "Position vector from inertial system to frame origin, resolved in inertial system";
2443 input Real b2.frameTranslation.frame_a.r0[3](quantity = "Length", unit = "m") = b2.frameTranslation.r0a[3] "Position vector from inertial system to frame origin, resolved in inertial system";
2444 input Real b2.frame_a.r0[1](quantity = "Length", unit = "m") = b2.r0a[1] "Position vector from inertial system to frame origin, resolved in inertial system";
2445 input Real b2.frame_a.r0[2](quantity = "Length", unit = "m") = b2.r0a[2] "Position vector from inertial system to frame origin, resolved in inertial system";
2446 input Real b2.frame_a.r0[3](quantity = "Length", unit = "m") = b2.r0a[3] "Position vector from inertial system to frame origin, resolved in inertial system";
2447 input Real b3.body.frame_a.r0[1](quantity = "Length", unit = "m") = b3.body.r0a[1] "Position vector from inertial system to frame origin, resolved in inertial system";
2448 input Real b3.body.frame_a.r0[2](quantity = "Length", unit = "m") = b3.body.r0a[2] "Position vector from inertial system to frame origin, resolved in inertial system";
2449 input Real b3.body.frame_a.r0[3](quantity = "Length", unit = "m") = b3.body.r0a[3] "Position vector from inertial system to frame origin, resolved in inertial system";
2450 input Real b3.box.S[1,1] "3 x 3 transformation matrix.";
2451 input Real b3.box.S[1,2] "3 x 3 transformation matrix.";
2452 input Real b3.box.S[1,3] "3 x 3 transformation matrix.";
2453 input Real b3.box.S[2,1] "3 x 3 transformation matrix.";
2454 input Real b3.box.S[2,2] "3 x 3 transformation matrix.";
2455 input Real b3.box.S[2,3] "3 x 3 transformation matrix.";
2456 input Real b3.box.S[3,1] "3 x 3 transformation matrix.";
2457 input Real b3.box.S[3,2] "3 x 3 transformation matrix.";
2458 input Real b3.box.S[3,3] "3 x 3 transformation matrix.";
2459 input Real b3.box.mcShape.S[1,1] = b3.box.S[1,1] "3 x 3 transformation matrix.";
2460 input Real b3.box.mcShape.S[1,2] = b3.box.S[1,2] "3 x 3 transformation matrix.";
2461 input Real b3.box.mcShape.S[1,3] = b3.box.S[1,3] "3 x 3 transformation matrix.";
2462 input Real b3.box.mcShape.S[2,1] = b3.box.S[2,1] "3 x 3 transformation matrix.";
2463 input Real b3.box.mcShape.S[2,2] = b3.box.S[2,2] "3 x 3 transformation matrix.";
2464 input Real b3.box.mcShape.S[2,3] = b3.box.S[2,3] "3 x 3 transformation matrix.";
2465 input Real b3.box.mcShape.S[3,1] = b3.box.S[3,1] "3 x 3 transformation matrix.";
2466 input Real b3.box.mcShape.S[3,2] = b3.box.S[3,2] "3 x 3 transformation matrix.";
2467 input Real b3.box.mcShape.S[3,3] = b3.box.S[3,3] "3 x 3 transformation matrix.";
2468 input Real b3.box.mcShape.color[1] = 255.0 * b3.box.Material[1] "Color of shape";
2469 input Real b3.box.mcShape.color[2] = 255.0 * b3.box.Material[2] "Color of shape";
2470 input Real b3.box.mcShape.color[3] = 255.0 * b3.box.Material[3] "Color of shape";
2471 input Real b3.box.mcShape.extra = b3.box.Extra "Additional size data for some of the shape types";
2472 input Real b3.box.mcShape.height(quantity = "Length", unit = "m") = b3.box.Height "Height of visual object";
2473 input Real b3.box.mcShape.length(quantity = "Length", unit = "m") = b3.box.Length "Length of visual object";
2474 input Real b3.box.mcShape.lengthDirection[1] = b3.box.LengthDirection[1] "Vector in length direction, resolved in object frame";
2475 input Real b3.box.mcShape.lengthDirection[2] = b3.box.LengthDirection[2] "Vector in length direction, resolved in object frame";
2476 input Real b3.box.mcShape.lengthDirection[3] = b3.box.LengthDirection[3] "Vector in length direction, resolved in object frame";
2477 input Real b3.box.mcShape.r[1](quantity = "Length", unit = "m") = b3.box.r[1] "Position vector from origin of world frame to origin of object frame, resolved in world frame";
2478 input Real b3.box.mcShape.r[2](quantity = "Length", unit = "m") = b3.box.r[2] "Position vector from origin of world frame to origin of object frame, resolved in world frame";
2479 input Real b3.box.mcShape.r[3](quantity = "Length", unit = "m") = b3.box.r[3] "Position vector from origin of world frame to origin of object frame, resolved in world frame";
2480 input Real b3.box.mcShape.r_shape[1](quantity = "Length", unit = "m") = b3.box.r0[1] "Position vector from origin of object frame to shape origin, resolved in object frame";
2481 input Real b3.box.mcShape.r_shape[2](quantity = "Length", unit = "m") = b3.box.r0[2] "Position vector from origin of object frame to shape origin, resolved in object frame";
2482 input Real b3.box.mcShape.r_shape[3](quantity = "Length", unit = "m") = b3.box.r0[3] "Position vector from origin of object frame to shape origin, resolved in object frame";
2483 input Real b3.box.mcShape.specularCoefficient = b3.box.Material[4];
2484 input Real b3.box.mcShape.width(quantity = "Length", unit = "m") = b3.box.Width "Width of visual object";
2485 input Real b3.box.mcShape.widthDirection[1] = b3.box.WidthDirection[1] "Vector in width direction, resolved in object frame";
2486 input Real b3.box.mcShape.widthDirection[2] = b3.box.WidthDirection[2] "Vector in width direction, resolved in object frame";
2487 input Real b3.box.mcShape.widthDirection[3] = b3.box.WidthDirection[3] "Vector in width direction, resolved in object frame";
2488 input Real b3.box.r[1] "Position of visual object.";
2489 input Real b3.box.r[2] "Position of visual object.";
2490 input Real b3.box.r[3] "Position of visual object.";
2491 input Real b3.frameTranslation.frame_a.r0[1](quantity = "Length", unit = "m") = b3.frameTranslation.r0a[1] "Position vector from inertial system to frame origin, resolved in inertial system";
2492 input Real b3.frameTranslation.frame_a.r0[2](quantity = "Length", unit = "m") = b3.frameTranslation.r0a[2] "Position vector from inertial system to frame origin, resolved in inertial system";
2493 input Real b3.frameTranslation.frame_a.r0[3](quantity = "Length", unit = "m") = b3.frameTranslation.r0a[3] "Position vector from inertial system to frame origin, resolved in inertial system";
2494 input Real b3.frame_a.r0[1](quantity = "Length", unit = "m") = b3.r0a[1] "Position vector from inertial system to frame origin, resolved in inertial system";
2495 input Real b3.frame_a.r0[2](quantity = "Length", unit = "m") = b3.r0a[2] "Position vector from inertial system to frame origin, resolved in inertial system";
2496 input Real b3.frame_a.r0[3](quantity = "Length", unit = "m") = b3.r0a[3] "Position vector from inertial system to frame origin, resolved in inertial system";
2497 input Real barC.frame_a.r0[1](quantity = "Length", unit = "m") = barC.r0a[1] "Position vector from inertial system to frame origin, resolved in inertial system";
2498 input Real barC.frame_a.r0[2](quantity = "Length", unit = "m") = barC.r0a[2] "Position vector from inertial system to frame origin, resolved in inertial system";
2499 input Real barC.frame_a.r0[3](quantity = "Length", unit = "m") = barC.r0a[3] "Position vector from inertial system to frame origin, resolved in inertial system";
2500 input Real barC.frame_b.r0[1](quantity = "Length", unit = "m") = barC.r0b[1] "Position vector from inertial system to frame origin, resolved in inertial system";
2501 input Real barC.frame_b.r0[2](quantity = "Length", unit = "m") = barC.r0b[2] "Position vector from inertial system to frame origin, resolved in inertial system";
2502 input Real barC.frame_b.r0[3](quantity = "Length", unit = "m") = barC.r0b[3] "Position vector from inertial system to frame origin, resolved in inertial system";
2503 input Real j1.frame_a.r0[1](quantity = "Length", unit = "m") = j1.r0a[1] "Position vector from inertial system to frame origin, resolved in inertial system";
2504 input Real j1.frame_a.r0[2](quantity = "Length", unit = "m") = j1.r0a[2] "Position vector from inertial system to frame origin, resolved in inertial system";
2505 input Real j1.frame_a.r0[3](quantity = "Length", unit = "m") = j1.r0a[3] "Position vector from inertial system to frame origin, resolved in inertial system";
2506 input Real j2.frame_a.r0[1](quantity = "Length", unit = "m") = j2.r0a[1] "Position vector from inertial system to frame origin, resolved in inertial system";
2507 input Real j2.frame_a.r0[2](quantity = "Length", unit = "m") = j2.r0a[2] "Position vector from inertial system to frame origin, resolved in inertial system";
2508 input Real j2.frame_a.r0[3](quantity = "Length", unit = "m") = j2.r0a[3] "Position vector from inertial system to frame origin, resolved in inertial system";
2509 j1.S_rel[1,1] = j1.nn[1] ^ 2.0 + j1.cosq * (1.0 - j1.nn[1] ^ 2.0);
2510 j1.S_rel[1,2] = j1.nn[1] * j1.nn[2] + j1.cosq * ((-j1.nn[1]) * j1.nn[2]) - (-j1.sinq) * j1.nn[3];
2511 j1.S_rel[1,3] = j1.nn[1] * j1.nn[3] + j1.cosq * ((-j1.nn[1]) * j1.nn[3]) - j1.sinq * j1.nn[2];
2512 j1.S_rel[2,1] = j1.nn[2] * j1.nn[1] + j1.cosq * ((-j1.nn[2]) * j1.nn[1]) - j1.sinq * j1.nn[3];
2513 j1.S_rel[2,2] = j1.nn[2] ^ 2.0 + j1.cosq * (1.0 - j1.nn[2] ^ 2.0);
2514 j1.S_rel[2,3] = j1.nn[2] * j1.nn[3] + j1.cosq * ((-j1.nn[2]) * j1.nn[3]) - (-j1.sinq) * j1.nn[1];
2515 j1.S_rel[3,1] = j1.nn[3] * j1.nn[1] + j1.cosq * ((-j1.nn[3]) * j1.nn[1]) - (-j1.sinq) * j1.nn[2];
2516 j1.S_rel[3,2] = j1.nn[3] * j1.nn[2] + j1.cosq * ((-j1.nn[3]) * j1.nn[2]) - j1.sinq * j1.nn[1];
2517 j1.S_rel[3,3] = j1.nn[3] ^ 2.0 + j1.cosq * (1.0 - j1.nn[3] ^ 2.0);
2518 j1.Sb[1,1] = j1.Sa[1,1] * j1.S_rel[1,1] + (j1.Sa[1,2] * j1.S_rel[1,2] + j1.Sa[1,3] * j1.S_rel[1,3]);
2519 j1.Sb[1,2] = j1.Sa[1,1] * j1.S_rel[2,1] + (j1.Sa[1,2] * j1.S_rel[2,2] + j1.Sa[1,3] * j1.S_rel[2,3]);
2520 j1.Sb[1,3] = j1.Sa[1,1] * j1.S_rel[3,1] + (j1.Sa[1,2] * j1.S_rel[3,2] + j1.Sa[1,3] * j1.S_rel[3,3]);
2521 j1.Sb[2,1] = j1.Sa[2,1] * j1.S_rel[1,1] + (j1.Sa[2,2] * j1.S_rel[1,2] + j1.Sa[2,3] * j1.S_rel[1,3]);
2522 j1.Sb[2,2] = j1.Sa[2,1] * j1.S_rel[2,1] + (j1.Sa[2,2] * j1.S_rel[2,2] + j1.Sa[2,3] * j1.S_rel[2,3]);
2523 j1.Sb[2,3] = j1.Sa[2,1] * j1.S_rel[3,1] + (j1.Sa[2,2] * j1.S_rel[3,2] + j1.Sa[2,3] * j1.S_rel[3,3]);
2524 j1.Sb[3,1] = j1.Sa[3,1] * j1.S_rel[1,1] + (j1.Sa[3,2] * j1.S_rel[1,2] + j1.Sa[3,3] * j1.S_rel[1,3]);
2525 j1.Sb[3,2] = j1.Sa[3,1] * j1.S_rel[2,1] + (j1.Sa[3,2] * j1.S_rel[2,2] + j1.Sa[3,3] * j1.S_rel[2,3]);
2526 j1.Sb[3,3] = j1.Sa[3,1] * j1.S_rel[3,1] + (j1.Sa[3,2] * j1.S_rel[3,2] + j1.Sa[3,3] * j1.S_rel[3,3]);
2527 j1.a_rela[1] = 0.0;
2528 j1.a_rela[2] = 0.0;
2529 j1.a_rela[3] = 0.0;
2530 j1.ab[1] = j1.S_rel[1,1] * j1.aa[1] + (j1.S_rel[1,2] * j1.aa[2] + j1.S_rel[1,3] * j1.aa[3]);
2531 j1.ab[2] = j1.S_rel[2,1] * j1.aa[1] + (j1.S_rel[2,2] * j1.aa[2] + j1.S_rel[2,3] * j1.aa[3]);
2532 j1.ab[3] = j1.S_rel[3,1] * j1.aa[1] + (j1.S_rel[3,2] * j1.aa[2] + j1.S_rel[3,3] * j1.aa[3]);
2533 j1.axis.phi = j1.q;
2534 j1.axis.tau = j1.nn[1] * j1.tb[1] + (j1.nn[2] * j1.tb[2] + j1.nn[3] * j1.tb[3]);
2535 j1.bearing.phi = 0.0;
2536 j1.bearing.tau = 0.0;
2537 j1.cosq = cos(j1.qq);
2538 j1.fa[1] = j1.S_rel[1,1] * j1.fb[1] + (j1.S_rel[2,1] * j1.fb[2] + j1.S_rel[3,1] * j1.fb[3]);
2539 j1.fa[2] = j1.S_rel[1,2] * j1.fb[1] + (j1.S_rel[2,2] * j1.fb[2] + j1.S_rel[3,2] * j1.fb[3]);
2540 j1.fa[3] = j1.S_rel[1,3] * j1.fb[1] + (j1.S_rel[2,3] * j1.fb[2] + j1.S_rel[3,3] * j1.fb[3]);
2541 j1.frame_a.f[1] + (inertial.frame_b.f[1] + b0.frame_a.f[1]) = 0.0;
2542 j1.frame_a.f[2] + (inertial.frame_b.f[2] + b0.frame_a.f[2]) = 0.0;
2543 j1.frame_a.f[3] + (inertial.frame_b.f[3] + b0.frame_a.f[3]) = 0.0;
2544 j1.frame_a.t[1] + (inertial.frame_b.t[1] + b0.frame_a.t[1]) = 0.0;
2545 j1.frame_a.t[2] + (inertial.frame_b.t[2] + b0.frame_a.t[2]) = 0.0;
2546 j1.frame_a.t[3] + (inertial.frame_b.t[3] + b0.frame_a.t[3]) = 0.0;
2547 j1.frame_b.f[1] + b1.frame_a.f[1] = 0.0;
2548 j1.frame_b.f[2] + b1.frame_a.f[2] = 0.0;
2549 j1.frame_b.f[3] + b1.frame_a.f[3] = 0.0;
2550 j1.frame_b.t[1] + b1.frame_a.t[1] = 0.0;
2551 j1.frame_b.t[2] + b1.frame_a.t[2] = 0.0;
2552 j1.frame_b.t[3] + b1.frame_a.t[3] = 0.0;
2553 j1.nn[1] = j1.n[1] / sqrt(j1.n[1] ^ 2.0 + (j1.n[2] ^ 2.0 + j1.n[3] ^ 2.0));
2554 j1.nn[2] = j1.n[2] / sqrt(j1.n[1] ^ 2.0 + (j1.n[2] ^ 2.0 + j1.n[3] ^ 2.0));
2555 j1.nn[3] = j1.n[3] / sqrt(j1.n[1] ^ 2.0 + (j1.n[2] ^ 2.0 + j1.n[3] ^ 2.0));
2556 j1.qd = der(j1.q);
2557 j1.qdd = der(j1.qd);
2558 j1.qq = j1.q - 0.0174532925199433 * j1.q0;
2559 j1.r0b[1] = j1.r0a[1];
2560 j1.r0b[2] = j1.r0a[2];
2561 j1.r0b[3] = j1.r0a[3];
2562 j1.r_rela[1] = 0.0;
2563 j1.r_rela[2] = 0.0;
2564 j1.r_rela[3] = 0.0;
2565 j1.sinq = sin(j1.qq);
2566 j1.ta[1] = j1.S_rel[1,1] * j1.tb[1] + (j1.S_rel[2,1] * j1.tb[2] + j1.S_rel[3,1] * j1.tb[3]);
2567 j1.ta[2] = j1.S_rel[1,2] * j1.tb[1] + (j1.S_rel[2,2] * j1.tb[2] + j1.S_rel[3,2] * j1.tb[3]);
2568 j1.ta[3] = j1.S_rel[1,3] * j1.tb[1] + (j1.S_rel[2,3] * j1.tb[2] + j1.S_rel[3,3] * j1.tb[3]);
2569 j1.v_rela[1] = 0.0;
2570 j1.v_rela[2] = 0.0;
2571 j1.v_rela[3] = 0.0;
2572 j1.vb[1] = j1.S_rel[1,1] * j1.va[1] + (j1.S_rel[1,2] * j1.va[2] + j1.S_rel[1,3] * j1.va[3]);
2573 j1.vb[2] = j1.S_rel[2,1] * j1.va[1] + (j1.S_rel[2,2] * j1.va[2] + j1.S_rel[2,3] * j1.va[3]);
2574 j1.vb[3] = j1.S_rel[3,1] * j1.va[1] + (j1.S_rel[3,2] * j1.va[2] + j1.S_rel[3,3] * j1.va[3]);
2575 j1.w_rela[1] = j1.qd * j1.nn[1];
2576 j1.w_rela[2] = j1.qd * j1.nn[2];
2577 j1.w_rela[3] = j1.qd * j1.nn[3];
2578 j1.wb[1] = j1.S_rel[1,1] * (j1.wa[1] + j1.w_rela[1]) + (j1.S_rel[1,2] * (j1.wa[2] + j1.w_rela[2]) + j1.S_rel[1,3] * (j1.wa[3] + j1.w_rela[3]));
2579 j1.wb[2] = j1.S_rel[2,1] * (j1.wa[1] + j1.w_rela[1]) + (j1.S_rel[2,2] * (j1.wa[2] + j1.w_rela[2]) + j1.S_rel[2,3] * (j1.wa[3] + j1.w_rela[3]));
2580 j1.wb[3] = j1.S_rel[3,1] * (j1.wa[1] + j1.w_rela[1]) + (j1.S_rel[3,2] * (j1.wa[2] + j1.w_rela[2]) + j1.S_rel[3,3] * (j1.wa[3] + j1.w_rela[3]));
2581 j1.z_rela[1] = j1.qdd * j1.nn[1];
2582 j1.z_rela[2] = j1.qdd * j1.nn[2];
2583 j1.z_rela[3] = j1.qdd * j1.nn[3];
2584 j1.zb[1] = j1.S_rel[1,1] * (j1.za[1] + (j1.z_rela[1] + (j1.wa[2] * j1.w_rela[3] + (-j1.wa[3] * j1.w_rela[2])))) + (j1.S_rel[1,2] * (j1.za[2] + (j1.z_rela[2] + (j1.wa[3] * j1.w_rela[1] + (-j1.wa[1] * j1.w_rela[3])))) + j1.S_rel[1,3] * (j1.za[3] + (j1.z_rela[3] + (j1.wa[1] * j1.w_rela[2] + (-j1.wa[2] * j1.w_rela[1])))));
2585 j1.zb[2] = j1.S_rel[2,1] * (j1.za[1] + (j1.z_rela[1] + (j1.wa[2] * j1.w_rela[3] + (-j1.wa[3] * j1.w_rela[2])))) + (j1.S_rel[2,2] * (j1.za[2] + (j1.z_rela[2] + (j1.wa[3] * j1.w_rela[1] + (-j1.wa[1] * j1.w_rela[3])))) + j1.S_rel[2,3] * (j1.za[3] + (j1.z_rela[3] + (j1.wa[1] * j1.w_rela[2] + (-j1.wa[2] * j1.w_rela[1])))));
2586 j1.zb[3] = j1.S_rel[3,1] * (j1.za[1] + (j1.z_rela[1] + (j1.wa[2] * j1.w_rela[3] + (-j1.wa[3] * j1.w_rela[2])))) + (j1.S_rel[3,2] * (j1.za[2] + (j1.z_rela[2] + (j1.wa[3] * j1.w_rela[1] + (-j1.wa[1] * j1.w_rela[3])))) + j1.S_rel[3,3] * (j1.za[3] + (j1.z_rela[3] + (j1.wa[1] * j1.w_rela[2] + (-j1.wa[2] * j1.w_rela[1])))));
2587 j1q = j1.q;
2588 j1qd = j1.qd;
2589 j2.S_rel[1,1] = 1.0;
2590 j2.S_rel[1,2] = 0.0;
2591 j2.S_rel[1,3] = 0.0;
2592 j2.S_rel[2,1] = 0.0;
2593 j2.S_rel[2,2] = 1.0;
2594 j2.S_rel[2,3] = 0.0;
2595 j2.S_rel[3,1] = 0.0;
2596 j2.S_rel[3,2] = 0.0;
2597 j2.S_rel[3,3] = 1.0;
2598 j2.Sb[1,1] = j2.Sa[1,1];
2599 j2.Sb[1,2] = j2.Sa[1,2];
2600 j2.Sb[1,3] = j2.Sa[1,3];
2601 j2.Sb[2,1] = j2.Sa[2,1];
2602 j2.Sb[2,2] = j2.Sa[2,2];
2603 j2.Sb[2,3] = j2.Sa[2,3];
2604 j2.Sb[3,1] = j2.Sa[3,1];
2605 j2.Sb[3,2] = j2.Sa[3,2];
2606 j2.Sb[3,3] = j2.Sa[3,3];
2607 j2.a_rela[1] = j2.qdd * j2.nn[1];
2608 j2.a_rela[2] = j2.qdd * j2.nn[2];
2609 j2.a_rela[3] = j2.qdd * j2.nn[3];
2610 j2.ab[1] = j2.aa[1] + (j2.a_rela[1] + (j2.za[2] * j2.r_rela[3] + ((-j2.za[3] * j2.r_rela[2]) + (j2.wa[2] * (j2.vaux[3] + 2.0 * j2.v_rela[3]) + (-j2.wa[3] * (j2.vaux[2] + 2.0 * j2.v_rela[2]))))));
2611 j2.ab[2] = j2.aa[2] + (j2.a_rela[2] + (j2.za[3] * j2.r_rela[1] + ((-j2.za[1] * j2.r_rela[3]) + (j2.wa[3] * (j2.vaux[1] + 2.0 * j2.v_rela[1]) + (-j2.wa[1] * (j2.vaux[3] + 2.0 * j2.v_rela[3]))))));
2612 j2.ab[3] = j2.aa[3] + (j2.a_rela[3] + (j2.za[1] * j2.r_rela[2] + ((-j2.za[2] * j2.r_rela[1]) + (j2.wa[1] * (j2.vaux[2] + 2.0 * j2.v_rela[2]) + (-j2.wa[2] * (j2.vaux[1] + 2.0 * j2.v_rela[1]))))));
2613 j2.axis.f = j2.nn[1] * j2.fb[1] + (j2.nn[2] * j2.fb[2] + j2.nn[3] * j2.fb[3]);
2614 j2.axis.s = j2.q;
2615 j2.bearing.f = 0.0;
2616 j2.bearing.s = 0.0;
2617 j2.fa[1] = j2.fb[1];
2618 j2.fa[2] = j2.fb[2];
2619 j2.fa[3] = j2.fb[3];
2620 j2.frame_b.f[1] + b2.frame_a.f[1] = 0.0;
2621 j2.frame_b.f[2] + b2.frame_a.f[2] = 0.0;
2622 j2.frame_b.f[3] + b2.frame_a.f[3] = 0.0;
2623 j2.frame_b.t[1] + b2.frame_a.t[1] = 0.0;
2624 j2.frame_b.t[2] + b2.frame_a.t[2] = 0.0;
2625 j2.frame_b.t[3] + b2.frame_a.t[3] = 0.0;
2626 j2.nn[1] = j2.n[1] / sqrt(j2.n[1] ^ 2.0 + (j2.n[2] ^ 2.0 + j2.n[3] ^ 2.0));
2627 j2.nn[2] = j2.n[2] / sqrt(j2.n[1] ^ 2.0 + (j2.n[2] ^ 2.0 + j2.n[3] ^ 2.0));
2628 j2.nn[3] = j2.n[3] / sqrt(j2.n[1] ^ 2.0 + (j2.n[2] ^ 2.0 + j2.n[3] ^ 2.0));
2629 j2.qd = der(j2.q);
2630 j2.qdd = der(j2.qd);
2631 j2.qq = j2.q - j2.q0;
2632 j2.r0b[1] = j2.r0a[1] + (j2.Sa[1,1] * j2.r_rela[1] + (j2.Sa[1,2] * j2.r_rela[2] + j2.Sa[1,3] * j2.r_rela[3]));
2633 j2.r0b[2] = j2.r0a[2] + (j2.Sa[2,1] * j2.r_rela[1] + (j2.Sa[2,2] * j2.r_rela[2] + j2.Sa[2,3] * j2.r_rela[3]));
2634 j2.r0b[3] = j2.r0a[3] + (j2.Sa[3,1] * j2.r_rela[1] + (j2.Sa[3,2] * j2.r_rela[2] + j2.Sa[3,3] * j2.r_rela[3]));
2635 j2.r_rela[1] = j2.qq * j2.nn[1];
2636 j2.r_rela[2] = j2.qq * j2.nn[2];
2637 j2.r_rela[3] = j2.qq * j2.nn[3];
2638 j2.ta[1] = j2.tb[1] + (j2.r_rela[2] * j2.fa[3] + (-j2.r_rela[3] * j2.fa[2]));
2639 j2.ta[2] = j2.tb[2] + (j2.r_rela[3] * j2.fa[1] + (-j2.r_rela[1] * j2.fa[3]));
2640 j2.ta[3] = j2.tb[3] + (j2.r_rela[1] * j2.fa[2] + (-j2.r_rela[2] * j2.fa[1]));
2641 j2.v_rela[1] = j2.qd * j2.nn[1];
2642 j2.v_rela[2] = j2.qd * j2.nn[2];
2643 j2.v_rela[3] = j2.qd * j2.nn[3];
2644 j2.vaux[1] = j2.wa[2] * j2.r_rela[3] - j2.wa[3] * j2.r_rela[2];
2645 j2.vaux[2] = j2.wa[3] * j2.r_rela[1] - j2.wa[1] * j2.r_rela[3];
2646 j2.vaux[3] = j2.wa[1] * j2.r_rela[2] - j2.wa[2] * j2.r_rela[1];
2647 j2.vb[1] = j2.va[1] + (j2.v_rela[1] + j2.vaux[1]);
2648 j2.vb[2] = j2.va[2] + (j2.v_rela[2] + j2.vaux[2]);
2649 j2.vb[3] = j2.va[3] + (j2.v_rela[3] + j2.vaux[3]);
2650 j2.w_rela[1] = 0.0;
2651 j2.w_rela[2] = 0.0;
2652 j2.w_rela[3] = 0.0;
2653 j2.wb[1] = j2.wa[1];
2654 j2.wb[2] = j2.wa[2];
2655 j2.wb[3] = j2.wa[3];
2656 j2.z_rela[1] = 0.0;
2657 j2.z_rela[2] = 0.0;
2658 j2.z_rela[3] = 0.0;
2659 j2.zb[1] = j2.za[1];
2660 j2.zb[2] = j2.za[2];
2661 j2.zb[3] = j2.za[3];
2662 j2q = j2.q;
2663 j2qd = j2.qd;
2664 output Real b0.box.mcShape.rvisobj[1](quantity = "Length", unit = "m") "position vector from world frame to shape frame, resolved in world frame";
2665 output Real b0.box.mcShape.rvisobj[2](quantity = "Length", unit = "m") "position vector from world frame to shape frame, resolved in world frame";
2666 output Real b0.box.mcShape.rvisobj[3](quantity = "Length", unit = "m") "position vector from world frame to shape frame, resolved in world frame";
2667 output Real b0.box.mcShape.rxvisobj[1] "x-axis unit vector of shape, resolved in world frame";
2668 output Real b0.box.mcShape.rxvisobj[2] "x-axis unit vector of shape, resolved in world frame";
2669 output Real b0.box.mcShape.rxvisobj[3] "x-axis unit vector of shape, resolved in world frame";
2670 output Real b0.box.mcShape.ryvisobj[1] "y-axis unit vector of shape, resolved in world frame";
2671 output Real b0.box.mcShape.ryvisobj[2] "y-axis unit vector of shape, resolved in world frame";
2672 output Real b0.box.mcShape.ryvisobj[3] "y-axis unit vector of shape, resolved in world frame";
2673 output Real b0.frameTranslation.frame_b.r0[1](quantity = "Length", unit = "m") = b0.frameTranslation.r0b[1] "Position vector from inertial system to frame origin, resolved in inertial system";
2674 output Real b0.frameTranslation.frame_b.r0[2](quantity = "Length", unit = "m") = b0.frameTranslation.r0b[2] "Position vector from inertial system to frame origin, resolved in inertial system";
2675 output Real b0.frameTranslation.frame_b.r0[3](quantity = "Length", unit = "m") = b0.frameTranslation.r0b[3] "Position vector from inertial system to frame origin, resolved in inertial system";
2676 output Real b0.frame_b.r0[1](quantity = "Length", unit = "m") = b0.r0b[1] "Position vector from inertial system to frame origin, resolved in inertial system";
2677 output Real b0.frame_b.r0[2](quantity = "Length", unit = "m") = b0.r0b[2] "Position vector from inertial system to frame origin, resolved in inertial system";
2678 output Real b0.frame_b.r0[3](quantity = "Length", unit = "m") = b0.r0b[3] "Position vector from inertial system to frame origin, resolved in inertial system";
2679 output Real b1.box.mcShape.rvisobj[1](quantity = "Length", unit = "m") "position vector from world frame to shape frame, resolved in world frame";
2680 output Real b1.box.mcShape.rvisobj[2](quantity = "Length", unit = "m") "position vector from world frame to shape frame, resolved in world frame";
2681 output Real b1.box.mcShape.rvisobj[3](quantity = "Length", unit = "m") "position vector from world frame to shape frame, resolved in world frame";
2682 output Real b1.box.mcShape.rxvisobj[1] "x-axis unit vector of shape, resolved in world frame";
2683 output Real b1.box.mcShape.rxvisobj[2] "x-axis unit vector of shape, resolved in world frame";
2684 output Real b1.box.mcShape.rxvisobj[3] "x-axis unit vector of shape, resolved in world frame";
2685 output Real b1.box.mcShape.ryvisobj[1] "y-axis unit vector of shape, resolved in world frame";
2686 output Real b1.box.mcShape.ryvisobj[2] "y-axis unit vector of shape, resolved in world frame";
2687 output Real b1.box.mcShape.ryvisobj[3] "y-axis unit vector of shape, resolved in world frame";
2688 output Real b1.frameTranslation.frame_b.r0[1](quantity = "Length", unit = "m") = b1.frameTranslation.r0b[1] "Position vector from inertial system to frame origin, resolved in inertial system";
2689 output Real b1.frameTranslation.frame_b.r0[2](quantity = "Length", unit = "m") = b1.frameTranslation.r0b[2] "Position vector from inertial system to frame origin, resolved in inertial system";
2690 output Real b1.frameTranslation.frame_b.r0[3](quantity = "Length", unit = "m") = b1.frameTranslation.r0b[3] "Position vector from inertial system to frame origin, resolved in inertial system";
2691 output Real b1.frame_b.r0[1](quantity = "Length", unit = "m") = b1.r0b[1] "Position vector from inertial system to frame origin, resolved in inertial system";
2692 output Real b1.frame_b.r0[2](quantity = "Length", unit = "m") = b1.r0b[2] "Position vector from inertial system to frame origin, resolved in inertial system";
2693 output Real b1.frame_b.r0[3](quantity = "Length", unit = "m") = b1.r0b[3] "Position vector from inertial system to frame origin, resolved in inertial system";
2694 output Real b2.box.mcShape.rvisobj[1](quantity = "Length", unit = "m") "position vector from world frame to shape frame, resolved in world frame";
2695 output Real b2.box.mcShape.rvisobj[2](quantity = "Length", unit = "m") "position vector from world frame to shape frame, resolved in world frame";
2696 output Real b2.box.mcShape.rvisobj[3](quantity = "Length", unit = "m") "position vector from world frame to shape frame, resolved in world frame";
2697 output Real b2.box.mcShape.rxvisobj[1] "x-axis unit vector of shape, resolved in world frame";
2698 output Real b2.box.mcShape.rxvisobj[2] "x-axis unit vector of shape, resolved in world frame";
2699 output Real b2.box.mcShape.rxvisobj[3] "x-axis unit vector of shape, resolved in world frame";
2700 output Real b2.box.mcShape.ryvisobj[1] "y-axis unit vector of shape, resolved in world frame";
2701 output Real b2.box.mcShape.ryvisobj[2] "y-axis unit vector of shape, resolved in world frame";
2702 output Real b2.box.mcShape.ryvisobj[3] "y-axis unit vector of shape, resolved in world frame";
2703 output Real b2.frameTranslation.frame_b.r0[1](quantity = "Length", unit = "m") = b2.frameTranslation.r0b[1] "Position vector from inertial system to frame origin, resolved in inertial system";
2704 output Real b2.frameTranslation.frame_b.r0[2](quantity = "Length", unit = "m") = b2.frameTranslation.r0b[2] "Position vector from inertial system to frame origin, resolved in inertial system";
2705 output Real b2.frameTranslation.frame_b.r0[3](quantity = "Length", unit = "m") = b2.frameTranslation.r0b[3] "Position vector from inertial system to frame origin, resolved in inertial system";
2706 output Real b2.frame_b.r0[1](quantity = "Length", unit = "m") = b2.r0b[1] "Position vector from inertial system to frame origin, resolved in inertial system";
2707 output Real b2.frame_b.r0[2](quantity = "Length", unit = "m") = b2.r0b[2] "Position vector from inertial system to frame origin, resolved in inertial system";
2708 output Real b2.frame_b.r0[3](quantity = "Length", unit = "m") = b2.r0b[3] "Position vector from inertial system to frame origin, resolved in inertial system";
2709 output Real b3.box.mcShape.rvisobj[1](quantity = "Length", unit = "m") "position vector from world frame to shape frame, resolved in world frame";
2710 output Real b3.box.mcShape.rvisobj[2](quantity = "Length", unit = "m") "position vector from world frame to shape frame, resolved in world frame";
2711 output Real b3.box.mcShape.rvisobj[3](quantity = "Length", unit = "m") "position vector from world frame to shape frame, resolved in world frame";
2712 output Real b3.box.mcShape.rxvisobj[1] "x-axis unit vector of shape, resolved in world frame";
2713 output Real b3.box.mcShape.rxvisobj[2] "x-axis unit vector of shape, resolved in world frame";
2714 output Real b3.box.mcShape.rxvisobj[3] "x-axis unit vector of shape, resolved in world frame";
2715 output Real b3.box.mcShape.ryvisobj[1] "y-axis unit vector of shape, resolved in world frame";
2716 output Real b3.box.mcShape.ryvisobj[2] "y-axis unit vector of shape, resolved in world frame";
2717 output Real b3.box.mcShape.ryvisobj[3] "y-axis unit vector of shape, resolved in world frame";
2718 output Real b3.frameTranslation.frame_b.r0[1](quantity = "Length", unit = "m") = b3.frameTranslation.r0b[1] "Position vector from inertial system to frame origin, resolved in inertial system";
2719 output Real b3.frameTranslation.frame_b.r0[2](quantity = "Length", unit = "m") = b3.frameTranslation.r0b[2] "Position vector from inertial system to frame origin, resolved in inertial system";
2720 output Real b3.frameTranslation.frame_b.r0[3](quantity = "Length", unit = "m") = b3.frameTranslation.r0b[3] "Position vector from inertial system to frame origin, resolved in inertial system";
2721 output Real b3.frame_b.r0[1](quantity = "Length", unit = "m") = b3.r0b[1] "Position vector from inertial system to frame origin, resolved in inertial system";
2722 output Real b3.frame_b.r0[2](quantity = "Length", unit = "m") = b3.r0b[2] "Position vector from inertial system to frame origin, resolved in inertial system";
2723 output Real b3.frame_b.r0[3](quantity = "Length", unit = "m") = b3.r0b[3] "Position vector from inertial system to frame origin, resolved in inertial system";
2724 output Real barC.frame_c.r0[1](quantity = "Length", unit = "m") = barC.r0c[1] "Position vector from inertial system to frame origin, resolved in inertial system";
2725 output Real barC.frame_c.r0[2](quantity = "Length", unit = "m") = barC.r0c[2] "Position vector from inertial system to frame origin, resolved in inertial system";
2726 output Real barC.frame_c.r0[3](quantity = "Length", unit = "m") = barC.r0c[3] "Position vector from inertial system to frame origin, resolved in inertial system";
2727 output Real inertial.frame_b.r0[1](quantity = "Length", unit = "m") "Position vector from inertial system to frame origin, resolved in inertial system";
2728 output Real inertial.frame_b.r0[2](quantity = "Length", unit = "m") "Position vector from inertial system to frame origin, resolved in inertial system";
2729 output Real inertial.frame_b.r0[3](quantity = "Length", unit = "m") "Position vector from inertial system to frame origin, resolved in inertial system";
2730 output Real j1.frame_b.r0[1](quantity = "Length", unit = "m") = j1.r0b[1] "Position vector from inertial system to frame origin, resolved in inertial system";
2731 output Real j1.frame_b.r0[2](quantity = "Length", unit = "m") = j1.r0b[2] "Position vector from inertial system to frame origin, resolved in inertial system";
2732 output Real j1.frame_b.r0[3](quantity = "Length", unit = "m") = j1.r0b[3] "Position vector from inertial system to frame origin, resolved in inertial system";
2733 output Real j1q(quantity = "Angle", unit = "rad", displayUnit = "deg") "angle of revolute joint j1";
2734 output Real j1qd(quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min") "axis speed of revolute joint j1";
2735 output Real j2.frame_b.r0[1](quantity = "Length", unit = "m") = j2.r0b[1] "Position vector from inertial system to frame origin, resolved in inertial system";
2736 output Real j2.frame_b.r0[2](quantity = "Length", unit = "m") = j2.r0b[2] "Position vector from inertial system to frame origin, resolved in inertial system";
2737 output Real j2.frame_b.r0[3](quantity = "Length", unit = "m") = j2.r0b[3] "Position vector from inertial system to frame origin, resolved in inertial system";
2738 output Real j2q(quantity = "Length", unit = "m") "distance of prismatic joint j2";
2739 output Real j2qd(quantity = "Velocity", unit = "m/s") "axis velocity of prismatic joint j2";
2740 parameter Boolean j1.startValueFixed = true "true, if start values of q, qd are fixed";
2741 parameter Boolean j2.startValueFixed = false "true, if start values of q, qd are fixed";
2742 parameter Real L(quantity = "Length", unit = "m") = 1.04880884817015 "Length of connecting rod";
2743 parameter Real b0.Height(quantity = "Length", unit = "m") = 0.01 "Height of box";
2744 parameter Real b0.InnerHeight(quantity = "Length", unit = "m") = 0.0 "Height of inner box surface";
2745 parameter Real b0.InnerWidth(quantity = "Length", unit = "m") = 0.0 "Width of inner box surface";
2746 parameter Real b0.Length(quantity = "Length", unit = "m") = sqrt((b0.r[1] - b0.r0[1]) ^ 2.0 + ((b0.r[2] - b0.r0[2]) ^ 2.0 + (b0.r[3] - b0.r0[3]) ^ 2.0)) "Length of box";
2747 parameter Real b0.LengthDirection[1](quantity = "Length", unit = "m") = b0.r[1] - b0.r0[1] "Vector in length direction, resolved in frame_a";
2748 parameter Real b0.LengthDirection[2](quantity = "Length", unit = "m") = b0.r[2] - b0.r0[2] "Vector in length direction, resolved in frame_a";
2749 parameter Real b0.LengthDirection[3](quantity = "Length", unit = "m") = b0.r[3] - b0.r0[3] "Vector in length direction, resolved in frame_a";
2750 parameter Real b0.Material[1] = 0.0 "Color and specular coefficient";
2751 parameter Real b0.Material[2] = 0.0 "Color and specular coefficient";
2752 parameter Real b0.Material[3] = 1.0 "Color and specular coefficient";
2753 parameter Real b0.Material[4] = 0.5 "Color and specular coefficient";
2754 parameter Real b0.Width(quantity = "Length", unit = "m") = 0.01 "Width of box";
2755 parameter Real b0.WidthDirection[1](quantity = "Length", unit = "m") = 0.0 "Vector in width direction, resolved in frame_a";
2756 parameter Real b0.WidthDirection[2](quantity = "Length", unit = "m") = 1.0 "Vector in width direction, resolved in frame_a";
2757 parameter Real b0.WidthDirection[3](quantity = "Length", unit = "m") = 0.0 "Vector in width direction, resolved in frame_a";
2758 parameter Real b0.box.Extra = 0.0 "Additional size data for some of the shape types";
2759 parameter Real b0.box.Height = b0.Height "Height of visual object.";
2760 parameter Real b0.box.Length = b0.Length "Length of visual object.";
2761 parameter Real b0.box.LengthDirection[1] = b0.LengthDirection[1] "Vector in length direction.";
2762 parameter Real b0.box.LengthDirection[2] = b0.LengthDirection[2] "Vector in length direction.";
2763 parameter Real b0.box.LengthDirection[3] = b0.LengthDirection[3] "Vector in length direction.";
2764 parameter Real b0.box.Material[1] = b0.Material[1] "Color and specular coefficient.";
2765 parameter Real b0.box.Material[2] = b0.Material[2] "Color and specular coefficient.";
2766 parameter Real b0.box.Material[3] = b0.Material[3] "Color and specular coefficient.";
2767 parameter Real b0.box.Material[4] = b0.Material[4] "Color and specular coefficient.";
2768 parameter Real b0.box.Width = b0.Width "Width of visual object.";
2769 parameter Real b0.box.WidthDirection[1] = b0.WidthDirection[1] "Vector in width direction.";
2770 parameter Real b0.box.WidthDirection[2] = b0.WidthDirection[2] "Vector in width direction.";
2771 parameter Real b0.box.WidthDirection[3] = b0.WidthDirection[3] "Vector in width direction.";
2772 parameter Real b0.box.r0[1] = b0.r0[1] "Origin of visual object.";
2773 parameter Real b0.box.r0[2] = b0.r0[2] "Origin of visual object.";
2774 parameter Real b0.box.r0[3] = b0.r0[3] "Origin of visual object.";
2775 parameter Real b0.frameTranslation.r[1](quantity = "Length", unit = "m") = b0.r[1] "Vector from frame_a to frame_b resolved in frame_a";
2776 parameter Real b0.frameTranslation.r[2](quantity = "Length", unit = "m") = b0.r[2] "Vector from frame_a to frame_b resolved in frame_a";
2777 parameter Real b0.frameTranslation.r[3](quantity = "Length", unit = "m") = b0.r[3] "Vector from frame_a to frame_b resolved in frame_a";
2778 parameter Real b0.r0[1](quantity = "Length", unit = "m") = 0.0 "Vector from frame_a to left box plane, resolved in frame_a";
2779 parameter Real b0.r0[2](quantity = "Length", unit = "m") = 0.0 "Vector from frame_a to left box plane, resolved in frame_a";
2780 parameter Real b0.r0[3](quantity = "Length", unit = "m") = 0.0 "Vector from frame_a to left box plane, resolved in frame_a";
2781 parameter Real b0.r[1](quantity = "Length", unit = "m") = 1.0 "Vector from frame_a to frame_b, resolved in frame_a";
2782 parameter Real b0.r[2](quantity = "Length", unit = "m") = 0.0 "Vector from frame_a to frame_b, resolved in frame_a";
2783 parameter Real b0.r[3](quantity = "Length", unit = "m") = 0.0 "Vector from frame_a to frame_b, resolved in frame_a";
2784 parameter Real b0.rho = 7.7 "Density of box material [g/cm^3]";
2785 parameter Real b1.Axis[1](quantity = "Length", unit = "m") = b1.r[1] - b1.r0[1] "Vector in direction of cylinder axis, resolved in frame_a";
2786 parameter Real b1.Axis[2](quantity = "Length", unit = "m") = b1.r[2] - b1.r0[2] "Vector in direction of cylinder axis, resolved in frame_a";
2787 parameter Real b1.Axis[3](quantity = "Length", unit = "m") = b1.r[3] - b1.r0[3] "Vector in direction of cylinder axis, resolved in frame_a";
2788 parameter Real b1.InnerRadius(quantity = "Length", unit = "m", min = 0.0, max = b1.Radius) = 0.0 "Inner radius of cylinder";
2789 parameter Real b1.Length(quantity = "Length", unit = "m") = sqrt(b1.Axis[1] ^ 2.0 + (b1.Axis[2] ^ 2.0 + b1.Axis[3] ^ 2.0)) "Length of cylinder";
2790 parameter Real b1.Material[1] = 1.0 "Color and specular coefficient";
2791 parameter Real b1.Material[2] = 0.0 "Color and specular coefficient";
2792 parameter Real b1.Material[3] = 0.0 "Color and specular coefficient";
2793 parameter Real b1.Material[4] = 0.5 "Color and specular coefficient";
2794 parameter Real b1.Radius(quantity = "Length", unit = "m", min = 0.0) = 0.05 "Radius of cylinder";
2795 parameter Real b1.box.Extra = b1.InnerRadius / b1.Radius "Additional size data for some of the shape types";
2796 parameter Real b1.box.Height = 2.0 * b1.Radius "Height of visual object.";
2797 parameter Real b1.box.Length = b1.Length "Length of visual object.";
2798 parameter Real b1.box.LengthDirection[1] = b1.Axis[1] "Vector in length direction.";
2799 parameter Real b1.box.LengthDirection[2] = b1.Axis[2] "Vector in length direction.";
2800 parameter Real b1.box.LengthDirection[3] = b1.Axis[3] "Vector in length direction.";
2801 parameter Real b1.box.Material[1] = b1.Material[1] "Color and specular coefficient.";
2802 parameter Real b1.box.Material[2] = b1.Material[2] "Color and specular coefficient.";
2803 parameter Real b1.box.Material[3] = b1.Material[3] "Color and specular coefficient.";
2804 parameter Real b1.box.Material[4] = b1.Material[4] "Color and specular coefficient.";
2805 parameter Real b1.box.Width = 2.0 * b1.Radius "Width of visual object.";
2806 parameter Real b1.box.WidthDirection[1] = 0.0 "Vector in width direction.";
2807 parameter Real b1.box.WidthDirection[2] = 1.0 "Vector in width direction.";
2808 parameter Real b1.box.WidthDirection[3] = 0.0 "Vector in width direction.";
2809 parameter Real b1.box.r0[1] = b1.r0[1] "Origin of visual object.";
2810 parameter Real b1.box.r0[2] = b1.r0[2] "Origin of visual object.";
2811 parameter Real b1.box.r0[3] = b1.r0[3] "Origin of visual object.";
2812 parameter Real b1.frameTranslation.r[1](quantity = "Length", unit = "m") = b1.r[1] "Vector from frame_a to frame_b resolved in frame_a";
2813 parameter Real b1.frameTranslation.r[2](quantity = "Length", unit = "m") = b1.r[2] "Vector from frame_a to frame_b resolved in frame_a";
2814 parameter Real b1.frameTranslation.r[3](quantity = "Length", unit = "m") = b1.r[3] "Vector from frame_a to frame_b resolved in frame_a";
2815 parameter Real b1.r0[1](quantity = "Length", unit = "m") = 0.0 "Vector from frame_a to left circle center, resolved in frame_a";
2816 parameter Real b1.r0[2](quantity = "Length", unit = "m") = 0.0 "Vector from frame_a to left circle center, resolved in frame_a";
2817 parameter Real b1.r0[3](quantity = "Length", unit = "m") = 0.0 "Vector from frame_a to left circle center, resolved in frame_a";
2818 parameter Real b1.r[1](quantity = "Length", unit = "m") = 0.0 "Vector from frame_a to frame_b, resolved in frame_a";
2819 parameter Real b1.r[2](quantity = "Length", unit = "m") = 0.5 "Vector from frame_a to frame_b, resolved in frame_a";
2820 parameter Real b1.r[3](quantity = "Length", unit = "m") = 0.1 "Vector from frame_a to frame_b, resolved in frame_a";
2821 parameter Real b1.rho(min = 0.0) = 7.7 "Density of material [g/cm^3]";
2822 parameter Real b2.Axis[1](quantity = "Length", unit = "m") = b2.r[1] - b2.r0[1] "Vector in direction of cylinder axis, resolved in frame_a";
2823 parameter Real b2.Axis[2](quantity = "Length", unit = "m") = b2.r[2] - b2.r0[2] "Vector in direction of cylinder axis, resolved in frame_a";
2824 parameter Real b2.Axis[3](quantity = "Length", unit = "m") = b2.r[3] - b2.r0[3] "Vector in direction of cylinder axis, resolved in frame_a";
2825 parameter Real b2.InnerRadius(quantity = "Length", unit = "m", min = 0.0, max = b2.Radius) = 0.0 "Inner radius of cylinder";
2826 parameter Real b2.Length(quantity = "Length", unit = "m") = sqrt(b2.Axis[1] ^ 2.0 + (b2.Axis[2] ^ 2.0 + b2.Axis[3] ^ 2.0)) "Length of cylinder";
2827 parameter Real b2.Material[1] = 1.0 "Color and specular coefficient";
2828 parameter Real b2.Material[2] = 0.0 "Color and specular coefficient";
2829 parameter Real b2.Material[3] = 0.0 "Color and specular coefficient";
2830 parameter Real b2.Material[4] = 0.5 "Color and specular coefficient";
2831 parameter Real b2.Radius(quantity = "Length", unit = "m", min = 0.0) = 0.05 "Radius of cylinder";
2832 parameter Real b2.box.Extra = b2.InnerRadius / b2.Radius "Additional size data for some of the shape types";
2833 parameter Real b2.box.Height = 2.0 * b2.Radius "Height of visual object.";
2834 parameter Real b2.box.Length = b2.Length "Length of visual object.";
2835 parameter Real b2.box.LengthDirection[1] = b2.Axis[1] "Vector in length direction.";
2836 parameter Real b2.box.LengthDirection[2] = b2.Axis[2] "Vector in length direction.";
2837 parameter Real b2.box.LengthDirection[3] = b2.Axis[3] "Vector in length direction.";
2838 parameter Real b2.box.Material[1] = b2.Material[1] "Color and specular coefficient.";
2839 parameter Real b2.box.Material[2] = b2.Material[2] "Color and specular coefficient.";
2840 parameter Real b2.box.Material[3] = b2.Material[3] "Color and specular coefficient.";
2841 parameter Real b2.box.Material[4] = b2.Material[4] "Color and specular coefficient.";
2842 parameter Real b2.box.Width = 2.0 * b2.Radius "Width of visual object.";
2843 parameter Real b2.box.WidthDirection[1] = 0.0 "Vector in width direction.";
2844 parameter Real b2.box.WidthDirection[2] = 1.0 "Vector in width direction.";
2845 parameter Real b2.box.WidthDirection[3] = 0.0 "Vector in width direction.";
2846 parameter Real b2.box.r0[1] = b2.r0[1] "Origin of visual object.";
2847 parameter Real b2.box.r0[2] = b2.r0[2] "Origin of visual object.";
2848 parameter Real b2.box.r0[3] = b2.r0[3] "Origin of visual object.";
2849 parameter Real b2.frameTranslation.r[1](quantity = "Length", unit = "m") = b2.r[1] "Vector from frame_a to frame_b resolved in frame_a";
2850 parameter Real b2.frameTranslation.r[2](quantity = "Length", unit = "m") = b2.r[2] "Vector from frame_a to frame_b resolved in frame_a";
2851 parameter Real b2.frameTranslation.r[3](quantity = "Length", unit = "m") = b2.r[3] "Vector from frame_a to frame_b resolved in frame_a";
2852 parameter Real b2.r0[1](quantity = "Length", unit = "m") = 0.0 "Vector from frame_a to left circle center, resolved in frame_a";
2853 parameter Real b2.r0[2](quantity = "Length", unit = "m") = 0.0 "Vector from frame_a to left circle center, resolved in frame_a";
2854 parameter Real b2.r0[3](quantity = "Length", unit = "m") = 0.0 "Vector from frame_a to left circle center, resolved in frame_a";
2855 parameter Real b2.r[1](quantity = "Length", unit = "m") = 0.0 "Vector from frame_a to frame_b, resolved in frame_a";
2856 parameter Real b2.r[2](quantity = "Length", unit = "m") = 0.2 "Vector from frame_a to frame_b, resolved in frame_a";
2857 parameter Real b2.r[3](quantity = "Length", unit = "m") = 0.0 "Vector from frame_a to frame_b, resolved in frame_a";
2858 parameter Real b2.rho(min = 0.0) = 7.7 "Density of material [g/cm^3]";
2859 parameter Real b3.Axis[1](quantity = "Length", unit = "m") = b3.r[1] - b3.r0[1] "Vector in direction of cylinder axis, resolved in frame_a";
2860 parameter Real b3.Axis[2](quantity = "Length", unit = "m") = b3.r[2] - b3.r0[2] "Vector in direction of cylinder axis, resolved in frame_a";
2861 parameter Real b3.Axis[3](quantity = "Length", unit = "m") = b3.r[3] - b3.r0[3] "Vector in direction of cylinder axis, resolved in frame_a";
2862 parameter Real b3.InnerRadius(quantity = "Length", unit = "m", min = 0.0, max = b3.Radius) = 0.0 "Inner radius of cylinder";
2863 parameter Real b3.Length(quantity = "Length", unit = "m") = sqrt(b3.Axis[1] ^ 2.0 + (b3.Axis[2] ^ 2.0 + b3.Axis[3] ^ 2.0)) "Length of cylinder";
2864 parameter Real b3.Material[1] = 1.0 "Color and specular coefficient";
2865 parameter Real b3.Material[2] = 0.0 "Color and specular coefficient";
2866 parameter Real b3.Material[3] = 0.0 "Color and specular coefficient";
2867 parameter Real b3.Material[4] = 0.5 "Color and specular coefficient";
2868 parameter Real b3.Radius(quantity = "Length", unit = "m", min = 0.0) = 0.05 "Radius of cylinder";
2869 parameter Real b3.box.Extra = b3.InnerRadius / b3.Radius "Additional size data for some of the shape types";
2870 parameter Real b3.box.Height = 2.0 * b3.Radius "Height of visual object.";
2871 parameter Real b3.box.Length = b3.Length "Length of visual object.";
2872 parameter Real b3.box.LengthDirection[1] = b3.Axis[1] "Vector in length direction.";
2873 parameter Real b3.box.LengthDirection[2] = b3.Axis[2] "Vector in length direction.";
2874 parameter Real b3.box.LengthDirection[3] = b3.Axis[3] "Vector in length direction.";
2875 parameter Real b3.box.Material[1] = b3.Material[1] "Color and specular coefficient.";
2876 parameter Real b3.box.Material[2] = b3.Material[2] "Color and specular coefficient.";
2877 parameter Real b3.box.Material[3] = b3.Material[3] "Color and specular coefficient.";
2878 parameter Real b3.box.Material[4] = b3.Material[4] "Color and specular coefficient.";
2879 parameter Real b3.box.Width = 2.0 * b3.Radius "Width of visual object.";
2880 parameter Real b3.box.WidthDirection[1] = 0.0 "Vector in width direction.";
2881 parameter Real b3.box.WidthDirection[2] = 1.0 "Vector in width direction.";
2882 parameter Real b3.box.WidthDirection[3] = 0.0 "Vector in width direction.";
2883 parameter Real b3.box.r0[1] = b3.r0[1] "Origin of visual object.";
2884 parameter Real b3.box.r0[2] = b3.r0[2] "Origin of visual object.";
2885 parameter Real b3.box.r0[3] = b3.r0[3] "Origin of visual object.";
2886 parameter Real b3.frameTranslation.r[1](quantity = "Length", unit = "m") = b3.r[1] "Vector from frame_a to frame_b resolved in frame_a";
2887 parameter Real b3.frameTranslation.r[2](quantity = "Length", unit = "m") = b3.r[2] "Vector from frame_a to frame_b resolved in frame_a";
2888 parameter Real b3.frameTranslation.r[3](quantity = "Length", unit = "m") = b3.r[3] "Vector from frame_a to frame_b resolved in frame_a";
2889 parameter Real b3.r0[1](quantity = "Length", unit = "m") = 0.0 "Vector from frame_a to left circle center, resolved in frame_a";
2890 parameter Real b3.r0[2](quantity = "Length", unit = "m") = 0.0 "Vector from frame_a to left circle center, resolved in frame_a";
2891 parameter Real b3.r0[3](quantity = "Length", unit = "m") = 0.0 "Vector from frame_a to left circle center, resolved in frame_a";
2892 parameter Real b3.r[1](quantity = "Length", unit = "m") = L "Vector from frame_a to frame_b, resolved in frame_a";
2893 parameter Real b3.r[2](quantity = "Length", unit = "m") = 0.0 "Vector from frame_a to frame_b, resolved in frame_a";
2894 parameter Real b3.r[3](quantity = "Length", unit = "m") = 0.0 "Vector from frame_a to frame_b, resolved in frame_a";
2895 parameter Real b3.rho(min = 0.0) = 7.7 "Density of material [g/cm^3]";
2896 parameter Real barC.L(quantity = "Length", unit = "m") = L "Length of the rod";
2897 parameter Real barC.na[1] = 0.0 "orthogonal to y-axis of cut-frame C";
2898 parameter Real barC.na[2] = 1.0 "orthogonal to y-axis of cut-frame C";
2899 parameter Real barC.na[3] = 0.0 "orthogonal to y-axis of cut-frame C";
2900 parameter Real inertial.g(quantity = "Acceleration", unit = "m/s2") = 9.81 "Gravity constant";
2901 parameter Real inertial.ng[1] = 0.0 "Direction of gravity (gravity = g*ng)";
2902 parameter Real inertial.ng[2] = -1.0 "Direction of gravity (gravity = g*ng)";
2903 parameter Real inertial.ng[3] = 0.0 "Direction of gravity (gravity = g*ng)";
2904 parameter Real j1.n[1] = 1.0 "Axis of rotation resolved in frame_a (= same as in frame_b)";
2905 parameter Real j1.n[2] = 0.0 "Axis of rotation resolved in frame_a (= same as in frame_b)";
2906 parameter Real j1.n[3] = 0.0 "Axis of rotation resolved in frame_a (= same as in frame_b)";
2907 parameter Real j1.q0 = 0.0 "Rotation angle offset (see info) [deg]";
2908 parameter Real j2.n[1] = 1.0 "Axis of translation resolved in frame_a (= same as in frame_b)";
2909 parameter Real j2.n[2] = 0.0 "Axis of translation resolved in frame_a (= same as in frame_b)";
2910 parameter Real j2.n[3] = 0.0 "Axis of translation resolved in frame_a (= same as in frame_b)";
2911 parameter Real j2.q0(quantity = "Length", unit = "m") = 0.0 "Relative distance offset(see info)";
2912 parameter String b0.box.Shape = "box" "Type of shape (box, sphere, cylinder, pipecylinder, cone, pipe, beam, gearwheel, spring)";
2913 parameter String b0.box.mcShape.shapeType = b0.box.Shape "Type of shape (box, sphere, cylinder, pipecylinder, cone, pipe, beam, gearwheel, spring)";
2914 parameter String b1.box.Shape = "pipe" "Type of shape (box, sphere, cylinder, pipecylinder, cone, pipe, beam, gearwheel, spring)";
2915 parameter String b1.box.mcShape.shapeType = b1.box.Shape "Type of shape (box, sphere, cylinder, pipecylinder, cone, pipe, beam, gearwheel, spring)";
2916 parameter String b2.box.Shape = "pipe" "Type of shape (box, sphere, cylinder, pipecylinder, cone, pipe, beam, gearwheel, spring)";
2917 parameter String b2.box.mcShape.shapeType = b2.box.Shape "Type of shape (box, sphere, cylinder, pipecylinder, cone, pipe, beam, gearwheel, spring)";
2918 parameter String b3.box.Shape = "pipe" "Type of shape (box, sphere, cylinder, pipecylinder, cone, pipe, beam, gearwheel, spring)";
2919 parameter String b3.box.mcShape.shapeType = b3.box.Shape "Type of shape (box, sphere, cylinder, pipecylinder, cone, pipe, beam, gearwheel, spring)";
2920 parameter String inertial.label1 = "x" "Label of horizontal axis in icon";
2921 parameter String inertial.label2 = "y" "Label of vertical axis in icon";
2922 protected Real b0.Sa[1,1](start = 1.0);
2923 protected Real b0.Sa[1,2](start = 0.0);
2924 protected Real b0.Sa[1,3](start = 0.0);
2925 protected Real b0.Sa[2,1](start = 0.0);
2926 protected Real b0.Sa[2,2](start = 1.0);
2927 protected Real b0.Sa[2,3](start = 0.0);
2928 protected Real b0.Sa[3,1](start = 0.0);
2929 protected Real b0.Sa[3,2](start = 0.0);
2930 protected Real b0.Sa[3,3](start = 1.0);
2931 protected Real b0.Sb[1,1](start = 1.0);
2932 protected Real b0.Sb[1,2](start = 0.0);
2933 protected Real b0.Sb[1,3](start = 0.0);
2934 protected Real b0.Sb[2,1](start = 0.0);
2935 protected Real b0.Sb[2,2](start = 1.0);
2936 protected Real b0.Sb[2,3](start = 0.0);
2937 protected Real b0.Sb[3,1](start = 0.0);
2938 protected Real b0.Sb[3,2](start = 0.0);
2939 protected Real b0.Sb[3,3](start = 1.0);
2940 protected Real b0.aa[1](quantity = "Acceleration", unit = "m/s2");
2941 protected Real b0.aa[2](quantity = "Acceleration", unit = "m/s2");
2942 protected Real b0.aa[3](quantity = "Acceleration", unit = "m/s2");
2943 protected Real b0.ab[1](quantity = "Acceleration", unit = "m/s2");
2944 protected Real b0.ab[2](quantity = "Acceleration", unit = "m/s2");
2945 protected Real b0.ab[3](quantity = "Acceleration", unit = "m/s2");
2946 protected Real b0.body.Sa[1,1](start = 1.0);
2947 protected Real b0.body.Sa[1,2](start = 0.0);
2948 protected Real b0.body.Sa[1,3](start = 0.0);
2949 protected Real b0.body.Sa[2,1](start = 0.0);
2950 protected Real b0.body.Sa[2,2](start = 1.0);
2951 protected Real b0.body.Sa[2,3](start = 0.0);
2952 protected Real b0.body.Sa[3,1](start = 0.0);
2953 protected Real b0.body.Sa[3,2](start = 0.0);
2954 protected Real b0.body.Sa[3,3](start = 1.0);
2955 protected Real b0.body.aa[1](quantity = "Acceleration", unit = "m/s2");
2956 protected Real b0.body.aa[2](quantity = "Acceleration", unit = "m/s2");
2957 protected Real b0.body.aa[3](quantity = "Acceleration", unit = "m/s2");
2958 protected Real b0.body.fa[1](quantity = "Force", unit = "N");
2959 protected Real b0.body.fa[2](quantity = "Force", unit = "N");
2960 protected Real b0.body.fa[3](quantity = "Force", unit = "N");
2961 protected Real b0.body.r0a[1](quantity = "Length", unit = "m");
2962 protected Real b0.body.r0a[2](quantity = "Length", unit = "m");
2963 protected Real b0.body.r0a[3](quantity = "Length", unit = "m");
2964 protected Real b0.body.ta[1](quantity = "Torque", unit = "N.m");
2965 protected Real b0.body.ta[2](quantity = "Torque", unit = "N.m");
2966 protected Real b0.body.ta[3](quantity = "Torque", unit = "N.m");
2967 protected Real b0.body.va[1](quantity = "Velocity", unit = "m/s");
2968 protected Real b0.body.va[2](quantity = "Velocity", unit = "m/s");
2969 protected Real b0.body.va[3](quantity = "Velocity", unit = "m/s");
2970 protected Real b0.body.wa[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
2971 protected Real b0.body.wa[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
2972 protected Real b0.body.wa[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
2973 protected Real b0.body.za[1](quantity = "AngularAcceleration", unit = "rad/s2");
2974 protected Real b0.body.za[2](quantity = "AngularAcceleration", unit = "rad/s2");
2975 protected Real b0.body.za[3](quantity = "AngularAcceleration", unit = "rad/s2");
2976 protected Real b0.fa[1](quantity = "Force", unit = "N");
2977 protected Real b0.fa[2](quantity = "Force", unit = "N");
2978 protected Real b0.fa[3](quantity = "Force", unit = "N");
2979 protected Real b0.fb[1](quantity = "Force", unit = "N");
2980 protected Real b0.fb[2](quantity = "Force", unit = "N");
2981 protected Real b0.fb[3](quantity = "Force", unit = "N");
2982 protected Real b0.frameTranslation.Sa[1,1](start = 1.0);
2983 protected Real b0.frameTranslation.Sa[1,2](start = 0.0);
2984 protected Real b0.frameTranslation.Sa[1,3](start = 0.0);
2985 protected Real b0.frameTranslation.Sa[2,1](start = 0.0);
2986 protected Real b0.frameTranslation.Sa[2,2](start = 1.0);
2987 protected Real b0.frameTranslation.Sa[2,3](start = 0.0);
2988 protected Real b0.frameTranslation.Sa[3,1](start = 0.0);
2989 protected Real b0.frameTranslation.Sa[3,2](start = 0.0);
2990 protected Real b0.frameTranslation.Sa[3,3](start = 1.0);
2991 protected Real b0.frameTranslation.Sb[1,1](start = 1.0);
2992 protected Real b0.frameTranslation.Sb[1,2](start = 0.0);
2993 protected Real b0.frameTranslation.Sb[1,3](start = 0.0);
2994 protected Real b0.frameTranslation.Sb[2,1](start = 0.0);
2995 protected Real b0.frameTranslation.Sb[2,2](start = 1.0);
2996 protected Real b0.frameTranslation.Sb[2,3](start = 0.0);
2997 protected Real b0.frameTranslation.Sb[3,1](start = 0.0);
2998 protected Real b0.frameTranslation.Sb[3,2](start = 0.0);
2999 protected Real b0.frameTranslation.Sb[3,3](start = 1.0);
3000 protected Real b0.frameTranslation.aa[1](quantity = "Acceleration", unit = "m/s2");
3001 protected Real b0.frameTranslation.aa[2](quantity = "Acceleration", unit = "m/s2");
3002 protected Real b0.frameTranslation.aa[3](quantity = "Acceleration", unit = "m/s2");
3003 protected Real b0.frameTranslation.ab[1](quantity = "Acceleration", unit = "m/s2");
3004 protected Real b0.frameTranslation.ab[2](quantity = "Acceleration", unit = "m/s2");
3005 protected Real b0.frameTranslation.ab[3](quantity = "Acceleration", unit = "m/s2");
3006 protected Real b0.frameTranslation.fa[1](quantity = "Force", unit = "N");
3007 protected Real b0.frameTranslation.fa[2](quantity = "Force", unit = "N");
3008 protected Real b0.frameTranslation.fa[3](quantity = "Force", unit = "N");
3009 protected Real b0.frameTranslation.fb[1](quantity = "Force", unit = "N");
3010 protected Real b0.frameTranslation.fb[2](quantity = "Force", unit = "N");
3011 protected Real b0.frameTranslation.fb[3](quantity = "Force", unit = "N");
3012 protected Real b0.frameTranslation.r0a[1](quantity = "Length", unit = "m");
3013 protected Real b0.frameTranslation.r0a[2](quantity = "Length", unit = "m");
3014 protected Real b0.frameTranslation.r0a[3](quantity = "Length", unit = "m");
3015 protected Real b0.frameTranslation.r0b[1](quantity = "Length", unit = "m");
3016 protected Real b0.frameTranslation.r0b[2](quantity = "Length", unit = "m");
3017 protected Real b0.frameTranslation.r0b[3](quantity = "Length", unit = "m");
3018 protected Real b0.frameTranslation.ta[1](quantity = "Torque", unit = "N.m");
3019 protected Real b0.frameTranslation.ta[2](quantity = "Torque", unit = "N.m");
3020 protected Real b0.frameTranslation.ta[3](quantity = "Torque", unit = "N.m");
3021 protected Real b0.frameTranslation.tb[1](quantity = "Torque", unit = "N.m");
3022 protected Real b0.frameTranslation.tb[2](quantity = "Torque", unit = "N.m");
3023 protected Real b0.frameTranslation.tb[3](quantity = "Torque", unit = "N.m");
3024 protected Real b0.frameTranslation.va[1](quantity = "Velocity", unit = "m/s");
3025 protected Real b0.frameTranslation.va[2](quantity = "Velocity", unit = "m/s");
3026 protected Real b0.frameTranslation.va[3](quantity = "Velocity", unit = "m/s");
3027 protected Real b0.frameTranslation.vaux[1](quantity = "Velocity", unit = "m/s");
3028 protected Real b0.frameTranslation.vaux[2](quantity = "Velocity", unit = "m/s");
3029 protected Real b0.frameTranslation.vaux[3](quantity = "Velocity", unit = "m/s");
3030 protected Real b0.frameTranslation.vb[1](quantity = "Velocity", unit = "m/s");
3031 protected Real b0.frameTranslation.vb[2](quantity = "Velocity", unit = "m/s");
3032 protected Real b0.frameTranslation.vb[3](quantity = "Velocity", unit = "m/s");
3033 protected Real b0.frameTranslation.wa[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3034 protected Real b0.frameTranslation.wa[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3035 protected Real b0.frameTranslation.wa[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3036 protected Real b0.frameTranslation.wb[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3037 protected Real b0.frameTranslation.wb[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3038 protected Real b0.frameTranslation.wb[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3039 protected Real b0.frameTranslation.za[1](quantity = "AngularAcceleration", unit = "rad/s2");
3040 protected Real b0.frameTranslation.za[2](quantity = "AngularAcceleration", unit = "rad/s2");
3041 protected Real b0.frameTranslation.za[3](quantity = "AngularAcceleration", unit = "rad/s2");
3042 protected Real b0.frameTranslation.zb[1](quantity = "AngularAcceleration", unit = "rad/s2");
3043 protected Real b0.frameTranslation.zb[2](quantity = "AngularAcceleration", unit = "rad/s2");
3044 protected Real b0.frameTranslation.zb[3](quantity = "AngularAcceleration", unit = "rad/s2");
3045 protected Real b0.r0a[1](quantity = "Length", unit = "m");
3046 protected Real b0.r0a[2](quantity = "Length", unit = "m");
3047 protected Real b0.r0a[3](quantity = "Length", unit = "m");
3048 protected Real b0.r0b[1](quantity = "Length", unit = "m");
3049 protected Real b0.r0b[2](quantity = "Length", unit = "m");
3050 protected Real b0.r0b[3](quantity = "Length", unit = "m");
3051 protected Real b0.ta[1](quantity = "Torque", unit = "N.m");
3052 protected Real b0.ta[2](quantity = "Torque", unit = "N.m");
3053 protected Real b0.ta[3](quantity = "Torque", unit = "N.m");
3054 protected Real b0.tb[1](quantity = "Torque", unit = "N.m");
3055 protected Real b0.tb[2](quantity = "Torque", unit = "N.m");
3056 protected Real b0.tb[3](quantity = "Torque", unit = "N.m");
3057 protected Real b0.va[1](quantity = "Velocity", unit = "m/s");
3058 protected Real b0.va[2](quantity = "Velocity", unit = "m/s");
3059 protected Real b0.va[3](quantity = "Velocity", unit = "m/s");
3060 protected Real b0.vb[1](quantity = "Velocity", unit = "m/s");
3061 protected Real b0.vb[2](quantity = "Velocity", unit = "m/s");
3062 protected Real b0.vb[3](quantity = "Velocity", unit = "m/s");
3063 protected Real b0.wa[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3064 protected Real b0.wa[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3065 protected Real b0.wa[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3066 protected Real b0.wb[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3067 protected Real b0.wb[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3068 protected Real b0.wb[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3069 protected Real b0.za[1](quantity = "AngularAcceleration", unit = "rad/s2");
3070 protected Real b0.za[2](quantity = "AngularAcceleration", unit = "rad/s2");
3071 protected Real b0.za[3](quantity = "AngularAcceleration", unit = "rad/s2");
3072 protected Real b0.zb[1](quantity = "AngularAcceleration", unit = "rad/s2");
3073 protected Real b0.zb[2](quantity = "AngularAcceleration", unit = "rad/s2");
3074 protected Real b0.zb[3](quantity = "AngularAcceleration", unit = "rad/s2");
3075 protected Real b1.Sa[1,1](start = 1.0);
3076 protected Real b1.Sa[1,2](start = 0.0);
3077 protected Real b1.Sa[1,3](start = 0.0);
3078 protected Real b1.Sa[2,1](start = 0.0);
3079 protected Real b1.Sa[2,2](start = 1.0);
3080 protected Real b1.Sa[2,3](start = 0.0);
3081 protected Real b1.Sa[3,1](start = 0.0);
3082 protected Real b1.Sa[3,2](start = 0.0);
3083 protected Real b1.Sa[3,3](start = 1.0);
3084 protected Real b1.Sb[1,1](start = 1.0);
3085 protected Real b1.Sb[1,2](start = 0.0);
3086 protected Real b1.Sb[1,3](start = 0.0);
3087 protected Real b1.Sb[2,1](start = 0.0);
3088 protected Real b1.Sb[2,2](start = 1.0);
3089 protected Real b1.Sb[2,3](start = 0.0);
3090 protected Real b1.Sb[3,1](start = 0.0);
3091 protected Real b1.Sb[3,2](start = 0.0);
3092 protected Real b1.Sb[3,3](start = 1.0);
3093 protected Real b1.aa[1](quantity = "Acceleration", unit = "m/s2");
3094 protected Real b1.aa[2](quantity = "Acceleration", unit = "m/s2");
3095 protected Real b1.aa[3](quantity = "Acceleration", unit = "m/s2");
3096 protected Real b1.ab[1](quantity = "Acceleration", unit = "m/s2");
3097 protected Real b1.ab[2](quantity = "Acceleration", unit = "m/s2");
3098 protected Real b1.ab[3](quantity = "Acceleration", unit = "m/s2");
3099 protected Real b1.body.Sa[1,1](start = 1.0);
3100 protected Real b1.body.Sa[1,2](start = 0.0);
3101 protected Real b1.body.Sa[1,3](start = 0.0);
3102 protected Real b1.body.Sa[2,1](start = 0.0);
3103 protected Real b1.body.Sa[2,2](start = 1.0);
3104 protected Real b1.body.Sa[2,3](start = 0.0);
3105 protected Real b1.body.Sa[3,1](start = 0.0);
3106 protected Real b1.body.Sa[3,2](start = 0.0);
3107 protected Real b1.body.Sa[3,3](start = 1.0);
3108 protected Real b1.body.aa[1](quantity = "Acceleration", unit = "m/s2");
3109 protected Real b1.body.aa[2](quantity = "Acceleration", unit = "m/s2");
3110 protected Real b1.body.aa[3](quantity = "Acceleration", unit = "m/s2");
3111 protected Real b1.body.fa[1](quantity = "Force", unit = "N");
3112 protected Real b1.body.fa[2](quantity = "Force", unit = "N");
3113 protected Real b1.body.fa[3](quantity = "Force", unit = "N");
3114 protected Real b1.body.r0a[1](quantity = "Length", unit = "m");
3115 protected Real b1.body.r0a[2](quantity = "Length", unit = "m");
3116 protected Real b1.body.r0a[3](quantity = "Length", unit = "m");
3117 protected Real b1.body.ta[1](quantity = "Torque", unit = "N.m");
3118 protected Real b1.body.ta[2](quantity = "Torque", unit = "N.m");
3119 protected Real b1.body.ta[3](quantity = "Torque", unit = "N.m");
3120 protected Real b1.body.va[1](quantity = "Velocity", unit = "m/s");
3121 protected Real b1.body.va[2](quantity = "Velocity", unit = "m/s");
3122 protected Real b1.body.va[3](quantity = "Velocity", unit = "m/s");
3123 protected Real b1.body.wa[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3124 protected Real b1.body.wa[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3125 protected Real b1.body.wa[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3126 protected Real b1.body.za[1](quantity = "AngularAcceleration", unit = "rad/s2");
3127 protected Real b1.body.za[2](quantity = "AngularAcceleration", unit = "rad/s2");
3128 protected Real b1.body.za[3](quantity = "AngularAcceleration", unit = "rad/s2");
3129 protected Real b1.fa[1](quantity = "Force", unit = "N");
3130 protected Real b1.fa[2](quantity = "Force", unit = "N");
3131 protected Real b1.fa[3](quantity = "Force", unit = "N");
3132 protected Real b1.fb[1](quantity = "Force", unit = "N");
3133 protected Real b1.fb[2](quantity = "Force", unit = "N");
3134 protected Real b1.fb[3](quantity = "Force", unit = "N");
3135 protected Real b1.frameTranslation.Sa[1,1](start = 1.0);
3136 protected Real b1.frameTranslation.Sa[1,2](start = 0.0);
3137 protected Real b1.frameTranslation.Sa[1,3](start = 0.0);
3138 protected Real b1.frameTranslation.Sa[2,1](start = 0.0);
3139 protected Real b1.frameTranslation.Sa[2,2](start = 1.0);
3140 protected Real b1.frameTranslation.Sa[2,3](start = 0.0);
3141 protected Real b1.frameTranslation.Sa[3,1](start = 0.0);
3142 protected Real b1.frameTranslation.Sa[3,2](start = 0.0);
3143 protected Real b1.frameTranslation.Sa[3,3](start = 1.0);
3144 protected Real b1.frameTranslation.Sb[1,1](start = 1.0);
3145 protected Real b1.frameTranslation.Sb[1,2](start = 0.0);
3146 protected Real b1.frameTranslation.Sb[1,3](start = 0.0);
3147 protected Real b1.frameTranslation.Sb[2,1](start = 0.0);
3148 protected Real b1.frameTranslation.Sb[2,2](start = 1.0);
3149 protected Real b1.frameTranslation.Sb[2,3](start = 0.0);
3150 protected Real b1.frameTranslation.Sb[3,1](start = 0.0);
3151 protected Real b1.frameTranslation.Sb[3,2](start = 0.0);
3152 protected Real b1.frameTranslation.Sb[3,3](start = 1.0);
3153 protected Real b1.frameTranslation.aa[1](quantity = "Acceleration", unit = "m/s2");
3154 protected Real b1.frameTranslation.aa[2](quantity = "Acceleration", unit = "m/s2");
3155 protected Real b1.frameTranslation.aa[3](quantity = "Acceleration", unit = "m/s2");
3156 protected Real b1.frameTranslation.ab[1](quantity = "Acceleration", unit = "m/s2");
3157 protected Real b1.frameTranslation.ab[2](quantity = "Acceleration", unit = "m/s2");
3158 protected Real b1.frameTranslation.ab[3](quantity = "Acceleration", unit = "m/s2");
3159 protected Real b1.frameTranslation.fa[1](quantity = "Force", unit = "N");
3160 protected Real b1.frameTranslation.fa[2](quantity = "Force", unit = "N");
3161 protected Real b1.frameTranslation.fa[3](quantity = "Force", unit = "N");
3162 protected Real b1.frameTranslation.fb[1](quantity = "Force", unit = "N");
3163 protected Real b1.frameTranslation.fb[2](quantity = "Force", unit = "N");
3164 protected Real b1.frameTranslation.fb[3](quantity = "Force", unit = "N");
3165 protected Real b1.frameTranslation.r0a[1](quantity = "Length", unit = "m");
3166 protected Real b1.frameTranslation.r0a[2](quantity = "Length", unit = "m");
3167 protected Real b1.frameTranslation.r0a[3](quantity = "Length", unit = "m");
3168 protected Real b1.frameTranslation.r0b[1](quantity = "Length", unit = "m");
3169 protected Real b1.frameTranslation.r0b[2](quantity = "Length", unit = "m");
3170 protected Real b1.frameTranslation.r0b[3](quantity = "Length", unit = "m");
3171 protected Real b1.frameTranslation.ta[1](quantity = "Torque", unit = "N.m");
3172 protected Real b1.frameTranslation.ta[2](quantity = "Torque", unit = "N.m");
3173 protected Real b1.frameTranslation.ta[3](quantity = "Torque", unit = "N.m");
3174 protected Real b1.frameTranslation.tb[1](quantity = "Torque", unit = "N.m");
3175 protected Real b1.frameTranslation.tb[2](quantity = "Torque", unit = "N.m");
3176 protected Real b1.frameTranslation.tb[3](quantity = "Torque", unit = "N.m");
3177 protected Real b1.frameTranslation.va[1](quantity = "Velocity", unit = "m/s");
3178 protected Real b1.frameTranslation.va[2](quantity = "Velocity", unit = "m/s");
3179 protected Real b1.frameTranslation.va[3](quantity = "Velocity", unit = "m/s");
3180 protected Real b1.frameTranslation.vaux[1](quantity = "Velocity", unit = "m/s");
3181 protected Real b1.frameTranslation.vaux[2](quantity = "Velocity", unit = "m/s");
3182 protected Real b1.frameTranslation.vaux[3](quantity = "Velocity", unit = "m/s");
3183 protected Real b1.frameTranslation.vb[1](quantity = "Velocity", unit = "m/s");
3184 protected Real b1.frameTranslation.vb[2](quantity = "Velocity", unit = "m/s");
3185 protected Real b1.frameTranslation.vb[3](quantity = "Velocity", unit = "m/s");
3186 protected Real b1.frameTranslation.wa[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3187 protected Real b1.frameTranslation.wa[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3188 protected Real b1.frameTranslation.wa[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3189 protected Real b1.frameTranslation.wb[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3190 protected Real b1.frameTranslation.wb[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3191 protected Real b1.frameTranslation.wb[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3192 protected Real b1.frameTranslation.za[1](quantity = "AngularAcceleration", unit = "rad/s2");
3193 protected Real b1.frameTranslation.za[2](quantity = "AngularAcceleration", unit = "rad/s2");
3194 protected Real b1.frameTranslation.za[3](quantity = "AngularAcceleration", unit = "rad/s2");
3195 protected Real b1.frameTranslation.zb[1](quantity = "AngularAcceleration", unit = "rad/s2");
3196 protected Real b1.frameTranslation.zb[2](quantity = "AngularAcceleration", unit = "rad/s2");
3197 protected Real b1.frameTranslation.zb[3](quantity = "AngularAcceleration", unit = "rad/s2");
3198 protected Real b1.r0a[1](quantity = "Length", unit = "m");
3199 protected Real b1.r0a[2](quantity = "Length", unit = "m");
3200 protected Real b1.r0a[3](quantity = "Length", unit = "m");
3201 protected Real b1.r0b[1](quantity = "Length", unit = "m");
3202 protected Real b1.r0b[2](quantity = "Length", unit = "m");
3203 protected Real b1.r0b[3](quantity = "Length", unit = "m");
3204 protected Real b1.ta[1](quantity = "Torque", unit = "N.m");
3205 protected Real b1.ta[2](quantity = "Torque", unit = "N.m");
3206 protected Real b1.ta[3](quantity = "Torque", unit = "N.m");
3207 protected Real b1.tb[1](quantity = "Torque", unit = "N.m");
3208 protected Real b1.tb[2](quantity = "Torque", unit = "N.m");
3209 protected Real b1.tb[3](quantity = "Torque", unit = "N.m");
3210 protected Real b1.va[1](quantity = "Velocity", unit = "m/s");
3211 protected Real b1.va[2](quantity = "Velocity", unit = "m/s");
3212 protected Real b1.va[3](quantity = "Velocity", unit = "m/s");
3213 protected Real b1.vb[1](quantity = "Velocity", unit = "m/s");
3214 protected Real b1.vb[2](quantity = "Velocity", unit = "m/s");
3215 protected Real b1.vb[3](quantity = "Velocity", unit = "m/s");
3216 protected Real b1.wa[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3217 protected Real b1.wa[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3218 protected Real b1.wa[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3219 protected Real b1.wb[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3220 protected Real b1.wb[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3221 protected Real b1.wb[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3222 protected Real b1.za[1](quantity = "AngularAcceleration", unit = "rad/s2");
3223 protected Real b1.za[2](quantity = "AngularAcceleration", unit = "rad/s2");
3224 protected Real b1.za[3](quantity = "AngularAcceleration", unit = "rad/s2");
3225 protected Real b1.zb[1](quantity = "AngularAcceleration", unit = "rad/s2");
3226 protected Real b1.zb[2](quantity = "AngularAcceleration", unit = "rad/s2");
3227 protected Real b1.zb[3](quantity = "AngularAcceleration", unit = "rad/s2");
3228 protected Real b2.Sa[1,1](start = 1.0);
3229 protected Real b2.Sa[1,2](start = 0.0);
3230 protected Real b2.Sa[1,3](start = 0.0);
3231 protected Real b2.Sa[2,1](start = 0.0);
3232 protected Real b2.Sa[2,2](start = 1.0);
3233 protected Real b2.Sa[2,3](start = 0.0);
3234 protected Real b2.Sa[3,1](start = 0.0);
3235 protected Real b2.Sa[3,2](start = 0.0);
3236 protected Real b2.Sa[3,3](start = 1.0);
3237 protected Real b2.Sb[1,1](start = 1.0);
3238 protected Real b2.Sb[1,2](start = 0.0);
3239 protected Real b2.Sb[1,3](start = 0.0);
3240 protected Real b2.Sb[2,1](start = 0.0);
3241 protected Real b2.Sb[2,2](start = 1.0);
3242 protected Real b2.Sb[2,3](start = 0.0);
3243 protected Real b2.Sb[3,1](start = 0.0);
3244 protected Real b2.Sb[3,2](start = 0.0);
3245 protected Real b2.Sb[3,3](start = 1.0);
3246 protected Real b2.aa[1](quantity = "Acceleration", unit = "m/s2");
3247 protected Real b2.aa[2](quantity = "Acceleration", unit = "m/s2");
3248 protected Real b2.aa[3](quantity = "Acceleration", unit = "m/s2");
3249 protected Real b2.ab[1](quantity = "Acceleration", unit = "m/s2");
3250 protected Real b2.ab[2](quantity = "Acceleration", unit = "m/s2");
3251 protected Real b2.ab[3](quantity = "Acceleration", unit = "m/s2");
3252 protected Real b2.body.Sa[1,1](start = 1.0);
3253 protected Real b2.body.Sa[1,2](start = 0.0);
3254 protected Real b2.body.Sa[1,3](start = 0.0);
3255 protected Real b2.body.Sa[2,1](start = 0.0);
3256 protected Real b2.body.Sa[2,2](start = 1.0);
3257 protected Real b2.body.Sa[2,3](start = 0.0);
3258 protected Real b2.body.Sa[3,1](start = 0.0);
3259 protected Real b2.body.Sa[3,2](start = 0.0);
3260 protected Real b2.body.Sa[3,3](start = 1.0);
3261 protected Real b2.body.aa[1](quantity = "Acceleration", unit = "m/s2");
3262 protected Real b2.body.aa[2](quantity = "Acceleration", unit = "m/s2");
3263 protected Real b2.body.aa[3](quantity = "Acceleration", unit = "m/s2");
3264 protected Real b2.body.fa[1](quantity = "Force", unit = "N");
3265 protected Real b2.body.fa[2](quantity = "Force", unit = "N");
3266 protected Real b2.body.fa[3](quantity = "Force", unit = "N");
3267 protected Real b2.body.r0a[1](quantity = "Length", unit = "m");
3268 protected Real b2.body.r0a[2](quantity = "Length", unit = "m");
3269 protected Real b2.body.r0a[3](quantity = "Length", unit = "m");
3270 protected Real b2.body.ta[1](quantity = "Torque", unit = "N.m");
3271 protected Real b2.body.ta[2](quantity = "Torque", unit = "N.m");
3272 protected Real b2.body.ta[3](quantity = "Torque", unit = "N.m");
3273 protected Real b2.body.va[1](quantity = "Velocity", unit = "m/s");
3274 protected Real b2.body.va[2](quantity = "Velocity", unit = "m/s");
3275 protected Real b2.body.va[3](quantity = "Velocity", unit = "m/s");
3276 protected Real b2.body.wa[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3277 protected Real b2.body.wa[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3278 protected Real b2.body.wa[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3279 protected Real b2.body.za[1](quantity = "AngularAcceleration", unit = "rad/s2");
3280 protected Real b2.body.za[2](quantity = "AngularAcceleration", unit = "rad/s2");
3281 protected Real b2.body.za[3](quantity = "AngularAcceleration", unit = "rad/s2");
3282 protected Real b2.fa[1](quantity = "Force", unit = "N");
3283 protected Real b2.fa[2](quantity = "Force", unit = "N");
3284 protected Real b2.fa[3](quantity = "Force", unit = "N");
3285 protected Real b2.fb[1](quantity = "Force", unit = "N");
3286 protected Real b2.fb[2](quantity = "Force", unit = "N");
3287 protected Real b2.fb[3](quantity = "Force", unit = "N");
3288 protected Real b2.frameTranslation.Sa[1,1](start = 1.0);
3289 protected Real b2.frameTranslation.Sa[1,2](start = 0.0);
3290 protected Real b2.frameTranslation.Sa[1,3](start = 0.0);
3291 protected Real b2.frameTranslation.Sa[2,1](start = 0.0);
3292 protected Real b2.frameTranslation.Sa[2,2](start = 1.0);
3293 protected Real b2.frameTranslation.Sa[2,3](start = 0.0);
3294 protected Real b2.frameTranslation.Sa[3,1](start = 0.0);
3295 protected Real b2.frameTranslation.Sa[3,2](start = 0.0);
3296 protected Real b2.frameTranslation.Sa[3,3](start = 1.0);
3297 protected Real b2.frameTranslation.Sb[1,1](start = 1.0);
3298 protected Real b2.frameTranslation.Sb[1,2](start = 0.0);
3299 protected Real b2.frameTranslation.Sb[1,3](start = 0.0);
3300 protected Real b2.frameTranslation.Sb[2,1](start = 0.0);
3301 protected Real b2.frameTranslation.Sb[2,2](start = 1.0);
3302 protected Real b2.frameTranslation.Sb[2,3](start = 0.0);
3303 protected Real b2.frameTranslation.Sb[3,1](start = 0.0);
3304 protected Real b2.frameTranslation.Sb[3,2](start = 0.0);
3305 protected Real b2.frameTranslation.Sb[3,3](start = 1.0);
3306 protected Real b2.frameTranslation.aa[1](quantity = "Acceleration", unit = "m/s2");
3307 protected Real b2.frameTranslation.aa[2](quantity = "Acceleration", unit = "m/s2");
3308 protected Real b2.frameTranslation.aa[3](quantity = "Acceleration", unit = "m/s2");
3309 protected Real b2.frameTranslation.ab[1](quantity = "Acceleration", unit = "m/s2");
3310 protected Real b2.frameTranslation.ab[2](quantity = "Acceleration", unit = "m/s2");
3311 protected Real b2.frameTranslation.ab[3](quantity = "Acceleration", unit = "m/s2");
3312 protected Real b2.frameTranslation.fa[1](quantity = "Force", unit = "N");
3313 protected Real b2.frameTranslation.fa[2](quantity = "Force", unit = "N");
3314 protected Real b2.frameTranslation.fa[3](quantity = "Force", unit = "N");
3315 protected Real b2.frameTranslation.fb[1](quantity = "Force", unit = "N");
3316 protected Real b2.frameTranslation.fb[2](quantity = "Force", unit = "N");
3317 protected Real b2.frameTranslation.fb[3](quantity = "Force", unit = "N");
3318 protected Real b2.frameTranslation.r0a[1](quantity = "Length", unit = "m");
3319 protected Real b2.frameTranslation.r0a[2](quantity = "Length", unit = "m");
3320 protected Real b2.frameTranslation.r0a[3](quantity = "Length", unit = "m");
3321 protected Real b2.frameTranslation.r0b[1](quantity = "Length", unit = "m");
3322 protected Real b2.frameTranslation.r0b[2](quantity = "Length", unit = "m");
3323 protected Real b2.frameTranslation.r0b[3](quantity = "Length", unit = "m");
3324 protected Real b2.frameTranslation.ta[1](quantity = "Torque", unit = "N.m");
3325 protected Real b2.frameTranslation.ta[2](quantity = "Torque", unit = "N.m");
3326 protected Real b2.frameTranslation.ta[3](quantity = "Torque", unit = "N.m");
3327 protected Real b2.frameTranslation.tb[1](quantity = "Torque", unit = "N.m");
3328 protected Real b2.frameTranslation.tb[2](quantity = "Torque", unit = "N.m");
3329 protected Real b2.frameTranslation.tb[3](quantity = "Torque", unit = "N.m");
3330 protected Real b2.frameTranslation.va[1](quantity = "Velocity", unit = "m/s");
3331 protected Real b2.frameTranslation.va[2](quantity = "Velocity", unit = "m/s");
3332 protected Real b2.frameTranslation.va[3](quantity = "Velocity", unit = "m/s");
3333 protected Real b2.frameTranslation.vaux[1](quantity = "Velocity", unit = "m/s");
3334 protected Real b2.frameTranslation.vaux[2](quantity = "Velocity", unit = "m/s");
3335 protected Real b2.frameTranslation.vaux[3](quantity = "Velocity", unit = "m/s");
3336 protected Real b2.frameTranslation.vb[1](quantity = "Velocity", unit = "m/s");
3337 protected Real b2.frameTranslation.vb[2](quantity = "Velocity", unit = "m/s");
3338 protected Real b2.frameTranslation.vb[3](quantity = "Velocity", unit = "m/s");
3339 protected Real b2.frameTranslation.wa[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3340 protected Real b2.frameTranslation.wa[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3341 protected Real b2.frameTranslation.wa[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3342 protected Real b2.frameTranslation.wb[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3343 protected Real b2.frameTranslation.wb[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3344 protected Real b2.frameTranslation.wb[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3345 protected Real b2.frameTranslation.za[1](quantity = "AngularAcceleration", unit = "rad/s2");
3346 protected Real b2.frameTranslation.za[2](quantity = "AngularAcceleration", unit = "rad/s2");
3347 protected Real b2.frameTranslation.za[3](quantity = "AngularAcceleration", unit = "rad/s2");
3348 protected Real b2.frameTranslation.zb[1](quantity = "AngularAcceleration", unit = "rad/s2");
3349 protected Real b2.frameTranslation.zb[2](quantity = "AngularAcceleration", unit = "rad/s2");
3350 protected Real b2.frameTranslation.zb[3](quantity = "AngularAcceleration", unit = "rad/s2");
3351 protected Real b2.r0a[1](quantity = "Length", unit = "m");
3352 protected Real b2.r0a[2](quantity = "Length", unit = "m");
3353 protected Real b2.r0a[3](quantity = "Length", unit = "m");
3354 protected Real b2.r0b[1](quantity = "Length", unit = "m");
3355 protected Real b2.r0b[2](quantity = "Length", unit = "m");
3356 protected Real b2.r0b[3](quantity = "Length", unit = "m");
3357 protected Real b2.ta[1](quantity = "Torque", unit = "N.m");
3358 protected Real b2.ta[2](quantity = "Torque", unit = "N.m");
3359 protected Real b2.ta[3](quantity = "Torque", unit = "N.m");
3360 protected Real b2.tb[1](quantity = "Torque", unit = "N.m");
3361 protected Real b2.tb[2](quantity = "Torque", unit = "N.m");
3362 protected Real b2.tb[3](quantity = "Torque", unit = "N.m");
3363 protected Real b2.va[1](quantity = "Velocity", unit = "m/s");
3364 protected Real b2.va[2](quantity = "Velocity", unit = "m/s");
3365 protected Real b2.va[3](quantity = "Velocity", unit = "m/s");
3366 protected Real b2.vb[1](quantity = "Velocity", unit = "m/s");
3367 protected Real b2.vb[2](quantity = "Velocity", unit = "m/s");
3368 protected Real b2.vb[3](quantity = "Velocity", unit = "m/s");
3369 protected Real b2.wa[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3370 protected Real b2.wa[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3371 protected Real b2.wa[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3372 protected Real b2.wb[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3373 protected Real b2.wb[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3374 protected Real b2.wb[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3375 protected Real b2.za[1](quantity = "AngularAcceleration", unit = "rad/s2");
3376 protected Real b2.za[2](quantity = "AngularAcceleration", unit = "rad/s2");
3377 protected Real b2.za[3](quantity = "AngularAcceleration", unit = "rad/s2");
3378 protected Real b2.zb[1](quantity = "AngularAcceleration", unit = "rad/s2");
3379 protected Real b2.zb[2](quantity = "AngularAcceleration", unit = "rad/s2");
3380 protected Real b2.zb[3](quantity = "AngularAcceleration", unit = "rad/s2");
3381 protected Real b3.Sa[1,1](start = 1.0);
3382 protected Real b3.Sa[1,2](start = 0.0);
3383 protected Real b3.Sa[1,3](start = 0.0);
3384 protected Real b3.Sa[2,1](start = 0.0);
3385 protected Real b3.Sa[2,2](start = 1.0);
3386 protected Real b3.Sa[2,3](start = 0.0);
3387 protected Real b3.Sa[3,1](start = 0.0);
3388 protected Real b3.Sa[3,2](start = 0.0);
3389 protected Real b3.Sa[3,3](start = 1.0);
3390 protected Real b3.Sb[1,1](start = 1.0);
3391 protected Real b3.Sb[1,2](start = 0.0);
3392 protected Real b3.Sb[1,3](start = 0.0);
3393 protected Real b3.Sb[2,1](start = 0.0);
3394 protected Real b3.Sb[2,2](start = 1.0);
3395 protected Real b3.Sb[2,3](start = 0.0);
3396 protected Real b3.Sb[3,1](start = 0.0);
3397 protected Real b3.Sb[3,2](start = 0.0);
3398 protected Real b3.Sb[3,3](start = 1.0);
3399 protected Real b3.aa[1](quantity = "Acceleration", unit = "m/s2");
3400 protected Real b3.aa[2](quantity = "Acceleration", unit = "m/s2");
3401 protected Real b3.aa[3](quantity = "Acceleration", unit = "m/s2");
3402 protected Real b3.ab[1](quantity = "Acceleration", unit = "m/s2");
3403 protected Real b3.ab[2](quantity = "Acceleration", unit = "m/s2");
3404 protected Real b3.ab[3](quantity = "Acceleration", unit = "m/s2");
3405 protected Real b3.body.Sa[1,1](start = 1.0);
3406 protected Real b3.body.Sa[1,2](start = 0.0);
3407 protected Real b3.body.Sa[1,3](start = 0.0);
3408 protected Real b3.body.Sa[2,1](start = 0.0);
3409 protected Real b3.body.Sa[2,2](start = 1.0);
3410 protected Real b3.body.Sa[2,3](start = 0.0);
3411 protected Real b3.body.Sa[3,1](start = 0.0);
3412 protected Real b3.body.Sa[3,2](start = 0.0);
3413 protected Real b3.body.Sa[3,3](start = 1.0);
3414 protected Real b3.body.aa[1](quantity = "Acceleration", unit = "m/s2");
3415 protected Real b3.body.aa[2](quantity = "Acceleration", unit = "m/s2");
3416 protected Real b3.body.aa[3](quantity = "Acceleration", unit = "m/s2");
3417 protected Real b3.body.fa[1](quantity = "Force", unit = "N");
3418 protected Real b3.body.fa[2](quantity = "Force", unit = "N");
3419 protected Real b3.body.fa[3](quantity = "Force", unit = "N");
3420 protected Real b3.body.r0a[1](quantity = "Length", unit = "m");
3421 protected Real b3.body.r0a[2](quantity = "Length", unit = "m");
3422 protected Real b3.body.r0a[3](quantity = "Length", unit = "m");
3423 protected Real b3.body.ta[1](quantity = "Torque", unit = "N.m");
3424 protected Real b3.body.ta[2](quantity = "Torque", unit = "N.m");
3425 protected Real b3.body.ta[3](quantity = "Torque", unit = "N.m");
3426 protected Real b3.body.va[1](quantity = "Velocity", unit = "m/s");
3427 protected Real b3.body.va[2](quantity = "Velocity", unit = "m/s");
3428 protected Real b3.body.va[3](quantity = "Velocity", unit = "m/s");
3429 protected Real b3.body.wa[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3430 protected Real b3.body.wa[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3431 protected Real b3.body.wa[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3432 protected Real b3.body.za[1](quantity = "AngularAcceleration", unit = "rad/s2");
3433 protected Real b3.body.za[2](quantity = "AngularAcceleration", unit = "rad/s2");
3434 protected Real b3.body.za[3](quantity = "AngularAcceleration", unit = "rad/s2");
3435 protected Real b3.fa[1](quantity = "Force", unit = "N");
3436 protected Real b3.fa[2](quantity = "Force", unit = "N");
3437 protected Real b3.fa[3](quantity = "Force", unit = "N");
3438 protected Real b3.fb[1](quantity = "Force", unit = "N");
3439 protected Real b3.fb[2](quantity = "Force", unit = "N");
3440 protected Real b3.fb[3](quantity = "Force", unit = "N");
3441 protected Real b3.frameTranslation.Sa[1,1](start = 1.0);
3442 protected Real b3.frameTranslation.Sa[1,2](start = 0.0);
3443 protected Real b3.frameTranslation.Sa[1,3](start = 0.0);
3444 protected Real b3.frameTranslation.Sa[2,1](start = 0.0);
3445 protected Real b3.frameTranslation.Sa[2,2](start = 1.0);
3446 protected Real b3.frameTranslation.Sa[2,3](start = 0.0);
3447 protected Real b3.frameTranslation.Sa[3,1](start = 0.0);
3448 protected Real b3.frameTranslation.Sa[3,2](start = 0.0);
3449 protected Real b3.frameTranslation.Sa[3,3](start = 1.0);
3450 protected Real b3.frameTranslation.Sb[1,1](start = 1.0);
3451 protected Real b3.frameTranslation.Sb[1,2](start = 0.0);
3452 protected Real b3.frameTranslation.Sb[1,3](start = 0.0);
3453 protected Real b3.frameTranslation.Sb[2,1](start = 0.0);
3454 protected Real b3.frameTranslation.Sb[2,2](start = 1.0);
3455 protected Real b3.frameTranslation.Sb[2,3](start = 0.0);
3456 protected Real b3.frameTranslation.Sb[3,1](start = 0.0);
3457 protected Real b3.frameTranslation.Sb[3,2](start = 0.0);
3458 protected Real b3.frameTranslation.Sb[3,3](start = 1.0);
3459 protected Real b3.frameTranslation.aa[1](quantity = "Acceleration", unit = "m/s2");
3460 protected Real b3.frameTranslation.aa[2](quantity = "Acceleration", unit = "m/s2");
3461 protected Real b3.frameTranslation.aa[3](quantity = "Acceleration", unit = "m/s2");
3462 protected Real b3.frameTranslation.ab[1](quantity = "Acceleration", unit = "m/s2");
3463 protected Real b3.frameTranslation.ab[2](quantity = "Acceleration", unit = "m/s2");
3464 protected Real b3.frameTranslation.ab[3](quantity = "Acceleration", unit = "m/s2");
3465 protected Real b3.frameTranslation.fa[1](quantity = "Force", unit = "N");
3466 protected Real b3.frameTranslation.fa[2](quantity = "Force", unit = "N");
3467 protected Real b3.frameTranslation.fa[3](quantity = "Force", unit = "N");
3468 protected Real b3.frameTranslation.fb[1](quantity = "Force", unit = "N");
3469 protected Real b3.frameTranslation.fb[2](quantity = "Force", unit = "N");
3470 protected Real b3.frameTranslation.fb[3](quantity = "Force", unit = "N");
3471 protected Real b3.frameTranslation.r0a[1](quantity = "Length", unit = "m");
3472 protected Real b3.frameTranslation.r0a[2](quantity = "Length", unit = "m");
3473 protected Real b3.frameTranslation.r0a[3](quantity = "Length", unit = "m");
3474 protected Real b3.frameTranslation.r0b[1](quantity = "Length", unit = "m");
3475 protected Real b3.frameTranslation.r0b[2](quantity = "Length", unit = "m");
3476 protected Real b3.frameTranslation.r0b[3](quantity = "Length", unit = "m");
3477 protected Real b3.frameTranslation.ta[1](quantity = "Torque", unit = "N.m");
3478 protected Real b3.frameTranslation.ta[2](quantity = "Torque", unit = "N.m");
3479 protected Real b3.frameTranslation.ta[3](quantity = "Torque", unit = "N.m");
3480 protected Real b3.frameTranslation.tb[1](quantity = "Torque", unit = "N.m");
3481 protected Real b3.frameTranslation.tb[2](quantity = "Torque", unit = "N.m");
3482 protected Real b3.frameTranslation.tb[3](quantity = "Torque", unit = "N.m");
3483 protected Real b3.frameTranslation.va[1](quantity = "Velocity", unit = "m/s");
3484 protected Real b3.frameTranslation.va[2](quantity = "Velocity", unit = "m/s");
3485 protected Real b3.frameTranslation.va[3](quantity = "Velocity", unit = "m/s");
3486 protected Real b3.frameTranslation.vaux[1](quantity = "Velocity", unit = "m/s");
3487 protected Real b3.frameTranslation.vaux[2](quantity = "Velocity", unit = "m/s");
3488 protected Real b3.frameTranslation.vaux[3](quantity = "Velocity", unit = "m/s");
3489 protected Real b3.frameTranslation.vb[1](quantity = "Velocity", unit = "m/s");
3490 protected Real b3.frameTranslation.vb[2](quantity = "Velocity", unit = "m/s");
3491 protected Real b3.frameTranslation.vb[3](quantity = "Velocity", unit = "m/s");
3492 protected Real b3.frameTranslation.wa[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3493 protected Real b3.frameTranslation.wa[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3494 protected Real b3.frameTranslation.wa[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3495 protected Real b3.frameTranslation.wb[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3496 protected Real b3.frameTranslation.wb[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3497 protected Real b3.frameTranslation.wb[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3498 protected Real b3.frameTranslation.za[1](quantity = "AngularAcceleration", unit = "rad/s2");
3499 protected Real b3.frameTranslation.za[2](quantity = "AngularAcceleration", unit = "rad/s2");
3500 protected Real b3.frameTranslation.za[3](quantity = "AngularAcceleration", unit = "rad/s2");
3501 protected Real b3.frameTranslation.zb[1](quantity = "AngularAcceleration", unit = "rad/s2");
3502 protected Real b3.frameTranslation.zb[2](quantity = "AngularAcceleration", unit = "rad/s2");
3503 protected Real b3.frameTranslation.zb[3](quantity = "AngularAcceleration", unit = "rad/s2");
3504 protected Real b3.r0a[1](quantity = "Length", unit = "m");
3505 protected Real b3.r0a[2](quantity = "Length", unit = "m");
3506 protected Real b3.r0a[3](quantity = "Length", unit = "m");
3507 protected Real b3.r0b[1](quantity = "Length", unit = "m");
3508 protected Real b3.r0b[2](quantity = "Length", unit = "m");
3509 protected Real b3.r0b[3](quantity = "Length", unit = "m");
3510 protected Real b3.ta[1](quantity = "Torque", unit = "N.m");
3511 protected Real b3.ta[2](quantity = "Torque", unit = "N.m");
3512 protected Real b3.ta[3](quantity = "Torque", unit = "N.m");
3513 protected Real b3.tb[1](quantity = "Torque", unit = "N.m");
3514 protected Real b3.tb[2](quantity = "Torque", unit = "N.m");
3515 protected Real b3.tb[3](quantity = "Torque", unit = "N.m");
3516 protected Real b3.va[1](quantity = "Velocity", unit = "m/s");
3517 protected Real b3.va[2](quantity = "Velocity", unit = "m/s");
3518 protected Real b3.va[3](quantity = "Velocity", unit = "m/s");
3519 protected Real b3.vb[1](quantity = "Velocity", unit = "m/s");
3520 protected Real b3.vb[2](quantity = "Velocity", unit = "m/s");
3521 protected Real b3.vb[3](quantity = "Velocity", unit = "m/s");
3522 protected Real b3.wa[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3523 protected Real b3.wa[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3524 protected Real b3.wa[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3525 protected Real b3.wb[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3526 protected Real b3.wb[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3527 protected Real b3.wb[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3528 protected Real b3.za[1](quantity = "AngularAcceleration", unit = "rad/s2");
3529 protected Real b3.za[2](quantity = "AngularAcceleration", unit = "rad/s2");
3530 protected Real b3.za[3](quantity = "AngularAcceleration", unit = "rad/s2");
3531 protected Real b3.zb[1](quantity = "AngularAcceleration", unit = "rad/s2");
3532 protected Real b3.zb[2](quantity = "AngularAcceleration", unit = "rad/s2");
3533 protected Real b3.zb[3](quantity = "AngularAcceleration", unit = "rad/s2");
3534 protected Real barC.S_relc[1,1];
3535 protected Real barC.S_relc[1,2];
3536 protected Real barC.S_relc[1,3];
3537 protected Real barC.S_relc[2,1];
3538 protected Real barC.S_relc[2,2];
3539 protected Real barC.S_relc[2,3];
3540 protected Real barC.S_relc[3,1];
3541 protected Real barC.S_relc[3,2];
3542 protected Real barC.S_relc[3,3];
3543 protected Real barC.Sa[1,1](start = 1.0);
3544 protected Real barC.Sa[1,2](start = 0.0);
3545 protected Real barC.Sa[1,3](start = 0.0);
3546 protected Real barC.Sa[2,1](start = 0.0);
3547 protected Real barC.Sa[2,2](start = 1.0);
3548 protected Real barC.Sa[2,3](start = 0.0);
3549 protected Real barC.Sa[3,1](start = 0.0);
3550 protected Real barC.Sa[3,2](start = 0.0);
3551 protected Real barC.Sa[3,3](start = 1.0);
3552 protected Real barC.Sb[1,1](start = 1.0);
3553 protected Real barC.Sb[1,2](start = 0.0);
3554 protected Real barC.Sb[1,3](start = 0.0);
3555 protected Real barC.Sb[2,1](start = 0.0);
3556 protected Real barC.Sb[2,2](start = 1.0);
3557 protected Real barC.Sb[2,3](start = 0.0);
3558 protected Real barC.Sb[3,1](start = 0.0);
3559 protected Real barC.Sb[3,2](start = 0.0);
3560 protected Real barC.Sb[3,3](start = 1.0);
3561 protected Real barC.Sc[1,1];
3562 protected Real barC.Sc[1,2];
3563 protected Real barC.Sc[1,3];
3564 protected Real barC.Sc[2,1];
3565 protected Real barC.Sc[2,2];
3566 protected Real barC.Sc[2,3];
3567 protected Real barC.Sc[3,1];
3568 protected Real barC.Sc[3,2];
3569 protected Real barC.Sc[3,3];
3570 protected Real barC.aa[1](quantity = "Acceleration", unit = "m/s2");
3571 protected Real barC.aa[2](quantity = "Acceleration", unit = "m/s2");
3572 protected Real barC.aa[3](quantity = "Acceleration", unit = "m/s2");
3573 protected Real barC.ab[1](quantity = "Acceleration", unit = "m/s2");
3574 protected Real barC.ab[2](quantity = "Acceleration", unit = "m/s2");
3575 protected Real barC.ab[3](quantity = "Acceleration", unit = "m/s2");
3576 protected Real barC.ac[1];
3577 protected Real barC.ac[2];
3578 protected Real barC.ac[3];
3579 protected Real barC.b1[1];
3580 protected Real barC.b1[2];
3581 protected Real barC.b1[3];
3582 protected Real barC.bb;
3583 protected Real barC.bd[1];
3584 protected Real barC.bd[2];
3585 protected Real barC.bd[3];
3586 protected Real barC.bdd[1];
3587 protected Real barC.bdd[2];
3588 protected Real barC.bdd[3];
3589 protected Real barC.constraintResidue;
3590 protected Real barC.constraintResidue_d;
3591 protected Real barC.constraintResidue_dd;
3592 protected Real barC.fa[1](quantity = "Force", unit = "N");
3593 protected Real barC.fa[2](quantity = "Force", unit = "N");
3594 protected Real barC.fa[3](quantity = "Force", unit = "N");
3595 protected Real barC.fb[1](quantity = "Force", unit = "N");
3596 protected Real barC.fb[2](quantity = "Force", unit = "N");
3597 protected Real barC.fb[3](quantity = "Force", unit = "N");
3598 protected Real barC.fb_a[1] "cut-force fb resolved in cut a";
3599 protected Real barC.fb_a[2] "cut-force fb resolved in cut a";
3600 protected Real barC.fb_a[3] "cut-force fb resolved in cut a";
3601 protected Real barC.fc[1];
3602 protected Real barC.fc[2];
3603 protected Real barC.fc[3];
3604 protected Real barC.normb;
3605 protected Real barC.nx[1];
3606 protected Real barC.nx[2];
3607 protected Real barC.nx[3];
3608 protected Real barC.nxd[1];
3609 protected Real barC.nxd[2];
3610 protected Real barC.nxd[3];
3611 protected Real barC.nxdd[1];
3612 protected Real barC.nxdd[2];
3613 protected Real barC.nxdd[3];
3614 protected Real barC.ny[1];
3615 protected Real barC.ny[2];
3616 protected Real barC.ny[3];
3617 protected Real barC.nyd[1];
3618 protected Real barC.nyd[2];
3619 protected Real barC.nyd[3];
3620 protected Real barC.nydd[1];
3621 protected Real barC.nydd[2];
3622 protected Real barC.nydd[3];
3623 protected Real barC.nz[1];
3624 protected Real barC.nz[2];
3625 protected Real barC.nz[3];
3626 protected Real barC.nzd[1];
3627 protected Real barC.nzd[2];
3628 protected Real barC.nzd[3];
3629 protected Real barC.nzdd[1];
3630 protected Real barC.nzdd[2];
3631 protected Real barC.nzdd[3];
3632 protected Real barC.r0a[1](quantity = "Length", unit = "m", start = 1.0);
3633 protected Real barC.r0a[2](quantity = "Length", unit = "m", start = 1.0);
3634 protected Real barC.r0a[3](quantity = "Length", unit = "m", start = 1.0);
3635 protected Real barC.r0b[1](quantity = "Length", unit = "m");
3636 protected Real barC.r0b[2](quantity = "Length", unit = "m");
3637 protected Real barC.r0b[3](quantity = "Length", unit = "m");
3638 protected Real barC.r0c[1];
3639 protected Real barC.r0c[2];
3640 protected Real barC.r0c[3];
3641 protected Real barC.ta[1](quantity = "Torque", unit = "N.m");
3642 protected Real barC.ta[2](quantity = "Torque", unit = "N.m");
3643 protected Real barC.ta[3](quantity = "Torque", unit = "N.m");
3644 protected Real barC.tb[1](quantity = "Torque", unit = "N.m");
3645 protected Real barC.tb[2](quantity = "Torque", unit = "N.m");
3646 protected Real barC.tb[3](quantity = "Torque", unit = "N.m");
3647 protected Real barC.tc[1];
3648 protected Real barC.tc[2];
3649 protected Real barC.tc[3];
3650 protected Real barC.va[1](quantity = "Velocity", unit = "m/s");
3651 protected Real barC.va[2](quantity = "Velocity", unit = "m/s");
3652 protected Real barC.va[3](quantity = "Velocity", unit = "m/s");
3653 protected Real barC.vb[1](quantity = "Velocity", unit = "m/s");
3654 protected Real barC.vb[2](quantity = "Velocity", unit = "m/s");
3655 protected Real barC.vb[3](quantity = "Velocity", unit = "m/s");
3656 protected Real barC.vc[1];
3657 protected Real barC.vc[2];
3658 protected Real barC.vc[3];
3659 protected Real barC.w_relc[1];
3660 protected Real barC.w_relc[2];
3661 protected Real barC.w_relc[3];
3662 protected Real barC.wa[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3663 protected Real barC.wa[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3664 protected Real barC.wa[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3665 protected Real barC.wb[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3666 protected Real barC.wb[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3667 protected Real barC.wb[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3668 protected Real barC.wc[1];
3669 protected Real barC.wc[2];
3670 protected Real barC.wc[3];
3671 protected Real barC.z_relc[1];
3672 protected Real barC.z_relc[2];
3673 protected Real barC.z_relc[3];
3674 protected Real barC.za[1](quantity = "AngularAcceleration", unit = "rad/s2");
3675 protected Real barC.za[2](quantity = "AngularAcceleration", unit = "rad/s2");
3676 protected Real barC.za[3](quantity = "AngularAcceleration", unit = "rad/s2");
3677 protected Real barC.zb[1](quantity = "AngularAcceleration", unit = "rad/s2");
3678 protected Real barC.zb[2](quantity = "AngularAcceleration", unit = "rad/s2");
3679 protected Real barC.zb[3](quantity = "AngularAcceleration", unit = "rad/s2");
3680 protected Real barC.zc[1];
3681 protected Real barC.zc[2];
3682 protected Real barC.zc[3];
3683 protected Real j1.Sa[1,1](start = 1.0);
3684 protected Real j1.Sa[1,2](start = 0.0);
3685 protected Real j1.Sa[1,3](start = 0.0);
3686 protected Real j1.Sa[2,1](start = 0.0);
3687 protected Real j1.Sa[2,2](start = 1.0);
3688 protected Real j1.Sa[2,3](start = 0.0);
3689 protected Real j1.Sa[3,1](start = 0.0);
3690 protected Real j1.Sa[3,2](start = 0.0);
3691 protected Real j1.Sa[3,3](start = 1.0);
3692 protected Real j1.Sb[1,1](start = 1.0);
3693 protected Real j1.Sb[1,2](start = 0.0);
3694 protected Real j1.Sb[1,3](start = 0.0);
3695 protected Real j1.Sb[2,1](start = 0.0);
3696 protected Real j1.Sb[2,2](start = 1.0);
3697 protected Real j1.Sb[2,3](start = 0.0);
3698 protected Real j1.Sb[3,1](start = 0.0);
3699 protected Real j1.Sb[3,2](start = 0.0);
3700 protected Real j1.Sb[3,3](start = 1.0);
3701 protected Real j1.aa[1](quantity = "Acceleration", unit = "m/s2");
3702 protected Real j1.aa[2](quantity = "Acceleration", unit = "m/s2");
3703 protected Real j1.aa[3](quantity = "Acceleration", unit = "m/s2");
3704 protected Real j1.ab[1](quantity = "Acceleration", unit = "m/s2");
3705 protected Real j1.ab[2](quantity = "Acceleration", unit = "m/s2");
3706 protected Real j1.ab[3](quantity = "Acceleration", unit = "m/s2");
3707 protected Real j1.fa[1](quantity = "Force", unit = "N");
3708 protected Real j1.fa[2](quantity = "Force", unit = "N");
3709 protected Real j1.fa[3](quantity = "Force", unit = "N");
3710 protected Real j1.fb[1](quantity = "Force", unit = "N");
3711 protected Real j1.fb[2](quantity = "Force", unit = "N");
3712 protected Real j1.fb[3](quantity = "Force", unit = "N");
3713 protected Real j1.r0a[1](quantity = "Length", unit = "m");
3714 protected Real j1.r0a[2](quantity = "Length", unit = "m");
3715 protected Real j1.r0a[3](quantity = "Length", unit = "m");
3716 protected Real j1.r0b[1](quantity = "Length", unit = "m");
3717 protected Real j1.r0b[2](quantity = "Length", unit = "m");
3718 protected Real j1.r0b[3](quantity = "Length", unit = "m");
3719 protected Real j1.ta[1](quantity = "Torque", unit = "N.m");
3720 protected Real j1.ta[2](quantity = "Torque", unit = "N.m");
3721 protected Real j1.ta[3](quantity = "Torque", unit = "N.m");
3722 protected Real j1.tb[1](quantity = "Torque", unit = "N.m");
3723 protected Real j1.tb[2](quantity = "Torque", unit = "N.m");
3724 protected Real j1.tb[3](quantity = "Torque", unit = "N.m");
3725 protected Real j1.va[1](quantity = "Velocity", unit = "m/s");
3726 protected Real j1.va[2](quantity = "Velocity", unit = "m/s");
3727 protected Real j1.va[3](quantity = "Velocity", unit = "m/s");
3728 protected Real j1.vb[1](quantity = "Velocity", unit = "m/s");
3729 protected Real j1.vb[2](quantity = "Velocity", unit = "m/s");
3730 protected Real j1.vb[3](quantity = "Velocity", unit = "m/s");
3731 protected Real j1.wa[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3732 protected Real j1.wa[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3733 protected Real j1.wa[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3734 protected Real j1.wb[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3735 protected Real j1.wb[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3736 protected Real j1.wb[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3737 protected Real j1.za[1](quantity = "AngularAcceleration", unit = "rad/s2");
3738 protected Real j1.za[2](quantity = "AngularAcceleration", unit = "rad/s2");
3739 protected Real j1.za[3](quantity = "AngularAcceleration", unit = "rad/s2");
3740 protected Real j1.zb[1](quantity = "AngularAcceleration", unit = "rad/s2");
3741 protected Real j1.zb[2](quantity = "AngularAcceleration", unit = "rad/s2");
3742 protected Real j1.zb[3](quantity = "AngularAcceleration", unit = "rad/s2");
3743 protected Real j2.Sa[1,1](start = 1.0);
3744 protected Real j2.Sa[1,2](start = 0.0);
3745 protected Real j2.Sa[1,3](start = 0.0);
3746 protected Real j2.Sa[2,1](start = 0.0);
3747 protected Real j2.Sa[2,2](start = 1.0);
3748 protected Real j2.Sa[2,3](start = 0.0);
3749 protected Real j2.Sa[3,1](start = 0.0);
3750 protected Real j2.Sa[3,2](start = 0.0);
3751 protected Real j2.Sa[3,3](start = 1.0);
3752 protected Real j2.Sb[1,1](start = 1.0);
3753 protected Real j2.Sb[1,2](start = 0.0);
3754 protected Real j2.Sb[1,3](start = 0.0);
3755 protected Real j2.Sb[2,1](start = 0.0);
3756 protected Real j2.Sb[2,2](start = 1.0);
3757 protected Real j2.Sb[2,3](start = 0.0);
3758 protected Real j2.Sb[3,1](start = 0.0);
3759 protected Real j2.Sb[3,2](start = 0.0);
3760 protected Real j2.Sb[3,3](start = 1.0);
3761 protected Real j2.aa[1](quantity = "Acceleration", unit = "m/s2");
3762 protected Real j2.aa[2](quantity = "Acceleration", unit = "m/s2");
3763 protected Real j2.aa[3](quantity = "Acceleration", unit = "m/s2");
3764 protected Real j2.ab[1](quantity = "Acceleration", unit = "m/s2");
3765 protected Real j2.ab[2](quantity = "Acceleration", unit = "m/s2");
3766 protected Real j2.ab[3](quantity = "Acceleration", unit = "m/s2");
3767 protected Real j2.fa[1](quantity = "Force", unit = "N");
3768 protected Real j2.fa[2](quantity = "Force", unit = "N");
3769 protected Real j2.fa[3](quantity = "Force", unit = "N");
3770 protected Real j2.fb[1](quantity = "Force", unit = "N");
3771 protected Real j2.fb[2](quantity = "Force", unit = "N");
3772 protected Real j2.fb[3](quantity = "Force", unit = "N");
3773 protected Real j2.r0a[1](quantity = "Length", unit = "m");
3774 protected Real j2.r0a[2](quantity = "Length", unit = "m");
3775 protected Real j2.r0a[3](quantity = "Length", unit = "m");
3776 protected Real j2.r0b[1](quantity = "Length", unit = "m");
3777 protected Real j2.r0b[2](quantity = "Length", unit = "m");
3778 protected Real j2.r0b[3](quantity = "Length", unit = "m");
3779 protected Real j2.ta[1](quantity = "Torque", unit = "N.m");
3780 protected Real j2.ta[2](quantity = "Torque", unit = "N.m");
3781 protected Real j2.ta[3](quantity = "Torque", unit = "N.m");
3782 protected Real j2.tb[1](quantity = "Torque", unit = "N.m");
3783 protected Real j2.tb[2](quantity = "Torque", unit = "N.m");
3784 protected Real j2.tb[3](quantity = "Torque", unit = "N.m");
3785 protected Real j2.va[1](quantity = "Velocity", unit = "m/s");
3786 protected Real j2.va[2](quantity = "Velocity", unit = "m/s");
3787 protected Real j2.va[3](quantity = "Velocity", unit = "m/s");
3788 protected Real j2.vb[1](quantity = "Velocity", unit = "m/s");
3789 protected Real j2.vb[2](quantity = "Velocity", unit = "m/s");
3790 protected Real j2.vb[3](quantity = "Velocity", unit = "m/s");
3791 protected Real j2.wa[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3792 protected Real j2.wa[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3793 protected Real j2.wa[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3794 protected Real j2.wb[1](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3795 protected Real j2.wb[2](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3796 protected Real j2.wb[3](quantity = "AngularVelocity", unit = "rad/s", displayUnit = "rev/min");
3797 protected Real j2.za[1](quantity = "AngularAcceleration", unit = "rad/s2");
3798 protected Real j2.za[2](quantity = "AngularAcceleration", unit = "rad/s2");
3799 protected Real j2.za[3](quantity = "AngularAcceleration", unit = "rad/s2");
3800 protected Real j2.zb[1](quantity = "AngularAcceleration", unit = "rad/s2");
3801 protected Real j2.zb[2](quantity = "AngularAcceleration", unit = "rad/s2");
3802 protected Real j2.zb[3](quantity = "AngularAcceleration", unit = "rad/s2");
3803 protected output Real b0.box.mcShape.Extra;
3804 protected output Real b0.box.mcShape.Form;
3805 protected output Real b0.box.mcShape.Material;
3806 protected output Real b0.box.mcShape.size[1](quantity = "Length", unit = "m") "{length,width,height} of shape";
3807 protected output Real b0.box.mcShape.size[2](quantity = "Length", unit = "m") "{length,width,height} of shape";
3808 protected output Real b0.box.mcShape.size[3](quantity = "Length", unit = "m") "{length,width,height} of shape";
3809 protected output Real b1.box.mcShape.Extra;
3810 protected output Real b1.box.mcShape.Form;
3811 protected output Real b1.box.mcShape.Material;
3812 protected output Real b1.box.mcShape.size[1](quantity = "Length", unit = "m") "{length,width,height} of shape";
3813 protected output Real b1.box.mcShape.size[2](quantity = "Length", unit = "m") "{length,width,height} of shape";
3814 protected output Real b1.box.mcShape.size[3](quantity = "Length", unit = "m") "{length,width,height} of shape";
3815 protected output Real b2.box.mcShape.Extra;
3816 protected output Real b2.box.mcShape.Form;
3817 protected output Real b2.box.mcShape.Material;
3818 protected output Real b2.box.mcShape.size[1](quantity = "Length", unit = "m") "{length,width,height} of shape";
3819 protected output Real b2.box.mcShape.size[2](quantity = "Length", unit = "m") "{length,width,height} of shape";
3820 protected output Real b2.box.mcShape.size[3](quantity = "Length", unit = "m") "{length,width,height} of shape";
3821 protected output Real b3.box.mcShape.Extra;
3822 protected output Real b3.box.mcShape.Form;
3823 protected output Real b3.box.mcShape.Material;
3824 protected output Real b3.box.mcShape.size[1](quantity = "Length", unit = "m") "{length,width,height} of shape";
3825 protected output Real b3.box.mcShape.size[2](quantity = "Length", unit = "m") "{length,width,height} of shape";
3826 protected output Real b3.box.mcShape.size[3](quantity = "Length", unit = "m") "{length,width,height} of shape";
3827class MultiBody.Examples.Loops.Fourbar1
3828end MultiBody_Examples_Loops_Fourbar1;
3829equation