When a location have both an invariant and documentation text, the following two syntax errors appear: Missing initial state and Missing system tag. This happens no matter where in the model the location is placed.
Fixed on the trunk from rev. 1800.