Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.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.EqCircFromTransDat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") translateModel(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 117.2 kB / 17.76 MB, free: 5.32 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.001326/0.001326, allocations: 192.5 kB / 18.69 MB, free: 4.395 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.278/1.278, allocations: 222.9 MB / 242.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1641/0.1641, allocations: 38.03 MB / 330.6 MB, free: 8.668 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.186e-05, allocations: 2.281 kB / 458.8 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.003268/0.00329, allocations: 2.156 MB / 460.9 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003104/0.006394, allocations: 2.05 MB / 463 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.093e-05/0.006475, allocations: 0 / 463 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000147/0.006622, allocations: 11.86 kB / 463 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.00674, allocations: 43.8 kB / 463 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002295/0.009034, allocations: 0.8302 MB / 463.9 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.00923, allocations: 107.6 kB / 464 MB, free: 1.633 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.515e-05/0.009275, allocations: 7.938 kB / 464 MB, free: 1.625 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.009375, allocations: 39.83 kB / 464 MB, free: 1.586 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.055e-05/0.009436, allocations: 43.78 kB / 464.1 MB, free: 1.543 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.009449, allocations: 0 / 464.1 MB, free: 1.543 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001935/0.01138, allocations: 1.341 MB / 465.4 MB, free: 204 kB / 334.1 MB Notification: Performance of combineBinaries: time 0.000135/0.01152, allocations: 130.6 kB / 465.5 MB, free: 72 kB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 6.949e-05/0.01159, allocations: 86.95 kB / 465.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.184e-05/0.01161, allocations: 7.938 kB / 465.6 MB, free: 15.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-05/0.01163, allocations: 7.938 kB / 465.6 MB, free: 15.96 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 (1) * Number of variables: 14 (6) Notification: Performance of Bindings: time 0.0005402/0.01217, allocations: 423.7 kB / 466 MB, free: 15.44 MB / 350.1 MB Notification: Performance of FunctionAlias: time 3.826e-05/0.01221, allocations: 21.98 kB / 466.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0001443/0.01235, allocations: 120.3 kB / 466.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of simplify1: time 5.623e-05/0.01241, allocations: 44.42 kB / 466.2 MB, free: 15.2 MB / 350.1 MB Notification: Performance of Alias: time 7.115e-05/0.01248, allocations: 76.8 kB / 466.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of simplify2: time 4.127e-05/0.01252, allocations: 56.34 kB / 466.4 MB, free: 15 MB / 350.1 MB Notification: Performance of Detect States: time 0.0001237/0.01264, allocations: 75.89 kB / 466.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of Events: time 2.719e-05/0.01267, allocations: 11.98 kB / 466.4 MB, free: 14.87 MB / 350.1 MB Notification: Performance of Partitioning: time 8.852e-05/0.01276, allocations: 44.09 kB / 466.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of Causalize: time 0.0002368/0.013, allocations: 145.1 kB / 466.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001058/0.0131, allocations: 96.33 kB / 466.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of Inline: time 0.0002564/0.01336, allocations: 224.6 kB / 466.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of Partitioning: time 1.055e-05/0.01337, allocations: 20 kB / 467 MB, free: 14.26 MB / 350.1 MB Notification: Performance of Cleanup: time 4.091e-05/0.01341, allocations: 23.98 kB / 467 MB, free: 14.23 MB / 350.1 MB Notification: Performance of Causalize: time 0.0002118/0.01362, allocations: 209 kB / 467.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of Tearing: time 1.005e-05/0.01363, allocations: 0 / 467.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of Initialization: time 3.3e-07/0.01363, allocations: 0 / 467.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of Tearing: time 1.233e-06/0.01363, allocations: 7.938 kB / 467.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of Categorize: time 6.602e-06/0.01364, allocations: 0 / 467.2 MB, free: 14.02 MB / 350.1 MB Notification: Performance of Solve: time 1.558e-05/0.01366, allocations: 4 kB / 467.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of Jacobian: time 5.38e-06/0.01366, allocations: 4 kB / 467.2 MB, free: 14.01 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.294e-05/0.01369, allocations: 20.41 kB / 467.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of SimCode: time 0.003896/0.01759, allocations: 2.641 MB / 469.9 MB, free: 11.32 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].