Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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-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_pm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|efficiency.eta|loadInertia.flange_a.tau|loadInertia.w|power.p",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|efficiency.eta|loadInertia.flange_a.tau|loadInertia.w|power.p",fileNamePrefix="PowerSystems_latest_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.001639/0.001639, allocations: 111.7 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.001833/0.001833, allocations: 190 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.23/1.23, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1593/0.1593, allocations: 38.06 MB / 330.6 MB, free: 8.746 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.515e-05/2.517e-05, allocations: 2.281 kB / 458.8 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_pm): time 0.005991/0.006026, allocations: 5.246 MB / 464 MB, free: 1.645 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002491/0.008532, allocations: 1.577 MB / 465.6 MB, free: 64 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002699/0.008819, allocations: 19.88 kB / 465.6 MB, free: 44 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004672/0.009296, allocations: 139.1 kB / 465.8 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008488/0.01018, allocations: 314.1 kB / 466.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004191/0.01061, allocations: 155.8 kB / 466.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00112/0.01174, allocations: 0.7786 MB / 467 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000545/0.0123, allocations: 325.5 kB / 467.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004471/0.01276, allocations: 298.8 kB / 467.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004221/0.01319, allocations: 259 kB / 467.9 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.629e-05/0.01329, allocations: 40 kB / 467.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003323/0.01363, allocations: 127.9 kB / 468 MB, free: 13.64 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0006938/0.01434, allocations: 0.742 MB / 468.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004593/0.01482, allocations: 0.4973 MB / 469.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.01494, allocations: 83.75 kB / 469.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.642e-05/0.01504, allocations: 19.92 kB / 469.4 MB, free: 12.28 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.002843/0.01789, allocations: 2.222 MB / 471.6 MB, free: 9.938 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0001837/0.0181, allocations: 115.8 kB / 471.7 MB, free: 9.824 MB / 350.1 MB Notification: Performance of Early Inline: time 0.001355/0.01947, allocations: 0.9599 MB / 472.7 MB, free: 8.836 MB / 350.1 MB Notification: Performance of simplify1: time 0.000115/0.0196, allocations: 67.91 kB / 472.7 MB, free: 8.77 MB / 350.1 MB Notification: Performance of Alias: time 0.003031/0.02264, allocations: 1.811 MB / 474.5 MB, free: 6.754 MB / 350.1 MB Notification: Performance of simplify2: time 6.868e-05/0.02273, allocations: 47.92 kB / 474.6 MB, free: 6.707 MB / 350.1 MB Notification: Performance of Detect States: time 0.0004158/0.02316, allocations: 258.2 kB / 474.8 MB, free: 6.438 MB / 350.1 MB Notification: Performance of Events: time 0.0001673/0.02334, allocations: 83.86 kB / 474.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0005228/0.02388, allocations: 333.5 kB / 475.2 MB, free: 5.996 MB / 350.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(2) {efficiency.term_p.i[1], efficiency.term_p.i[2]}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: efficiency.term_p.i. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) efficiency.pav = efficiency.term_p.v * efficiency.term_p.i ($RES_SIM_43)