Singularities in the AC energy losses in hard magnetic materials