Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 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(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 109.5 kB / 17.75 MB, free: 5.348 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.00103/0.00103, allocations: 184.2 kB / 18.68 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.079/1.079, allocations: 205.1 MB / 224.6 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1499/0.1499, allocations: 37.98 MB / 309.9 MB, free: 5.969 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.27e-05/1.271e-05, allocations: 2.281 kB / 432.5 MB, free: 15.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter): time 0.004408/0.004428, allocations: 6.493 MB / 439 MB, free: 9.316 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.006082, allocations: 1.357 MB / 440.3 MB, free: 7.953 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002918/0.006384, allocations: 27.81 kB / 440.4 MB, free: 7.926 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002541/0.006645, allocations: 126.9 kB / 440.5 MB, free: 7.801 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006854/0.007344, allocations: 425.9 kB / 440.9 MB, free: 7.383 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003364/0.00769, allocations: 231.6 kB / 441.1 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007812/0.00848, allocations: 1.223 MB / 442.4 MB, free: 5.93 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002377/0.008725, allocations: 257.6 kB / 442.6 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004565/0.009188, allocations: 490.1 kB / 443.1 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004017/0.009599, allocations: 402.3 kB / 443.5 MB, free: 4.801 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.413e-05/0.009671, allocations: 48 kB / 443.5 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.493e-05/0.009772, allocations: 52 kB / 443.6 MB, free: 4.703 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0004437/0.01022, allocations: 1.044 MB / 444.6 MB, free: 3.648 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002097/0.01044, allocations: 0.6866 MB / 445.3 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.805e-05/0.01052, allocations: 99.69 kB / 445.4 MB, free: 2.855 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.272e-05/0.01057, allocations: 23.88 kB / 445.4 MB, free: 2.832 MB / 318.1 MB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if noEvent(time < (pre(dc_ac.modulator.t0) + 2.495e-4)) then dc_ac.modulator.gates[{1, 2}] = pre(dc_ac.modulator.gates[{2, 1}]); dc_ac.modulator.gates[{3, 4}] = pre(dc_ac.modulator.gates[{4, 3}]); dc_ac.modulator.sigdel_t = -pre(dc_ac.modulator.sigdel_t); dc_ac.modulator.t0 = pre(dc_ac.modulator.t0) + 5e-4; elseif true then dc_ac.modulator.gates = pre(dc_ac.modulator.gates); dc_ac.modulator.sigdel_t = pre(dc_ac.modulator.sigdel_t); dc_ac.modulator.t0 = pre(dc_ac.modulator.t0) + 0.001; end if