Computation of Path Constrained Time Optimal Motions With Dynamic Singularities