﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
3526	Code generation fails for array in records	Lennart Ochel	Lennart Ochel	"Template CodegenUtil.ScalarVariableType failed fort he following model:
{{{#!mo
model test
  record R
    Real r[3];
  end R;

  function f
    input Real x;
    output R y;
  algorithm
    y.r[1] := 1.0+x;
    y.r[2] := 2.0+x;
    y.r[3] := 3.0+x;
  end f;

  R x;
  R y;
equation
  x = y;
  y = f(time);
end test;
}}}

Maybe this is also related to the module {{{removeSimpleEquations}}}, since the model works fine if it get disabled using {{{--removeSimpleEquations=none}}}."	defect	new	high	Future	Code Generation			record array	Mahder Alemseged Gebremedhin jan.hagemann@…
