Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.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.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers") translateModel(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 114.5 kB / 17.14 MB, free: 5.781 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.0009861/0.0009861, allocations: 198.9 kB / 18.08 MB, free: 4.883 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.338/1.338, allocations: 222.9 MB / 241.8 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06419/0.06419, allocations: 8.102 MB / 300 MB, free: 6.625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.596e-05/2.596e-05, allocations: 2.281 kB / 415.1 MB, free: 21.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers): time 0.006394/0.006428, allocations: 8.835 MB / 423.9 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00458/0.01104, allocations: 2.343 MB / 426.3 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001452/0.01252, allocations: 24 kB / 426.3 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.01354, allocations: 413.1 kB / 426.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002114/0.01566, allocations: 0.8385 MB / 427.6 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002591/0.01831, allocations: 1.605 MB / 429.2 MB, free: 7.672 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002663/0.02099, allocations: 2.413 MB / 431.6 MB, free: 5.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007709/0.02177, allocations: 0.665 MB / 432.2 MB, free: 4.562 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009513/0.02273, allocations: 0.8014 MB / 433 MB, free: 3.758 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008656/0.0236, allocations: 1.015 MB / 434.1 MB, free: 2.738 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001708/0.02378, allocations: 184 kB / 434.2 MB, free: 2.559 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007844/0.02457, allocations: 427.7 kB / 434.6 MB, free: 2.141 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001681/0.02627, allocations: 3.172 MB / 437.8 MB, free: 14.93 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.001416/0.02769, allocations: 2.041 MB / 439.9 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004983/0.0282, allocations: 259.2 kB / 440.1 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0002688/0.02847, allocations: 28 kB / 440.1 MB, free: 12.58 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 (256) * Number of variables: 300 (300) Notification: Performance of Bindings: time 0.01117/0.03966, allocations: 10.98 MB / 451.1 MB, free: 1.32 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0006964/0.04037, allocations: 0.5849 MB / 451.7 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0147/0.05508, allocations: 12.7 MB / 464.4 MB, free: 3.934 MB / 334.1 MB Notification: Performance of simplify1: time 0.001654/0.05679, allocations: 0.7805 MB / 465.2 MB, free: 3.152 MB / 334.1 MB Notification: Performance of Alias: time 0.007306/0.06411, allocations: 5.017 MB / 470.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of simplify2: time 0.001207/0.06535, allocations: 0.7727 MB / 471 MB, free: 13.22 MB / 350.1 MB Notification: Performance of Events: time 0.001529/0.06689, allocations: 1.548 MB / 472.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of Detect States: time 0.001758/0.06866, allocations: 1.973 MB / 474.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of Partitioning: time 0.003745/0.07242, allocations: 2.933 MB / 477.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of Causalize: time 0.01501/0.08744, allocations: 12.2 MB / 489.6 MB, free: 10.23 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 0.007215/0.09469, allocations: 7.667 MB / 497.3 MB, free: 2.508 MB / 366.1 MB Notification: Performance of Inline: time 0.01585/0.1106, allocations: 15.37 MB / 0.5006 GB, free: 3.027 MB / 382.1 MB Notification: Performance of Partitioning: time 0.0008263/0.1114, allocations: 489 kB / 0.5011 GB, free: 2.527 MB / 382.1 MB Notification: Performance of Cleanup: time 0.001053/0.1125, allocations: 0.6087 MB / 0.5017 GB, free: 1.918 MB / 382.1 MB Notification: Performance of Causalize: time 0.2669/0.3794, allocations: 16.92 MB / 0.5182 GB, free: 64.21 MB / 382.1 MB Error: Internal error NBEquation.IfEquationBody.getResidualExp failed for: if cmd.y then [RECD] (2) brk1.terminalB.i = Complex(0.0, 0.0) ($RES_SIM_10) [RECD] (2) brk1.terminalA.i = Complex(0.0, 0.0) ($RES_SIM_11) 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_12) [RECD] (2) brk1.terminalB.v = brk1.terminalA.v ($RES_SIM_13) end if; Error: Internal error NBInitialization.main failed to apply modules!