Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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_matrixTrDat3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 111.8 kB / 17.75 MB, free: 5.312 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.001127/0.001127, allocations: 185.8 kB / 18.68 MB, free: 4.398 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.349/1.349, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1752/0.1752, allocations: 38.04 MB / 330.6 MB, free: 8.746 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.137e-05, allocations: 2.281 kB / 458.8 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.003114/0.003144, allocations: 2.101 MB / 460.9 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003535/0.006693, allocations: 2.047 MB / 462.9 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.213e-05/0.006746, allocations: 0 / 462.9 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001237/0.006876, allocations: 11.92 kB / 462.9 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.409e-05/0.006967, allocations: 23.84 kB / 463 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002141/0.009133, allocations: 0.8459 MB / 463.8 MB, free: 1.824 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.009293, allocations: 79.69 kB / 463.9 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.416e-05/0.009344, allocations: 8.172 kB / 463.9 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.997e-05/0.00943, allocations: 35.84 kB / 463.9 MB, free: 1.703 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.848e-05/0.009486, allocations: 35.84 kB / 464 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.009502, allocations: 0 / 464 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002109/0.01162, allocations: 1.361 MB / 465.3 MB, free: 312 kB / 334.1 MB Notification: Performance of combineBinaries: time 0.0001393/0.01177, allocations: 106.7 kB / 465.4 MB, free: 204 kB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 5.883e-05/0.01184, allocations: 71.09 kB / 465.5 MB, free: 132 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.469e-05/0.01187, allocations: 7.938 kB / 465.5 MB, free: 124 kB / 334.1 MB Notification: Performance of FrontEnd: time 2.822e-05/0.01191, allocations: 4 kB / 465.5 MB, free: 120 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: 40 (1) * Number of variables: 40 (4) Notification: Performance of Bindings: time 0.0006596/0.01257, allocations: 382.5 kB / 465.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of FunctionAlias: time 2.065e-05/0.01261, allocations: 15.89 kB / 465.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0002027/0.01282, allocations: 132.3 kB / 466 MB, free: 15.47 MB / 350.1 MB Notification: Performance of simplify1: time 4.358e-06/0.01283, allocations: 7.922 kB / 466 MB, free: 15.46 MB / 350.1 MB Notification: Performance of Alias: time 9.347e-05/0.01293, allocations: 60.61 kB / 466.1 MB, free: 15.37 MB / 350.1 MB Notification: Performance of simplify2: time 5.71e-07/0.01293, allocations: 0 / 466.1 MB, free: 15.37 MB / 350.1 MB Notification: Performance of Events: time 2.707e-05/0.01297, allocations: 7.984 kB / 466.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of Detect States: time 0.0001101/0.01309, allocations: 63.3 kB / 466.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of Partitioning: time 8.637e-05/0.01318, allocations: 32.12 kB / 466.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of Causalize: time 0.001185/0.01437, allocations: 0.9751 MB / 467.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001271/0.01451, allocations: 120.3 kB / 467.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of Inline: time 0.0003336/0.01485, allocations: 224.2 kB / 467.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of Partitioning: time 1.407e-05/0.01487, allocations: 8.125 kB / 467.5 MB, free: 13.85 MB / 350.1 MB Notification: Performance of Cleanup: time 2.452e-05/0.0149, allocations: 19.98 kB / 467.5 MB, free: 13.83 MB / 350.1 MB Notification: Performance of Causalize: time 0.001475/0.01638, allocations: 1.709 MB / 469.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of Tearing: time 6.713e-06/0.0164, allocations: 0 / 469.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of Initialization: time 4.51e-07/0.01641, allocations: 0 / 469.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of Tearing: time 1.323e-06/0.01641, allocations: 0 / 469.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of Categorize: time 8.716e-06/0.01643, allocations: 4 kB / 469.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of Solve: time 2.049e-05/0.01645, allocations: 7.938 kB / 469.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of Jacobian: time 4.369e-06/0.01646, allocations: 3.984 kB / 469.3 MB, free: 12.1 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.683e-05/0.0165, allocations: 12.41 kB / 469.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of SimCode: time 0.003678/0.02019, allocations: 2.462 MB / 471.7 MB, free: 9.59 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].