Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser.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.AC1ph_DC.Drives.DCmotor_ser,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|power.p|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|power.p|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 109.5 kB / 17.75 MB, free: 5.328 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.001434/0.001434, allocations: 196.2 kB / 18.69 MB, free: 4.402 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.337/1.337, 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.1732/0.1732, allocations: 38.05 MB / 330.6 MB, free: 8.719 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.106e-05/2.107e-05, allocations: 2.281 kB / 458.8 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.006657/0.006686, allocations: 5.151 MB / 463.9 MB, free: 1.699 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00321/0.009921, allocations: 1.99 MB / 465.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003287/0.01028, allocations: 23.88 kB / 465.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005399/0.01082, allocations: 142.9 kB / 466.1 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008983/0.01178, allocations: 361.8 kB / 466.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005341/0.01233, allocations: 214.7 kB / 466.6 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001101/0.01344, allocations: 0.7904 MB / 467.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004365/0.01388, allocations: 325.3 kB / 467.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004558/0.01435, allocations: 306.8 kB / 468 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003394/0.0147, allocations: 262.8 kB / 468.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.406e-05/0.01477, allocations: 40 kB / 468.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000408/0.01518, allocations: 199.8 kB / 468.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0005848/0.01578, allocations: 0.8077 MB / 469.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003118/0.0161, allocations: 0.5241 MB / 469.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.01621, allocations: 83.75 kB / 470 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0001111/0.01633, allocations: 11.94 kB / 470 MB, free: 11.63 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: 90 (76) * Number of variables: 90 (74) Notification: Performance of Bindings: time 0.002602/0.01894, allocations: 2.316 MB / 472.3 MB, free: 9.191 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0002828/0.01923, allocations: 143.7 kB / 472.4 MB, free: 9.051 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0009705/0.02021, allocations: 0.9092 MB / 473.3 MB, free: 8.113 MB / 350.1 MB Notification: Performance of simplify1: time 0.0001068/0.02033, allocations: 75.91 kB / 473.4 MB, free: 8.039 MB / 350.1 MB Notification: Performance of Alias: time 0.002207/0.02254, allocations: 1.66 MB / 475.1 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simplify2: time 6.621e-05/0.02262, allocations: 51.92 kB / 475.1 MB, free: 6.141 MB / 350.1 MB Notification: Performance of Events: time 0.0001092/0.02274, allocations: 79.86 kB / 475.2 MB, free: 6.062 MB / 350.1 MB Notification: Performance of Detect States: time 0.0003226/0.02307, allocations: 270.2 kB / 475.5 MB, free: 5.781 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0003456/0.02342, allocations: 341.8 kB / 475.8 MB, free: 5.398 MB / 350.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(2) {power.term_p.i[1], power.term_p.i[2]}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: power.term_p.i. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) power.p = power.term_p.v / (power.S_base * power.term_p.i) ($RES_SIM_38)