If you create a block mask with many entries then the model cannot be reopened without destroying the contents of the block masks. I have created masks with popups containing more than 1500 entries. If the strings used in the popup are long, the above problem arises. I looked for the model file in the text editor. The block masks are written correctly, but OPEN_SYSTEM first throws the following warning:
Warning: Missing or unmatched parenthesis in mask dialog-type popup specifier.
After that, there are many warning like this:
Warning: model.mdl, line ###: Subsystem block (mask) does not have a parameter named xyz
It seems to be an overflow while reading the 'MaskStyleString'.
Best Answer