Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") translateModel(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_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.001338/0.001338, allocations: 117.1 kB / 17.76 MB, free: 5.297 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.001335/0.001335, allocations: 188.5 kB / 18.68 MB, free: 4.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.058/1.058, allocations: 205.1 MB / 224.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1497/0.1497, allocations: 37.98 MB / 309.9 MB, free: 5.949 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.16e-05/1.161e-05, allocations: 6.281 kB / 432.5 MB, free: 15.7 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.001917/0.001937, allocations: 2.153 MB / 434.7 MB, free: 13.54 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.002976, allocations: 1.107 MB / 435.8 MB, free: 12.42 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.644e-05/0.003023, allocations: 4 kB / 435.8 MB, free: 12.42 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.709e-05/0.003125, allocations: 11.86 kB / 435.8 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.534e-05/0.003227, allocations: 51.78 kB / 435.8 MB, free: 12.36 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1895:3-1973:18:writable] Warning: Pure function 'Modelica.Math.Matrices.eigenValues' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgeev_eigenValues'. Notification: Performance of NFTyping.typeClassSections: time 0.0006206/0.003858, allocations: 279.2 kB / 436.1 MB, free: 12.08 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.004007, allocations: 135.5 kB / 436.2 MB, free: 11.95 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.873e-05/0.004052, allocations: 11.92 kB / 436.2 MB, free: 11.94 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.884e-05/0.004125, allocations: 55.75 kB / 436.3 MB, free: 11.88 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.534e-05/0.004178, allocations: 43.78 kB / 436.3 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.004194, allocations: 4 kB / 436.3 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004079/0.004607, allocations: 415.2 kB / 436.8 MB, free: 11.43 MB / 318.1 MB Notification: Performance of combineBinaries: time 7.309e-05/0.004689, allocations: 130.7 kB / 436.9 MB, free: 11.3 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 3.826e-05/0.004732, allocations: 102.8 kB / 437 MB, free: 11.2 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.446e-05/0.004751, allocations: 11.94 kB / 437 MB, free: 11.19 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.106e-05/0.004767, allocations: 0 / 437 MB, free: 11.19 MB / 318.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.0003233/0.005095, allocations: 431.2 kB / 437.4 MB, free: 10.66 MB / 318.1 MB Notification: Performance of FunctionAlias: time 7.263e-06/0.005107, allocations: 7.891 kB / 437.4 MB, free: 10.66 MB / 318.1 MB Notification: Performance of Early Inline: time 8.663e-05/0.005198, allocations: 132.3 kB / 437.5 MB, free: 10.5 MB / 318.1 MB Notification: Performance of simplify1: time 1.353e-06/0.005205, allocations: 0 / 437.5 MB, free: 10.5 MB / 318.1 MB Notification: Performance of Alias: time 3.563e-05/0.005245, allocations: 76.56 kB / 437.6 MB, free: 10.39 MB / 318.1 MB Notification: Performance of simplify2: time 4.61e-07/0.00525, allocations: 0 / 437.6 MB, free: 10.39 MB / 318.1 MB Notification: Performance of Events: time 1.256e-05/0.005266, allocations: 0 / 437.6 MB, free: 10.39 MB / 318.1 MB Notification: Performance of Detect States: time 5.203e-05/0.005322, allocations: 64.16 kB / 437.7 MB, free: 10.31 MB / 318.1 MB Notification: Performance of Partitioning: time 4.786e-05/0.005375, allocations: 40.06 kB / 437.7 MB, free: 10.26 MB / 318.1 MB Notification: Performance of Causalize: time 0.0002232/0.005603, allocations: 266.7 kB / 438 MB, free: 9.996 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 7.219e-05/0.005683, allocations: 140.3 kB / 438.1 MB, free: 9.832 MB / 318.1 MB Notification: Performance of Inline: time 0.0001179/0.005806, allocations: 200.2 kB / 438.3 MB, free: 9.602 MB / 318.1 MB Notification: Performance of Partitioning: time 7.594e-06/0.005819, allocations: 8.125 kB / 438.3 MB, free: 9.586 MB / 318.1 MB Notification: Performance of Cleanup: time 1.51e-05/0.005838, allocations: 23.92 kB / 438.3 MB, free: 9.562 MB / 318.1 MB Notification: Performance of Causalize: time 0.0002274/0.006069, allocations: 427.1 kB / 438.8 MB, free: 9.137 MB / 318.1 MB Notification: Performance of Tearing: time 7.525e-06/0.006084, allocations: 4 kB / 438.8 MB, free: 9.133 MB / 318.1 MB Notification: Performance of Initialization: time 3.61e-07/0.006088, allocations: 3.938 kB / 438.8 MB, free: 9.129 MB / 318.1 MB Notification: Performance of Tearing: time 8.22e-07/0.006092, allocations: 0 / 438.8 MB, free: 9.129 MB / 318.1 MB Notification: Performance of Categorize: time 5.3e-06/0.006101, allocations: 0 / 438.8 MB, free: 9.129 MB / 318.1 MB Notification: Performance of Solve: time 9.418e-06/0.006114, allocations: 0 / 438.8 MB, free: 9.129 MB / 318.1 MB Notification: Performance of Jacobian: time 2.455e-06/0.006121, allocations: 4 kB / 438.8 MB, free: 9.125 MB / 318.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 1.946e-05/0.006144, allocations: 26.22 kB / 438.8 MB, free: 9.102 MB / 318.1 MB Notification: Performance of SimCode: time 0.0008885/0.007037, allocations: 1.454 MB / 440.3 MB, free: 7.621 MB / 318.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].