Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv") translateModel(PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001481/0.001481, allocations: 196.5 kB / 17.29 MB, free: 4.488 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.935/1.935, allocations: 194.2 MB / 212.2 MB, free: 2.371 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001818/0.001817, allocations: 134.2 kB / 256.6 MB, free: 4.297 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1815/0.1815, allocations: 37.95 MB / 338.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.489e-05/3.507e-05, allocations: 2.281 kB / 401.8 MB, free: 68.8 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv): time 0.01182/0.01187, allocations: 8.314 MB / 410.1 MB, free: 60.45 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01162/0.02355, allocations: 5.228 MB / 415.3 MB, free: 55.21 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002092/0.02571, allocations: 51.69 kB / 415.3 MB, free: 55.16 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01105/0.03685, allocations: 4.937 MB / 420.3 MB, free: 50.21 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001918/0.0388, allocations: 461.9 kB / 420.7 MB, free: 49.76 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.04024, allocations: 441.7 kB / 421.2 MB, free: 49.33 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002912/0.04317, allocations: 2.347 MB / 423.5 MB, free: 46.97 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001551/0.04473, allocations: 1.023 MB / 424.5 MB, free: 45.93 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009667/0.04572, allocations: 0.646 MB / 425.2 MB, free: 45.28 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007741/0.04651, allocations: 0.5835 MB / 425.8 MB, free: 44.7 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001563/0.04668, allocations: 100 kB / 425.9 MB, free: 44.6 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004392/0.05108, allocations: 2.027 MB / 427.9 MB, free: 42.57 MB / 314.7 MB Notification: Performance of combineBinaries: time 0.001443/0.05256, allocations: 1.713 MB / 429.6 MB, free: 40.84 MB / 314.7 MB Notification: Performance of replaceArrayConstructors: time 0.0007477/0.05332, allocations: 1.068 MB / 430.7 MB, free: 39.75 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000356/0.05369, allocations: 159.5 kB / 430.8 MB, free: 39.6 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.0003112/0.05401, allocations: 12 kB / 430.8 MB, free: 39.59 MB / 314.7 MB Notification: Performance of Bindings: time 0.00487/0.0589, allocations: 4.77 MB / 435.6 MB, free: 34.65 MB / 314.7 MB Notification: Performance of simplify1: time 0.0002898/0.05921, allocations: 187.7 kB / 435.8 MB, free: 34.46 MB / 314.7 MB Notification: Performance of Alias: time 0.002606/0.06183, allocations: 1.952 MB / 437.7 MB, free: 32.25 MB / 314.7 MB Notification: Performance of simplify2: time 0.0001942/0.06204, allocations: 155.8 kB / 437.9 MB, free: 32.09 MB / 314.7 MB Notification: Performance of Events: time 0.0002532/0.0623, allocations: 199.7 kB / 438.1 MB, free: 31.9 MB / 314.7 MB Notification: Performance of DetectStates: time 0.0005187/0.06283, allocations: 439.3 kB / 438.5 MB, free: 31.47 MB / 314.7 MB Notification: Performance of Partitioning: time 0.001888/0.06473, allocations: 1.097 MB / 439.6 MB, free: 30.31 MB / 314.7 MB Error: Internal error NBResolveSingularities.noIndexReduction failed because following variables could not be solved: [ALGB] (3) input Real[3] asm_ctrl.motor.top.v_cond (nominal = {1000.0 for $i1 in 1:3}), [DER-] (1) Real $DER.asm_ctrl.rotor.w, [ALGB] (1) protected Real[1] asm_ctrl.motor.i_d (start = asm_ctrl.motor.i_d_start, nominal = {1.0 for $i1 in 1:1}), [ALGB] (1) protected Real[1] asm_ctrl.motor.i_q (start = asm_ctrl.motor.i_q_start, nominal = {1.0 for $i1 in 1:1}), [DER-] (3) Real[3] $DER.asm_ctrl.motor.i Furthermore following equations are unmatched: [SCAL] (1) loadInertia.w = $DER.frictTorq.phi ($RES_SIM_31), [ARRY] (1) asm_ctrl.motor.psi_rd = asm_ctrl.motor.L_m .* asm_ctrl.motor.i[1] + asm_ctrl.motor.L_r * asm_ctrl.motor.i_rd ($RES_SIM_50), [ARRY] (1) asm_ctrl.motor.psi_rq = asm_ctrl.motor.L_m .* asm_ctrl.motor.i[2] + asm_ctrl.motor.L_r * asm_ctrl.motor.i_rq ($RES_SIM_49), [ARRY] (2) asm_ctrl.inverter.AC.theta = asm_ctrl.motor.term.theta ($RES_SIM_167), [SCAL] (1) CAST(Real, asm_ctrl.motor.pp) * asm_ctrl.rotor.friction.phi = asm_ctrl.motor.phi_el ($RES_SIM_39)