description="A reachable exception (opcode 0xfe) has been detected. This can be caused by type errors, division by zero, out-of-bounds array access, or assert violations. "
description+="This is acceptable in most situations. Note however that assert() should only be used to check invariants. Use require() for regular input checking. "
description+="The exception is triggered under the following conditions:\n\n"
fordinmodel.decls():
try:
condition=hex(model[d].as_long())
except:
condition=str(simplify(model[d]))
description+=("%s: %s\n"%(d.name(),condition))
debug="The exception is triggered under the following conditions:\n\n"