Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_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.001117/0.001117, allocations: 112.3 kB / 16.43 MB, free: 6.523 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.001065/0.001065, allocations: 185.5 kB / 17.35 MB, free: 5.746 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.146/1.146, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.201/2.201, allocations: 469.8 MB / 0.7432 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.281e-05/1.282e-05, allocations: 2.281 kB / 1.066 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.003571/0.003592, allocations: 3.084 MB / 1.069 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002193/0.005796, allocations: 1.718 MB / 1.07 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.002e-05/0.005887, allocations: 4 kB / 1.07 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0008218/0.006714, allocations: 346.6 kB / 1.071 GB, free: 8.438 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003463/0.007069, allocations: 207.1 kB / 1.071 GB, free: 8.234 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.00742, allocations: 191.5 kB / 1.071 GB, free: 8.047 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003323/0.007762, allocations: 347 kB / 1.072 GB, free: 7.707 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002252/0.007995, allocations: 110 kB / 1.072 GB, free: 7.602 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.008146, allocations: 135.5 kB / 1.072 GB, free: 7.469 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.008349, allocations: 123.5 kB / 1.072 GB, free: 7.348 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.676e-05/0.008384, allocations: 16 kB / 1.072 GB, free: 7.332 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002715/0.008661, allocations: 215.5 kB / 1.072 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0002386/0.008909, allocations: 356.4 kB / 1.072 GB, free: 6.77 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 0.0001228/0.009038, allocations: 209.3 kB / 1.073 GB, free: 6.562 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.526e-05/0.009079, allocations: 35.88 kB / 1.073 GB, free: 6.527 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.056e-05/0.009114, allocations: 7.938 kB / 1.073 GB, free: 6.52 MB / 0.8419 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.0007791/0.009897, allocations: 0.847 MB / 1.074 GB, free: 5.566 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 8.771e-05/0.009993, allocations: 74.48 kB / 1.074 GB, free: 5.492 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0006046/0.01061, allocations: 0.6358 MB / 1.074 GB, free: 4.828 MB / 0.8419 GB Notification: Performance of simplify1: time 0.0001104/0.01072, allocations: 115.7 kB / 1.074 GB, free: 4.688 MB / 0.8419 GB Notification: Performance of Alias: time 0.0004957/0.01123, allocations: 438.2 kB / 1.075 GB, free: 4.168 MB / 0.8419 GB Notification: Performance of simplify2: time 9.779e-05/0.01133, allocations: 111.7 kB / 1.075 GB, free: 4.031 MB / 0.8419 GB Notification: Performance of Detect States: time 0.000264/0.0116, allocations: 144.7 kB / 1.075 GB, free: 3.879 MB / 0.8419 GB Notification: Performance of Events: time 0.0001012/0.01171, allocations: 79.83 kB / 1.075 GB, free: 3.801 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001784/0.0119, allocations: 175.7 kB / 1.075 GB, free: 3.605 MB / 0.8419 GB Error: Internal error NBSlice.resolveDependency failed because subscripts, dimensions and dependencies were not of equal length. variable subscripts(0): {} variable dimensions(2): {2, 2} equation dimensions(1): {2} variable dependencies(2): {false, true} Error: Internal error NBSlice.resolveDependency failed for: $FUN_1. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (2) res.terminal_p.v - res.terminal_n.v = res.terminal_p.i * $FUN_1 ($RES_SIM_7)