// iterate over all internal and external out couplings of all imminent
// atomic models
for (IBasicDEVSModel m : imminents.keySet()) {
IBasicAtomicModel<? extends AbstractState> am =
(IBasicAtomicModel<? extends AbstractState>) m;
IBasicCoupledModel cm = am.getParent();
getCopyHandler()
.copyValues(cm.getICIterator(am), cm, influencedAM, involvedCM);
getCopyHandler().copyValues(cm.getEOCIterator(am), cm, influencedAM,
involvedCM);
}
// array list which contains the involved coupled models per level
List<Map<IBasicCoupledModel, Object>> coupledModels =
new ArrayList<>();
for (IBasicCoupledModel cm : involvedCM.keySet()) {
int l = cm.getLevel();
// if ((l == -1) && (cm.getParent() != null)) throw new
// RuntimeException("Invalid level ("+l+") => wrong model
// initialization");
if (l < 0) {
continue;