MagicDraw SysML/Cameo: 19SP3: Does not seem to support export to Modelica from a Package [use a SysML Block as root instead]
Figure 17: Package and model in SysML Gallery Tutorial SysPhS-1.1 in MagicDraw SysML (or Cameo Systems Modeler) vs Modelica Section Slide kind SysML Package Diagram
Overview of all diagrams after moving elicited model elements out of the '0-source' zone Gallery Tutorial TRAIL: Webel SysML Parsing Analysis example: Optical telescopes from Wikipedia: Structure and port-based light flow model Section Slide kind hybrid diagram SysML Block Definition Diagram (BDD) SysML Package Diagram
TIP: If you use the name '0-source' instead of 'source' for the top-level Package/Model for containing Parsing Analysis elements it will list nicely at the top of the containment tree.
MagicDraw/Cameo: Keep most elements out of the top-level of a project (i.e. not directly under the project Root). Have one top-level index/content/package diagram.
Webel Parsing Analysis: Create a top-level 'source' or '0-source' Package/Model SEPARATE from your project model. All source «document» elements and «snippet» extracts and «pa» diagrams MUST be ultimately owned by that top-level Package/Model as ancestor!
Package, Model, or SysML Block as UseCase owner Gallery Tutorial TRAIL: Webel's ultimate guide to Systems Modeling Language with MagicDraw/Cameo Section 14:01: UseCases in SysML Slide kind UML Profile Diagram
A UseCase may be owned either by a Package or by a Classifier. Although the owning Classifier typically represents a subject to which the owned UseCases apply, this is not necessarily the case ... Source Unified Modeling Language 2.5.1
Webel recommends (usually) display the header of a Package, Model, ModelLibrary, or Profile in the 'tab' (rather than 'top')
Figure 4-3: SysML Package Structure Gallery Tutorial TRAIL: The SysML-1.6 Hybrid SUV sample and specification diagrams in MagicDraw/Cameo (with annotations) Section Section: SysML-1.6 specification diagrams: 04 Language and Architecture Slide kind SysML Package Diagram