﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4663	Type issues with start attribute in NF	Francesco Casella	Per Östlund	"Please check

https://libraries.openmodelica.org/branches/newInst/Modelica_3.2.2/files/Modelica_3.2.2_Modelica.Blocks.Examples.NoiseExamples.ActuatorWithNoise.err

The following error is reported 
{{{
[/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica
 /OMCompiler/build/lib/omlibrary/Modelica 3.2.2
 /Electrical/MultiPhase.mo:1138:50-1138:66:writable]
 Error: Type mismatch in binding start = fill(1, motor.smpm.rs.m),
 expected subtype of Real, got type Integer[motor.smpm.rs.m]
}}}

The corresponding declaration is
{{{
parameter Modelica.SIunits.Resistance R[m](start=fill(1, m));
}}}
so start should have type Real[:] and then automatic conversion from Integer[:] to Real[:] should take place.
"	defect	closed	high	2.0.0	New Instantiation		fixed		
