Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.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.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") translateModel(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 117 kB / 17.15 MB, free: 5.902 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.001459/0.001459, allocations: 192.3 kB / 18.08 MB, free: 4.988 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.266/1.266, allocations: 222.9 MB / 241.8 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05103/0.05103, allocations: 8.107 MB / 300 MB, free: 6.602 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.742e-05/1.743e-05, allocations: 2.281 kB / 415.1 MB, free: 21.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.00187/0.001895, allocations: 1.679 MB / 416.8 MB, free: 20.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.003435, allocations: 1.571 MB / 418.4 MB, free: 18.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.25e-05/0.003519, allocations: 4 kB / 418.4 MB, free: 18.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003034/0.003828, allocations: 127.3 kB / 418.5 MB, free: 18.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002383/0.004082, allocations: 127.2 kB / 418.6 MB, free: 18.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.005257, allocations: 0.9179 MB / 419.5 MB, free: 17.31 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002702/0.005535, allocations: 334.6 kB / 419.8 MB, free: 16.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.005681, allocations: 85.86 kB / 419.9 MB, free: 16.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.26e-05/0.005759, allocations: 115.5 kB / 420 MB, free: 16.78 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.005911, allocations: 139.4 kB / 420.2 MB, free: 16.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.096e-05/0.005948, allocations: 20 kB / 420.2 MB, free: 16.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002484/0.006201, allocations: 215.8 kB / 420.4 MB, free: 16.41 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001898/0.006399, allocations: 486.5 kB / 420.9 MB, free: 15.93 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 8.779e-05/0.006492, allocations: 295.6 kB / 421.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.099e-05/0.006528, allocations: 35.88 kB / 421.2 MB, free: 15.6 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.696e-05/0.00655, allocations: 4 kB / 421.2 MB, free: 15.6 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: 47 (40) * Number of variables: 47 (47) Notification: Performance of Bindings: time 0.0009162/0.007471, allocations: 1.661 MB / 422.9 MB, free: 13.82 MB / 302.1 MB Notification: Performance of FunctionAlias: time 5.471e-05/0.007532, allocations: 79.81 kB / 423 MB, free: 13.75 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0009724/0.00851, allocations: 1.631 MB / 424.6 MB, free: 12.09 MB / 302.1 MB Notification: Performance of simplify1: time 6.637e-05/0.008584, allocations: 111.9 kB / 424.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of Alias: time 0.0001845/0.008774, allocations: 284.2 kB / 425 MB, free: 11.66 MB / 302.1 MB Notification: Performance of simplify2: time 5.854e-05/0.008839, allocations: 111.9 kB / 425.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001668/0.00901, allocations: 254.3 kB / 425.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of Events: time 0.0001087/0.009124, allocations: 107.8 kB / 425.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0002873/0.009418, allocations: 397.1 kB / 425.8 MB, free: 10.78 MB / 302.1 MB Notification: Performance of Causalize: time 0.001395/0.01082, allocations: 1.625 MB / 427.4 MB, free: 9.137 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0006014/0.01143, allocations: 0.9796 MB / 428.4 MB, free: 8.129 MB / 302.1 MB Notification: Performance of Inline: time 0.001314/0.01275, allocations: 1.984 MB / 430.4 MB, free: 6.113 MB / 302.1 MB Notification: Performance of Partitioning: time 5.234e-05/0.01281, allocations: 66.38 kB / 430.5 MB, free: 6.039 MB / 302.1 MB Notification: Performance of Cleanup: time 4.441e-05/0.01286, allocations: 75.91 kB / 430.6 MB, free: 5.965 MB / 302.1 MB Notification: Performance of Causalize: time 0.001896/0.01477, allocations: 2.204 MB / 432.8 MB, free: 3.746 MB / 302.1 MB Notification: Performance of Tearing: time 0.001583/0.01636, allocations: 1.891 MB / 434.6 MB, free: 1.809 MB / 302.1 MB Notification: Performance of Initialization: time 1.683e-06/0.01637, allocations: 8 kB / 434.7 MB, free: 1.801 MB / 302.1 MB Notification: Performance of Tearing: time 0.001506/0.01788, allocations: 1.9 MB / 436.6 MB, free: 15.85 MB / 318.1 MB Notification: Performance of Categorize: time 1.488e-05/0.01791, allocations: 4 kB / 436.6 MB, free: 15.84 MB / 318.1 MB Notification: Performance of Solve: time 0.0002897/0.0182, allocations: 142 kB / 436.7 MB, free: 15.7 MB / 318.1 MB Notification: Performance of Jacobian: time 5.701e-06/0.01822, allocations: 4 kB / 436.7 MB, free: 15.7 MB / 318.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: ................. 4 (4) {$SEV_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: ........... 35 (scalar:35, 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: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 47 (scalar:47, 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: 1, nonlinear:0) Notification: Performance of backend: time 6.191e-05/0.01828, allocations: 33.11 kB / 436.7 MB, free: 15.67 MB / 318.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not $SEV_3