Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.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.TransDatFromEqCirc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|tc_d.1.|tc_d.2.|tc_q.1.|tc_q.2.|to_d.1.|to_d.2.|to_q.1.|to_q.2.|xtr_d.1.|xtr_d.2.|xtr_q.1.|xtr_q.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") translateModel(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|tc_d.1.|tc_d.2.|tc_q.1.|tc_q.2.|to_d.1.|to_d.2.|to_q.1.|to_q.2.|xtr_d.1.|xtr_d.2.|xtr_q.1.|xtr_q.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.00132, allocations: 109.5 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: 184.2 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.356/1.356, allocations: 222.9 MB / 242.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1686/0.1686, allocations: 38.05 MB / 330.6 MB, free: 8.719 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.211e-05, allocations: 2.281 kB / 458.8 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.00311/0.00314, allocations: 2.155 MB / 460.9 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.004837, allocations: 1.064 MB / 462 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.777e-05/0.004895, allocations: 4 kB / 462 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.005023, allocations: 11.92 kB / 462 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.005163, allocations: 55.77 kB / 462.1 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007848/0.005954, allocations: 287.2 kB / 462.4 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.006164, allocations: 131.6 kB / 462.5 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.503e-05/0.006219, allocations: 3.984 kB / 462.5 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.756e-05/0.006323, allocations: 55.81 kB / 462.5 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.165e-05/0.006392, allocations: 47.77 kB / 462.6 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.00641, allocations: 4 kB / 462.6 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005487/0.006965, allocations: 415.1 kB / 463 MB, free: 2.629 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0001068/0.007083, allocations: 134.6 kB / 463.1 MB, free: 2.496 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 6.522e-05/0.007155, allocations: 94.88 kB / 463.2 MB, free: 2.402 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.579e-05/0.007176, allocations: 4 kB / 463.2 MB, free: 2.398 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.14e-05/0.007193, allocations: 4 kB / 463.2 MB, free: 2.395 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 (1) * Number of variables: 20 (10) Notification: Performance of Bindings: time 0.0004847/0.007682, allocations: 454 kB / 463.7 MB, free: 1.852 MB / 334.1 MB Notification: Performance of FunctionAlias: time 9.819e-06/0.0077, allocations: 11.94 kB / 463.7 MB, free: 1.84 MB / 334.1 MB Notification: Performance of Early Inline: time 0.0001294/0.007834, allocations: 120.3 kB / 463.8 MB, free: 1.695 MB / 334.1 MB Notification: Performance of simplify1: time 1.472e-06/0.007841, allocations: 0 / 463.8 MB, free: 1.695 MB / 334.1 MB Notification: Performance of Alias: time 6.663e-05/0.007913, allocations: 72.59 kB / 463.9 MB, free: 1.586 MB / 334.1 MB Notification: Performance of simplify2: time 6.11e-07/0.007918, allocations: 0 / 463.9 MB, free: 1.586 MB / 334.1 MB Notification: Performance of Events: time 1.516e-05/0.007938, allocations: 4 kB / 463.9 MB, free: 1.582 MB / 334.1 MB Notification: Performance of Detect States: time 7.923e-05/0.008108, allocations: 70.81 kB / 463.9 MB, free: 1.5 MB / 334.1 MB Notification: Performance of Partitioning: time 6.734e-05/0.008182, allocations: 32.12 kB / 464 MB, free: 1.461 MB / 334.1 MB Notification: Performance of Causalize: time 0.0003531/0.008541, allocations: 276.8 kB / 464.2 MB, free: 1.188 MB / 334.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001167/0.008667, allocations: 132.3 kB / 464.4 MB, free: 1.031 MB / 334.1 MB Notification: Performance of Inline: time 0.0001918/0.008865, allocations: 196.4 kB / 464.6 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of Partitioning: time 1.135e-05/0.008883, allocations: 8.125 kB / 464.6 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of Cleanup: time 2.226e-05/0.00891, allocations: 19.92 kB / 464.6 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of Causalize: time 0.0004409/0.009357, allocations: 434.4 kB / 465 MB, free: 344 kB / 334.1 MB Notification: Performance of Tearing: time 5.5e-06/0.009371, allocations: 0 / 465 MB, free: 344 kB / 334.1 MB Notification: Performance of Initialization: time 3.71e-07/0.009378, allocations: 4 kB / 465 MB, free: 340 kB / 334.1 MB Notification: Performance of Tearing: time 9.22e-07/0.009383, allocations: 0 / 465 MB, free: 340 kB / 334.1 MB Notification: Performance of Categorize: time 5.982e-06/0.009393, allocations: 0 / 465 MB, free: 340 kB / 334.1 MB Notification: Performance of Solve: time 1.277e-05/0.00941, allocations: 3.938 kB / 465 MB, free: 336 kB / 334.1 MB Notification: Performance of Jacobian: time 3.286e-06/0.009417, allocations: 0 / 465 MB, free: 336 kB / 334.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.405e-05/0.009458, allocations: 25.92 kB / 465.1 MB, free: 312 kB / 334.1 MB Notification: Performance of SimCode: time 0.001338/0.0108, allocations: 1.45 MB / 466.5 MB, free: 14.82 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].