Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.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.EqCircFromTransDat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") translateModel(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 117.1 kB / 17.76 MB, free: 5.305 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.001062/0.001062, allocations: 184.6 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.064/1.064, 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.1481/0.1481, allocations: 37.99 MB / 309.9 MB, free: 5.941 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.617e-06/8.616e-06, allocations: 2.281 kB / 432.5 MB, free: 15.69 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.001803/0.00182, allocations: 2.138 MB / 434.6 MB, free: 13.53 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.003679, allocations: 2.089 MB / 436.7 MB, free: 11.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.168e-05/0.003722, allocations: 0 / 436.7 MB, free: 11.43 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.327e-05/0.003822, allocations: 11.92 kB / 436.7 MB, free: 11.42 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.113e-05/0.003899, allocations: 39.77 kB / 436.8 MB, free: 11.38 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.001318/0.005227, allocations: 0.829 MB / 437.6 MB, free: 10.55 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.005344, allocations: 107.7 kB / 437.7 MB, free: 10.45 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.867e-05/0.005379, allocations: 4 kB / 437.7 MB, free: 10.44 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.699e-05/0.005441, allocations: 51.77 kB / 437.8 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.891e-05/0.005487, allocations: 31.84 kB / 437.8 MB, free: 10.36 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.969e-06/0.005502, allocations: 11.94 kB / 437.8 MB, free: 10.35 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.006609, allocations: 1.337 MB / 439.1 MB, free: 9.008 MB / 318.1 MB Notification: Performance of combineBinaries: time 6.686e-05/0.006686, allocations: 126.6 kB / 439.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 3.209e-05/0.006724, allocations: 94.78 kB / 439.4 MB, free: 8.789 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.133e-05/0.00674, allocations: 8 kB / 439.4 MB, free: 8.781 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.247e-06/0.006754, allocations: 4 kB / 439.4 MB, free: 8.777 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: 14 (1) * Number of variables: 14 (6) Notification: Performance of Bindings: time 0.000282/0.00704, allocations: 424.8 kB / 439.8 MB, free: 8.262 MB / 318.1 MB Notification: Performance of FunctionAlias: time 8.616e-06/0.007055, allocations: 7.984 kB / 439.8 MB, free: 8.254 MB / 318.1 MB Notification: Performance of Early Inline: time 9.746e-05/0.007156, allocations: 148.3 kB / 439.9 MB, free: 8.082 MB / 318.1 MB Notification: Performance of simplify1: time 1.312e-06/0.007163, allocations: 0 / 439.9 MB, free: 8.082 MB / 318.1 MB Notification: Performance of Alias: time 3.264e-05/0.007199, allocations: 72.5 kB / 440 MB, free: 7.973 MB / 318.1 MB Notification: Performance of simplify2: time 4.71e-07/0.007204, allocations: 0 / 440 MB, free: 7.973 MB / 318.1 MB Notification: Performance of Events: time 1.213e-05/0.00722, allocations: 7.984 kB / 440 MB, free: 7.965 MB / 318.1 MB Notification: Performance of Detect States: time 4.645e-05/0.007271, allocations: 52.23 kB / 440.1 MB, free: 7.898 MB / 318.1 MB Notification: Performance of Partitioning: time 4.358e-05/0.00732, allocations: 36.05 kB / 440.1 MB, free: 7.855 MB / 318.1 MB Notification: Performance of Causalize: time 0.0001552/0.00748, allocations: 153.6 kB / 440.3 MB, free: 7.699 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 6.626e-05/0.007553, allocations: 124.3 kB / 440.4 MB, free: 7.551 MB / 318.1 MB Notification: Performance of Inline: time 0.0001369/0.007695, allocations: 236.2 kB / 440.6 MB, free: 7.285 MB / 318.1 MB Notification: Performance of Partitioning: time 6.563e-06/0.007707, allocations: 12.12 kB / 440.6 MB, free: 7.266 MB / 318.1 MB Notification: Performance of Cleanup: time 1.221e-05/0.007723, allocations: 11.98 kB / 440.6 MB, free: 7.254 MB / 318.1 MB Notification: Performance of Causalize: time 0.0001372/0.007864, allocations: 234.2 kB / 440.9 MB, free: 7.016 MB / 318.1 MB Notification: Performance of Tearing: time 6.131e-06/0.007877, allocations: 0 / 440.9 MB, free: 7.016 MB / 318.1 MB Notification: Performance of Initialization: time 3.5e-07/0.007881, allocations: 7.875 kB / 440.9 MB, free: 7.008 MB / 318.1 MB Notification: Performance of Tearing: time 7.51e-07/0.007885, allocations: 0 / 440.9 MB, free: 7.008 MB / 318.1 MB Notification: Performance of Categorize: time 4.348e-06/0.007893, allocations: 0 / 440.9 MB, free: 7.008 MB / 318.1 MB Notification: Performance of Solve: time 9.638e-06/0.007906, allocations: 4 kB / 440.9 MB, free: 7.004 MB / 318.1 MB Notification: Performance of Jacobian: time 1.973e-06/0.007911, allocations: 0 / 440.9 MB, free: 7.004 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.854e-05/0.007933, allocations: 30.09 kB / 440.9 MB, free: 6.98 MB / 318.1 MB Notification: Performance of SimCode: time 0.001432/0.00937, allocations: 2.255 MB / 443.2 MB, free: 4.699 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].