Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 106.9 kB / 17.69 MB, free: 5.523 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.00114/0.00114, allocations: 192 kB / 18.63 MB, free: 4.594 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.257/1.257, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1642/0.1642, allocations: 38.04 MB / 330.5 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.518e-05/2.519e-05, allocations: 13 kB / 400.2 MB, free: 33.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.002708/0.002748, allocations: 2.104 MB / 402.3 MB, free: 31.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002286/0.00505, allocations: 2.03 MB / 404.3 MB, free: 29.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.742e-05/0.005109, allocations: 0 / 404.3 MB, free: 29.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.005246, allocations: 16.73 kB / 404.4 MB, free: 29.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.037e-05/0.005355, allocations: 27.83 kB / 404.4 MB, free: 29.22 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00164/0.007002, allocations: 0.8428 MB / 405.2 MB, free: 28.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.007144, allocations: 87.36 kB / 405.3 MB, free: 28.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.35e-05/0.007194, allocations: 12.11 kB / 405.3 MB, free: 28.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.619e-05/0.007266, allocations: 31.91 kB / 405.4 MB, free: 28.26 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.373e-05/0.007307, allocations: 31.78 kB / 405.4 MB, free: 28.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.007325, allocations: 7.562 kB / 405.4 MB, free: 28.22 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001171/0.0085, allocations: 1.357 MB / 406.7 MB, free: 26.86 MB / 302.1 MB Notification: Performance of combineBinaries: time 6.845e-05/0.00858, allocations: 106.8 kB / 406.9 MB, free: 26.76 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 2.799e-05/0.008614, allocations: 70.95 kB / 406.9 MB, free: 26.69 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.5e-05/0.008644, allocations: 11.94 kB / 406.9 MB, free: 26.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.732e-05/0.008668, allocations: 4.594 kB / 406.9 MB, free: 26.67 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 (1) * Number of variables: 24 (4) Notification: Performance of Bindings: time 0.0003445/0.009018, allocations: 366.8 kB / 407.3 MB, free: 26.21 MB / 302.1 MB Notification: Performance of FunctionAlias: time 9.521e-05/0.009121, allocations: 52.16 kB / 407.3 MB, free: 26.17 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0001095/0.009237, allocations: 156.9 kB / 407.5 MB, free: 25.99 MB / 302.1 MB Notification: Performance of simplify1: time 1.489e-05/0.009261, allocations: 4 kB / 407.5 MB, free: 25.99 MB / 302.1 MB Notification: Performance of Alias: time 4.63e-05/0.009313, allocations: 80.55 kB / 407.6 MB, free: 25.87 MB / 302.1 MB Notification: Performance of simplify2: time 5.47e-06/0.009323, allocations: 11.97 kB / 407.6 MB, free: 25.86 MB / 302.1 MB Notification: Performance of Events: time 1.74e-05/0.009345, allocations: 8 kB / 407.6 MB, free: 25.85 MB / 302.1 MB Notification: Performance of Detect States: time 7.025e-05/0.009419, allocations: 56.08 kB / 407.7 MB, free: 25.78 MB / 302.1 MB Notification: Performance of Partitioning: time 6.113e-05/0.009487, allocations: 40.11 kB / 407.7 MB, free: 25.73 MB / 302.1 MB Error: Internal error NBSorting.tarjan failed to sort system: system vars Variables (10/52) ******************************* (1) [ALGB] (3) Real[3] $FUN_5 (2) [ALGB] (2) Real[2] $FUN_4 (3) [ALGB] (3) Real[3] zr_d (4) [ALGB] (3) Real[3] zr_q (5) [ALGB] (9) Real[3, 3] $FUN_3 (6) [ALGB] (3) Real[3] $FUN_2 (7) [ALGB] (2) Real[2] $FUN_1 (8) [ALGB] (9) Real[3, 3] zx_d (9) [ALGB] (9) Real[3, 3] zx_q (10) [ALGB] (9) Real[3, 3] $FUN_6 system eqns Equations (5/52) ****************************** (1) [TUPL] (12) ($FUN_5, $FUN_6) = PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.z_matrix(2, omega_nom * tc_q, $FUN_4, x_q, xsig_s, r_s, 0.0, 0.0, 0.0, false) ($RES_$AUX_1) (2) [ARRY] (2) $FUN_4 = PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.T_open(x_q, xtr_q, omega_nom * tc_q) ($RES_$AUX_2) (3) [ALGO] (24) ($RES_SIM_0) (3) [----] (zr_d, zx_d) := ($FUN_2, $FUN_3); (3) [----] (zr_q, zx_q) := ($FUN_5, $FUN_6); (4) [TUPL] (12) ($FUN_2, $FUN_3) = PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.z_matrix(2, omega_nom * tc_d, $FUN_1, x_d, xsig_s, r_s, if0, 3.141592653589793 + alpha_if0, tol, true) ($RES_$AUX_3) (5) [ARRY] (2) $FUN_1 = PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.T_open(x_d, xtr_d, omega_nom * tc_d) ($RES_$AUX_4) =================== Scalar Matching =================== variable to equation ********************** var 1 --> eqn 10 var 2 --> eqn 11 var 3 --> eqn 12 var 4 --> eqn 13 var 5 --> eqn 14 var 6 --> eqn 33 var 7 --> eqn 34 var 8 --> eqn 35 var 9 --> eqn 36 var 10 --> eqn 37 var 11 --> eqn 38 var 12 --> eqn 47 var 13 --> eqn 46 var 14 --> eqn 45 var 15 --> eqn 44 var 16 --> eqn 43 var 17 --> eqn 42 var 18 --> eqn 41 var 19 --> eqn 48 var 20 --> eqn 49 var 21 --> eqn 50 var 22 --> eqn 40 var 23 --> eqn 39 var 24 --> eqn 51 var 25 --> eqn 52 var 26 --> eqn 32 var 27 --> eqn 31 var 28 --> eqn 30 var 29 --> eqn 29 var 30 --> eqn 28 var 31 --> eqn 27 var 32 --> eqn 26 var 33 --> eqn 25 var 34 --> eqn 24 var 35 --> eqn 23 var 36 --> eqn 22 var 37 --> eqn 21 var 38 --> eqn 20 var 39 --> eqn 19 var 40 --> eqn 18 var 41 --> eqn 17 var 42 --> eqn 16 var 43 --> eqn 15 var 44 --> eqn 9 var 45 --> eqn 8 var 46 --> eqn 7 var 47 --> eqn 6 var 48 --> eqn 5 var 49 --> eqn 4 var 50 --> eqn 3 var 51 --> eqn 2 var 52 --> eqn 1 equation to variable ********************** eqn 1 --> var 52 eqn 2 --> var 51 eqn 3 --> var 50 eqn 4 --> var 49 eqn 5 --> var 48 eqn 6 --> var 47 eqn 7 --> var 46 eqn 8 --> var 45 eqn 9 --> var 44 eqn 10 --> var 1 eqn 11 --> var 2 eqn 12 --> var 3 eqn 13 --> var 4 eqn 14 --> var 5 eqn 15 --> var 43 eqn 16 --> var 42 eqn 17 --> var 41 eqn 18 --> var 40 eqn 19 --> var 39 eqn 20 --> var 38 eqn 21 --> var 37 eqn 22 --> var 36 eqn 23 --> var 35 eqn 24 --> var 34 eqn 25 --> var 33 eqn 26 --> var 32 eqn 27 --> var 31 eqn 28 --> var 30 eqn 29 --> var 29 eqn 30 --> var 28 eqn 31 --> var 27 eqn 32 --> var 26 eqn 33 --> var 6 eqn 34 --> var 7 eqn 35 --> var 8 eqn 36 --> var 9 eqn 37 --> var 10 eqn 38 --> var 11 eqn 39 --> var 23 eqn 40 --> var 22 eqn 41 --> var 18 eqn 42 --> var 17 eqn 43 --> var 16 eqn 44 --> var 15 eqn 45 --> var 14 eqn 46 --> var 13 eqn 47 --> var 12 eqn 48 --> var 19 eqn 49 --> var 20 eqn 50 --> var 21 eqn 51 --> var 24 eqn 52 --> var 25