throwing an exception instead of reporting an error
preliminary validation of beams
validating nested models and conditions
removing trace statements