﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5455	Model that simulated does not simulate anymore with the addition of a simple flag.	massimo ceraolo	somebody	"Steps to reproduce:
1) load Test
2) open and run ""iDriveLim2""

the following error is displayed:

{{{
[24] 23:21:49 Translation Error
Internal error function createNonlinearResidualEquations failed

[25] 23:21:49 Translation Error
[C:/dev/OM64bit/OMCompiler/Compiler/SimCode/SimCodeUtil.mo: 3406:7-3406:48]: Internal error createOdeSystem2 failed for Generic Jacobian via directional derivatives

[26] 23:21:49 Translation Error
[C:/dev/OM64bit/OMCompiler/Compiler/SimCode/SimCodeUtil.mo: 3297:9-3297:50]: Internal error function createOdeSystem failed for component {46, 45, 44, 40, 43, 42, 39:19, 33, 24, 23, 20, 36, 21, 35, 31, 32} Size: 7 Generic Jacobian via directional derivatives

[27] 23:21:49 Translation Error
[C:/dev/OM64bit/OMCompiler/Compiler/SimCode/SimCodeUtil.mo: 1469:5-1469:77]: Internal error createEquationsForSystems failed

[28] 23:21:49 Translation Error
[C:/dev/OM64bit/OMCompiler/Compiler/SimCode/SimCodeUtil.mo: 737:5-737:146]: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]

}}}

Now disable rows 33,82, 86 => the program simulates.

So, just the addition of the flag ""overLoad"" causes the program not to run.

BTW, I was forced to use ""weakening"", ""limiting"", ""overLoad"" as Real variables because if I declared them as Boolean I would have had additional issues. But this is another story.
"	defect	closed	high	1.14.0	*unknown*	v1.13.2	invalid		
