Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESST4B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.ESST4B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST4B") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07116/0.07116, allocations: 12.77 MB / 29.14 MB, free: 408 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 111.5 kB / 32.92 MB, free: 3.344 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.124/1.124, allocations: 207.6 MB / 244.2 MB, free: 10.44 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.001324/0.001324, allocations: 192.4 kB / 297.1 MB, free: 10.3 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3636/0.3636, allocations: 79.71 MB / 429.6 MB, free: 5.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.205e-06/8.205e-06, allocations: 5.797 kB / 0.5734 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.ESST4B): time 0.005639/0.005647, allocations: 8.983 MB / 0.5822 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00428/0.009927, allocations: 2.889 MB / 0.585 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000397/0.01032, allocations: 23.94 kB / 0.585 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005737/0.0109, allocations: 333 kB / 0.5853 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00237/0.01327, allocations: 1.291 MB / 0.5866 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001636/0.0149, allocations: 1.005 MB / 0.5876 GB, free: 9.746 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002715/0.01762, allocations: 2.968 MB / 0.5905 GB, free: 6.773 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004851/0.0181, allocations: 348.3 kB / 0.5908 GB, free: 6.398 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009247/0.01903, allocations: 1.019 MB / 0.5918 GB, free: 5.375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001355/0.02038, allocations: 1.373 MB / 0.5931 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000268/0.02065, allocations: 196 kB / 0.5933 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00062/0.02127, allocations: 443.7 kB / 0.5937 GB, free: 3.371 MB / 398.1 MB Notification: Performance of combineBinaries: time 0.002759/0.02403, allocations: 3.849 MB / 0.5975 GB, free: 15.48 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.001421/0.02545, allocations: 2.31 MB / 0.5998 GB, free: 13.14 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002723/0.02572, allocations: 294.8 kB / 0.6 GB, free: 12.85 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.0001581/0.02588, allocations: 59.75 kB / 0.6001 GB, free: 12.79 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 (275) * Number of variables: 291 (291) Notification: Performance of Bindings: time 0.006809/0.03269, allocations: 8.046 MB / 0.608 GB, free: 4.418 MB / 414.1 MB Notification: Performance of FunctionAlias: time 0.0008916/0.03358, allocations: 0.9174 MB / 0.6089 GB, free: 3.48 MB / 414.1 MB Notification: Performance of Early Inline: time 0.005407/0.03899, allocations: 5.61 MB / 0.6143 GB, free: 13.8 MB / 430.1 MB Notification: Performance of Simplify 1: time 0.0008299/0.03982, allocations: 0.7437 MB / 0.6151 GB, free: 13 MB / 430.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.006533/0.04635, allocations: 5.592 MB / 0.6205 GB, free: 6.723 MB / 430.1 MB Notification: Performance of Simplify 2: time 0.0006515/0.047, allocations: 0.6279 MB / 0.6211 GB, free: 6.055 MB / 430.1 MB Notification: Performance of Remove Stream: time 0.000473/0.04748, allocations: 0.4915 MB / 0.6216 GB, free: 5.523 MB / 430.1 MB Notification: Performance of Detect States: time 0.0009568/0.04843, allocations: 1.009 MB / 0.6226 GB, free: 4.457 MB / 430.1 MB Notification: Performance of Events: time 0.0008776/0.04931, allocations: 0.7715 MB / 0.6233 GB, free: 3.688 MB / 430.1 MB Notification: Performance of Partitioning: time 0.001881/0.05119, allocations: 1.866 MB / 0.6252 GB, free: 1.738 MB / 430.1 MB Notification: Performance of Causalize: time 0.005714/0.05691, allocations: 4.536 MB / 0.6296 GB, free: 13.08 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.003196/0.0601, allocations: 3.265 MB / 0.6328 GB, free: 9.773 MB / 446.1 MB Notification: Performance of Simplify: time 0.004946/0.06505, allocations: 3.996 MB / 0.6367 GB, free: 5.629 MB / 446.1 MB Notification: Performance of Inline: time 0.007205/0.07225, allocations: 7.608 MB / 0.6441 GB, free: 13.95 MB / 462.1 MB Notification: Performance of Partitioning: time 0.0002304/0.07248, allocations: 132.6 kB / 0.6442 GB, free: 13.79 MB / 462.1 MB Notification: Performance of Cleanup: time 0.001623/0.07411, allocations: 2.035 MB / 0.6462 GB, free: 11.74 MB / 462.1 MB Notification: Performance of Causalize: time 0.02191/0.09602, allocations: 17.22 MB / 0.6631 GB, free: 10.25 MB / 478.1 MB Error: Internal error NBEquation.Equation.getResidualExp failed for: [-IF-] (1) ($RES_SIM_165) [----] if $TEV_10 then [----] [SCAL] (1) constantLoad.S_Y.im * constantLoad.v ^ 2.0 + constantLoad.S_I.im * constantLoad.kI * constantLoad.v + constantLoad.kP * (constantLoad.S_P.im + constantLoad.d_Q) = pwLine.n.vi * constantLoad.p.ir - pwLine.n.vr * constantLoad.p.ii ($RES_SIM_166) [----] else [----] [SCAL] (1) constantLoad.S_Y.im * constantLoad.v ^ 2.0 + constantLoad.S_I.im * constantLoad.kI * constantLoad.v + constantLoad.kP * constantLoad.S_P.im = pwLine.n.vi * constantLoad.p.ir - pwLine.n.vr * constantLoad.p.ii ($RES_SIM_167) [----] end if; Error: Internal error NBInitialization.main failed to apply modules!