Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_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.001637/0.001637, allocations: 113 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.001536/0.001537, allocations: 188.6 kB / 18.68 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.048/2.048, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2227/0.2227, allocations: 37.99 MB / 309.9 MB, free: 5.938 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.988e-05/4.989e-05, allocations: 2.281 kB / 432.5 MB, free: 15.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_ser): time 0.008541/0.008604, allocations: 5.161 MB / 437.6 MB, free: 10.65 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003168/0.01181, allocations: 1.948 MB / 439.6 MB, free: 8.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003337/0.01216, allocations: 11.94 kB / 439.6 MB, free: 8.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006869/0.01286, allocations: 158.8 kB / 439.8 MB, free: 8.523 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0009685/0.01392, allocations: 357.9 kB / 440.1 MB, free: 8.172 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005076/0.01443, allocations: 199.5 kB / 440.3 MB, free: 7.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009428/0.01538, allocations: 0.7788 MB / 441.1 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000432/0.01583, allocations: 333.2 kB / 441.4 MB, free: 6.871 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004/0.01624, allocations: 302.8 kB / 441.7 MB, free: 6.574 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002868/0.01653, allocations: 266.8 kB / 442 MB, free: 6.312 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.948e-05/0.0166, allocations: 44 kB / 442 MB, free: 6.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004065/0.01702, allocations: 203.8 kB / 442.2 MB, free: 6.07 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0005274/0.01755, allocations: 0.8038 MB / 443 MB, free: 5.258 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002763/0.01784, allocations: 0.5202 MB / 443.5 MB, free: 4.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.516e-05/0.01794, allocations: 83.75 kB / 443.6 MB, free: 4.648 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.000126/0.01807, allocations: 12 kB / 443.6 MB, free: 4.637 MB / 318.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.001965/0.02005, allocations: 2.312 MB / 445.9 MB, free: 2.207 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001737/0.02023, allocations: 139.8 kB / 446.1 MB, free: 2.07 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0008263/0.02106, allocations: 0.9014 MB / 447 MB, free: 1.141 MB / 318.1 MB Notification: Performance of simplify1: time 8.853e-05/0.02117, allocations: 67.91 kB / 447 MB, free: 1.074 MB / 318.1 MB Notification: Performance of Alias: time 0.002597/0.02377, allocations: 1.676 MB / 448.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simplify2: time 0.0001089/0.0239, allocations: 55.92 kB / 448.8 MB, free: 15.16 MB / 334.1 MB Notification: Performance of Events: time 0.0001496/0.02406, allocations: 63.94 kB / 448.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of Detect States: time 0.0005143/0.02458, allocations: 277.3 kB / 449.1 MB, free: 14.81 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0005434/0.02514, allocations: 341.7 kB / 449.4 MB, free: 14.43 MB / 334.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)