﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1031	Vectors in Algorithm	Jens Frenkel	Jens Frenkel	"Hello, 

I have experienced a strange behaviour of OpenModelica when it comes to vectors and algorithms. I created a small model to illustrate my problem:

model Test
  Real a[2];
algorithm
  a := {1,2};   
end Test;

Unfortunately, the OMC cancels simulation issuing the error message:

record SimulationResult
    resultFile = ""Simulation failed.
Too few equations, underdetermined system. The model has 2 variables and 1 equations
""
end SimulationResult

Hence, I assume that OMC counts the assignment as one equation although these are two equations (one for each element of the vector)

Kind regards

Jens Frenkel"	defect	closed	high		Parser	1.4.4	fixed		Jens Frenkel
