Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.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_matrixTrDat0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 109.5 kB / 17.75 MB, free: 5.324 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.001371/0.001371, allocations: 188.2 kB / 18.68 MB, free: 4.41 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.3/1.3, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1652/0.1652, allocations: 38.04 MB / 330.6 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.485e-05/2.487e-05, allocations: 2.281 kB / 458.8 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.003137/0.003172, allocations: 2.101 MB / 460.9 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002969/0.006157, allocations: 2.035 MB / 462.9 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.523e-05/0.006225, allocations: 0 / 462.9 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001975/0.006429, allocations: 19.92 kB / 462.9 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.866e-05/0.00655, allocations: 19.84 kB / 463 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002192/0.008749, allocations: 0.8362 MB / 463.8 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001819/0.008942, allocations: 95.66 kB / 463.9 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.805e-05/0.008999, allocations: 4.188 kB / 463.9 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.971e-05/0.009105, allocations: 43.83 kB / 463.9 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.994e-05/0.009174, allocations: 35.78 kB / 464 MB, free: 1.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.009193, allocations: 0 / 464 MB, free: 1.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001832/0.01103, allocations: 1.361 MB / 465.3 MB, free: 324 kB / 334.1 MB Notification: Performance of combineBinaries: time 8.392e-05/0.01113, allocations: 83 kB / 465.4 MB, free: 240 kB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 4.363e-05/0.01118, allocations: 55.22 kB / 465.5 MB, free: 184 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.703e-05/0.0112, allocations: 4 kB / 465.5 MB, free: 180 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.581e-05/0.01122, allocations: 0 / 465.5 MB, free: 180 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 (1) * Number of variables: 8 (4) Notification: Performance of Bindings: time 0.0004429/0.01167, allocations: 335.8 kB / 465.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of FunctionAlias: time 1.342e-05/0.01169, allocations: 7.891 kB / 465.8 MB, free: 15.74 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0001494/0.01184, allocations: 124.3 kB / 465.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simplify1: time 1.603e-06/0.01185, allocations: 0 / 465.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of Alias: time 6.596e-05/0.01192, allocations: 64.61 kB / 466 MB, free: 15.49 MB / 350.1 MB Notification: Performance of simplify2: time 5.81e-07/0.01193, allocations: 0 / 466 MB, free: 15.49 MB / 350.1 MB Notification: Performance of Events: time 1.748e-05/0.01195, allocations: 7.984 kB / 466 MB, free: 15.48 MB / 350.1 MB Notification: Performance of Detect States: time 8.379e-05/0.01204, allocations: 64.11 kB / 466.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of Partitioning: time 5.919e-05/0.0121, allocations: 24.11 kB / 466.1 MB, free: 15.37 MB / 350.1 MB Notification: Performance of Causalize: time 0.0001739/0.01228, allocations: 72.61 kB / 466.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 9.742e-05/0.01239, allocations: 108.3 kB / 466.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of Inline: time 0.0001953/0.01259, allocations: 192.4 kB / 466.5 MB, free: 14.94 MB / 350.1 MB Notification: Performance of Partitioning: time 1.39e-05/0.01261, allocations: 12.12 kB / 466.5 MB, free: 14.92 MB / 350.1 MB Notification: Performance of Cleanup: time 1.856e-05/0.01264, allocations: 11.94 kB / 466.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of Causalize: time 0.0001243/0.01277, allocations: 112.4 kB / 466.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of Tearing: time 6.342e-06/0.01278, allocations: 0 / 466.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of Initialization: time 3.01e-07/0.01279, allocations: 0 / 466.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of Tearing: time 7.11e-07/0.01279, allocations: 0 / 466.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of Categorize: time 8.226e-06/0.0128, allocations: 3.938 kB / 466.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of Solve: time 1.555e-05/0.01282, allocations: 7.984 kB / 466.6 MB, free: 14.78 MB / 350.1 MB Notification: Performance of Jacobian: time 2.485e-06/0.01283, allocations: 0 / 466.6 MB, free: 14.78 MB / 350.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 0 (scalar:0, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 0 (scalar:0, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.121e-05/0.01286, allocations: 15.19 kB / 466.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of SimCode: time 0.002524/0.01539, allocations: 2.158 MB / 468.8 MB, free: 12.57 MB / 350.1 MB [CodegenCFunctions.tpl:5632:13-5632:13:writable] Error: Template error: This should have been handled in indexed assign and should not have gotten here. eigenvalues[:,2].