The function jj_dq0(u) corresponds to j_dq0 but has a matrix argument u.
It acts on the first index in the same way as j_dq0 for all values of the second index.
function jj_dq0 extends Modelica.Icons.Function; input Real[:, :] u "array of 3- (or 2-) vectors (voltage, current)"; output Real[size(u, 1), size(u, 2)] y "array of rotated vectors (voltage, current)"; end jj_dq0;