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.001518/0.001518, allocations: 116.4 kB / 17.15 MB, free: 5.957 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.0014/0.0014, allocations: 190.7 kB / 18.08 MB, free: 5.035 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.314/1.314, allocations: 222.9 MB / 241.8 MB, free: 14.82 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05211/0.05211, allocations: 8.104 MB / 300 MB, free: 6.609 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.396e-05/2.398e-05, allocations: 2.281 kB / 415.1 MB, free: 21.78 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers): time 0.005371/0.005404, allocations: 6.466 MB / 421.6 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003117/0.008545, allocations: 1.49 MB / 423.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004482/0.009009, allocations: 16 kB / 423.1 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000667/0.009684, allocations: 302 kB / 423.4 MB, free: 13.47 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001109/0.01085, allocations: 0.5549 MB / 423.9 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002312/0.01318, allocations: 1.422 MB / 425.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001631/0.01482, allocations: 1.475 MB / 426.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004917/0.01532, allocations: 392.8 kB / 427.2 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000471/0.0158, allocations: 0.4978 MB / 427.7 MB, free: 9.109 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006308/0.01644, allocations: 0.6688 MB / 428.4 MB, free: 8.438 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.01657, allocations: 92 kB / 428.5 MB, free: 8.348 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007597/0.01734, allocations: 331.7 kB / 428.8 MB, free: 8.023 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001108/0.01846, allocations: 2.105 MB / 430.9 MB, free: 5.895 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006271/0.01909, allocations: 1.375 MB / 432.3 MB, free: 4.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001397/0.01924, allocations: 159.5 kB / 432.4 MB, free: 4.344 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001053/0.01936, allocations: 19.94 kB / 432.5 MB, free: 4.324 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 (173) * Number of variables: 203 (203) Notification: Performance of Bindings: time 0.004646/0.02401, allocations: 6.892 MB / 439.4 MB, free: 13.23 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0003105/0.02433, allocations: 355.2 kB / 439.7 MB, free: 12.89 MB / 318.1 MB Notification: Performance of Early Inline: time 0.006795/0.03113, allocations: 7.751 MB / 447.5 MB, free: 5.09 MB / 318.1 MB Notification: Performance of simplify1: time 0.000494/0.03165, allocations: 0.4956 MB / 447.9 MB, free: 4.594 MB / 318.1 MB Notification: Performance of Alias: time 0.003117/0.03478, allocations: 2.92 MB / 450.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of simplify2: time 0.0004464/0.03524, allocations: 499.5 kB / 451.4 MB, free: 1.105 MB / 318.1 MB Notification: Performance of Detect States: time 0.0009934/0.03624, allocations: 1.092 MB / 452.4 MB, free: 15.99 MB / 334.1 MB Notification: Performance of Events: time 0.0006922/0.03694, allocations: 0.6488 MB / 453.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of Partitioning: time 0.001692/0.03864, allocations: 1.714 MB / 454.8 MB, free: 13.57 MB / 334.1 MB Notification: Performance of Causalize: time 0.008107/0.04676, allocations: 7.354 MB / 462.2 MB, free: 6.133 MB / 334.1 MB Notification: Performance of After Index Reduction Inline: time 0.003951/0.05073, allocations: 4.478 MB / 466.6 MB, free: 1.613 MB / 334.1 MB Notification: Performance of Inline: time 0.008954/0.0597, allocations: 9.379 MB / 476 MB, free: 8.105 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0004872/0.06021, allocations: 296.3 kB / 476.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of Cleanup: time 0.00049/0.06071, allocations: 375.5 kB / 476.7 MB, free: 7.418 MB / 350.1 MB Notification: Performance of Causalize: time 0.01233/0.07305, allocations: 10.28 MB / 487 MB, free: 12.98 MB / 366.1 MB Error: Internal error NBEquation.Equation.setLHS failed because LHS could not be set for: [-IF-] (2)if not n.u then [----] [RECD] (2) brk2.terminalB.i = Complex(0.0, 0.0) ($RES_SIM_11) [----] else [----] [RECD] (2) Complex.'constructor'.fromReal(brk2.terminalA.i.re + brk2.terminalB.i.re, brk2.terminalA.i.im + brk2.terminalB.i.im) = Complex(0.0, 0.0) ($RES_SIM_12) [----] end if; Error: Internal error NBInitialization.main failed to apply modules!