Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.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.StructuredNetwork.DoubleNetworkWithLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads") translateModel(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 112.1 kB / 17.14 MB, free: 5.895 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.001489/0.001489, allocations: 198.9 kB / 18.08 MB, free: 4.977 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.353/1.353, allocations: 222.9 MB / 241.8 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05444/0.05444, allocations: 8.103 MB / 300 MB, free: 6.641 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.269e-05/2.27e-05, allocations: 2.281 kB / 415.1 MB, free: 21.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads): time 0.004554/0.004586, allocations: 6.126 MB / 421.2 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003913/0.008515, allocations: 2.435 MB / 423.7 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004625/0.008997, allocations: 20 kB / 423.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007801/0.009786, allocations: 333.8 kB / 424 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001351/0.01115, allocations: 0.6483 MB / 424.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002532/0.01378, allocations: 1.482 MB / 426.2 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001614/0.01541, allocations: 1.864 MB / 428 MB, free: 8.824 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000555/0.01597, allocations: 0.5057 MB / 428.5 MB, free: 8.293 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004559/0.01643, allocations: 0.6107 MB / 429.1 MB, free: 7.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006234/0.01706, allocations: 0.7816 MB / 429.9 MB, free: 6.895 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001366/0.01721, allocations: 144 kB / 430.1 MB, free: 6.754 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00062/0.01783, allocations: 379.8 kB / 430.4 MB, free: 6.383 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001062/0.01891, allocations: 2.426 MB / 432.9 MB, free: 3.93 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.000541/0.01946, allocations: 1.54 MB / 434.4 MB, free: 2.367 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001812/0.01964, allocations: 203.4 kB / 434.6 MB, free: 2.168 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001106/0.01976, allocations: 20 kB / 434.6 MB, free: 2.148 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: 218 (187) * Number of variables: 218 (218) Notification: Performance of Bindings: time 0.006553/0.02632, allocations: 8.337 MB / 442.9 MB, free: 9.594 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0004026/0.02673, allocations: 447.2 kB / 443.4 MB, free: 9.156 MB / 318.1 MB Notification: Performance of Early Inline: time 0.009822/0.03656, allocations: 9.715 MB / 453.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simplify1: time 0.0006845/0.03729, allocations: 0.5971 MB / 453.7 MB, free: 14.78 MB / 334.1 MB Notification: Performance of Alias: time 0.001648/0.03894, allocations: 1.333 MB / 455 MB, free: 13.38 MB / 334.1 MB Notification: Performance of simplify2: time 0.0005552/0.03951, allocations: 0.601 MB / 455.6 MB, free: 12.77 MB / 334.1 MB Notification: Performance of Events: time 0.0008566/0.04037, allocations: 0.9364 MB / 456.6 MB, free: 11.82 MB / 334.1 MB Notification: Performance of Detect States: time 0.001408/0.04179, allocations: 1.495 MB / 458.1 MB, free: 10.3 MB / 334.1 MB Notification: Performance of Partitioning: time 0.002543/0.04435, allocations: 2.186 MB / 460.2 MB, free: 8.078 MB / 334.1 MB Notification: Performance of Causalize: time 0.01178/0.05614, allocations: 9.184 MB / 469.4 MB, free: 14.81 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.005666/0.06185, allocations: 5.876 MB / 475.3 MB, free: 8.883 MB / 350.1 MB Notification: Performance of Inline: time 0.01259/0.07446, allocations: 12.01 MB / 487.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of Partitioning: time 0.000621/0.07513, allocations: 389.8 kB / 487.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of Cleanup: time 0.0006762/0.07581, allocations: 475.5 kB / 488.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of Causalize: time 0.01787/0.09369, allocations: 13.09 MB / 0.4895 GB, free: 14.64 MB / 382.1 MB Notification: Performance of Tearing: time 0.00696/0.1007, allocations: 6.359 MB / 0.4957 GB, free: 8.199 MB / 382.1 MB Notification: Performance of Initialization: time 2.064e-06/0.1007, allocations: 0 / 0.4957 GB, free: 8.199 MB / 382.1 MB Notification: Performance of Tearing: time 0.007426/0.1082, allocations: 6.351 MB / 0.5019 GB, free: 1.777 MB / 382.1 MB Notification: Performance of Categorize: time 8.044e-05/0.1083, allocations: 15.94 kB / 0.5019 GB, free: 1.762 MB / 382.1 MB Notification: Performance of Solve: time 0.001678/0.1099, allocations: 0.6564 MB / 0.5026 GB, free: 1.098 MB / 382.1 MB Notification: Performance of Jacobian: time 4.298e-06/0.11, allocations: 0 / 0.5026 GB, free: 1.098 MB / 382.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: ......... 3 * 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: ................. 29 (29) {$SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_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: ........... 119 (scalar:119, 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: ........... 199 (scalar:199, 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 8.922e-05/0.1101, allocations: 58.48 kB / 0.5026 GB, free: 1.047 MB / 382.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not $SEV_23