This trial is conducted in Europe. The aim of this trial is to compare the blood glucose-lowering effect of NN5401 (insulin degludec/insulin aspart, IDegAsp) with NN1250 (insulin degludec, IDeg) and insulin aspart (IAsp) in subjects with type 1 diabetes mellitus.