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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.001044/0.001044, allocations: 111.9 kB / 17.75 MB, free: 5.34 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.001063/0.001063, allocations: 189.8 kB / 18.69 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.258/1.258, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1725/0.1725, allocations: 38.04 MB / 330.6 MB, free: 8.688 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.63e-05/2.63e-05, allocations: 2.281 kB / 458.8 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.004183/0.004209, allocations: 2.167 MB / 460.9 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.006143, allocations: 1.057 MB / 462 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.493e-05/0.006238, allocations: 0 / 462 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001705/0.006409, allocations: 19.91 kB / 462 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001716/0.00658, allocations: 51.78 kB / 462.1 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.007765, allocations: 287.2 kB / 462.4 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002431/0.008008, allocations: 131.6 kB / 462.5 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.473e-05/0.008063, allocations: 3.984 kB / 462.5 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.00821, allocations: 47.83 kB / 462.5 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.887e-05/0.008299, allocations: 51.77 kB / 462.6 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.008313, allocations: 0 / 462.6 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007223/0.009035, allocations: 423.1 kB / 463 MB, free: 2.641 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0001354/0.009171, allocations: 126.7 kB / 463.1 MB, free: 2.516 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 8.386e-05/0.009255, allocations: 98.84 kB / 463.2 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.212e-05/0.009277, allocations: 12 kB / 463.2 MB, free: 2.406 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.671e-05/0.009293, allocations: 0 / 463.2 MB, free: 2.406 MB / 334.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.0005555/0.009849, allocations: 431.7 kB / 463.6 MB, free: 1.867 MB / 334.1 MB Notification: Performance of FunctionAlias: time 3.047e-05/0.009879, allocations: 18.38 kB / 463.7 MB, free: 1.852 MB / 334.1 MB Notification: Performance of Early Inline: time 0.0001364/0.01002, allocations: 108.3 kB / 463.8 MB, free: 1.719 MB / 334.1 MB Notification: Performance of simplify1: time 4.791e-05/0.01006, allocations: 44.42 kB / 463.8 MB, free: 1.648 MB / 334.1 MB Notification: Performance of Alias: time 9.507e-05/0.01016, allocations: 88.66 kB / 463.9 MB, free: 1.512 MB / 334.1 MB Notification: Performance of simplify2: time 4.218e-05/0.0102, allocations: 48.36 kB / 463.9 MB, free: 1.438 MB / 334.1 MB Notification: Performance of Detect States: time 0.0001252/0.01033, allocations: 83.86 kB / 464 MB, free: 1.316 MB / 334.1 MB Notification: Performance of Events: time 3.853e-05/0.01036, allocations: 8 kB / 464 MB, free: 1.309 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0001053/0.01047, allocations: 56.09 kB / 464.1 MB, free: 1.246 MB / 334.1 MB Notification: Performance of Causalize: time 0.0004306/0.0109, allocations: 248.2 kB / 464.3 MB, free: 1 MB / 334.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001194/0.01102, allocations: 116.3 kB / 464.4 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of Inline: time 0.000231/0.01125, allocations: 200.6 kB / 464.6 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of Partitioning: time 1.4e-05/0.01126, allocations: 16.06 kB / 464.7 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of Cleanup: time 4.134e-05/0.01131, allocations: 31.97 kB / 464.7 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of Causalize: time 0.0003847/0.01169, allocations: 421.8 kB / 465.1 MB, free: 140 kB / 334.1 MB Notification: Performance of Tearing: time 1.184e-05/0.0117, allocations: 3.938 kB / 465.1 MB, free: 136 kB / 334.1 MB Notification: Performance of Initialization: time 4.01e-07/0.0117, allocations: 0 / 465.1 MB, free: 136 kB / 334.1 MB Notification: Performance of Tearing: time 1.654e-06/0.0117, allocations: 0 / 465.1 MB, free: 136 kB / 334.1 MB Notification: Performance of Categorize: time 1.07e-05/0.01172, allocations: 4 kB / 465.1 MB, free: 132 kB / 334.1 MB Notification: Performance of Solve: time 2.05e-05/0.01174, allocations: 0 / 465.1 MB, free: 132 kB / 334.1 MB Notification: Performance of Jacobian: time 4.158e-06/0.01174, allocations: 0 / 465.1 MB, free: 132 kB / 334.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) {} * Number of discrete variables: ................. 0 (0) {} * Number of clocks: ............................. 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 4.157e-05/0.01178, allocations: 30.42 kB / 465.1 MB, free: 108 kB / 334.1 MB Notification: Performance of SimCode: time 0.002035/0.01382, allocations: 1.558 MB / 466.7 MB, free: 14.52 MB / 350.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].