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.001195/0.001195, allocations: 108 kB / 16.42 MB, free: 6.527 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.0014/0.0014, allocations: 189.5 kB / 17.36 MB, free: 5.723 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002182/0.002182, allocations: 289.7 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.92/0.92, allocations: 169.3 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.698e-05/2.7e-05, allocations: 2.281 kB / 0.682 GB, free: 7.117 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Sources.Examples.VoltageSource): time 0.005152/0.005188, allocations: 3.204 MB / 0.6851 GB, free: 3.895 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002396/0.0076, allocations: 1.359 MB / 0.6865 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002188/0.007831, allocations: 7.938 kB / 0.6865 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001117/0.008957, allocations: 342.7 kB / 0.6868 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004546/0.009421, allocations: 147.2 kB / 0.6869 GB, free: 2.039 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004326/0.009891, allocations: 150.5 kB / 0.6871 GB, free: 1.895 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005349/0.01044, allocations: 370.9 kB / 0.6874 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004455/0.01089, allocations: 205.2 kB / 0.6876 GB, free: 1.332 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002589/0.01116, allocations: 139.4 kB / 0.6878 GB, free: 1.195 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000296/0.01147, allocations: 123.5 kB / 0.6879 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.542e-05/0.01152, allocations: 16 kB / 0.6879 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002906/0.01182, allocations: 139.7 kB / 0.688 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0002836/0.01211, allocations: 352.3 kB / 0.6884 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001581/0.01228, allocations: 221.1 kB / 0.6886 GB, free: 364 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.963e-05/0.01234, allocations: 31.88 kB / 0.6886 GB, free: 332 kB / 494.1 MB Notification: Performance of FrontEnd: time 5.497e-05/0.0124, allocations: 8 kB / 0.6886 GB, free: 324 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.3686/0.381, allocations: 1.033 MB / 0.6896 GB, free: 13.15 MB / 494.1 MB Notification: Performance of FunctionAlias: time 0.0001916/0.3812, allocations: 60.66 kB / 0.6897 GB, free: 13.14 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0007914/0.382, allocations: 0.5691 MB / 0.6902 GB, free: 13.08 MB / 494.1 MB Notification: Performance of simplify1: time 7.986e-05/0.3821, allocations: 44.14 kB / 0.6903 GB, free: 13.08 MB / 494.1 MB Notification: Performance of Alias: time 0.001183/0.3833, allocations: 0.7087 MB / 0.691 GB, free: 12.78 MB / 494.1 MB Notification: Performance of simplify2: time 5.138e-05/0.3833, allocations: 30.72 kB / 0.691 GB, free: 12.78 MB / 494.1 MB Notification: Performance of Detect States: time 0.0001917/0.3835, allocations: 131.8 kB / 0.6911 GB, free: 12.74 MB / 494.1 MB Notification: Performance of Events: time 0.0001663/0.3837, allocations: 72.06 kB / 0.6912 GB, free: 12.72 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0002918/0.384, allocations: 193.3 kB / 0.6914 GB, free: 12.67 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)