I got some problems by using the reserved keyword "order" for table name. Could you please check table names for reserved keywords?
You may enable quoting table names in generated SQL file.
1. Click on the diagram background
2. Open section "SQL generation settings" on the right panel
3. Click on "Quote all SQL identifiers"
Hope it will help you.
Customer support service by UserEcho