added support for externally defined linear in- and output systems in the model