sunser2,
Thanks for sending in the file. I see the export problem you mentioned. I could not however replicate the package issue you mentioned. You have some packages in the UMR that are contained in the model but aren’t placed anywhere on the diagram. Are you talking about those packages showing up in code generation? If you want to get rid of those, simply switch to package centric mode in the outline view and delete any unwanted elements. I will post back to this thread OR email you the file if we can get it repaired. Thank you for your patience.
Kapil