Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test") translateModel(OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 105.2 kB / 17.29 MB, free: 5.059 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.219/1.219, allocations: 225.6 MB / 243.7 MB, free: 13.86 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 197 kB / 296.7 MB, free: 11.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3815/0.3815, allocations: 79.71 MB / 429.4 MB, free: 6.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.557e-05/1.557e-05, allocations: 8.859 kB / 0.5724 GB, free: 9.934 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Controls/CGMES/TG/GovHydroIEEE0.mo:3:3-3:37:writable] Warning: Components are deprecated in class. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Controls/CGMES/TG/GovHydroIEEE0.mo:4:3-4:60:writable] Warning: Components are deprecated in class. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Controls/CGMES/TG/GovHydroIEEE0.mo:5:3-5:58:writable] Warning: Components are deprecated in class. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Controls/CGMES/TG/GovHydroIEEE0.mo:6:3-6:60:writable] Warning: Components are deprecated in class. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Controls/CGMES/TG/GovHydroIEEE0.mo:7:3-7:53:writable] Warning: Components are deprecated in class. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Controls/CGMES/TG/GovHydroIEEE0.mo:8:3-8:50:writable] Warning: Components are deprecated in class. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Controls/CGMES/TG/GovHydroIEEE0.mo:9:3-9:50:writable] Warning: Components are deprecated in class. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Controls/CGMES/TG/GovHydroIEEE0.mo:10:3-16:38:writable] Warning: Components are deprecated in class. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Controls/CGMES/TG/GovHydroIEEE0.mo:17:3-18:38:writable] Warning: Components are deprecated in class. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Controls/CGMES/TG/GovHydroIEEE0.mo:19:3-21:38:writable] Warning: Components are deprecated in class. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Controls/CGMES/TG/GovHydroIEEE0.mo:22:3-27:38:writable] Warning: Components are deprecated in class. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Controls/CGMES/TG/GovHydroIEEE0.mo:28:3-30:38:writable] Warning: Components are deprecated in class. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Controls/CGMES/TG/GovHydroIEEE0.mo:31:3-37:38:writable] Warning: Components are deprecated in class. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Controls/CGMES/TG/GovHydroIEEE0.mo:38:3-44:38:writable] Warning: Components are deprecated in class. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Controls/CGMES/TG/GovHydroIEEE0.mo:45:3-51:38:writable] Warning: Components are deprecated in class. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Controls/CGMES/TG/GovHydroIEEE0.mo:53:3-53:105:writable] Warning: Equation sections are deprecated in class. Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.CGMES.TG.GovHydroIEEE0_Test): time 0.005135/0.005151, allocations: 8.019 MB / 0.5803 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003954/0.009105, allocations: 2.649 MB / 0.5829 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004987/0.009604, allocations: 15.94 kB / 0.5829 GB, free: 15.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007309/0.01033, allocations: 341.3 kB / 0.5832 GB, free: 14.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002385/0.01272, allocations: 1.276 MB / 0.5844 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.01401, allocations: 0.7507 MB / 0.5852 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002596/0.01661, allocations: 2.931 MB / 0.588 GB, free: 9.906 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003803/0.01699, allocations: 229.6 kB / 0.5883 GB, free: 9.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/0.01802, allocations: 1.02 MB / 0.5893 GB, free: 8.637 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001296/0.01932, allocations: 1.284 MB / 0.5905 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002153/0.01953, allocations: 160 kB / 0.5907 GB, free: 7.191 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005787/0.02011, allocations: 399.8 kB / 0.591 GB, free: 6.801 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.0024/0.02251, allocations: 3.401 MB / 0.5944 GB, free: 3.363 MB / 398.1 MB Notification: Performance of replaceArrayConstructors: time 0.00121/0.02372, allocations: 2.033 MB / 0.5963 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002363/0.02396, allocations: 243.1 kB / 0.5966 GB, free: 1.062 MB / 398.1 MB Notification: Performance of FrontEnd: time 0.0001373/0.0241, allocations: 43.88 kB / 0.5966 GB, free: 1.02 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 (214) * Number of variables: 228 (228) Notification: Performance of Bindings: time 0.005721/0.02982, allocations: 6.971 MB / 0.6034 GB, free: 9.793 MB / 414.1 MB Notification: Performance of FunctionAlias: time 0.0006973/0.03051, allocations: 0.7095 MB / 0.6041 GB, free: 9.082 MB / 414.1 MB Notification: Performance of Early Inline: time 0.004419/0.03493, allocations: 4.764 MB / 0.6088 GB, free: 4.273 MB / 414.1 MB Notification: Performance of Simplify 1: time 0.0006806/0.03561, allocations: 0.6358 MB / 0.6094 GB, free: 3.598 MB / 414.1 MB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of Alias: time 0.004804/0.04042, allocations: 4.209 MB / 0.6135 GB, free: 14.89 MB / 430.1 MB Notification: Performance of Simplify 2: time 0.0005665/0.04098, allocations: 0.5656 MB / 0.6141 GB, free: 14.29 MB / 430.1 MB Notification: Performance of Remove Stream: time 0.0004023/0.04139, allocations: 455.2 kB / 0.6145 GB, free: 13.8 MB / 430.1 MB Notification: Performance of Detect States: time 0.0008278/0.04221, allocations: 0.8873 MB / 0.6154 GB, free: 12.86 MB / 430.1 MB Notification: Performance of Events: time 0.0006338/0.04285, allocations: 0.6002 MB / 0.6159 GB, free: 12.26 MB / 430.1 MB Notification: Performance of Partitioning: time 0.001532/0.04438, allocations: 1.604 MB / 0.6175 GB, free: 10.62 MB / 430.1 MB Notification: Performance of Causalize: time 0.005716/0.05009, allocations: 4.935 MB / 0.6223 GB, free: 5.613 MB / 430.1 MB Notification: Performance of After Index Reduction Inline: time 0.00245/0.05254, allocations: 2.693 MB / 0.625 GB, free: 2.918 MB / 430.1 MB Notification: Performance of Simplify: time 0.004569/0.05711, allocations: 3.811 MB / 0.6287 GB, free: 14.95 MB / 446.1 MB Notification: Performance of Inline: time 0.006097/0.06321, allocations: 6.748 MB / 0.6353 GB, free: 8.184 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0002048/0.06342, allocations: 115 kB / 0.6354 GB, free: 8.039 MB / 446.1 MB Notification: Performance of Cleanup: time 0.001436/0.06485, allocations: 1.839 MB / 0.6372 GB, free: 6.188 MB / 446.1 MB Notification: Performance of Causalize: time 0.03846/0.1033, allocations: 31.65 MB / 0.6681 GB, free: 6.117 MB / 478.1 MB Error: Internal error NBEquation.Equation.getResidualExp failed for: [-IF-] (1) ($RES_SIM_114) [----] if $TEV_11 then [----] [SCAL] (1) constantLoad.S_Y.re * constantLoad.v ^ 2.0 + constantLoad.S_I.re * constantLoad.kI * constantLoad.v + constantLoad.kP * (constantLoad.S_P.re + constantLoad.d_P) = pwLine.n.vr * constantLoad.p.ir + pwLine.n.vi * constantLoad.p.ii ($RES_SIM_115) [----] else [----] [SCAL] (1) constantLoad.S_Y.re * constantLoad.v ^ 2.0 + constantLoad.S_I.re * constantLoad.kI * constantLoad.v + constantLoad.kP * constantLoad.S_P.re = pwLine.n.vr * constantLoad.p.ir + pwLine.n.vi * constantLoad.p.ii ($RES_SIM_116) [----] end if; Error: Internal error NBInitialization.main failed to apply modules!