try {
Configuration conf = next();
if (conf == null) {
return null;
}
for (BaseVariable<?> var : conf.values()) {
assignment.put(var.getName(), var);
}
} catch (NoNextVariableException ex) {
SimSystem.report(Level.INFO, state.toString());
return null;