Help with motion analysis

Hi guys. I need to plot correct graph but i have problem to do animation and motion analysis for my final year project, parking system design. Please someone teach how to do the correct way. First, I try to put linear motor on the hydraulic cyclinder that attached to the arm, and after the platform pull up, then the i put another linear motor so it can pull futher until the platform is on the top of the frame. But the motion is wrong as when the first hydraulic being pull, the main arm which is supposed to go up, going down, pass through the floor. And the shaft also can also through the cyclinder. What is my mistake? I cant proceed to plot graph if my motion is wrong. I attach my file. Please, someone help to repair my mistake. Thanks!

SolidworksMotion Studies