Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.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.Generation.PQsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 114.6 kB / 17.75 MB, free: 5.305 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.001192/0.001192, allocations: 179.1 kB / 18.68 MB, free: 4.387 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.323/1.323, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1681/0.1681, allocations: 38.04 MB / 330.6 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.184e-05/2.185e-05, allocations: 2.281 kB / 458.8 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.005926/0.005957, allocations: 4.568 MB / 463.3 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002197/0.008186, allocations: 1.301 MB / 464.6 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001816/0.008385, allocations: 15.94 kB / 464.7 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.009552, allocations: 404.3 kB / 465.1 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004891/0.01009, allocations: 258.8 kB / 465.3 MB, free: 348 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004853/0.01059, allocations: 163.7 kB / 465.5 MB, free: 184 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009113/0.01151, allocations: 0.6192 MB / 466.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003528/0.01188, allocations: 208.5 kB / 466.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003397/0.01223, allocations: 250.9 kB / 466.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003856/0.01262, allocations: 211.1 kB / 466.7 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.396e-05/0.01267, allocations: 20 kB / 466.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002935/0.01297, allocations: 127.7 kB / 466.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0004733/0.01345, allocations: 0.5218 MB / 467.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002387/0.0137, allocations: 359.4 kB / 467.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.201e-05/0.01377, allocations: 51.81 kB / 467.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.149e-05/0.01382, allocations: 8 kB / 467.8 MB, free: 13.82 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: 92 (50) * Number of variables: 92 (50) Notification: Performance of Bindings: time 0.001466/0.0153, allocations: 1.484 MB / 469.3 MB, free: 12.22 MB / 350.1 MB Notification: Performance of FunctionAlias: time 9.109e-05/0.0154, allocations: 71.81 kB / 469.4 MB, free: 12.15 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0007065/0.01611, allocations: 0.6867 MB / 470.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of simplify1: time 8.236e-05/0.01621, allocations: 51.92 kB / 470.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of Alias: time 0.001167/0.01739, allocations: 0.8542 MB / 471 MB, free: 10.42 MB / 350.1 MB Notification: Performance of simplify2: time 4.749e-05/0.01745, allocations: 39.94 kB / 471 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Events: time 4.278e-05/0.0175, allocations: 39.94 kB / 471 MB, free: 10.34 MB / 350.1 MB Notification: Performance of Detect States: time 0.0002309/0.01774, allocations: 186.2 kB / 471.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0002346/0.01798, allocations: 231.3 kB / 471.4 MB, free: 9.902 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_19)