Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.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/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank") translateModel(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 103.1 kB / 17.13 MB, free: 6.055 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.001185/0.001185, allocations: 196.2 kB / 18.07 MB, free: 5.129 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.349/1.349, allocations: 222.9 MB / 241.8 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05452/0.05452, allocations: 8.1 MB / 300 MB, free: 6.621 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.787e-05/1.786e-05, allocations: 2.281 kB / 415.1 MB, free: 21.89 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank): time 0.001656/0.001682, allocations: 1.391 MB / 416.5 MB, free: 20.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001352/0.003046, allocations: 1.508 MB / 418 MB, free: 18.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.48e-05/0.003122, allocations: 4 kB / 418 MB, free: 18.97 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002816/0.00341, allocations: 119.4 kB / 418.1 MB, free: 18.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001867/0.003613, allocations: 95.38 kB / 418.2 MB, free: 18.76 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.004757, allocations: 0.8946 MB / 419.1 MB, free: 17.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002449/0.00501, allocations: 243 kB / 419.3 MB, free: 17.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.005156, allocations: 63.2 kB / 419.4 MB, free: 17.56 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.731e-05/0.00522, allocations: 79.59 kB / 419.5 MB, free: 17.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.005348, allocations: 107.5 kB / 419.6 MB, free: 17.38 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.005381, allocations: 16 kB / 419.6 MB, free: 17.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002463/0.005632, allocations: 203.8 kB / 419.8 MB, free: 17.16 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001695/0.005809, allocations: 352 kB / 420.1 MB, free: 16.82 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 7.72e-05/0.005892, allocations: 236.6 kB / 420.4 MB, free: 16.58 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.729e-05/0.005924, allocations: 23.88 kB / 420.4 MB, free: 16.56 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.805e-05/0.005947, allocations: 4 kB / 420.4 MB, free: 16.55 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 (29) * Number of variables: 34 (34) Notification: Performance of Bindings: time 0.0007237/0.006675, allocations: 1.246 MB / 421.6 MB, free: 15.2 MB / 302.1 MB Notification: Performance of FunctionAlias: time 4.368e-05/0.006725, allocations: 59.89 kB / 421.7 MB, free: 15.14 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0006743/0.007406, allocations: 1.115 MB / 422.8 MB, free: 14 MB / 302.1 MB Notification: Performance of simplify1: time 4.338e-05/0.007457, allocations: 71.92 kB / 422.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of Alias: time 0.0001473/0.00761, allocations: 223.9 kB / 423.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simplify2: time 3.703e-05/0.007653, allocations: 67.88 kB / 423.2 MB, free: 13.6 MB / 302.1 MB Notification: Performance of Events: time 7.251e-05/0.00773, allocations: 79.88 kB / 423.3 MB, free: 13.52 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001225/0.007858, allocations: 198.3 kB / 423.4 MB, free: 13.31 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0002152/0.00808, allocations: 291.9 kB / 423.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of Causalize: time 0.0009897/0.009075, allocations: 1.16 MB / 424.9 MB, free: 11.85 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003841/0.009468, allocations: 0.6869 MB / 425.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of Inline: time 0.0008156/0.01029, allocations: 1.349 MB / 426.9 MB, free: 9.75 MB / 302.1 MB Notification: Performance of Partitioning: time 3.985e-05/0.01034, allocations: 50.38 kB / 427 MB, free: 9.691 MB / 302.1 MB Notification: Performance of Cleanup: time 3.397e-05/0.01038, allocations: 59.89 kB / 427 MB, free: 9.633 MB / 302.1 MB Notification: Performance of Causalize: time 0.001278/0.01166, allocations: 1.57 MB / 428.6 MB, free: 8.047 MB / 302.1 MB Notification: Performance of Tearing: time 0.0005273/0.0122, allocations: 0.7744 MB / 429.4 MB, free: 7.227 MB / 302.1 MB Notification: Performance of Initialization: time 7.62e-07/0.01221, allocations: 0 / 429.4 MB, free: 7.227 MB / 302.1 MB Notification: Performance of Tearing: time 0.0004507/0.01267, allocations: 0.7515 MB / 430.1 MB, free: 6.426 MB / 302.1 MB Notification: Performance of Categorize: time 1.145e-05/0.01269, allocations: 4 kB / 430.1 MB, free: 6.422 MB / 302.1 MB Notification: Performance of Solve: time 0.0001593/0.01285, allocations: 105.8 kB / 430.2 MB, free: 6.316 MB / 302.1 MB Notification: Performance of Jacobian: time 3.767e-06/0.01286, allocations: 0 / 430.2 MB, free: 6.316 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * 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: ................. 3 (3) {$SEV_2, $SEV_1, $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 23 (scalar:23, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 33 (scalar:33, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 4.024e-05/0.0129, allocations: 36.53 kB / 430.3 MB, free: 6.289 MB / 302.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not $SEV_2