Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.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_par,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 111.8 kB / 17.75 MB, free: 5.348 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.001025/0.001025, allocations: 185.8 kB / 18.68 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.768/1.768, allocations: 205.1 MB / 224.6 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1768/0.1768, allocations: 37.99 MB / 309.9 MB, free: 5.957 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.927e-05/2.928e-05, allocations: 2.281 kB / 432.5 MB, free: 15.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.007918/0.007956, allocations: 5.688 MB / 438.2 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003749/0.01175, allocations: 2.088 MB / 440.3 MB, free: 7.922 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005949/0.01238, allocations: 19.88 kB / 440.3 MB, free: 7.902 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009986/0.01339, allocations: 166.8 kB / 440.4 MB, free: 7.738 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.001501/0.01498, allocations: 413.7 kB / 440.8 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006196/0.01562, allocations: 238.1 kB / 441.1 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001202/0.01683, allocations: 0.9424 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005629/0.01741, allocations: 377.3 kB / 442.4 MB, free: 5.785 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006979/0.01812, allocations: 358.6 kB / 442.7 MB, free: 5.434 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005311/0.01866, allocations: 298.7 kB / 443 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.433e-05/0.01874, allocations: 48 kB / 443.1 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000439/0.01918, allocations: 231.8 kB / 443.3 MB, free: 4.867 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0004783/0.01967, allocations: 0.8889 MB / 444.2 MB, free: 3.969 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002422/0.01992, allocations: 0.586 MB / 444.8 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.02004, allocations: 87.75 kB / 444.9 MB, free: 3.289 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001219/0.02017, allocations: 12 kB / 444.9 MB, free: 3.277 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: 106 (87) * Number of variables: 106 (84) Notification: Performance of Bindings: time 0.001716/0.02189, allocations: 2.585 MB / 447.5 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001673/0.02206, allocations: 147.7 kB / 447.6 MB, free: 440 kB / 318.1 MB Notification: Performance of Early Inline: time 0.001138/0.02321, allocations: 1.061 MB / 448.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simplify1: time 0.0001448/0.02337, allocations: 87.89 kB / 448.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of Alias: time 0.002859/0.02624, allocations: 1.803 MB / 450.5 MB, free: 13.24 MB / 334.1 MB Notification: Performance of simplify2: time 7.666e-05/0.02633, allocations: 63.91 kB / 450.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of Events: time 0.0001265/0.02647, allocations: 90.48 kB / 450.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of Detect States: time 0.0004026/0.0269, allocations: 328.5 kB / 451 MB, free: 12.76 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0004492/0.02735, allocations: 402.2 kB / 451.4 MB, free: 12.32 MB / 334.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 2 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: dcm_par.motor.i_f. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (2) {0.0, dcm_par.motor.c.L_md * dcm_par.motor.w_el * dcm_par.motor.i_f} + $FUN_3 * $DER.$AUX_1 + $FUN_4 * {dcm_par.motor.i_f, dcm_par.motor.i} = {dcm_par.motor.v_f, dcm_par.motor.v} ($RES_SIM_28)