Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance.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.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance") translateModel(BuildingSystems.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 106.9 kB / 16.42 MB, free: 6.508 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.001061/0.001061, allocations: 187.2 kB / 17.35 MB, free: 5.754 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.14/1.14, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001871/0.001872, allocations: 293.4 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8192/0.8192, allocations: 169.2 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.037e-05/2.037e-05, allocations: 6.219 kB / 0.682 GB, free: 7.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.DC.Lines.Examples.Resistance): time 0.003813/0.003841, allocations: 3.071 MB / 0.685 GB, free: 3.965 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.005532, allocations: 1.328 MB / 0.6863 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.637e-05/0.005629, allocations: 4 kB / 0.6863 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00085/0.006484, allocations: 337.6 kB / 0.6866 GB, free: 2.297 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002543/0.006755, allocations: 143.3 kB / 0.6868 GB, free: 2.156 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.00703, allocations: 135.6 kB / 0.6869 GB, free: 2.023 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003332/0.007371, allocations: 342.9 kB / 0.6872 GB, free: 1.688 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003205/0.007699, allocations: 178.4 kB / 0.6874 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.007834, allocations: 119.6 kB / 0.6875 GB, free: 1.395 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001985/0.008039, allocations: 107.5 kB / 0.6876 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.008072, allocations: 16 kB / 0.6876 GB, free: 1.273 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001853/0.008265, allocations: 143.5 kB / 0.6878 GB, free: 1.133 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0002148/0.008487, allocations: 312.9 kB / 0.6881 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001153/0.008608, allocations: 197.5 kB / 0.6883 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.459e-05/0.008647, allocations: 31.88 kB / 0.6883 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.799e-05/0.00868, allocations: 11.94 kB / 0.6883 GB, free: 0.5859 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 (37) * Number of variables: 50 (34) Notification: Performance of Bindings: time 0.2167/0.2254, allocations: 0.9393 MB / 0.6892 GB, free: 13.31 MB / 494.1 MB Notification: Performance of FunctionAlias: time 7.516e-05/0.2255, allocations: 47.06 kB / 0.6893 GB, free: 13.31 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0004513/0.226, allocations: 0.513 MB / 0.6898 GB, free: 13.25 MB / 494.1 MB Notification: Performance of simplify1: time 4.175e-05/0.226, allocations: 35.06 kB / 0.6898 GB, free: 13.25 MB / 494.1 MB Notification: Performance of Alias: time 0.0006535/0.2267, allocations: 0.6358 MB / 0.6904 GB, free: 12.99 MB / 494.1 MB Notification: Performance of simplify2: time 3.22e-05/0.2267, allocations: 28.61 kB / 0.6904 GB, free: 12.99 MB / 494.1 MB Notification: Performance of Events: time 9.183e-05/0.2268, allocations: 62.08 kB / 0.6905 GB, free: 12.98 MB / 494.1 MB Notification: Performance of Detect States: time 0.000109/0.2269, allocations: 135.9 kB / 0.6906 GB, free: 12.94 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0001577/0.2271, allocations: 174.1 kB / 0.6908 GB, free: 12.89 MB / 494.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(2) {short_circuit.i[1], short_circuit.i[2]}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: short_circuit.i. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) short_circuit.LossPower = short_circuit.v * short_circuit.i ($RES_SIM_10)