Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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/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_matrixTrDat3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_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.001128/0.001128, allocations: 116.9 kB / 17.76 MB, free: 5.211 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.001461/0.001461, allocations: 188.7 kB / 18.69 MB, free: 4.289 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.319/1.319, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1809/0.1809, allocations: 38.04 MB / 330.6 MB, free: 8.711 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.838e-05/1.838e-05, allocations: 2.281 kB / 458.8 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.002826/0.002845, allocations: 2.105 MB / 460.9 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002819/0.005663, allocations: 2.05 MB / 462.9 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.157e-05/0.005705, allocations: 0 / 462.9 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.005821, allocations: 15.86 kB / 462.9 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.041e-05/0.005901, allocations: 27.84 kB / 463 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001923/0.007825, allocations: 0.8381 MB / 463.8 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.008031, allocations: 87.67 kB / 463.9 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.926e-05/0.008081, allocations: 8.125 kB / 463.9 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.132e-05/0.008172, allocations: 35.84 kB / 463.9 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.397e-05/0.008226, allocations: 31.84 kB / 464 MB, free: 1.676 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.008241, allocations: 8 kB / 464 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001786/0.01003, allocations: 1.357 MB / 465.3 MB, free: 316 kB / 334.1 MB Notification: Performance of combineBinaries: time 0.000112/0.01014, allocations: 110.7 kB / 465.4 MB, free: 204 kB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 5.124e-05/0.01019, allocations: 67.11 kB / 465.5 MB, free: 136 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.556e-05/0.01021, allocations: 3.938 kB / 465.5 MB, free: 132 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.792e-05/0.01022, allocations: 4 kB / 465.5 MB, free: 128 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.0005222/0.01075, allocations: 376.2 kB / 465.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of FunctionAlias: time 2.669e-05/0.01077, allocations: 21.38 kB / 465.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0001417/0.01091, allocations: 120.3 kB / 466 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simplify1: time 5.154e-05/0.01097, allocations: 48.42 kB / 466.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of Alias: time 6.585e-05/0.01103, allocations: 76.73 kB / 466.1 MB, free: 15.28 MB / 350.1 MB Notification: Performance of simplify2: time 3.681e-05/0.01107, allocations: 48.42 kB / 466.2 MB, free: 15.2 MB / 350.1 MB Notification: Performance of Detect States: time 0.0001008/0.01117, allocations: 79.88 kB / 466.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of Events: time 1.987e-05/0.01119, allocations: 4 kB / 466.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of Partitioning: time 9.012e-05/0.01128, allocations: 52.03 kB / 466.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of Causalize: time 0.0009012/0.01218, allocations: 0.9677 MB / 467.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 9.146e-05/0.01227, allocations: 96.33 kB / 467.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of Inline: time 0.0003546/0.01263, allocations: 212.5 kB / 467.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of Partitioning: time 1.02e-05/0.01264, allocations: 8.125 kB / 467.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of Cleanup: time 3.812e-05/0.01267, allocations: 39.98 kB / 467.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of Causalize: time 0.001171/0.01385, allocations: 1.677 MB / 469.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of Tearing: time 6.081e-06/0.01385, allocations: 3.984 kB / 469.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of Initialization: time 3.01e-07/0.01385, allocations: 0 / 469.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of Tearing: time 1.062e-06/0.01385, allocations: 0 / 469.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of Categorize: time 5.731e-06/0.01386, allocations: 3.984 kB / 469.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of Solve: time 9.919e-06/0.01387, allocations: 8 kB / 469.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of Jacobian: time 1.854e-06/0.01387, allocations: 3.938 kB / 469.3 MB, free: 11.91 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.131e-05/0.0139, allocations: 25.89 kB / 469.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of SimCode: time 0.003472/0.01737, allocations: 2.835 MB / 472.2 MB, free: 9.02 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].