Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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.Z_matrixTrDat1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 111.4 kB / 17.75 MB, free: 5.324 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.00105/0.00105, allocations: 194.2 kB / 18.69 MB, free: 4.402 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.075/1.075, allocations: 205.1 MB / 224.6 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1492/0.1492, allocations: 37.98 MB / 309.9 MB, free: 5.949 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.321e-05/1.323e-05, allocations: 2.281 kB / 432.5 MB, free: 15.81 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.00197/0.001991, allocations: 2.096 MB / 434.6 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001984/0.003986, allocations: 2.074 MB / 436.7 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.054e-05/0.004038, allocations: 0 / 436.7 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.64e-05/0.00414, allocations: 7.922 kB / 436.7 MB, free: 11.61 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.592e-05/0.004219, allocations: 35.83 kB / 436.7 MB, free: 11.57 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2829:3-2870:10:writable] Warning: Pure function 'Modelica.Math.Matrices.inv' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgetrf'. Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.005685, allocations: 0.8341 MB / 437.5 MB, free: 10.74 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.005799, allocations: 91.61 kB / 437.6 MB, free: 10.65 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.488e-05/0.00584, allocations: 8.188 kB / 437.6 MB, free: 10.64 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.743e-05/0.005902, allocations: 27.91 kB / 437.7 MB, free: 10.61 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.885e-05/0.005948, allocations: 35.78 kB / 437.7 MB, free: 10.58 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.022e-05/0.005964, allocations: 0 / 437.7 MB, free: 10.58 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.007166, allocations: 1.372 MB / 439.1 MB, free: 9.203 MB / 318.1 MB Notification: Performance of combineBinaries: time 5.305e-05/0.00723, allocations: 98.81 kB / 439.2 MB, free: 9.105 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 2.22e-05/0.007257, allocations: 74.98 kB / 439.3 MB, free: 9.031 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.269e-05/0.007275, allocations: 4 kB / 439.3 MB, free: 9.027 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.016e-05/0.007289, allocations: 0 / 439.3 MB, free: 9.027 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: 12 (1) * Number of variables: 12 (4) Notification: Performance of Bindings: time 0.0002766/0.00757, allocations: 371.4 kB / 439.6 MB, free: 8.562 MB / 318.1 MB Notification: Performance of FunctionAlias: time 6.983e-06/0.007583, allocations: 4 kB / 439.6 MB, free: 8.559 MB / 318.1 MB Notification: Performance of Early Inline: time 0.000101/0.007688, allocations: 136.3 kB / 439.8 MB, free: 8.398 MB / 318.1 MB Notification: Performance of simplify1: time 1.433e-06/0.007696, allocations: 4 kB / 439.8 MB, free: 8.395 MB / 318.1 MB Notification: Performance of Alias: time 3.278e-05/0.007733, allocations: 64.56 kB / 439.8 MB, free: 8.293 MB / 318.1 MB Notification: Performance of simplify2: time 4.81e-07/0.007738, allocations: 0 / 439.8 MB, free: 8.293 MB / 318.1 MB Notification: Performance of Events: time 1.218e-05/0.007754, allocations: 7.984 kB / 439.8 MB, free: 8.285 MB / 318.1 MB Notification: Performance of Detect States: time 5.086e-05/0.007809, allocations: 48.17 kB / 439.9 MB, free: 8.223 MB / 318.1 MB Notification: Performance of Partitioning: time 4.566e-05/0.007861, allocations: 28.12 kB / 439.9 MB, free: 8.188 MB / 318.1 MB Notification: Performance of Causalize: time 0.000146/0.008012, allocations: 140.8 kB / 440 MB, free: 8.047 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 6.483e-05/0.008084, allocations: 108.4 kB / 440.1 MB, free: 7.914 MB / 318.1 MB Notification: Performance of Inline: time 0.0001328/0.008222, allocations: 216.2 kB / 440.4 MB, free: 7.668 MB / 318.1 MB Notification: Performance of Partitioning: time 6.753e-06/0.008236, allocations: 16.06 kB / 440.4 MB, free: 7.645 MB / 318.1 MB Notification: Performance of Cleanup: time 1.279e-05/0.008253, allocations: 15.98 kB / 440.4 MB, free: 7.629 MB / 318.1 MB Notification: Performance of Causalize: time 0.0001208/0.008378, allocations: 188.2 kB / 440.6 MB, free: 7.441 MB / 318.1 MB Notification: Performance of Tearing: time 5.931e-06/0.008391, allocations: 0 / 440.6 MB, free: 7.441 MB / 318.1 MB Notification: Performance of Initialization: time 8.02e-07/0.008395, allocations: 4 kB / 440.6 MB, free: 7.438 MB / 318.1 MB Notification: Performance of Tearing: time 9.32e-07/0.0084, allocations: 0 / 440.6 MB, free: 7.438 MB / 318.1 MB Notification: Performance of Categorize: time 5.049e-06/0.008409, allocations: 0 / 440.6 MB, free: 7.438 MB / 318.1 MB Notification: Performance of Solve: time 9.768e-06/0.008422, allocations: 0 / 440.6 MB, free: 7.438 MB / 318.1 MB Notification: Performance of Jacobian: time 1.883e-06/0.008428, allocations: 0 / 440.6 MB, free: 7.438 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 2.026e-05/0.008452, allocations: 38.11 kB / 440.6 MB, free: 7.402 MB / 318.1 MB Notification: Performance of SimCode: time 0.001673/0.01013, allocations: 2.201 MB / 442.8 MB, free: 5.172 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].