Support : Knowledge base

Knowledge Base

Welcome to OPAL-RT’s Knowledge Base

OPAL-RT offers a repository of support information for optimal use of its technology.

Loading…

Please note that OPAL-RT knowledge base is not fully optimized for mobile platforms.

For optimal experience, use a desktop computer.

Reference Number: AA-01131// Views: AA-01131// Created: 2016-03-23 19:22:36// Last Updated: 2019-09-16 17:35:47
Problem & Solution
HYPERSIM : Code Generation Error : Out of Memory / Timed Out / startsim / Makefile / gmake

Problem

In HYPERSIM, when you have a very big model that contains a great amount of breakers, buses, interrupters and transformers, you might get one of the following errors trying to run your model in Real-Time:

HYPERSIM Linux (Discontinued):


Similarly, in MobaXterm, the following message will be displayed “Fatal compilation error: Out of memory”, 


HYPERSIM Windows 6.x:

Here are most possible error messages related to this issue:

- Error while executing 'startsim' - Error during start simulation. - /usr/bin/gmake -j10 -f Makefile.out all: Interrupted (code=2)

- An internal threshold was exceeded for routine 'YOURMODEL' and optimization level may be reduced. See http://software.intel.com/en-us/articles/internal-threshold-was-exceeded for more information and advice.

- Fatal compilation error: Out of memory asking for 'QUANTITYOFMEMORY'.

- gmake

- error 1

- ERROR (clnttcp_create): TCP/IP [YOUR IP @ 0x3FFFA024:0x0001 fct=(-1), tvsec=(30), tvusec=(0)]: RPC: Port mapper failure - RPC: Timed out


Solutions

1 - Change Compiler:

One of the solutions proposed to resolve this issue is to use GCC (Default Linux Compiler) instead of Intel Compiler as the Intel Compiler is more susceptible to Memory or TimeOut issues in exchange for it's greater optimization capabilities and reduction of Real-Time execution cycle length. You might want to try using GCC instead of Intel as detailed in this KB Article but, if you insist on keeping Intel as your compiler for the reasons described in this KB Article, then the next solutions will be better suited for you.

2 - Increase the RPC TimeOut RCP time threshold (known for HYPERSIM Windows):

Go to Targets Manager and in the Advanced Preferences Option, increase the Extra TimeOut RPC communication and For apply delay times. Note that this fix is not available in HYPERSIM 2019.x +.


3 - ‘Enable Iteration’ option:

HYPERSIM Linux (Discontinued): To access this Simulation Window, go into Properties -> Simulation. 



HYPERSIM Windows 6.x: