Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.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.AC3ph.Inverters.InverterToLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 110.1 kB / 17.7 MB, free: 5.387 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.00124/0.00124, allocations: 184 kB / 18.63 MB, free: 4.461 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.474/1.474, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.172/0.172, allocations: 37.98 MB / 309.9 MB, free: 5.973 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.863e-05/2.873e-05, allocations: 2.281 kB / 376.7 MB, free: 2.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad): time 0.2319/0.2319, allocations: 6.477 MB / 383.2 MB, free: 58.85 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00509/0.2371, allocations: 2.482 MB / 385.7 MB, free: 58.01 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006235/0.2378, allocations: 24.12 kB / 385.7 MB, free: 58.01 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001511/0.2393, allocations: 431 kB / 386.1 MB, free: 57.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001819/0.2412, allocations: 0.5941 MB / 386.7 MB, free: 57.83 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001849/0.243, allocations: 493.7 kB / 387.2 MB, free: 57.79 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003066/0.2461, allocations: 1.53 MB / 388.8 MB, free: 57.7 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009543/0.2471, allocations: 487 kB / 389.2 MB, free: 57.67 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001578/0.2487, allocations: 0.6749 MB / 389.9 MB, free: 57.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008701/0.2496, allocations: 0.5386 MB / 390.4 MB, free: 57.21 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00013/0.2497, allocations: 77.22 kB / 390.5 MB, free: 57.21 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001321/0.251, allocations: 0.5589 MB / 391.1 MB, free: 57.08 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.001403/0.2524, allocations: 1.244 MB / 392.3 MB, free: 56.33 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.000639/0.2531, allocations: 0.7476 MB / 393.1 MB, free: 55.84 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002339/0.2533, allocations: 104.7 kB / 393.2 MB, free: 55.79 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001605/0.2535, allocations: 23.31 kB / 393.2 MB, free: 55.79 MB / 318.1 MB Error: Internal error NBackendDAE.lowerWhenBranchStatement for if noEvent(time < (pre(inverter.modulator.t0[k]) + 2.495e-4)) then inverter.modulator.gates[{({1, 3, 5})[k], ({2, 4, 6})[k]}] = pre(inverter.modulator.gates[{({2, 4, 6})[k], ({1, 3, 5})[k]}]); inverter.modulator.sigdel_t[k] = -pre(inverter.modulator.sigdel_t[k]); inverter.modulator.t0[k] = pre(inverter.modulator.t0[k]) + 5e-4; elseif true then inverter.modulator.gates[{({1, 3, 5})[k], ({2, 4, 6})[k]}] = pre(inverter.modulator.gates[{({1, 3, 5})[k], ({2, 4, 6})[k]}]); inverter.modulator.sigdel_t[k] = pre(inverter.modulator.sigdel_t[k]); inverter.modulator.t0[k] = pre(inverter.modulator.t0[k]) + 0.001; end if