﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
3379	wrong partitioning	Lennart Ochel	Lennart Ochel	"Consider following model:
{{{#!mo
  function f_very_time_consuming
    input Real x;
    output Real y;
  algorithm
    y := sin(x);
    y := x;
  end f_very_time_consuming;

  model Test4
    Real x;
    Real y1, y2, y3;
  equation
    der(x) = 1.0/(time+1.0);

    y1 = f_very_time_consuming(x);
    y2 = f_very_time_consuming(x);
    y3 = f_very_time_consuming(x);
  end Test4;
}}}


Module ""clockPartitioning"" ends up with a single partitioning:
{{{
pre-optimization module clockPartitioning:


unspecified partition
========================================

Variables (4)
========================================
1: y3:VARIABLE() .TestCSE.Test4, .Real type: Real []
2: y2:VARIABLE() .TestCSE.Test4, .Real type: Real []
3: y1:VARIABLE() .TestCSE.Test4, .Real type: Real []
4: x:VARIABLE() .TestCSE.Test4, .Real type: Real []


Equations (4, 4)
========================================
1/1 (1): der(x) = 1.0 / (1.0 + time)    [dynamic]
2/2 (1): y1 = TestCSE.f_very_time_consuming(x)    [dynamic]
3/3 (1): y2 = TestCSE.f_very_time_consuming(x)    [dynamic]
4/4 (1): y3 = TestCSE.f_very_time_consuming(x)    [dynamic]
}}}"	defect	closed	high	never	Backend	trunk	invalid		
