Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I|sen.V|loa.S.1.|loa.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 108.4 kB / 16.42 MB, free: 6.496 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.001067/0.001067, allocations: 188.2 kB / 17.36 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.117/1.117, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.15/2.15, allocations: 461.9 MB / 0.7354 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.716e-05/1.717e-05, allocations: 5.594 kB / 1.055 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003894/0.00392, allocations: 3.097 MB / 1.058 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002413/0.006345, allocations: 1.714 MB / 1.059 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001553/0.006511, allocations: 4 kB / 1.059 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000893/0.007411, allocations: 338.6 kB / 1.06 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004735/0.007892, allocations: 219.1 kB / 1.06 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000431/0.008341, allocations: 181.6 kB / 1.06 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004195/0.008771, allocations: 351 kB / 1.06 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002977/0.009076, allocations: 185.8 kB / 1.061 GB, free: 1.711 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002221/0.009305, allocations: 131.5 kB / 1.061 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002501/0.009563, allocations: 123.5 kB / 1.061 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.498e-05/0.009606, allocations: 16 kB / 1.061 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003295/0.009941, allocations: 211.5 kB / 1.061 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0002475/0.0102, allocations: 344.6 kB / 1.061 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 0.0001436/0.01035, allocations: 221.2 kB / 1.062 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.045e-05/0.0104, allocations: 35.88 kB / 1.062 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.592e-05/0.01044, allocations: 4 kB / 1.062 GB, free: 0.6406 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 (41) * Number of variables: 59 (40) Notification: Performance of Bindings: time 0.0009529/0.0114, allocations: 1.031 MB / 1.063 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 0.000108/0.01151, allocations: 74.44 kB / 1.063 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0007529/0.01227, allocations: 0.8115 MB / 1.063 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of simplify1: time 7.755e-05/0.01236, allocations: 55.92 kB / 1.064 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of Alias: time 0.0006896/0.01305, allocations: 0.627 MB / 1.064 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of simplify2: time 8.195e-05/0.01314, allocations: 55.91 kB / 1.064 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of Events: time 9.744e-05/0.01325, allocations: 71.88 kB / 1.064 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0002115/0.01347, allocations: 202.2 kB / 1.064 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0002645/0.01374, allocations: 263.6 kB / 1.065 GB, free: 13.2 MB / 0.8419 GB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(2) {sen.terminal_n.i[1], sen.terminal_n.i[2]}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: sen.terminal_n.i. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) sen.I = sen.terminal_n.i / ((sen.terminal_n.i * sen.terminal_n.i * (sen.terminal_n.i * sen.terminal_n.i) + 1.0000000000000002e-10) ^ 0.25 * sen.terminal_n.i) ($RES_BND_40)