ACE model with repeated measurements