The dimensional variation analysis of complex mechanical systems