Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I",fileNamePrefix="Buildings_9_Buildings.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.001752/0.001752, allocations: 106.2 kB / 16.42 MB, free: 6.477 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.001729/0.001729, allocations: 190 kB / 17.36 MB, free: 5.707 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.099/1.099, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.838/1.838, allocations: 390.2 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008e-05/1.01e-05, allocations: 2.281 kB / 0.9514 GB, free: 7.766 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.003487/0.003505, allocations: 3.081 MB / 0.9544 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001592/0.005108, allocations: 1.332 MB / 0.9557 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.944e-05/0.005197, allocations: 4 kB / 0.9557 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007903/0.005993, allocations: 330.7 kB / 0.9561 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002507/0.006252, allocations: 155.3 kB / 0.9562 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.006508, allocations: 131.6 kB / 0.9563 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003227/0.006839, allocations: 346.9 kB / 0.9567 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002966/0.007143, allocations: 182.4 kB / 0.9568 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.007261, allocations: 119.6 kB / 0.957 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001865/0.007453, allocations: 111.5 kB / 0.9571 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.007483, allocations: 16 kB / 0.9571 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.007648, allocations: 123.7 kB / 0.9572 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.00022/0.007875, allocations: 324.8 kB / 0.9575 GB, free: 1.516 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 9.894e-05/0.00798, allocations: 193.5 kB / 0.9577 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.772e-05/0.008022, allocations: 31.94 kB / 0.9577 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.168e-05/0.008048, allocations: 7.938 kB / 0.9577 GB, free: 1.285 MB / 0.7325 GB 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.0007801/0.008832, allocations: 0.9568 MB / 0.9587 GB, free: 228 kB / 0.7325 GB Notification: Performance of FunctionAlias: time 5.737e-05/0.008895, allocations: 39.95 kB / 0.9587 GB, free: 188 kB / 0.7325 GB Notification: Performance of Early Inline: time 0.0004485/0.00935, allocations: 0.5149 MB / 0.9592 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of simplify1: time 3.342e-05/0.009391, allocations: 39.94 kB / 0.9592 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of Alias: time 0.0006399/0.01004, allocations: 0.6291 MB / 0.9599 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of simplify2: time 2.765e-05/0.01007, allocations: 31.95 kB / 0.9599 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of Detect States: time 0.0001001/0.01018, allocations: 114 kB / 0.96 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of Events: time 8.216e-05/0.01027, allocations: 60.95 kB / 0.96 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of Partitioning: time 0.0001654/0.01044, allocations: 184.2 kB / 0.9602 GB, free: 14.44 MB / 0.7481 GB 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)