EnsurePrivateCopy() on an InstanceDefinition causes overflow

Hi @stevebaer, it happened with the model provided here using SR14. I am now at SR16 and cannot make it crash either.

_
c.