﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
3151	PowerSystems: BackendDAEOptimize.createJacobian failed	Rüdiger Franke	Willi Braun	"The new head revision 2e0ca56 of PowerSystems 
{{{
$ git clone https://github.com/modelica/PowerSystems.git
}}}
fixes some problems that showed up with OpenModelica (syntax error with array indexing and explicit instantiation of a global system model).

Now the code generation still fails for some models. In particular for models as simple as:
{{{
PowerSystems.Test.GenericComponentsTest.PMeterTest
PowerSystems.Test.GenericComponentsTest.GeneratorTest
PowerSystems.Test.GenericComponentsTest.GeneratorTest2
}}}

For instance PMeterTest gives the translation errors:
{{{
[1] 15:32:16 Translation Error
Internal error BackendDAEOptimize.createJacobian failed

[2] 15:32:16 Translation Error
Internal error BackendDAEOptimize.optimizeJacobianMatrix failed

[3] 15:32:16 Translation Error
Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed!

[4] 15:32:16 Symbolic Error
[/home/user/PowerSystems/PowerSystems/Generic.mo: 321:5-321:89]: Model is structurally singular, error found sorting equations 1: $CSE1$lB2$rB$pDERNLSJac12$P$CSE1$lB2$rB = 0.0; for variables $res1$pDERNLSJac12$PdummyVarNLSJac12(1)
}}}

Followed by the runtime error
{{{
residual function pointer is invalid
Simulation process failed. Exited with code 255.
}}}
"	defect	closed	high	1.9.2	FMI	trunk	fixed		Lennart Ochel Willi Braun
