Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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="mat",numberOfIntervals=5000,variableFilter="Time|r_rd.1.|r_rd.2.|r_rq.1.|r_rq.2.|xm_d.1.|xm_d.2.|xm_d.3.|xm_q.1.|xm_q.2.|xm_q.3.|xsig_rd.1.|xsig_rd.2.|xsig_rq.1.|xsig_rq.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") translateModel(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|r_rd.1.|r_rd.2.|r_rq.1.|r_rq.2.|xm_d.1.|xm_d.2.|xm_d.3.|xm_q.1.|xm_q.2.|xm_q.3.|xsig_rd.1.|xsig_rd.2.|xsig_rq.1.|xsig_rq.2.",fileNamePrefix="PowerSystems_latest_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.001244/0.001244, allocations: 111.8 kB / 17.75 MB, free: 5.348 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.001275/0.001275, allocations: 185.8 kB / 18.68 MB, free: 4.426 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.341/1.341, 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-master/package.mo): time 0.1687/0.1687, allocations: 38.04 MB / 330.6 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.347e-05/2.348e-05, allocations: 2.281 kB / 458.8 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.002881/0.002913, allocations: 2.147 MB / 460.9 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00269/0.005618, allocations: 2.039 MB / 463 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.384e-05/0.005674, allocations: 4 kB / 463 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.005799, allocations: 15.84 kB / 463 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.462e-05/0.0059, allocations: 39.81 kB / 463 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001852/0.007772, allocations: 0.8302 MB / 463.9 MB, free: 1.805 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.007959, allocations: 111.6 kB / 464 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.329e-05/0.00801, allocations: 4 kB / 464 MB, free: 1.691 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.698e-05/0.008103, allocations: 47.78 kB / 464 MB, free: 1.645 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.699e-05/0.008168, allocations: 35.78 kB / 464 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.008185, allocations: 4 kB / 464.1 MB, free: 1.605 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001629/0.009818, allocations: 1.341 MB / 465.4 MB, free: 268 kB / 334.1 MB Notification: Performance of combineBinaries: time 0.0001053/0.009936, allocations: 126.7 kB / 465.5 MB, free: 140 kB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 6.373e-05/0.01001, allocations: 94.84 kB / 465.6 MB, free: 44 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.837e-05/0.01003, allocations: 7.938 kB / 465.6 MB, free: 36 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.509e-05/0.01005, allocations: 0 / 465.6 MB, free: 36 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: 14 (1) * Number of variables: 14 (6) Notification: Performance of Bindings: time 0.0004961/0.01055, allocations: 429.8 kB / 466 MB, free: 15.51 MB / 350.1 MB Notification: Performance of FunctionAlias: time 1.279e-05/0.01057, allocations: 15.72 kB / 466.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of Early Inline: time 0.000175/0.01075, allocations: 144.3 kB / 466.2 MB, free: 15.33 MB / 350.1 MB Notification: Performance of simplify1: time 3.056e-06/0.01076, allocations: 4 kB / 466.2 MB, free: 15.33 MB / 350.1 MB Notification: Performance of Alias: time 6.113e-05/0.01083, allocations: 60.61 kB / 466.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simplify2: time 5.92e-07/0.01084, allocations: 0 / 466.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of Events: time 1.673e-05/0.01086, allocations: 4 kB / 466.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of Detect States: time 8.63e-05/0.01095, allocations: 60.17 kB / 466.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of Partitioning: time 6.751e-05/0.01102, allocations: 40.09 kB / 466.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of Causalize: time 0.0002429/0.01127, allocations: 159.6 kB / 466.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001148/0.01139, allocations: 116.3 kB / 466.6 MB, free: 14.8 MB / 350.1 MB Notification: Performance of Inline: time 0.0002384/0.01164, allocations: 232.4 kB / 466.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of Partitioning: time 1.965e-05/0.01167, allocations: 12.12 kB / 466.9 MB, free: 14.52 MB / 350.1 MB Notification: Performance of Cleanup: time 1.871e-05/0.01169, allocations: 11.94 kB / 466.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of Causalize: time 0.0002246/0.01192, allocations: 225.8 kB / 467.1 MB, free: 14.28 MB / 350.1 MB Notification: Performance of Tearing: time 4.869e-06/0.01194, allocations: 4 kB / 467.1 MB, free: 14.28 MB / 350.1 MB Notification: Performance of Initialization: time 3.31e-07/0.01194, allocations: 0 / 467.1 MB, free: 14.28 MB / 350.1 MB Notification: Performance of Tearing: time 7.61e-07/0.01195, allocations: 3.938 kB / 467.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of Categorize: time 7.224e-06/0.01196, allocations: 3.938 kB / 467.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of Solve: time 1.98e-05/0.01199, allocations: 8 kB / 467.1 MB, free: 14.26 MB / 350.1 MB Notification: Performance of Jacobian: time 3.336e-06/0.01199, allocations: 0 / 467.1 MB, free: 14.26 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.606e-05/0.01203, allocations: 14.44 kB / 467.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of SimCode: time 0.002562/0.0146, allocations: 2.255 MB / 469.4 MB, free: 11.96 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].