Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.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.Elementary.Machines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|motor.i|motor.v|motor.w_el|power.p",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|motor.i|motor.v|motor.w_el|power.p",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 113.1 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.001241/0.001241, allocations: 196.5 kB / 18.68 MB, free: 4.406 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.31/1.31, allocations: 222.9 MB / 242.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1868/0.1868, allocations: 38.04 MB / 330.6 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.418e-05/2.417e-05, allocations: 2.281 kB / 458.8 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.005699/0.005731, allocations: 4.532 MB / 463.3 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001965/0.007718, allocations: 1.495 MB / 464.8 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001781/0.007909, allocations: 15.94 kB / 464.8 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003935/0.008309, allocations: 111.2 kB / 464.9 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005769/0.00892, allocations: 282.3 kB / 465.2 MB, free: 472 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.009178, allocations: 111.8 kB / 465.3 MB, free: 360 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007425/0.009931, allocations: 0.5683 MB / 465.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002155/0.01016, allocations: 118.2 kB / 466 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002599/0.01042, allocations: 211.1 kB / 466.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002491/0.01068, allocations: 179.2 kB / 466.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.607e-05/0.01073, allocations: 20 kB / 466.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002482/0.01098, allocations: 131.8 kB / 466.5 MB, free: 15.14 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0004022/0.01139, allocations: 0.5679 MB / 467.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002191/0.01162, allocations: 390.6 kB / 467.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.818e-05/0.0117, allocations: 59.81 kB / 467.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.537e-05/0.01176, allocations: 8 kB / 467.5 MB, free: 14.11 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: 64 (54) * Number of variables: 64 (52) Notification: Performance of Bindings: time 0.001537/0.0133, allocations: 1.645 MB / 469.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0001375/0.01345, allocations: 119.7 kB / 469.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0005791/0.01403, allocations: 0.5891 MB / 469.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simplify1: time 6.775e-05/0.01411, allocations: 51.92 kB / 469.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of Alias: time 0.001224/0.01534, allocations: 1.054 MB / 471 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simplify2: time 5.002e-05/0.0154, allocations: 43.94 kB / 471 MB, free: 10.32 MB / 350.1 MB Notification: Performance of Events: time 4.357e-05/0.01545, allocations: 43.94 kB / 471.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of Detect States: time 0.0002464/0.01571, allocations: 189.6 kB / 471.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0002562/0.01597, allocations: 256.2 kB / 471.5 MB, free: 9.785 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_19)