Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-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(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 111.8 kB / 17.75 MB, free: 5.348 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.001452/0.001452, allocations: 185.9 kB / 18.68 MB, free: 4.426 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.39/1.39, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1669/0.1669, allocations: 38.05 MB / 330.6 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.466e-05/2.467e-05, allocations: 2.281 kB / 458.8 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.007101/0.007133, allocations: 4.703 MB / 463.5 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002622/0.009769, allocations: 1.355 MB / 464.8 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003962/0.01018, allocations: 11.94 kB / 464.8 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.01153, allocations: 408.3 kB / 465.2 MB, free: 432 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000778/0.01234, allocations: 238.7 kB / 465.5 MB, free: 192 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006299/0.01299, allocations: 175.6 kB / 465.6 MB, free: 16 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001128/0.01413, allocations: 0.6114 MB / 466.3 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005/0.01464, allocations: 223.6 kB / 466.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005203/0.01517, allocations: 246.9 kB / 466.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003726/0.01555, allocations: 219.1 kB / 466.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.328e-05/0.01561, allocations: 24 kB / 467 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000308/0.01592, allocations: 119.8 kB / 467.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0005046/0.01644, allocations: 0.5643 MB / 467.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.000288/0.01673, allocations: 371 kB / 468 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.054e-05/0.01681, allocations: 55.81 kB / 468.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.784e-05/0.01688, allocations: 7.984 kB / 468.1 MB, free: 13.59 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 (52) * Number of variables: 93 (52) Notification: Performance of Bindings: time 0.00151/0.0184, allocations: 1.581 MB / 469.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0001213/0.01853, allocations: 87.81 kB / 469.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0007785/0.01932, allocations: 0.7646 MB / 470.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of simplify1: time 7.743e-05/0.0194, allocations: 59.92 kB / 470.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of Alias: time 0.001076/0.02049, allocations: 0.8871 MB / 471.4 MB, free: 9.953 MB / 350.1 MB Notification: Performance of simplify2: time 4.853e-05/0.02055, allocations: 51.94 kB / 471.5 MB, free: 9.902 MB / 350.1 MB Notification: Performance of Events: time 4.8e-05/0.0206, allocations: 43.94 kB / 471.5 MB, free: 9.859 MB / 350.1 MB Notification: Performance of Detect States: time 0.0002631/0.02087, allocations: 197.5 kB / 471.7 MB, free: 9.652 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0002791/0.02116, allocations: 243.5 kB / 472 MB, free: 9.402 MB / 350.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 1 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: sensor.term_p.v[2]. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (3) sensor.p = {sensor.term_p.v[1:2] * sensor.term_p.i[1:2], -{-sensor.term_p.v[2], sensor.term_p.v[1]} * sensor.term_p.i[1:2], sensor.term_p.v[3] * sensor.term_p.i[3]} / sensor.S_base ($RES_SIM_13)