Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.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/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/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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) 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(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers") translateModel(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 112.2 kB / 17.14 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 194.5 kB / 18.07 MB, free: 5.016 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.318/1.318, allocations: 222.9 MB / 241.8 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05443/0.05443, allocations: 8.111 MB / 300 MB, free: 6.633 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.457e-05/2.457e-05, allocations: 9.594 kB / 415.1 MB, free: 21.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers): time 0.004993/0.005026, allocations: 6.477 MB / 421.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002727/0.007768, allocations: 1.483 MB / 423.1 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003182/0.0081, allocations: 16 kB / 423.1 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005748/0.008683, allocations: 305.9 kB / 423.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009705/0.009665, allocations: 0.5433 MB / 423.9 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002179/0.01191, allocations: 1.427 MB / 425.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001136/0.01305, allocations: 1.475 MB / 426.8 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004263/0.01349, allocations: 388.8 kB / 427.2 MB, free: 9.605 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000326/0.01382, allocations: 0.494 MB / 427.7 MB, free: 9.109 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005258/0.01436, allocations: 0.6688 MB / 428.4 MB, free: 8.438 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.01447, allocations: 96 kB / 428.5 MB, free: 8.344 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004834/0.01496, allocations: 331.8 kB / 428.8 MB, free: 8.02 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.000924/0.01589, allocations: 2.113 MB / 430.9 MB, free: 5.883 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005131/0.01641, allocations: 1.371 MB / 432.3 MB, free: 4.492 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.01655, allocations: 159.5 kB / 432.4 MB, free: 4.336 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.003e-05/0.01664, allocations: 23.94 kB / 432.5 MB, free: 4.312 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 (171) * Number of variables: 203 (203) Notification: Performance of Bindings: time 0.004555/0.0212, allocations: 6.881 MB / 439.3 MB, free: 13.23 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0002955/0.0215, allocations: 351.3 kB / 439.7 MB, free: 12.89 MB / 318.1 MB Notification: Performance of Early Inline: time 0.007386/0.02889, allocations: 7.735 MB / 447.4 MB, free: 5.105 MB / 318.1 MB Notification: Performance of simplify1: time 0.0005094/0.02943, allocations: 0.4917 MB / 447.9 MB, free: 4.613 MB / 318.1 MB Notification: Performance of Alias: time 0.003147/0.03259, allocations: 2.92 MB / 450.8 MB, free: 1.613 MB / 318.1 MB Notification: Performance of simplify2: time 0.0004609/0.03306, allocations: 499.5 kB / 451.3 MB, free: 1.125 MB / 318.1 MB Notification: Performance of Events: time 0.0005969/0.03367, allocations: 0.6643 MB / 452 MB, free: 468 kB / 318.1 MB Notification: Performance of Detect States: time 0.0009112/0.03459, allocations: 1.128 MB / 453.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of Partitioning: time 0.001754/0.03635, allocations: 1.706 MB / 454.8 MB, free: 13.55 MB / 334.1 MB Notification: Performance of Causalize: time 0.009038/0.0454, allocations: 7.334 MB / 462.2 MB, free: 6.133 MB / 334.1 MB Notification: Performance of After Index Reduction Inline: time 0.004308/0.04975, allocations: 4.478 MB / 466.6 MB, free: 1.613 MB / 334.1 MB Notification: Performance of Inline: time 0.008779/0.05855, allocations: 9.175 MB / 475.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0004196/0.05902, allocations: 288.4 kB / 476.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of Cleanup: time 0.0005362/0.05956, allocations: 371.5 kB / 476.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of Causalize: time 0.0132/0.07277, allocations: 10.27 MB / 486.7 MB, free: 13.2 MB / 366.1 MB Error: Internal error NBEquation.IfEquationBody.getResidualExp failed for: if n.u then [RECD] (2) brk1.terminalB.i = Complex(0.0, 0.0) ($RES_SIM_13) [RECD] (2) brk1.terminalA.i = Complex(0.0, 0.0) ($RES_SIM_14) else [RECD] (2) Complex.'constructor'.fromReal(brk1.terminalA.i.re + brk1.terminalB.i.re, brk1.terminalA.i.im + brk1.terminalB.i.im) = Complex(0.0, 0.0) ($RES_SIM_15) [RECD] (2) brk1.terminalB.v = brk1.terminalA.v ($RES_SIM_16) end if; Error: Internal error NBInitialization.main failed to apply modules!