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 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.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.00118/0.00118, 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.001124/0.001124, 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 3.2.3+maint.om/package.mo): time 1.713/1.713, allocations: 205.1 MB / 224.6 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1743/0.1743, allocations: 37.99 MB / 309.9 MB, free: 5.949 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.98e-05/2.981e-05, allocations: 5.781 kB / 432.5 MB, free: 15.71 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.BLDCcharSpeed): time 0.007449/0.007487, allocations: 6.334 MB / 438.8 MB, free: 9.352 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004402/0.01192, allocations: 2.711 MB / 441.5 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004997/0.01243, allocations: 27.88 kB / 441.6 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.01356, allocations: 338.1 kB / 441.9 MB, free: 6.27 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2829:3-2870:10:writable] Warning: Pure function 'Modelica.Math.Matrices.inv' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgetrf'. Notification: Performance of NFTyping.typeBindings: time 0.001309/0.01488, allocations: 0.583 MB / 442.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006354/0.01553, allocations: 287.5 kB / 442.8 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001321/0.01686, allocations: 1.339 MB / 444.1 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007976/0.01767, allocations: 0.7042 MB / 444.8 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004735/0.01815, allocations: 498.2 kB / 445.3 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005013/0.01866, allocations: 458.3 kB / 445.7 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.754e-05/0.01875, allocations: 68 kB / 445.8 MB, free: 2.352 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007103/0.01947, allocations: 439.3 kB / 446.2 MB, free: 1.922 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0007517/0.02023, allocations: 1.157 MB / 447.4 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004401/0.02068, allocations: 0.7524 MB / 448.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001573/0.02085, allocations: 107.7 kB / 448.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0001306/0.02099, allocations: 12 kB / 448.3 MB, free: 15.87 MB / 334.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.003991/0.02498, allocations: 3.455 MB / 451.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0003685/0.02536, allocations: 239.7 kB / 451.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of Early Inline: time 0.002007/0.02738, allocations: 1.822 MB / 453.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of simplify1: time 0.0001685/0.02756, allocations: 127.8 kB / 453.9 MB, free: 10.06 MB / 334.1 MB Notification: Performance of Alias: time 0.003117/0.03068, allocations: 2.394 MB / 456.3 MB, free: 7.422 MB / 334.1 MB Notification: Performance of simplify2: time 0.000118/0.03082, allocations: 99.86 kB / 456.4 MB, free: 7.324 MB / 334.1 MB Notification: Performance of Events: time 0.0001566/0.03098, allocations: 123.8 kB / 456.5 MB, free: 7.203 MB / 334.1 MB Notification: Performance of Detect States: time 0.0006498/0.03164, allocations: 435.3 kB / 456.9 MB, free: 6.758 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0007025/0.03235, allocations: 0.5894 MB / 457.5 MB, free: 6.137 MB / 334.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(3) {machine.motor.i_s[1], machine.motor.i_s[2], machine.motor.i_s[3]}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: machine.motor.i_s. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (2) machine.motor.heat.ports.Q_flow = -{machine.motor.c.R_s * machine.motor.i_s * machine.motor.i_s, 0.0} ($RES_SIM_16)