sample6E code generation from model