﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
3516	flattening fail  with parameter fixed=false and redeclare	Vitalij Ruge	somebody	"checkModel fail for the following Example:
{{{#!modelica
package pSetPara
  model base
    parameter Real p1;
  end base;

  model repM
    parameter Real pM1 = 1;
    replaceable model model1 = pSetPara.base;
  protected
    model1 model1Instance;
  end repM;

  model updatePara
    parameter Real unknow(fixed = false);
    repM M(pM1 = unknow, redeclare model model1 = pSetPara.base(p = unknow));
  initial equation
    unknow = -1;
  end updatePara;
end pSetPara;
}}}
with '''Error occurred while flattening model pSetPara.updatePara'''

checkModel for updatePara return ""unknow"" is unknow.
If we replace {{{parameter Real unknow(fixed = false);}}} with
{{{parameter Real unknow(fixed = true, start = -1);}}} then checkModel is successfully.


probably connect to #3476"	defect	new	high	Future	Frontend				
