Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 111.8 kB / 17.75 MB, free: 5.312 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.0009722/0.0009722, allocations: 185.8 kB / 18.68 MB, free: 4.398 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.79/1.79, allocations: 205.1 MB / 224.6 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1778/0.1778, allocations: 37.99 MB / 309.9 MB, free: 5.957 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.767e-05/3.768e-05, allocations: 2.281 kB / 432.5 MB, free: 15.72 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.007529/0.007576, allocations: 7.567 MB / 440.1 MB, free: 8.121 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004819/0.01242, allocations: 4.207 MB / 444.3 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006489/0.0131, allocations: 15.94 kB / 444.3 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002163/0.01527, allocations: 1.026 MB / 445.3 MB, free: 2.852 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002417/0.01775, allocations: 1.101 MB / 446.4 MB, free: 1.746 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008543/0.01862, allocations: 307.2 kB / 446.7 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001492/0.02012, allocations: 1.496 MB / 448.2 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007832/0.02091, allocations: 478.7 kB / 448.7 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009295/0.02186, allocations: 0.5718 MB / 449.2 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005665/0.02243, allocations: 442.2 kB / 449.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.312e-05/0.0225, allocations: 32 kB / 449.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001855/0.02436, allocations: 0.8491 MB / 450.6 MB, free: 13.58 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0009356/0.02531, allocations: 1.034 MB / 451.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.000581/0.0259, allocations: 0.7302 MB / 452.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.02613, allocations: 87.75 kB / 452.4 MB, free: 11.72 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0001113/0.02625, allocations: 8 kB / 452.4 MB, free: 11.71 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: 101 (101) * Number of variables: 101 (101) Notification: Performance of Bindings: time 0.002803/0.02906, allocations: 2.75 MB / 455.2 MB, free: 8.844 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.000151/0.02922, allocations: 91.84 kB / 455.3 MB, free: 8.754 MB / 334.1 MB Notification: Performance of Early Inline: time 0.001256/0.03048, allocations: 1.168 MB / 456.4 MB, free: 7.559 MB / 334.1 MB Notification: Performance of simplify1: time 0.0001097/0.03061, allocations: 99.86 kB / 456.5 MB, free: 7.461 MB / 334.1 MB Notification: Performance of Alias: time 0.001546/0.03216, allocations: 1.351 MB / 457.9 MB, free: 5.922 MB / 334.1 MB Notification: Performance of simplify2: time 6.749e-05/0.03224, allocations: 71.88 kB / 457.9 MB, free: 5.852 MB / 334.1 MB Notification: Performance of Events: time 6.661e-05/0.03231, allocations: 71.92 kB / 458 MB, free: 5.781 MB / 334.1 MB Notification: Performance of Detect States: time 0.0003359/0.03266, allocations: 271.5 kB / 458.3 MB, free: 5.496 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0005098/0.03317, allocations: 458.1 kB / 458.7 MB, free: 5.023 MB / 334.1 MB Notification: Performance of Causalize: time 0.002633/0.03582, allocations: 2.114 MB / 460.8 MB, free: 2.887 MB / 334.1 MB Notification: Performance of After Index Reduction Inline: time 0.0008971/0.03673, allocations: 0.7961 MB / 461.6 MB, free: 2.062 MB / 334.1 MB Notification: Performance of Inline: time 0.001605/0.03834, allocations: 1.433 MB / 463.1 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of Partitioning: time 9.599e-05/0.03845, allocations: 83.61 kB / 463.1 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of Cleanup: time 6.282e-05/0.03852, allocations: 63.86 kB / 463.2 MB, free: 452 kB / 334.1 MB Notification: Performance of Causalize: time 0.004542/0.04307, allocations: 3.82 MB / 467 MB, free: 12.59 MB / 350.1 MB Notification: Performance of Tearing: time 0.001688/0.04477, allocations: 1.355 MB / 468.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of Initialization: time 1.042e-06/0.04479, allocations: 3.938 kB / 468.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of Tearing: time 0.001476/0.04627, allocations: 1.359 MB / 469.7 MB, free: 9.762 MB / 350.1 MB Notification: Performance of Categorize: time 3.164e-05/0.04631, allocations: 11.94 kB / 469.8 MB, free: 9.75 MB / 350.1 MB Notification: Performance of Solve: time 0.0004334/0.04675, allocations: 234.3 kB / 470 MB, free: 9.523 MB / 350.1 MB Notification: Performance of Jacobian: time 3.317e-06/0.04677, allocations: 0 / 470 MB, free: 9.523 MB / 350.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 3 * 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: .................... 1 (1) {system.initime} * 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: ........... 49 (scalar:22, array:27, record:0) * Number of multi strong components: ............ 1 (algorithm:0, when:1, 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: ........... 50 (scalar:23, array:27, 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: ... 1 (linear: 0, nonlinear:1) Notification: Performance of backend: time 5.713e-05/0.04683, allocations: 33.59 kB / 470 MB, free: 9.496 MB / 350.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: false