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.001247/0.001247, allocations: 105.7 kB / 17.08 MB, free: 6.078 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.0009731/0.0009731, allocations: 195.5 kB / 18.03 MB, free: 5.164 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.222/1.222, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04456/0.04456, allocations: 8.107 MB / 300 MB, free: 6.656 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.423e-05/2.433e-05, allocations: 5.375 kB / 363.1 MB, free: 7.465 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.002402/0.00244, allocations: 1.68 MB / 364.8 MB, free: 5.781 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001856/0.004311, allocations: 1.563 MB / 366.4 MB, free: 4.203 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.718e-05/0.0044, allocations: 4 kB / 366.4 MB, free: 4.199 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003109/0.004717, allocations: 127.3 kB / 366.5 MB, free: 4.074 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002615/0.005004, allocations: 131.2 kB / 366.6 MB, free: 3.945 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.006426, allocations: 0.9248 MB / 367.5 MB, free: 3.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003615/0.006795, allocations: 334.6 kB / 367.9 MB, free: 2.691 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.006955, allocations: 81.84 kB / 367.9 MB, free: 2.605 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.007064, allocations: 115.5 kB / 368.1 MB, free: 2.492 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.007238, allocations: 147.2 kB / 368.2 MB, free: 2.348 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.065e-05/0.007276, allocations: 20 kB / 368.2 MB, free: 2.328 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003105/0.007592, allocations: 211.8 kB / 368.4 MB, free: 2.121 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003081/0.007908, allocations: 482.6 kB / 368.9 MB, free: 1.645 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001541/0.008069, allocations: 303.5 kB / 369.2 MB, free: 1.344 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.793e-05/0.008112, allocations: 35.88 kB / 369.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.783e-05/0.008135, allocations: 4 kB / 369.2 MB, free: 1.305 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.132/0.1401, allocations: 1.627 MB / 370.9 MB, free: 52.91 MB / 302.1 MB Notification: Performance of FunctionAlias: time 7.414e-05/0.1402, allocations: 84.64 kB / 370.9 MB, free: 52.91 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001224/0.1414, allocations: 1.635 MB / 372.6 MB, free: 52.86 MB / 302.1 MB Notification: Performance of simplify1: time 7.3e-05/0.1415, allocations: 109 kB / 372.7 MB, free: 52.86 MB / 302.1 MB Notification: Performance of Alias: time 0.0002305/0.1418, allocations: 286.2 kB / 373 MB, free: 52.76 MB / 302.1 MB Notification: Performance of simplify2: time 6.298e-05/0.1418, allocations: 105.6 kB / 373.1 MB, free: 52.76 MB / 302.1 MB Notification: Performance of Events: time 0.0001115/0.1419, allocations: 108.5 kB / 373.2 MB, free: 52.76 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001967/0.1421, allocations: 264.9 kB / 373.4 MB, free: 52.73 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0003293/0.1425, allocations: 393 kB / 373.8 MB, free: 52.7 MB / 302.1 MB Notification: Performance of Causalize: time 0.00182/0.1443, allocations: 2.424 MB / 376.2 MB, free: 52.59 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0006082/0.1449, allocations: 0.9864 MB / 377.2 MB, free: 52.5 MB / 302.1 MB Notification: Performance of Inline: time 0.001314/0.1462, allocations: 1.906 MB / 379.1 MB, free: 52.36 MB / 302.1 MB Notification: Performance of Partitioning: time 7.603e-05/0.1463, allocations: 74.61 kB / 379.2 MB, free: 52.34 MB / 302.1 MB Notification: Performance of Cleanup: time 6.278e-05/0.1464, allocations: 78.22 kB / 379.3 MB, free: 52.34 MB / 302.1 MB Notification: Performance of Causalize: time 0.002638/0.149, allocations: 2.881 MB / 382.2 MB, free: 51.62 MB / 302.1 MB Notification: Performance of Tearing: time 0.0008482/0.1499, allocations: 0.9267 MB / 383.1 MB, free: 51.1 MB / 302.1 MB Notification: Performance of Initialization: time 1.443e-06/0.1499, allocations: 1.344 kB / 383.1 MB, free: 51.1 MB / 302.1 MB Notification: Performance of Tearing: time 0.0007918/0.1507, allocations: 0.9257 MB / 384 MB, free: 50.58 MB / 302.1 MB Notification: Performance of Categorize: time 1.419e-05/0.1507, allocations: 6.5 kB / 384 MB, free: 50.57 MB / 302.1 MB Notification: Performance of Solve: time 0.0002621/0.151, allocations: 152 kB / 384.2 MB, free: 50.53 MB / 302.1 MB Notification: Performance of Jacobian: time 3.256e-06/0.151, allocations: 0 / 384.2 MB, free: 50.53 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: ................. 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: 0, nonlinear:1) 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: 0, nonlinear:1) Notification: Performance of backend: time 4.484e-05/0.1511, allocations: 36.47 kB / 384.2 MB, free: 50.51 MB / 302.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not $SEV_3