Failure analysis of a hat profile with tailored properties subjected to axial compression