This paper presents a numerical simulation of a multi-body system with a flexible part. There is a needle bar mechanism of an industrial sewing machine driven by radial cam. As a flexible body the needle bar lever is considered in this mechanism. Stress distribution/peaks on this lever is one of the most important criterion for maximum mechanism speed determination. In conclusion of this paper, the quality of the results is compared due to using different boundary conditions.