Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.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.OneSourceOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 114.8 kB / 17.15 MB, free: 5.918 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.001104/0.001104, allocations: 197.2 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.3/1.3, allocations: 222.9 MB / 241.8 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04978/0.04978, allocations: 8.097 MB / 300 MB, free: 6.609 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.21e-05, allocations: 6.219 kB / 415.1 MB, free: 21.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.001766/0.001797, allocations: 1.217 MB / 416.3 MB, free: 20.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.003208, allocations: 1.485 MB / 417.8 MB, free: 19.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.168e-05/0.00329, allocations: 4 kB / 417.8 MB, free: 19.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002822/0.003578, allocations: 107.5 kB / 417.9 MB, free: 18.94 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.003779, allocations: 75.47 kB / 418 MB, free: 18.87 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.004993, allocations: 0.9013 MB / 418.9 MB, free: 17.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002577/0.005258, allocations: 199.1 kB / 419.1 MB, free: 17.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.005411, allocations: 49.08 kB / 419.1 MB, free: 17.72 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.021e-05/0.005478, allocations: 71.7 kB / 419.2 MB, free: 17.65 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.005617, allocations: 83.56 kB / 419.3 MB, free: 17.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.005649, allocations: 12 kB / 419.3 MB, free: 17.55 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002692/0.005923, allocations: 199.8 kB / 419.5 MB, free: 17.36 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001545/0.006085, allocations: 284.9 kB / 419.8 MB, free: 17.08 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 6.172e-05/0.006152, allocations: 185.2 kB / 419.9 MB, free: 16.89 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.244e-05/0.006179, allocations: 19.94 kB / 420 MB, free: 16.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.739e-05/0.006201, allocations: 4 kB / 420 MB, free: 16.87 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: 27 (23) * Number of variables: 27 (27) Notification: Performance of Bindings: time 0.0006879/0.006893, allocations: 1.017 MB / 421 MB, free: 15.75 MB / 302.1 MB Notification: Performance of FunctionAlias: time 4.508e-05/0.006945, allocations: 47.84 kB / 421 MB, free: 15.7 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0006308/0.007582, allocations: 0.9381 MB / 422 MB, free: 14.74 MB / 302.1 MB Notification: Performance of simplify1: time 3.783e-05/0.007627, allocations: 55.94 kB / 422 MB, free: 14.68 MB / 302.1 MB Notification: Performance of Alias: time 0.0001209/0.007753, allocations: 178.4 kB / 422.2 MB, free: 14.47 MB / 302.1 MB Notification: Performance of simplify2: time 3.223e-05/0.00779, allocations: 59.94 kB / 422.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of Detect States: time 9.858e-05/0.007894, allocations: 161.9 kB / 422.4 MB, free: 14.24 MB / 302.1 MB Notification: Performance of Events: time 8.171e-05/0.007981, allocations: 65 kB / 422.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001797/0.008167, allocations: 232 kB / 422.7 MB, free: 13.94 MB / 302.1 MB Notification: Performance of Causalize: time 0.000842/0.009014, allocations: 0.9637 MB / 423.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003411/0.009364, allocations: 0.5714 MB / 424.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of Inline: time 0.0007486/0.01012, allocations: 1.146 MB / 425.4 MB, free: 11.19 MB / 302.1 MB Notification: Performance of Partitioning: time 3.55e-05/0.01017, allocations: 50.34 kB / 425.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of Cleanup: time 2.728e-05/0.0102, allocations: 39.97 kB / 425.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of Causalize: time 0.000999/0.0112, allocations: 1.269 MB / 426.7 MB, free: 9.812 MB / 302.1 MB Notification: Performance of Tearing: time 0.0008141/0.01203, allocations: 1.15 MB / 427.9 MB, free: 8.613 MB / 302.1 MB Notification: Performance of Initialization: time 3.81e-07/0.01204, allocations: 0 / 427.9 MB, free: 8.613 MB / 302.1 MB Notification: Performance of Tearing: time 0.0007/0.01274, allocations: 1.142 MB / 429 MB, free: 7.422 MB / 302.1 MB Notification: Performance of Categorize: time 8.836e-06/0.01276, allocations: 3.938 kB / 429 MB, free: 7.418 MB / 302.1 MB Notification: Performance of Solve: time 0.0001231/0.01289, allocations: 88.67 kB / 429.1 MB, free: 7.328 MB / 302.1 MB Notification: Performance of Jacobian: time 3.125e-06/0.0129, allocations: 0 / 429.1 MB, free: 7.328 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: ................. 3 (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: ........... 20 (scalar:20, 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: ........... 28 (scalar:28, 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 3.095e-05/0.01293, allocations: 22.69 kB / 429.1 MB, free: 7.309 MB / 302.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not $SEV_1