ModelContext(): Fix performance problems when loading model with many missing/erroneous IDs
Fixing the missing/erroneous IDs has actually a good performance, but the generation of the error message does not scale.
Solution: Terminate error generation of error message after 100 errors.