Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Fault.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/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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(PowerSystems.Examples.AC1ph_DC.Elementary.Fault,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Fault") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Fault,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Fault") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 114.8 kB / 17.75 MB, free: 5.219 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.001217/0.001217, allocations: 192.6 kB / 18.68 MB, free: 4.293 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.295/1.295, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.165/0.165, allocations: 38.05 MB / 330.6 MB, free: 8.75 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.627e-05/2.638e-05, allocations: 2.281 kB / 458.8 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Fault): time 0.007454/0.007489, allocations: 6.891 MB / 465.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002616/0.01013, allocations: 1.593 MB / 467.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002914/0.01044, allocations: 19.88 kB / 467.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005025/0.01095, allocations: 154.7 kB / 467.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009104/0.01191, allocations: 449.7 kB / 467.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005794/0.0125, allocations: 291.5 kB / 468.2 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001262/0.01377, allocations: 1.32 MB / 469.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002989/0.01408, allocations: 190.1 kB / 469.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005649/0.01465, allocations: 0.4902 MB / 470.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005259/0.01519, allocations: 438.2 kB / 470.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.993e-05/0.01529, allocations: 60 kB / 470.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001955/0.01549, allocations: 91.91 kB / 470.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0008538/0.01636, allocations: 1.172 MB / 471.9 MB, free: 9.719 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004662/0.01683, allocations: 0.7558 MB / 472.7 MB, free: 8.953 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.01696, allocations: 111.6 kB / 472.8 MB, free: 8.844 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.166e-05/0.01705, allocations: 19.94 kB / 472.8 MB, free: 8.824 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 158 (113) * Number of variables: 158 (116) Notification: Performance of Bindings: time 0.002598/0.01965, allocations: 3.112 MB / 475.9 MB, free: 5.586 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0001694/0.01983, allocations: 151.7 kB / 476 MB, free: 5.438 MB / 350.1 MB Notification: Performance of Early Inline: time 0.001279/0.02112, allocations: 1.444 MB / 477.5 MB, free: 3.965 MB / 350.1 MB Notification: Performance of simplify1: time 9.954e-05/0.02122, allocations: 99.83 kB / 477.6 MB, free: 3.867 MB / 350.1 MB Notification: Performance of Alias: time 0.001921/0.02315, allocations: 1.789 MB / 479.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of simplify2: time 8.622e-05/0.02325, allocations: 87.84 kB / 479.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of Events: time 0.0003367/0.02359, allocations: 269.7 kB / 479.7 MB, free: 1.531 MB / 350.1 MB Notification: Performance of Detect States: time 0.0006005/0.0242, allocations: 0.587 MB / 480.3 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0007356/0.02495, allocations: 0.6363 MB / 480.9 MB, free: 268 kB / 350.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 1 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: switch2.switch_1.s. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (2) {switch2.switch_1.v, switch2.switch_1.i} = if $SEV_8 then {switch2.switch_1.epsR * switch2.switch_1.s, switch2.switch_1.s} else {switch2.switch_1.s, switch2.switch_1.epsG * switch2.switch_1.s} ($RES_SIM_50)