Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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 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_par,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|power.p|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|power.p|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_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.001236/0.001236, allocations: 115.3 kB / 17.75 MB, free: 5.195 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.001187/0.001187, allocations: 189.9 kB / 18.68 MB, free: 4.27 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.335/1.335, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1692/0.1692, allocations: 38.05 MB / 330.6 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.43e-05/2.431e-05, allocations: 2.281 kB / 458.8 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.007518/0.00755, allocations: 5.689 MB / 464.5 MB, free: 1.211 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003431/0.01101, allocations: 2.13 MB / 466.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002826/0.01131, allocations: 15.94 kB / 466.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005779/0.01194, allocations: 166.8 kB / 466.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009808/0.01293, allocations: 429.6 kB / 467.2 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005781/0.01352, allocations: 250.6 kB / 467.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001193/0.01472, allocations: 0.9346 MB / 468.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005262/0.01526, allocations: 377.3 kB / 468.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004866/0.01576, allocations: 362.6 kB / 469.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004919/0.01626, allocations: 302.7 kB / 469.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.499e-05/0.01633, allocations: 44 kB / 469.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005078/0.01685, allocations: 239.7 kB / 469.7 MB, free: 12 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0007262/0.01758, allocations: 0.889 MB / 470.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003616/0.01796, allocations: 0.5782 MB / 471.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.01806, allocations: 87.75 kB / 471.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.986e-05/0.01817, allocations: 12 kB / 471.2 MB, free: 10.41 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: 106 (87) * Number of variables: 106 (84) Notification: Performance of Bindings: time 0.003029/0.02121, allocations: 2.587 MB / 473.8 MB, free: 7.707 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0002107/0.02142, allocations: 163.6 kB / 474 MB, free: 7.547 MB / 350.1 MB Notification: Performance of Early Inline: time 0.001236/0.02267, allocations: 1.058 MB / 475 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simplify1: time 0.0001764/0.02285, allocations: 83.88 kB / 475.1 MB, free: 6.379 MB / 350.1 MB Notification: Performance of Alias: time 0.002393/0.02525, allocations: 1.813 MB / 476.9 MB, free: 4.355 MB / 350.1 MB Notification: Performance of simplify2: time 7.024e-05/0.02534, allocations: 63.91 kB / 477 MB, free: 4.293 MB / 350.1 MB Notification: Performance of Events: time 0.0001127/0.02546, allocations: 87.81 kB / 477.1 MB, free: 4.207 MB / 350.1 MB Notification: Performance of Detect States: time 0.0004104/0.02588, allocations: 328.7 kB / 477.4 MB, free: 3.867 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0004565/0.02634, allocations: 414.2 kB / 477.8 MB, free: 3.418 MB / 350.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)