SModelRepository.getInstance().refreshModels();
<BUG>for (AbstractModule m: getAllModules()){
</BUG>
disposeAllStubManagers();
<BUG>releaseOldStubs(((AbstractModule) m));
}</BUG>
CleanupManager.getInstance().cleanup();
MPSModuleRepository.getInstance().invalidateCaches();
<BUG>for (IModule m : getAllModules()) {

loadNewStubs(((AbstractModule) m));
}</BUG>
markNewStubs();

SModelRepository.getInstance().refreshModels();
for (AbstractModule m : getAllModules()) {
disposeAllStubManagers();
releaseOldStubs(m);
}
CleanupManager.getInstance().cleanup();
MPSModuleRepository.getInstance().invalidateCaches();
for (AbstractModule m : getAllModules()) {
loadNewStubs(m);
