Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv.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.AC3ph.Drives.SM_ctrlAv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv") translateModel(PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 113 kB / 17.75 MB, free: 5.305 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.001043/0.001043, allocations: 184.7 kB / 18.68 MB, free: 4.383 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.777/1.777, allocations: 205.1 MB / 224.6 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1766/0.1766, allocations: 37.99 MB / 309.9 MB, free: 5.934 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.126e-05/2.128e-05, allocations: 2.281 kB / 432.5 MB, free: 15.7 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv): time 0.00705/0.007081, allocations: 7.189 MB / 439.7 MB, free: 8.477 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004785/0.01189, allocations: 3.073 MB / 442.7 MB, free: 5.395 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000728/0.01264, allocations: 35.81 kB / 442.8 MB, free: 5.359 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009865/0.01364, allocations: 373.5 kB / 443.1 MB, free: 4.996 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.001561/0.01528, allocations: 0.6334 MB / 443.8 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009364/0.01623, allocations: 435.3 kB / 444.2 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001656/0.01789, allocations: 1.676 MB / 445.9 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009831/0.01889, allocations: 0.9645 MB / 446.8 MB, free: 1.273 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006701/0.01957, allocations: 0.58 MB / 447.4 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005681/0.02015, allocations: 0.5563 MB / 448 MB, free: 136 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.851e-05/0.02026, allocations: 92 kB / 448.1 MB, free: 44 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009943/0.02126, allocations: 463.4 kB / 448.5 MB, free: 15.59 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.001307/0.02258, allocations: 1.585 MB / 450.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007847/0.02338, allocations: 1.033 MB / 451.1 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002048/0.02359, allocations: 151.5 kB / 451.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0002848/0.02388, allocations: 39.81 kB / 451.3 MB, free: 12.75 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: 226 (164) * Number of variables: 226 (161) Notification: Performance of Bindings: time 0.004661/0.02855, allocations: 4.725 MB / 456.1 MB, free: 7.848 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0003638/0.02892, allocations: 283.5 kB / 456.3 MB, free: 7.57 MB / 334.1 MB Notification: Performance of Early Inline: time 0.002391/0.03133, allocations: 2.412 MB / 458.7 MB, free: 5.117 MB / 334.1 MB Notification: Performance of simplify1: time 0.0002473/0.03159, allocations: 175.8 kB / 458.9 MB, free: 4.945 MB / 334.1 MB Notification: Performance of Alias: time 0.004468/0.03607, allocations: 3.449 MB / 462.4 MB, free: 1.141 MB / 334.1 MB Notification: Performance of simplify2: time 0.0002269/0.03631, allocations: 135.8 kB / 462.5 MB, free: 1.008 MB / 334.1 MB Notification: Performance of Events: time 0.000228/0.03655, allocations: 183.8 kB / 462.7 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of Detect States: time 0.0007207/0.03728, allocations: 0.6444 MB / 463.3 MB, free: 160 kB / 334.1 MB Notification: Performance of Partitioning: time 0.0009105/0.0382, allocations: 0.7299 MB / 464.1 MB, free: 15.39 MB / 350.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(3) {sm_ctrl.inverter.switch_dq0[1], sm_ctrl.inverter.switch_dq0[2], sm_ctrl.inverter.switch_dq0[3]}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: sm_ctrl.inverter.switch_dq0. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) sm_ctrl.inverter.iDC1 + sm_ctrl.inverter.switch_dq0 * sm_ctrl.inverter.AC.i = 0.0 ($RES_SIM_63)