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.00119/0.00119, allocations: 115.8 kB / 17.76 MB, free: 5.336 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.001199/0.0012, allocations: 185.8 kB / 18.68 MB, free: 4.414 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.381/1.381, 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.1702/0.1702, allocations: 38.03 MB / 330.6 MB, free: 8.711 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.951e-05/2.95e-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_matrixTrDat3): time 0.003486/0.003523, allocations: 2.102 MB / 460.9 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003178/0.006727, allocations: 2.039 MB / 462.9 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.473e-05/0.006803, allocations: 4 kB / 462.9 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000151/0.00696, allocations: 15.86 kB / 462.9 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.507e-05/0.007063, allocations: 31.83 kB / 463 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002424/0.009539, allocations: 0.8418 MB / 463.8 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001907/0.009742, allocations: 91.67 kB / 463.9 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.584e-05/0.009806, allocations: 12.11 kB / 463.9 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.009921, allocations: 31.84 kB / 463.9 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.064e-05/0.009992, allocations: 35.84 kB / 464 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.01001, allocations: 0 / 464 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002067/0.01209, allocations: 1.357 MB / 465.3 MB, free: 308 kB / 334.1 MB Notification: Performance of combineBinaries: time 0.000113/0.01221, allocations: 106.7 kB / 465.4 MB, free: 200 kB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 4.455e-05/0.01227, allocations: 71.11 kB / 465.5 MB, free: 128 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.164e-05/0.01229, allocations: 7.938 kB / 465.5 MB, free: 120 kB / 334.1 MB Notification: Performance of FrontEnd: time 2e-05/0.01232, allocations: 0 / 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.0005488/0.01287, allocations: 383.4 kB / 465.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of FunctionAlias: time 1.743e-05/0.0129, allocations: 7.891 kB / 465.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0001826/0.01309, allocations: 144.3 kB / 466 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simplify1: time 3.336e-06/0.0131, allocations: 3.938 kB / 466 MB, free: 15.46 MB / 350.1 MB Notification: Performance of Alias: time 7.672e-05/0.01318, allocations: 60.62 kB / 466.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simplify2: time 8.21e-07/0.01319, allocations: 0 / 466.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of Detect States: time 9.108e-05/0.01328, allocations: 58.83 kB / 466.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of Events: time 2.98e-05/0.01332, allocations: 11.98 kB / 466.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of Partitioning: time 7.218e-05/0.0134, allocations: 24.11 kB / 466.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of Causalize: time 0.001019/0.01443, allocations: 0.9829 MB / 467.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002224/0.01466, allocations: 124.3 kB / 467.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of Inline: time 0.0002998/0.01497, allocations: 216.2 kB / 467.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of Partitioning: time 1.178e-05/0.01499, allocations: 8.125 kB / 467.5 MB, free: 13.85 MB / 350.1 MB Notification: Performance of Cleanup: time 2.386e-05/0.01502, allocations: 15.92 kB / 467.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of Causalize: time 0.001728/0.01675, allocations: 1.717 MB / 469.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of Tearing: time 1.554e-05/0.01678, allocations: 0 / 469.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of Initialization: time 1.322e-06/0.01678, allocations: 0 / 469.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of Tearing: time 3.196e-06/0.01679, allocations: 0 / 469.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of Categorize: time 1.131e-05/0.01681, allocations: 0 / 469.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of Solve: time 2.049e-05/0.01683, allocations: 7.938 kB / 469.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of Jacobian: time 3.968e-06/0.01684, allocations: 0 / 469.3 MB, free: 12.11 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.621e-05/0.01688, allocations: 13.22 kB / 469.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of SimCode: time 0.004676/0.02156, allocations: 2.48 MB / 471.7 MB, free: 9.578 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].