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.00167/0.00167, allocations: 109.3 kB / 17.75 MB, free: 5.301 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.001939/0.001939, allocations: 188.4 kB / 18.69 MB, free: 4.375 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.251/1.251, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1596/0.1596, allocations: 38.04 MB / 330.6 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.988e-05/1.989e-05, allocations: 2.281 kB / 458.8 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.005487/0.005515, allocations: 4.532 MB / 463.3 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002139/0.007672, allocations: 1.491 MB / 464.8 MB, free: 0.875 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002471/0.007932, allocations: 19.88 kB / 464.8 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003923/0.008332, allocations: 119.1 kB / 464.9 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006615/0.009018, allocations: 278.4 kB / 465.2 MB, free: 476 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002705/0.009299, allocations: 115.8 kB / 465.3 MB, free: 360 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007613/0.01007, allocations: 0.5722 MB / 465.9 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002025/0.01029, allocations: 110.2 kB / 466 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003066/0.0106, allocations: 215.1 kB / 466.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000267/0.01088, allocations: 179.2 kB / 466.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.36e-05/0.01093, allocations: 24 kB / 466.4 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002925/0.01123, allocations: 131.9 kB / 466.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0003928/0.01163, allocations: 0.5639 MB / 467.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002393/0.01188, allocations: 394.6 kB / 467.5 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.016e-05/0.01196, allocations: 55.81 kB / 467.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.619e-05/0.01202, allocations: 11.94 kB / 467.6 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.001429/0.01346, allocations: 1.641 MB / 469.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0001386/0.01361, allocations: 107.7 kB / 469.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0005517/0.01417, allocations: 0.597 MB / 469.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simplify1: time 6.834e-05/0.01424, allocations: 51.92 kB / 469.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of Alias: time 0.001191/0.01544, allocations: 1.069 MB / 471 MB, free: 10.36 MB / 350.1 MB Notification: Performance of simplify2: time 4.916e-05/0.0155, allocations: 35.95 kB / 471 MB, free: 10.32 MB / 350.1 MB Notification: Performance of Detect States: time 0.0002254/0.01573, allocations: 189.2 kB / 471.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of Events: time 5.424e-05/0.01579, allocations: 39.91 kB / 471.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0002439/0.01604, allocations: 248.3 kB / 471.5 MB, free: 9.797 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)