Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.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.Drives.ASM,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM") translateModel(PowerSystems.Examples.AC3ph.Drives.ASM,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 109.1 kB / 17.75 MB, free: 5.352 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.001116/0.001116, allocations: 188.6 kB / 18.68 MB, free: 4.43 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.766/1.766, 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.1741/0.1741, allocations: 37.98 MB / 309.9 MB, free: 5.969 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.465e-05/2.466e-05, allocations: 2.281 kB / 432.5 MB, free: 15.72 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM): time 0.007059/0.007091, allocations: 7.413 MB / 439.9 MB, free: 8.277 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006964/0.01407, allocations: 5.197 MB / 445.1 MB, free: 3.066 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007695/0.01486, allocations: 31.81 kB / 445.1 MB, free: 3.035 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1895:3-1973:18:writable] Warning: Pure function 'Modelica.Math.Matrices.eigenValues' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgeev_eigenValues'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2829:3-2870:10:writable] Warning: Pure function 'Modelica.Math.Matrices.inv' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgetrf'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeComponents: time 0.009712/0.02458, allocations: 5.727 MB / 450.9 MB, free: 13.3 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.002421/0.02702, allocations: 0.7 MB / 451.6 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001506/0.02854, allocations: 0.4913 MB / 452 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003584/0.03213, allocations: 2.639 MB / 454.7 MB, free: 9.461 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001344/0.03349, allocations: 0.917 MB / 455.6 MB, free: 8.543 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001311/0.03481, allocations: 0.767 MB / 456.4 MB, free: 7.773 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008074/0.03563, allocations: 0.5992 MB / 457 MB, free: 7.172 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.03577, allocations: 88 kB / 457.1 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004757/0.04053, allocations: 2.635 MB / 459.7 MB, free: 4.445 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0014/0.04195, allocations: 1.582 MB / 461.3 MB, free: 2.848 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007703/0.04273, allocations: 1.046 MB / 462.3 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002701/0.04301, allocations: 147.6 kB / 462.5 MB, free: 1.645 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0003231/0.04335, allocations: 27.88 kB / 462.5 MB, free: 1.617 MB / 334.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