Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_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.001031/0.001031, allocations: 118.7 kB / 17.76 MB, free: 5.293 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.0009967/0.0009967, allocations: 183 kB / 18.69 MB, free: 4.371 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.277/1.277, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1702/0.1702, allocations: 38.04 MB / 330.6 MB, free: 8.684 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.744e-05/2.744e-05, allocations: 2.281 kB / 458.8 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.003434/0.003461, allocations: 2.102 MB / 460.9 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003202/0.006663, allocations: 2.047 MB / 462.9 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.401e-05/0.006747, allocations: 4 kB / 462.9 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001965/0.006944, allocations: 11.91 kB / 462.9 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.007051, allocations: 31.84 kB / 463 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002458/0.009509, allocations: 0.8303 MB / 463.8 MB, free: 1.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.009702, allocations: 95.61 kB / 463.9 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.469e-05/0.009756, allocations: 8.109 kB / 463.9 MB, free: 1.719 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.009861, allocations: 31.91 kB / 463.9 MB, free: 1.688 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.322e-05/0.009925, allocations: 35.78 kB / 464 MB, free: 1.652 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.009936, allocations: 0 / 464 MB, free: 1.652 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002097/0.01203, allocations: 1.368 MB / 465.3 MB, free: 288 kB / 334.1 MB Notification: Performance of combineBinaries: time 8.665e-05/0.01212, allocations: 75.02 kB / 465.4 MB, free: 212 kB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 3.613e-05/0.01216, allocations: 59.19 kB / 465.5 MB, free: 152 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.042e-05/0.01218, allocations: 8 kB / 465.5 MB, free: 144 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.856e-05/0.0122, allocations: 0 / 465.5 MB, free: 144 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.0004542/0.01265, allocations: 336.5 kB / 465.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of FunctionAlias: time 2.971e-05/0.01268, allocations: 13.06 kB / 465.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0001346/0.01281, allocations: 112.3 kB / 465.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simplify1: time 4.976e-05/0.01286, allocations: 52.42 kB / 466 MB, free: 15.47 MB / 350.1 MB Notification: Performance of Alias: time 6.76e-05/0.01293, allocations: 72.67 kB / 466.1 MB, free: 15.35 MB / 350.1 MB Notification: Performance of simplify2: time 3.536e-05/0.01297, allocations: 48.36 kB / 466.1 MB, free: 15.27 MB / 350.1 MB Notification: Performance of Detect States: time 0.0001125/0.01308, allocations: 83.78 kB / 466.2 MB, free: 15.15 MB / 350.1 MB Notification: Performance of Events: time 2.202e-05/0.0131, allocations: 3.984 kB / 466.2 MB, free: 15.15 MB / 350.1 MB Notification: Performance of Partitioning: time 8.612e-05/0.01319, allocations: 52.06 kB / 466.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of Causalize: time 0.0001765/0.01336, allocations: 56.67 kB / 466.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 9.163e-05/0.01346, allocations: 96.33 kB / 466.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of Inline: time 0.0002194/0.01367, allocations: 196.5 kB / 466.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of Partitioning: time 1.081e-05/0.01369, allocations: 12.12 kB / 466.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of Cleanup: time 3.665e-05/0.01372, allocations: 32.19 kB / 466.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of Causalize: time 0.0001036/0.01383, allocations: 88.45 kB / 466.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of Tearing: time 1.031e-05/0.01384, allocations: 0 / 466.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of Initialization: time 2.8e-07/0.01384, allocations: 4 kB / 466.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of Tearing: time 3.266e-06/0.01384, allocations: 4 kB / 466.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of Categorize: time 7.434e-06/0.01385, allocations: 4 kB / 466.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of Solve: time 1.405e-05/0.01386, allocations: 0 / 466.7 MB, free: 14.51 MB / 350.1 MB Notification: Performance of Jacobian: time 3.146e-06/0.01386, allocations: 0 / 466.7 MB, free: 14.51 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) {} * Number of discrete variables: ................. 0 (0) {} * Number of clocks: ............................. 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.599e-05/0.0139, allocations: 23.92 kB / 466.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of SimCode: time 0.00413/0.01803, allocations: 2.542 MB / 469.3 MB, free: 11.92 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].