﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5614	error in FMU instantiate in case of large models	pretolani@…	Lennart Ochel	"Hi,
I am working in the frame of a big project funded by the Italian electric transmission system operator (TSO). We are developing a dynamic simulator of electric grids of large dimensions. For this task we build the dynamic models using FMUs compiled by means of OpenModelica. FMUs are then called by an own developed main application which solves the DAE overall system using open source numerical solutors (Sundials and others). For this project we use Qt Creator 4.7.1 Based on Qt 5.9.7 (MSVC 2015, 32 bit).

Till a month ago we were using an old version of OpenModelica (v1.12.0-dev.alpha1 32 bit for Windows) with satisfactory resuls even with huge models (with more than 10 thousands of FMU instances). Now trying to switch to the official last version of OpenModelica(v1.13.2 32 bit for Windows) we get a crash in the FMU instatiate of large models (with more than 1000 instances).

In order to reproduce the error in a much less complex context we have developed a simple main application based on the main.c source code (from FMU SDK A C library by QTronic) downloaded from a link located in https://fmistandard.org/downloads/.

This main.c has been sligtly modified in order to make many instances of the same FMU (a simple model with 1 input 1 output and 1 state) and the error has been reproduced. If it could help I can send you the source code.

Best Regards

Francesco Pretolani
CESI S.p.A.
Via Rubattino, 54 - 20134 Milano (Italy)
email: pretolani@cesi.it"	defect	new	high		FMI	v1.13.2			
