Fixing a few issues

This gets the model to run in OpenModelica (still need to test SystemModeler)
What you want here is a `record`.  A record is used to store data.  A `connector` is typically for variables (things that change with time), not parameters.