Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test") translateModel(OpenIPSL.Tests.FACTS.STATCOM_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.FACTS.STATCOM_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 195.8 kB / 16.29 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 239.9 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009759/0.000976, allocations: 103.5 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4754/0.4754, allocations: 79.44 MB / 419.8 MB, free: 2.977 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.057e-05/3.06e-05, allocations: 8.891 kB / 499 MB, free: 5.859 MB / 366.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.FACTS.STATCOM_Test): time 0.006438/0.006483, allocations: 5.546 MB / 0.4927 GB, free: 292 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00357/0.01008, allocations: 1.462 MB / 0.4941 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004258/0.01052, allocations: 11.94 kB / 0.4942 GB, free: 14.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004657/0.01099, allocations: 158.6 kB / 0.4943 GB, free: 14.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007316/0.01173, allocations: 321.5 kB / 0.4946 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001554/0.01333, allocations: 0.6143 MB / 0.4952 GB, free: 13.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001394/0.01474, allocations: 1.199 MB / 0.4964 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004682/0.01522, allocations: 231.5 kB / 0.4966 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005969/0.01583, allocations: 450 kB / 0.497 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006294/0.01647, allocations: 0.521 MB / 0.4975 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.642e-05/0.01657, allocations: 68 kB / 0.4976 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002913/0.01687, allocations: 148 kB / 0.4977 GB, free: 11.11 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.001201/0.01808, allocations: 1.695 MB / 0.4994 GB, free: 9.395 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005917/0.01868, allocations: 1.082 MB / 0.5005 GB, free: 8.297 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.01884, allocations: 143.4 kB / 0.5006 GB, free: 8.156 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.21e-05/0.01894, allocations: 12 kB / 0.5006 GB, free: 8.145 MB / 382.1 MB Notification: Performance of Bindings: time 0.003325/0.02227, allocations: 3.972 MB / 0.5045 GB, free: 4.02 MB / 382.1 MB Notification: Performance of Early Inline: time 0.0007232/0.02301, allocations: 0.6864 MB / 0.5052 GB, free: 3.305 MB / 382.1 MB Notification: Performance of simplify1: time 0.0001092/0.02313, allocations: 123.8 kB / 0.5053 GB, free: 3.184 MB / 382.1 MB Notification: Performance of Alias: time 0.002989/0.02612, allocations: 2.419 MB / 0.5076 GB, free: 428 kB / 382.1 MB Notification: Performance of simplify2: time 8.073e-05/0.02621, allocations: 87.88 kB / 0.5077 GB, free: 340 kB / 382.1 MB Notification: Performance of Events: time 0.0004134/0.02663, allocations: 395.1 kB / 0.5081 GB, free: 15.91 MB / 398.1 MB Notification: Performance of Detect States: time 0.0005064/0.02715, allocations: 0.5178 MB / 0.5086 GB, free: 15.38 MB / 398.1 MB Notification: Performance of Partitioning: time 0.0006329/0.02779, allocations: 0.6196 MB / 0.5092 GB, free: 14.75 MB / 398.1 MB Notification: Performance of Causalize: time 0.002449/0.03025, allocations: 2.55 MB / 0.5117 GB, free: 12.24 MB / 398.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001271/0.03038, allocations: 93.17 kB / 0.5118 GB, free: 12.12 MB / 398.1 MB Notification: Performance of Partitioning: time 0.000899/0.03129, allocations: 0.6324 MB / 0.5124 GB, free: 11.44 MB / 398.1 MB Notification: Performance of Cleanup: time 0.00013/0.03143, allocations: 151.7 kB / 0.5125 GB, free: 11.29 MB / 398.1 MB Notification: Performance of Causalize: time 0.004729/0.03617, allocations: 5.241 MB / 0.5177 GB, free: 6.254 MB / 398.1 MB Error: Internal error NBEquation.Equation.setLHS failed because LHS could not be set for: [-IF-] (1)if $SEV_0 then [----] [SCAL] (1) sTATCOM.simpleLagLim.y = max(min(sTATCOM.feedback.y * sTATCOM.simpleLagLim.K, sTATCOM.simpleLagLim.outMax), sTATCOM.simpleLagLim.outMin) ($RES_SIM_74) [----] else [----] [SCAL] (1) sTATCOM.simpleLagLim.y = max(min(sTATCOM.simpleLagLim.state, sTATCOM.simpleLagLim.outMax), sTATCOM.simpleLagLim.outMin) ($RES_SIM_75) [----] end if; Error: Internal error NBInitialization.main failed to apply modules!