Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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_matrixTrDat1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 115.8 kB / 17.75 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.001408/0.001408, allocations: 185.8 kB / 18.69 MB, free: 4.285 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.288/1.288, 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.1659/0.1659, allocations: 38.03 MB / 330.6 MB, free: 8.695 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.512e-05, allocations: 2.281 kB / 458.8 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.003401/0.003426, allocations: 2.102 MB / 460.9 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003188/0.006614, allocations: 2.047 MB / 462.9 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.648e-05/0.0067, allocations: 0 / 462.9 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.006825, allocations: 15.92 kB / 462.9 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.073e-05/0.006906, allocations: 27.83 kB / 463 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001934/0.00884, allocations: 0.8342 MB / 463.8 MB, free: 1.824 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.00898, allocations: 91.66 kB / 463.9 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.394e-05/0.009024, allocations: 8.125 kB / 463.9 MB, free: 1.727 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.542e-05/0.0091, allocations: 31.84 kB / 463.9 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.409e-05/0.009144, allocations: 31.86 kB / 464 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.009155, allocations: 0 / 464 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001646/0.0108, allocations: 1.361 MB / 465.3 MB, free: 308 kB / 334.1 MB Notification: Performance of combineBinaries: time 9.127e-05/0.01089, allocations: 106.8 kB / 465.4 MB, free: 200 kB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 4.257e-05/0.01093, allocations: 74.89 kB / 465.5 MB, free: 124 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.391e-05/0.01095, allocations: 4 kB / 465.5 MB, free: 120 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.591e-05/0.01096, 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: 12 (1) * Number of variables: 12 (4) Notification: Performance of Bindings: time 0.0004331/0.0114, allocations: 379.3 kB / 465.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of FunctionAlias: time 2.554e-05/0.01142, allocations: 13.06 kB / 465.9 MB, free: 15.62 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0001341/0.01156, allocations: 120.2 kB / 466 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simplify1: time 4.768e-05/0.0116, allocations: 52.41 kB / 466.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of Alias: time 7.522e-05/0.01168, allocations: 68.75 kB / 466.1 MB, free: 15.28 MB / 350.1 MB Notification: Performance of simplify2: time 3.751e-05/0.01172, allocations: 48.41 kB / 466.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of Detect States: time 0.0001115/0.01183, allocations: 83.56 kB / 466.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of Events: time 2.341e-05/0.01185, allocations: 15.98 kB / 466.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of Partitioning: time 8.103e-05/0.01193, allocations: 44.08 kB / 466.3 MB, free: 15.02 MB / 350.1 MB Notification: Performance of Causalize: time 0.0001772/0.01211, allocations: 113.2 kB / 466.4 MB, free: 14.9 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001002/0.01221, allocations: 100.3 kB / 466.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of Inline: time 0.0002206/0.01243, allocations: 212.4 kB / 466.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of Partitioning: time 8.436e-06/0.01244, allocations: 8.125 kB / 466.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of Cleanup: time 3.336e-05/0.01247, allocations: 27.98 kB / 466.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of Causalize: time 0.0001571/0.01263, allocations: 161.4 kB / 466.9 MB, free: 14.31 MB / 350.1 MB Notification: Performance of Tearing: time 7.744e-06/0.01264, allocations: 0 / 466.9 MB, free: 14.31 MB / 350.1 MB Notification: Performance of Initialization: time 2.71e-07/0.01264, allocations: 0 / 466.9 MB, free: 14.31 MB / 350.1 MB Notification: Performance of Tearing: time 2.424e-06/0.01264, allocations: 4 kB / 466.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of Categorize: time 5.48e-06/0.01265, allocations: 3.938 kB / 466.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of Solve: time 1.289e-05/0.01266, allocations: 0 / 466.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of Jacobian: time 2.645e-06/0.01266, allocations: 0 / 466.9 MB, free: 14.3 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.602e-05/0.0127, allocations: 30.92 kB / 467 MB, free: 14.27 MB / 350.1 MB Notification: Performance of SimCode: time 0.002933/0.01563, allocations: 2.583 MB / 469.5 MB, free: 11.66 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].