Dynamic analysis and computer simulation of variable‐mass multi‐rigid‐body systems