By default all Modelica Compilers will expand all arrays (there are some exceptions like arrays in records in functions) into scalars. OpenModelica started some work on non-expanding arrays in the front-end and back-end. See:
http://www.ep.liu.se/ecp/157/071/ecp19157071.pdf