Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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_matrixTrDat2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 113 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.001042/0.001042, allocations: 184.7 kB / 18.68 MB, free: 4.426 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.055/1.055, allocations: 205.1 MB / 224.6 MB, free: 12.24 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.99 MB / 309.9 MB, free: 5.949 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.351e-05/1.352e-05, allocations: 2.281 kB / 432.5 MB, free: 15.7 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.002078/0.002099, allocations: 2.092 MB / 434.6 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001916/0.004025, allocations: 2.078 MB / 436.7 MB, free: 11.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.895e-05/0.004075, allocations: 0 / 436.7 MB, free: 11.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.004183, allocations: 19.84 kB / 436.7 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.615e-05/0.004263, allocations: 27.84 kB / 436.7 MB, free: 11.45 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.001518/0.005787, allocations: 0.8341 MB / 437.6 MB, free: 10.62 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.005901, allocations: 87.73 kB / 437.6 MB, free: 10.53 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.34e-05/0.005941, allocations: 4.188 kB / 437.6 MB, free: 10.53 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.705e-05/0.006003, allocations: 35.84 kB / 437.7 MB, free: 10.49 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.444e-05/0.006045, allocations: 35.84 kB / 437.7 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.00606, allocations: 0 / 437.7 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001141/0.007205, allocations: 1.376 MB / 439.1 MB, free: 9.078 MB / 318.1 MB Notification: Performance of combineBinaries: time 5.222e-05/0.007268, allocations: 106.7 kB / 439.2 MB, free: 8.973 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 2.32e-05/0.007296, allocations: 71.02 kB / 439.3 MB, free: 8.902 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.207e-05/0.007313, allocations: 7.938 kB / 439.3 MB, free: 8.895 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.083e-05/0.007328, allocations: 0 / 439.3 MB, free: 8.895 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: 24 (1) * Number of variables: 24 (4) Notification: Performance of Bindings: time 0.0002724/0.007605, allocations: 389 kB / 439.6 MB, free: 8.414 MB / 318.1 MB Notification: Performance of FunctionAlias: time 7.555e-06/0.007618, allocations: 3.938 kB / 439.7 MB, free: 8.41 MB / 318.1 MB Notification: Performance of Early Inline: time 9.653e-05/0.007719, allocations: 140.3 kB / 439.8 MB, free: 8.246 MB / 318.1 MB Notification: Performance of simplify1: time 1.583e-06/0.007726, allocations: 4 kB / 439.8 MB, free: 8.242 MB / 318.1 MB Notification: Performance of Alias: time 3.021e-05/0.00776, allocations: 60.56 kB / 439.9 MB, free: 8.145 MB / 318.1 MB Notification: Performance of simplify2: time 9.32e-07/0.007766, allocations: 3.984 kB / 439.9 MB, free: 8.141 MB / 318.1 MB Notification: Performance of Events: time 1.221e-05/0.007782, allocations: 8 kB / 439.9 MB, free: 8.133 MB / 318.1 MB Notification: Performance of Detect States: time 4.467e-05/0.007831, allocations: 40.23 kB / 439.9 MB, free: 8.078 MB / 318.1 MB Notification: Performance of Partitioning: time 4.177e-05/0.007878, allocations: 40.11 kB / 439.9 MB, free: 8.031 MB / 318.1 MB Notification: Performance of Causalize: time 0.0002612/0.008144, allocations: 383.4 kB / 440.3 MB, free: 7.645 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 6.542e-05/0.008217, allocations: 124.3 kB / 440.4 MB, free: 7.496 MB / 318.1 MB Notification: Performance of Inline: time 0.0001332/0.008355, allocations: 220.2 kB / 440.7 MB, free: 7.246 MB / 318.1 MB Notification: Performance of Partitioning: time 6.823e-06/0.008368, allocations: 20.11 kB / 440.7 MB, free: 7.219 MB / 318.1 MB Notification: Performance of Cleanup: time 1.244e-05/0.008385, allocations: 15.94 kB / 440.7 MB, free: 7.203 MB / 318.1 MB Notification: Performance of Causalize: time 0.0002839/0.008673, allocations: 0.6012 MB / 441.3 MB, free: 6.59 MB / 318.1 MB Notification: Performance of Tearing: time 5.63e-06/0.008686, allocations: 0 / 441.3 MB, free: 6.59 MB / 318.1 MB Notification: Performance of Initialization: time 8.62e-07/0.008691, allocations: 4 kB / 441.3 MB, free: 6.586 MB / 318.1 MB Notification: Performance of Tearing: time 7.32e-07/0.008696, allocations: 0 / 441.3 MB, free: 6.586 MB / 318.1 MB Notification: Performance of Categorize: time 4.508e-06/0.008704, allocations: 0 / 441.3 MB, free: 6.586 MB / 318.1 MB Notification: Performance of Solve: time 1.044e-05/0.008718, allocations: 7.938 kB / 441.3 MB, free: 6.578 MB / 318.1 MB Notification: Performance of Jacobian: time 2.004e-06/0.008724, allocations: 0 / 441.3 MB, free: 6.578 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.864e-05/0.008747, allocations: 30.22 kB / 441.3 MB, free: 6.551 MB / 318.1 MB Notification: Performance of SimCode: time 0.001477/0.01023, allocations: 2.308 MB / 443.6 MB, free: 4.223 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].