Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.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.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009816/0.0009819, allocations: 110.7 kB / 17.14 MB, free: 5.938 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.001109/0.001109, allocations: 198.6 kB / 18.08 MB, free: 5.016 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.313/1.313, 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.04822/0.04822, allocations: 8.108 MB / 300 MB, free: 6.641 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.077e-05/2.078e-05, allocations: 5.656 kB / 415.1 MB, free: 21.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoad): time 0.001531/0.00156, allocations: 0.8703 MB / 416 MB, free: 20.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.002837, allocations: 1.29 MB / 417.3 MB, free: 19.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.954e-05/0.002897, allocations: 0 / 417.3 MB, free: 19.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002276/0.003131, allocations: 67.69 kB / 417.3 MB, free: 19.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.00329, allocations: 35.77 kB / 417.4 MB, free: 19.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005778/0.003886, allocations: 358.5 kB / 417.7 MB, free: 19.17 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.004005, allocations: 83.7 kB / 417.8 MB, free: 19.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.004116, allocations: 27.92 kB / 417.8 MB, free: 19.06 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.925e-05/0.00416, allocations: 31.86 kB / 417.8 MB, free: 19.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.00428, allocations: 43.78 kB / 417.9 MB, free: 18.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.004301, allocations: 4 kB / 417.9 MB, free: 18.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.004462, allocations: 103.9 kB / 418 MB, free: 18.88 MB / 302.1 MB Notification: Performance of combineBinaries: time 9.046e-05/0.00456, allocations: 142.5 kB / 418.1 MB, free: 18.74 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 3.19e-05/0.004597, allocations: 90.7 kB / 418.2 MB, free: 18.65 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.681e-05/0.004618, allocations: 8 kB / 418.2 MB, free: 18.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.36e-05/0.004636, allocations: 4 kB / 418.2 MB, free: 18.64 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: 14 (12) * Number of variables: 14 (14) Notification: Performance of Bindings: time 0.0004439/0.005084, allocations: 0.5681 MB / 418.8 MB, free: 17.96 MB / 302.1 MB Notification: Performance of FunctionAlias: time 2.686e-05/0.005117, allocations: 23.91 kB / 418.8 MB, free: 17.94 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0002661/0.005388, allocations: 352.1 kB / 419.2 MB, free: 17.57 MB / 302.1 MB Notification: Performance of simplify1: time 2.126e-05/0.005417, allocations: 31.92 kB / 419.2 MB, free: 17.54 MB / 302.1 MB Notification: Performance of Alias: time 8.22e-05/0.005504, allocations: 120.5 kB / 419.3 MB, free: 17.38 MB / 302.1 MB Notification: Performance of simplify2: time 1.469e-05/0.005524, allocations: 23.97 kB / 419.3 MB, free: 17.36 MB / 302.1 MB Notification: Performance of Events: time 5.575e-05/0.005585, allocations: 39.89 kB / 419.4 MB, free: 17.32 MB / 302.1 MB Notification: Performance of Detect States: time 8.152e-05/0.005671, allocations: 86.55 kB / 419.5 MB, free: 17.22 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001119/0.005788, allocations: 112.1 kB / 419.6 MB, free: 17.11 MB / 302.1 MB Notification: Performance of Causalize: time 0.000487/0.006281, allocations: 441.5 kB / 420 MB, free: 16.66 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.000149/0.006439, allocations: 256.2 kB / 420.3 MB, free: 16.39 MB / 302.1 MB Notification: Performance of Inline: time 0.0003233/0.006769, allocations: 488.9 kB / 420.7 MB, free: 15.88 MB / 302.1 MB Notification: Performance of Partitioning: time 2.057e-05/0.006797, allocations: 24.11 kB / 420.8 MB, free: 15.84 MB / 302.1 MB Notification: Performance of Cleanup: time 1.533e-05/0.006817, allocations: 19.98 kB / 420.8 MB, free: 15.82 MB / 302.1 MB Notification: Performance of Causalize: time 0.0004727/0.007294, allocations: 0.5539 MB / 421.3 MB, free: 15.27 MB / 302.1 MB Notification: Performance of Tearing: time 0.0001847/0.007487, allocations: 274.2 kB / 421.6 MB, free: 14.95 MB / 302.1 MB Notification: Performance of Initialization: time 4.71e-07/0.007496, allocations: 32 / 421.6 MB, free: 14.95 MB / 302.1 MB Notification: Performance of Tearing: time 0.000104/0.007605, allocations: 278.1 kB / 421.9 MB, free: 14.63 MB / 302.1 MB Notification: Performance of Categorize: time 8.396e-06/0.00762, allocations: 0 / 421.9 MB, free: 14.63 MB / 302.1 MB Notification: Performance of Solve: time 0.0001069/0.007732, allocations: 60.11 kB / 421.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of Jacobian: time 3.707e-06/0.007742, allocations: 3.938 kB / 421.9 MB, free: 14.57 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: ................. 2 (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: ........... 14 (scalar:14, 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: ........... 18 (scalar:18, 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.236e-05/0.007788, allocations: 33.41 kB / 422 MB, free: 14.54 MB / 302.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not $SEV_1