﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
3262	Translation error for MSL and OMEdit crash	Rüdiger Franke	Willi Braun	"The following model causes two errors: it fails in the fronend. OMEdit crashes when attempting to simulate it.
{{{#!mo
model SortTest
  Real[:, :] M = [3, 4; 1, 2];
  Real[size(M, 1), size(M, 2)] N;
equation
  N = Modelica.Math.Matrices.sort(M);
  annotation(uses(Modelica(version=""3.2.1"")));
end SortTest;
}}}

The `translateModel(SortTest)` error is:
{{{
base_array.c: array dimension size for dimension 0 is -443987883 < 0!
omc: util/integer_array.c:97: copy_integer_array_data: Assertion `base_array_ok(dest)' failed.
Aborted (core dumped)
}}}
"	defect	closed	high	1.9.3	Run-time	trunk	fixed		
