Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.106/0.106, allocations: 12.77 MB / 31 MB, free: 6.523 MB / 26.2 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 115.5 kB / 37.02 MB, free: 1.188 MB / 26.2 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.791/1.791, allocations: 207.6 MB / 250.5 MB, free: 7.281 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001918/0.001918, allocations: 196.4 kB / 305.7 MB, free: 464 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3434/0.3434, allocations: 79.72 MB / 440.4 MB, free: 12.53 MB / 318.1 MB " [Timeout remaining time 179] 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.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.49e-05/3.49e-05, allocations: 2.281 kB / 0.5869 GB, free: 9.605 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI): time 0.01128/0.01131, allocations: 6.485 MB / 0.5933 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006607/0.01792, allocations: 1.963 MB / 0.5952 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001496/0.01941, allocations: 12 kB / 0.5952 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001143/0.02056, allocations: 238 kB / 0.5954 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003707/0.02426, allocations: 0.8642 MB / 0.5963 GB, free: 16 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00225/0.02651, allocations: 0.6392 MB / 0.5969 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003494/0.03001, allocations: 1.869 MB / 0.5987 GB, free: 13.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005474/0.03056, allocations: 194.7 kB / 0.5989 GB, free: 13.31 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001436/0.03199, allocations: 0.708 MB / 0.5996 GB, free: 12.6 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001161/0.03315, allocations: 0.8088 MB / 0.6004 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002146/0.03337, allocations: 104 kB / 0.6005 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007742/0.03414, allocations: 259.8 kB / 0.6007 GB, free: 11.43 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.003014/0.03715, allocations: 2.765 MB / 0.6034 GB, free: 8.637 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.001628/0.03878, allocations: 1.587 MB / 0.605 GB, free: 7.027 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004088/0.03919, allocations: 191.2 kB / 0.6052 GB, free: 6.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.0003671/0.03956, allocations: 43.81 kB / 0.6052 GB, free: 6.797 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: 186 (173) * Number of variables: 186 (184) Notification: Performance of Bindings: time 0.007462/0.04702, allocations: 5.266 MB / 0.6103 GB, free: 1.281 MB / 414.1 MB Notification: Performance of FunctionAlias: time 0.001084/0.0481, allocations: 0.5735 MB / 0.6109 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of Early Inline: time 0.006027/0.05413, allocations: 3.851 MB / 0.6147 GB, free: 12.81 MB / 430.1 MB Notification: Performance of Simplify 1: time 0.001008/0.05514, allocations: 0.4954 MB / 0.6151 GB, free: 12.28 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.00721/0.06235, allocations: 3.428 MB / 0.6185 GB, free: 8.418 MB / 430.1 MB Notification: Performance of Simplify 2: time 0.000817/0.06317, allocations: 439.2 kB / 0.6189 GB, free: 7.961 MB / 430.1 MB Notification: Performance of Remove Stream: time 0.0004947/0.06366, allocations: 351.3 kB / 0.6193 GB, free: 7.59 MB / 430.1 MB Notification: Performance of Detect States: time 0.001049/0.06471, allocations: 0.6771 MB / 0.6199 GB, free: 6.871 MB / 430.1 MB Notification: Performance of Events: time 0.0007858/0.0655, allocations: 451.2 kB / 0.6203 GB, free: 6.422 MB / 430.1 MB Notification: Performance of Partitioning: time 0.001744/0.06724, allocations: 1.199 MB / 0.6215 GB, free: 5.195 MB / 430.1 MB Notification: Performance of Causalize: time 0.007461/0.0747, allocations: 3.818 MB / 0.6252 GB, free: 1.316 MB / 430.1 MB Notification: Performance of After Index Reduction Inline: time 0.003031/0.07773, allocations: 1.979 MB / 0.6272 GB, free: 15.34 MB / 446.1 MB Notification: Performance of Simplify: time 0.005782/0.08352, allocations: 2.52 MB / 0.6296 GB, free: 12.64 MB / 446.1 MB Notification: Performance of Inline: time 0.007198/0.09071, allocations: 4.921 MB / 0.6344 GB, free: 7.691 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0002792/0.09099, allocations: 96.41 kB / 0.6345 GB, free: 7.566 MB / 446.1 MB Notification: Performance of Cleanup: time 0.001728/0.09272, allocations: 1.346 MB / 0.6358 GB, free: 6.199 MB / 446.1 MB Notification: Performance of Causalize: time 0.04701/0.1397, allocations: 23.85 MB / 0.6591 GB, free: 13.85 MB / 478.1 MB Error: Internal error NBEquation.Equation.getResidualExp failed for: [-IF-] (2) ($RES_SIM_86) [----] if $TEV_2 then [----] [RECD] (2) line_1_4.is = Complex(0.0, 0.0) ($RES_SIM_87) [----] else [----] [RECD] (2) Complex.'constructor'.fromReal(line_1_4.vs.re - line_1_4.vr.re, line_1_4.vs.im - line_1_4.vr.im) = Complex.'constructor'.fromReal(line_1_4.Z.re * ((line_1_4.is.re + line_1_4.vs.im * line_1_4.Y.im) - line_1_4.vs.re * line_1_4.Y.re) - line_1_4.Z.im * (line_1_4.is.im - (line_1_4.vs.re * line_1_4.Y.im + line_1_4.vs.im * line_1_4.Y.re)), line_1_4.Z.re * (line_1_4.is.im - (line_1_4.vs.re * line_1_4.Y.im + line_1_4.vs.im * line_1_4.Y.re)) + line_1_4.Z.im * ((line_1_4.is.re + line_1_4.vs.im * line_1_4.Y.im) - line_1_4.vs.re * line_1_4.Y.re)) ($RES_SIM_88) [----] end if; Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.877393285743892]