Behavior of the antiferromagnetic layer during training in exchange-biased bilayers within the domain state model