Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource") translateModel(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 108.8 kB / 16.42 MB, free: 6.461 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.001076/0.001076, allocations: 189.5 kB / 17.36 MB, free: 5.73 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.133/1.133, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001875/0.001875, allocations: 288.6 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8124/0.8124, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.454e-05/1.454e-05, allocations: 4.672 kB / 0.682 GB, free: 7.078 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource): time 0.003738/0.003761, allocations: 3.204 MB / 0.6851 GB, free: 3.855 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.005516, allocations: 1.375 MB / 0.6865 GB, free: 2.473 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.005629, allocations: 7.938 kB / 0.6865 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008447/0.00648, allocations: 322.7 kB / 0.6868 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002677/0.006755, allocations: 151.2 kB / 0.6869 GB, free: 2 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.007046, allocations: 147.5 kB / 0.6871 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003575/0.007412, allocations: 366.9 kB / 0.6874 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003404/0.007761, allocations: 201.3 kB / 0.6876 GB, free: 1.301 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.007922, allocations: 147.4 kB / 0.6878 GB, free: 1.156 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.008129, allocations: 111.5 kB / 0.6879 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.008162, allocations: 16 kB / 0.6879 GB, free: 1.031 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.008346, allocations: 139.7 kB / 0.688 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0002446/0.0086, allocations: 360.3 kB / 0.6884 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001198/0.008726, allocations: 225.1 kB / 0.6886 GB, free: 324 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.689e-05/0.008768, allocations: 35.88 kB / 0.6886 GB, free: 288 kB / 494.1 MB Notification: Performance of FrontEnd: time 2.662e-05/0.0088, allocations: 4 kB / 0.6886 GB, free: 284 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 (40) * Number of variables: 53 (37) Notification: Performance of Bindings: time 0.22/0.2288, allocations: 1.038 MB / 0.6896 GB, free: 13.08 MB / 494.1 MB Notification: Performance of FunctionAlias: time 0.0001604/0.229, allocations: 61.61 kB / 0.6897 GB, free: 13.07 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0007524/0.2297, allocations: 0.5662 MB / 0.6902 GB, free: 13.01 MB / 494.1 MB Notification: Performance of simplify1: time 8.357e-05/0.2298, allocations: 37.94 kB / 0.6903 GB, free: 13.01 MB / 494.1 MB Notification: Performance of Alias: time 0.0009901/0.2308, allocations: 0.7106 MB / 0.691 GB, free: 12.71 MB / 494.1 MB Notification: Performance of simplify2: time 7.904e-05/0.2309, allocations: 35.44 kB / 0.691 GB, free: 12.71 MB / 494.1 MB Notification: Performance of Events: time 0.0001514/0.2311, allocations: 80.47 kB / 0.6911 GB, free: 12.69 MB / 494.1 MB Notification: Performance of Detect States: time 0.0001922/0.2313, allocations: 130.9 kB / 0.6912 GB, free: 12.66 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0002897/0.2316, allocations: 193.5 kB / 0.6914 GB, free: 12.6 MB / 494.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(2) {res.i[1], res.i[2]}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: res.i. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) res.LossPower = res.v * res.i ($RES_SIM_21)