Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm.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/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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_pm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 114.5 kB / 17.75 MB, free: 5.336 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.001185/0.001185, allocations: 183.1 kB / 18.68 MB, free: 4.414 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.266/1.266, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1739/0.1739, allocations: 38.03 MB / 330.6 MB, free: 8.691 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.997e-05/2.997e-05, allocations: 2.281 kB / 458.8 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm): time 0.006635/0.006665, allocations: 5.265 MB / 464 MB, free: 1.613 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002616/0.009281, allocations: 1.589 MB / 465.6 MB, free: 20 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002229/0.009504, allocations: 19.88 kB / 465.6 MB, free: 0 / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003977/0.009901, allocations: 127 kB / 465.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006369/0.01054, allocations: 322 kB / 466.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/0.01087, allocations: 151.8 kB / 466.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009044/0.01178, allocations: 0.7826 MB / 467 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003641/0.01214, allocations: 249.5 kB / 467.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003651/0.01251, allocations: 298.8 kB / 467.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000344/0.01285, allocations: 255 kB / 467.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.623e-05/0.01291, allocations: 36 kB / 467.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002704/0.01318, allocations: 131.9 kB / 467.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0005753/0.01375, allocations: 0.7498 MB / 468.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003866/0.01414, allocations: 0.4934 MB / 469.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.01426, allocations: 83.75 kB / 469.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.00011/0.01437, allocations: 12 kB / 469.3 MB, free: 12.32 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: 104 (86) * Number of variables: 104 (84) Notification: Performance of Bindings: time 0.002037/0.0164, allocations: 1.781 MB / 471.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0002328/0.01664, allocations: 177.6 kB / 471.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0007224/0.01736, allocations: 0.6788 MB / 471.9 MB, free: 9.527 MB / 350.1 MB Notification: Performance of simplify1: time 0.0001869/0.01755, allocations: 147.5 kB / 472.1 MB, free: 9.355 MB / 350.1 MB Notification: Performance of Alias: time 0.001917/0.01946, allocations: 1.315 MB / 473.4 MB, free: 7.82 MB / 350.1 MB Notification: Performance of simplify2: time 0.000112/0.01958, allocations: 107.9 kB / 473.5 MB, free: 7.691 MB / 350.1 MB Notification: Performance of Detect States: time 0.0003179/0.01989, allocations: 205.5 kB / 473.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of Events: time 0.0001485/0.02004, allocations: 79.86 kB / 473.8 MB, free: 7.375 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0003606/0.0204, allocations: 313.4 kB / 474.1 MB, free: 7.035 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_47)