Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.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_matrixTrDat0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 113.1 kB / 17.75 MB, free: 5.328 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.001317/0.001317, allocations: 188.6 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.057/1.057, 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.1514/0.1514, allocations: 37.99 MB / 309.9 MB, free: 5.953 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.678e-06/9.678e-06, allocations: 2.281 kB / 432.5 MB, free: 15.7 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.001852/0.00187, allocations: 2.088 MB / 434.6 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00183/0.003711, allocations: 2.085 MB / 436.7 MB, free: 11.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.289e-05/0.003754, allocations: 0 / 436.7 MB, free: 11.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00013/0.003891, allocations: 15.91 kB / 436.7 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.982e-05/0.003958, allocations: 23.84 kB / 436.7 MB, free: 11.46 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.001292/0.005261, allocations: 0.8263 MB / 437.5 MB, free: 10.63 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.466e-05/0.005367, allocations: 99.59 kB / 437.6 MB, free: 10.53 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.28e-05/0.005406, allocations: 4.188 kB / 437.6 MB, free: 10.53 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.663e-05/0.005467, allocations: 43.83 kB / 437.7 MB, free: 10.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.99e-05/0.005514, allocations: 39.78 kB / 437.7 MB, free: 10.45 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.077e-06/0.005527, allocations: 0 / 437.7 MB, free: 10.45 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.006662, allocations: 1.365 MB / 439.1 MB, free: 9.078 MB / 318.1 MB Notification: Performance of combineBinaries: time 4.508e-05/0.006718, allocations: 82.92 kB / 439.2 MB, free: 8.996 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 1.746e-05/0.00674, allocations: 55.2 kB / 439.2 MB, free: 8.941 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.07e-05/0.006756, allocations: 4 kB / 439.2 MB, free: 8.938 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.456e-06/0.006768, allocations: 0 / 439.2 MB, free: 8.938 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: 8 (1) * Number of variables: 8 (4) Notification: Performance of Bindings: time 0.000248/0.00702, allocations: 339.8 kB / 439.6 MB, free: 8.504 MB / 318.1 MB Notification: Performance of FunctionAlias: time 6.702e-06/0.007032, allocations: 0 / 439.6 MB, free: 8.504 MB / 318.1 MB Notification: Performance of Early Inline: time 9.163e-05/0.007128, allocations: 124.3 kB / 439.7 MB, free: 8.355 MB / 318.1 MB Notification: Performance of simplify1: time 1.633e-06/0.007135, allocations: 0 / 439.7 MB, free: 8.355 MB / 318.1 MB Notification: Performance of Alias: time 2.997e-05/0.007169, allocations: 68.56 kB / 439.7 MB, free: 8.25 MB / 318.1 MB Notification: Performance of simplify2: time 4.6e-07/0.007175, allocations: 4 kB / 439.8 MB, free: 8.246 MB / 318.1 MB Notification: Performance of Events: time 1.13e-05/0.00719, allocations: 0 / 439.8 MB, free: 8.246 MB / 318.1 MB Notification: Performance of Detect States: time 4.503e-05/0.007239, allocations: 48.17 kB / 439.8 MB, free: 8.184 MB / 318.1 MB Notification: Performance of Partitioning: time 4.02e-05/0.007285, allocations: 32.09 kB / 439.8 MB, free: 8.145 MB / 318.1 MB Notification: Performance of Causalize: time 0.0001173/0.007407, allocations: 76.61 kB / 439.9 MB, free: 8.062 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 5.956e-05/0.007473, allocations: 112.3 kB / 440 MB, free: 7.926 MB / 318.1 MB Notification: Performance of Inline: time 0.0001225/0.007601, allocations: 204.2 kB / 440.2 MB, free: 7.691 MB / 318.1 MB Notification: Performance of Partitioning: time 5.911e-06/0.007613, allocations: 12.12 kB / 440.2 MB, free: 7.672 MB / 318.1 MB Notification: Performance of Cleanup: time 1.159e-05/0.007629, allocations: 12.28 kB / 440.2 MB, free: 7.66 MB / 318.1 MB Notification: Performance of Causalize: time 8.151e-05/0.007718, allocations: 100.5 kB / 440.3 MB, free: 7.555 MB / 318.1 MB Notification: Performance of Tearing: time 6.001e-06/0.007731, allocations: 3.938 kB / 440.3 MB, free: 7.551 MB / 318.1 MB Notification: Performance of Initialization: time 3.3e-07/0.007735, allocations: 0 / 440.3 MB, free: 7.551 MB / 318.1 MB Notification: Performance of Tearing: time 7.22e-07/0.00774, allocations: 0 / 440.3 MB, free: 7.551 MB / 318.1 MB Notification: Performance of Categorize: time 4.989e-06/0.007748, allocations: 0 / 440.3 MB, free: 7.551 MB / 318.1 MB Notification: Performance of Solve: time 9.648e-06/0.007761, allocations: 4 kB / 440.3 MB, free: 7.547 MB / 318.1 MB Notification: Performance of Jacobian: time 2.244e-06/0.007767, allocations: 0 / 440.3 MB, free: 7.547 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.85e-05/0.007789, allocations: 22.23 kB / 440.4 MB, free: 7.527 MB / 318.1 MB Notification: Performance of SimCode: time 0.001408/0.009201, allocations: 2.157 MB / 442.5 MB, free: 5.348 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].