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.001351/0.001351, allocations: 106.7 kB / 17.75 MB, free: 5.352 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.001284/0.001285, allocations: 187 kB / 18.68 MB, free: 4.43 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.337/1.337, 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-master/package.mo): time 0.169/0.169, allocations: 38.05 MB / 330.6 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.119e-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.006857/0.006887, allocations: 5.256 MB / 464 MB, free: 1.625 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002836/0.009789, allocations: 1.585 MB / 465.6 MB, free: 36 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002494/0.01006, allocations: 15.94 kB / 465.6 MB, free: 20 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004189/0.01053, allocations: 130.9 kB / 465.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007044/0.01125, allocations: 314.1 kB / 466.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.01161, allocations: 163.7 kB / 466.2 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008676/0.01249, allocations: 0.7787 MB / 467 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004406/0.01294, allocations: 329.4 kB / 467.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003756/0.01332, allocations: 298.8 kB / 467.6 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003357/0.01367, allocations: 251 kB / 467.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.452e-05/0.01374, allocations: 40 kB / 467.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002456/0.01399, allocations: 123.9 kB / 468 MB, free: 13.62 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0005454/0.01454, allocations: 0.7537 MB / 468.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003064/0.01486, allocations: 0.4934 MB / 469.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.911e-05/0.01496, allocations: 79.75 kB / 469.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.607e-05/0.01506, allocations: 12 kB / 469.4 MB, free: 12.27 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.002189/0.01725, allocations: 2.229 MB / 471.6 MB, free: 9.918 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0001586/0.01742, allocations: 115.8 kB / 471.7 MB, free: 9.805 MB / 350.1 MB Notification: Performance of Early Inline: time 0.001062/0.01849, allocations: 0.956 MB / 472.7 MB, free: 8.82 MB / 350.1 MB Notification: Performance of simplify1: time 9.86e-05/0.0186, allocations: 71.91 kB / 472.7 MB, free: 8.75 MB / 350.1 MB Notification: Performance of Alias: time 0.002352/0.02096, allocations: 1.811 MB / 474.5 MB, free: 6.734 MB / 350.1 MB Notification: Performance of simplify2: time 5.703e-05/0.02103, allocations: 35.95 kB / 474.6 MB, free: 6.699 MB / 350.1 MB Notification: Performance of Events: time 0.0001362/0.02117, allocations: 87.86 kB / 474.7 MB, free: 6.613 MB / 350.1 MB Notification: Performance of Detect States: time 0.0003817/0.02156, allocations: 269.5 kB / 474.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0003883/0.02196, allocations: 329.5 kB / 475.2 MB, free: 5.98 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)