Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed.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/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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.BLDCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 113.4 kB / 17.75 MB, free: 5.336 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.00127/0.00127, allocations: 184.2 kB / 18.68 MB, free: 4.414 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.287/1.287, allocations: 222.9 MB / 242.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1653/0.1653, allocations: 38.04 MB / 330.6 MB, free: 8.703 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/1.971e-05, allocations: 5.797 kB / 458.8 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.006858/0.006878, allocations: 6.348 MB / 465.1 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003889/0.01077, allocations: 2.676 MB / 467.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004068/0.01117, allocations: 27.81 kB / 467.8 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.01221, allocations: 350 kB / 468.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001247/0.01346, allocations: 0.5909 MB / 468.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005895/0.01405, allocations: 283.5 kB / 469 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00144/0.01549, allocations: 1.352 MB / 470.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006681/0.01615, allocations: 0.5636 MB / 470.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00055/0.0167, allocations: 0.4944 MB / 471.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005797/0.01728, allocations: 442.3 kB / 471.9 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.01739, allocations: 68 kB / 471.9 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008586/0.01825, allocations: 447.3 kB / 472.4 MB, free: 9.258 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0008461/0.0191, allocations: 1.164 MB / 473.5 MB, free: 8.082 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.00047/0.01957, allocations: 0.7523 MB / 474.3 MB, free: 7.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.01971, allocations: 107.7 kB / 474.4 MB, free: 7.215 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0001134/0.01982, allocations: 15.94 kB / 474.4 MB, free: 7.199 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: 180 (120) * Number of variables: 180 (117) Notification: Performance of Bindings: time 0.00245/0.02227, allocations: 2.699 MB / 477.1 MB, free: 4.359 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0003559/0.02263, allocations: 347.8 kB / 477.4 MB, free: 4.012 MB / 350.1 MB Notification: Performance of Early Inline: time 0.001266/0.02389, allocations: 1.338 MB / 478.8 MB, free: 2.637 MB / 350.1 MB Notification: Performance of simplify1: time 0.0002452/0.02414, allocations: 227.5 kB / 479 MB, free: 2.375 MB / 350.1 MB Notification: Performance of Alias: time 0.002029/0.02617, allocations: 1.694 MB / 480.7 MB, free: 428 kB / 350.1 MB Notification: Performance of simplify2: time 0.0001761/0.02634, allocations: 171.5 kB / 480.9 MB, free: 228 kB / 350.1 MB Notification: Performance of Detect States: time 0.0003687/0.02671, allocations: 322.5 kB / 481.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of Events: time 0.000145/0.02686, allocations: 119.9 kB / 481.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0006198/0.02748, allocations: 0.5541 MB / 481.8 MB, free: 15.17 MB / 366.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 1 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: machine.motor.psi_s[2]. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) machine.motor.tau_el = machine.motor.i_s[1:2] * {-machine.motor.psi_s[2], machine.motor.psi_s[1]} ($RES_SIM_17)