Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001158/0.001158, allocations: 108.4 kB / 16.41 MB, free: 5.926 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.001111/0.001111, allocations: 190.2 kB / 17.35 MB, free: 5.555 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.163/1.163, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.126/2.126, allocations: 437 MB / 0.7111 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.625e-05/1.626e-05, allocations: 4.609 kB / 1.019 GB, free: 9.512 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.003993/0.004018, allocations: 3.073 MB / 1.022 GB, free: 6.426 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001912/0.005943, allocations: 1.336 MB / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.006113, allocations: 11.94 kB / 1.023 GB, free: 5.07 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0009077/0.007027, allocations: 327.2 kB / 1.024 GB, free: 4.75 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003529/0.007388, allocations: 151.2 kB / 1.024 GB, free: 4.602 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003324/0.007742, allocations: 136.4 kB / 1.024 GB, free: 4.469 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004013/0.008161, allocations: 338.9 kB / 1.024 GB, free: 4.137 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003431/0.008512, allocations: 178.4 kB / 1.024 GB, free: 3.957 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001643/0.008686, allocations: 127.5 kB / 1.025 GB, free: 3.832 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002271/0.008921, allocations: 115.5 kB / 1.025 GB, free: 3.719 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.973e-05/0.00896, allocations: 20 kB / 1.025 GB, free: 3.699 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002389/0.009204, allocations: 123.7 kB / 1.025 GB, free: 3.578 MB / 0.795 GB Notification: Performance of combineBinaries: time 0.0002358/0.009448, allocations: 313 kB / 1.025 GB, free: 3.27 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 0.0001246/0.009579, allocations: 197.4 kB / 1.025 GB, free: 3.074 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.341e-05/0.00963, allocations: 39.88 kB / 1.025 GB, free: 3.035 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.659e-05/0.009671, allocations: 4 kB / 1.025 GB, free: 3.031 MB / 0.795 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.0008835/0.01056, allocations: 0.9512 MB / 1.026 GB, free: 1.977 MB / 0.795 GB Notification: Performance of FunctionAlias: time 8.942e-05/0.01065, allocations: 55.83 kB / 1.026 GB, free: 1.922 MB / 0.795 GB Notification: Performance of Early Inline: time 0.0004669/0.01113, allocations: 0.4993 MB / 1.027 GB, free: 1.395 MB / 0.795 GB Notification: Performance of simplify1: time 4.297e-05/0.01118, allocations: 39.92 kB / 1.027 GB, free: 1.355 MB / 0.795 GB Notification: Performance of Alias: time 0.0007415/0.01192, allocations: 0.633 MB / 1.028 GB, free: 0.6094 MB / 0.795 GB Notification: Performance of simplify2: time 4.742e-05/0.01199, allocations: 35.94 kB / 1.028 GB, free: 0.5742 MB / 0.795 GB Notification: Performance of Detect States: time 0.0001188/0.01211, allocations: 120 kB / 1.028 GB, free: 452 kB / 0.795 GB Notification: Performance of Events: time 0.0001043/0.01222, allocations: 64.89 kB / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of Partitioning: time 0.000175/0.01241, allocations: 180.8 kB / 1.028 GB, free: 184 kB / 0.795 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)