Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.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.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 107 kB / 17.14 MB, free: 6.051 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.0009387/0.0009388, allocations: 196.2 kB / 18.08 MB, free: 5.121 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.221/1.221, allocations: 222.9 MB / 241.8 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04565/0.04565, allocations: 8.115 MB / 300 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.582e-05/2.583e-05, allocations: 2.281 kB / 415.1 MB, free: 21.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.001814/0.001849, allocations: 1.563 MB / 416.7 MB, free: 20.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.003361, allocations: 1.547 MB / 418.2 MB, free: 18.67 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.003485, allocations: 4 kB / 418.2 MB, free: 18.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003587/0.003854, allocations: 123.4 kB / 418.3 MB, free: 18.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002509/0.004122, allocations: 119.2 kB / 418.4 MB, free: 18.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.005321, allocations: 0.9023 MB / 419.3 MB, free: 17.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000275/0.005606, allocations: 306.7 kB / 419.6 MB, free: 17.22 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.005745, allocations: 75.12 kB / 419.7 MB, free: 17.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.861e-05/0.00582, allocations: 99.61 kB / 419.8 MB, free: 17.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.005964, allocations: 127.3 kB / 419.9 MB, free: 16.92 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.036e-05/0.006001, allocations: 20 kB / 420 MB, free: 16.9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002773/0.006283, allocations: 211.8 kB / 420.2 MB, free: 16.7 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002307/0.006521, allocations: 419.3 kB / 420.6 MB, free: 16.28 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 8.832e-05/0.006616, allocations: 283.9 kB / 420.9 MB, free: 16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.994e-05/0.006651, allocations: 27.94 kB / 420.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.139e-05/0.006678, allocations: 4 kB / 420.9 MB, free: 15.97 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: 40 (34) * Number of variables: 40 (40) Notification: Performance of Bindings: time 0.0008897/0.007572, allocations: 1.478 MB / 422.4 MB, free: 14.38 MB / 302.1 MB Notification: Performance of FunctionAlias: time 5.633e-05/0.007635, allocations: 71.88 kB / 422.4 MB, free: 14.31 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0009023/0.008543, allocations: 1.502 MB / 423.9 MB, free: 12.78 MB / 302.1 MB Notification: Performance of simplify1: time 5.432e-05/0.008606, allocations: 99.91 kB / 424 MB, free: 12.68 MB / 302.1 MB Notification: Performance of Alias: time 0.0001682/0.00878, allocations: 255.9 kB / 424.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of simplify2: time 4.973e-05/0.008835, allocations: 95.91 kB / 424.4 MB, free: 12.3 MB / 302.1 MB Notification: Performance of Detect States: time 0.000153/0.008993, allocations: 230.2 kB / 424.6 MB, free: 12.06 MB / 302.1 MB Notification: Performance of Events: time 9.898e-05/0.009098, allocations: 103.8 kB / 424.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0002509/0.009356, allocations: 355.3 kB / 425.1 MB, free: 11.6 MB / 302.1 MB Notification: Performance of Causalize: time 0.001226/0.01059, allocations: 1.471 MB / 426.5 MB, free: 10.1 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005268/0.01112, allocations: 0.886 MB / 427.4 MB, free: 9.191 MB / 302.1 MB Notification: Performance of Inline: time 0.001166/0.0123, allocations: 1.809 MB / 429.2 MB, free: 7.352 MB / 302.1 MB Notification: Performance of Partitioning: time 4.705e-05/0.01235, allocations: 58.38 kB / 429.3 MB, free: 7.285 MB / 302.1 MB Notification: Performance of Cleanup: time 4.345e-05/0.0124, allocations: 79.86 kB / 429.4 MB, free: 7.207 MB / 302.1 MB Notification: Performance of Causalize: time 0.001539/0.01395, allocations: 1.959 MB / 431.3 MB, free: 5.242 MB / 302.1 MB Notification: Performance of Tearing: time 0.001552/0.01551, allocations: 2.23 MB / 433.5 MB, free: 2.961 MB / 302.1 MB Notification: Performance of Initialization: time 9.12e-07/0.01552, allocations: 7.938 kB / 433.5 MB, free: 2.953 MB / 302.1 MB Notification: Performance of Tearing: time 0.001468/0.01699, allocations: 2.22 MB / 435.8 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of Categorize: time 1.369e-05/0.01702, allocations: 11.94 kB / 435.8 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of Solve: time 0.0001698/0.01719, allocations: 122.1 kB / 435.9 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of Jacobian: time 3.196e-06/0.0172, allocations: 0 / 435.9 MB, free: 0.5547 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: ........... 26 (scalar:26, 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: ........... 38 (scalar:38, 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.579e-05/0.01724, allocations: 25.17 kB / 435.9 MB, free: 0.5352 MB / 302.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not $SEV_1