Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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_matrixTrDat2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 115.7 kB / 17.76 MB, free: 5.273 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.0009723/0.0009723, allocations: 186 kB / 18.68 MB, free: 4.355 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.303/1.303, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1693/0.1693, allocations: 38.03 MB / 330.6 MB, free: 8.688 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.935e-05/2.935e-05, allocations: 2.281 kB / 458.8 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.003142/0.003171, allocations: 2.105 MB / 460.9 MB, free: 4.773 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002926/0.006097, allocations: 2.051 MB / 462.9 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.331e-05/0.00614, allocations: 0 / 462.9 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.006263, allocations: 15.84 kB / 462.9 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.289e-05/0.006346, allocations: 27.84 kB / 463 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001913/0.008259, allocations: 0.8342 MB / 463.8 MB, free: 1.832 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.0084, allocations: 91.67 kB / 463.9 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.81e-05/0.008438, allocations: 4.125 kB / 463.9 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.409e-05/0.008512, allocations: 35.83 kB / 463.9 MB, free: 1.703 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.712e-05/0.00857, allocations: 35.84 kB / 464 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.008581, allocations: 0 / 464 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001646/0.01023, allocations: 1.361 MB / 465.3 MB, free: 312 kB / 334.1 MB Notification: Performance of combineBinaries: time 8.875e-05/0.01032, allocations: 106.7 kB / 465.4 MB, free: 204 kB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 4.497e-05/0.01036, allocations: 71.09 kB / 465.5 MB, free: 132 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.662e-05/0.01038, allocations: 7.938 kB / 465.5 MB, free: 124 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.552e-05/0.01039, allocations: 0 / 465.5 MB, free: 124 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: 24 (1) * Number of variables: 24 (4) Notification: Performance of Bindings: time 0.0004701/0.01086, allocations: 384.2 kB / 465.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of FunctionAlias: time 2.914e-05/0.01089, allocations: 17.38 kB / 465.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0001682/0.01106, allocations: 116.3 kB / 466 MB, free: 15.47 MB / 350.1 MB Notification: Performance of simplify1: time 5.614e-05/0.01112, allocations: 52.41 kB / 466.1 MB, free: 15.39 MB / 350.1 MB Notification: Performance of Alias: time 5.85e-05/0.01118, allocations: 64.75 kB / 466.1 MB, free: 15.28 MB / 350.1 MB Notification: Performance of simplify2: time 3.456e-05/0.01121, allocations: 52.41 kB / 466.2 MB, free: 15.2 MB / 350.1 MB Notification: Performance of Detect States: time 0.0001189/0.01133, allocations: 87.7 kB / 466.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of Events: time 2.707e-05/0.01136, allocations: 15.92 kB / 466.3 MB, free: 15.06 MB / 350.1 MB Notification: Performance of Partitioning: time 7.927e-05/0.01144, allocations: 44.05 kB / 466.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of Causalize: time 0.0004469/0.01188, allocations: 363.3 kB / 466.7 MB, free: 14.65 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 9.52e-05/0.01198, allocations: 100.3 kB / 466.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of Inline: time 0.0002611/0.01224, allocations: 220.5 kB / 467 MB, free: 14.26 MB / 350.1 MB Notification: Performance of Partitioning: time 1.263e-05/0.01225, allocations: 12.12 kB / 467 MB, free: 14.24 MB / 350.1 MB Notification: Performance of Cleanup: time 3.818e-05/0.01229, allocations: 35.91 kB / 467 MB, free: 14.2 MB / 350.1 MB Notification: Performance of Causalize: time 0.0004583/0.01275, allocations: 0.5862 MB / 467.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of Tearing: time 1.261e-05/0.01276, allocations: 4 kB / 467.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of Initialization: time 3.11e-07/0.01276, allocations: 0 / 467.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of Tearing: time 8.52e-07/0.01276, allocations: 0 / 467.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of Categorize: time 6.623e-06/0.01277, allocations: 0 / 467.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of Solve: time 1.641e-05/0.01278, allocations: 4 kB / 467.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of Jacobian: time 4.508e-06/0.01279, allocations: 4 kB / 467.6 MB, free: 13.59 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 4.482e-05/0.01283, allocations: 26.98 kB / 467.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of SimCode: time 0.003136/0.01597, allocations: 2.701 MB / 470.4 MB, free: 10.84 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].