Notification: Performance of loadModel(ModelicaTest): time 1.776/1.776, allocations: 234.6 MB / 240.6 MB, free: 7.758 MB / 200.6 MB Notification: Performance of FrontEnd - loaded program: time 0.3073/2.083, allocations: 56.67 MB / 297.2 MB, free: 8.5 MB / 248.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07497/2.158, allocations: 54.73 MB / 352 MB, free: 10.74 MB / 296.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2726/2.431, allocations: 101.3 MB / 453.2 MB, free: 85.08 MB / 376.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000206/2.431, allocations: 59.95 kB / 453.3 MB, free: 85.07 MB / 376.6 MB [Modelica 3.2.2/Math/package.mo:3821:7-3824:15:writable] Error: Type mismatch in assignment in X := {} of Real[size(A, 1), size(A, 2)] := Integer[0, 0] [ModelicaTest 3.2.2/Math.mo:307:5-307:43:writable] Error: No matching function found for .Modelica.Math.Matrices.continuousLyapunov({}, {}) of type .Modelica.Math.Matrices.continuousLyapunov(Real[0, 0] A, Real[0, 0] C, Boolean ATisSchur := false, Real eps := 1e-14 * Modelica.Math.Matrices.norm(A, 1.0)) => Real[size(A, 1), size(A, 2)] in component candidates are .Modelica.Math.Matrices.continuousLyapunov(Real[:, size(A, 1)] A, Real[size(A, 1), size(A, 2)] C, Boolean ATisSchur := false, Real eps := 1e-14 * Modelica.Math.Matrices.norm(A, 1.0)) => Real[size(A, 1), size(A, 2)] Error: Error occurred while flattening model ModelicaTest.Math.TestMatrices2 Error: Internal error SimCode: The model ModelicaTest.Math.TestMatrices2 could not be translated to FMU