Note to Moderator: This Thread should be added to the SystemModeler Group.
I put together a quick example to get you started. I used the translational blocks -- they do not animate. If you want an animating example I can quickly put one together for you. The force is turned on at 2 seconds. By modifying this model you should be able to do whatever you want. Note-- I made the second mass always two times the first mass (but you can change this to a number or an equation). The attached file is the full model for SystemModeler. Here is a picture of what I did:

The simulation results:

Attachments: