Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.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.OneSourceOneLoadwithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors") translateModel(PowerSysPro.Examples.OneSourceOneLoadwithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 109.4 kB / 17.14 MB, free: 6.07 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.001201/0.001202, allocations: 195.1 kB / 18.08 MB, free: 5.141 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.332/1.332, 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.05121/0.05121, allocations: 8.099 MB / 300 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.12e-05/2.122e-05, allocations: 2.281 kB / 415.1 MB, free: 21.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadwithSensors): time 0.002406/0.002436, allocations: 1.739 MB / 416.8 MB, free: 20.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.003983, allocations: 1.333 MB / 418.2 MB, free: 18.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.704e-05/0.004092, allocations: 4 kB / 418.2 MB, free: 18.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000308/0.004406, allocations: 103.4 kB / 418.3 MB, free: 18.6 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002205/0.004644, allocations: 95.31 kB / 418.4 MB, free: 18.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007132/0.005366, allocations: 446.3 kB / 418.8 MB, free: 18.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.005591, allocations: 278.8 kB / 419.1 MB, free: 17.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.005784, allocations: 111.6 kB / 419.2 MB, free: 17.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.018e-05/0.00587, allocations: 107.5 kB / 419.3 MB, free: 17.58 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/0.006079, allocations: 151.4 kB / 419.4 MB, free: 17.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.344e-05/0.006119, allocations: 23.94 kB / 419.5 MB, free: 17.41 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002022/0.006326, allocations: 127.9 kB / 419.6 MB, free: 17.28 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002143/0.006547, allocations: 423 kB / 420 MB, free: 16.86 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 8.454e-05/0.006639, allocations: 283.8 kB / 420.3 MB, free: 16.58 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.1e-05/0.006676, allocations: 31.94 kB / 420.3 MB, free: 16.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.486e-05/0.006706, allocations: 8 kB / 420.3 MB, free: 16.54 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: 55 (45) * Number of variables: 55 (55) Notification: Performance of Bindings: time 0.0009247/0.007636, allocations: 1.597 MB / 421.9 MB, free: 14.84 MB / 302.1 MB Notification: Performance of FunctionAlias: time 5.689e-05/0.007699, allocations: 79.83 kB / 422 MB, free: 14.76 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0007175/0.008422, allocations: 1.134 MB / 423.1 MB, free: 13.59 MB / 302.1 MB Notification: Performance of simplify1: time 4.835e-05/0.00848, allocations: 75.91 kB / 423.2 MB, free: 13.52 MB / 302.1 MB Notification: Performance of Alias: time 0.000212/0.008697, allocations: 308.6 kB / 423.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simplify2: time 4.044e-05/0.008743, allocations: 71.92 kB / 423.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001437/0.008893, allocations: 232.7 kB / 423.8 MB, free: 12.87 MB / 302.1 MB Notification: Performance of Events: time 9.191e-05/0.00899, allocations: 95.86 kB / 423.9 MB, free: 12.78 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0002745/0.009271, allocations: 386.3 kB / 424.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of Causalize: time 0.001335/0.01061, allocations: 1.572 MB / 425.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004958/0.01112, allocations: 0.7532 MB / 426.6 MB, free: 10.02 MB / 302.1 MB Notification: Performance of Inline: time 0.001009/0.01213, allocations: 1.422 MB / 428 MB, free: 8.559 MB / 302.1 MB Notification: Performance of Partitioning: time 5.759e-05/0.0122, allocations: 79.55 kB / 428.1 MB, free: 8.473 MB / 302.1 MB Notification: Performance of Cleanup: time 3.435e-05/0.01224, allocations: 67.88 kB / 428.2 MB, free: 8.406 MB / 302.1 MB Notification: Performance of Causalize: time 0.001536/0.01378, allocations: 1.954 MB / 430.1 MB, free: 6.434 MB / 302.1 MB Notification: Performance of Tearing: time 0.0003981/0.01419, allocations: 0.6526 MB / 430.8 MB, free: 5.684 MB / 302.1 MB Notification: Performance of Initialization: time 5.11e-07/0.0142, allocations: 0 / 430.8 MB, free: 5.684 MB / 302.1 MB Notification: Performance of Tearing: time 0.0002934/0.0145, allocations: 0.6684 MB / 431.4 MB, free: 4.918 MB / 302.1 MB Notification: Performance of Categorize: time 1.214e-05/0.01452, allocations: 4.031 kB / 431.4 MB, free: 4.914 MB / 302.1 MB Notification: Performance of Solve: time 0.0002958/0.01482, allocations: 242.5 kB / 431.7 MB, free: 4.676 MB / 302.1 MB Notification: Performance of Jacobian: time 4.508e-06/0.01483, allocations: 3.938 kB / 431.7 MB, free: 4.672 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: ......... 2 * 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: ........... 51 (scalar:51, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:2) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 59 (scalar:59, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:2) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 2, nonlinear:0) Notification: Performance of backend: time 4.839e-05/0.01489, allocations: 39.78 kB / 431.7 MB, free: 4.637 MB / 302.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not $SEV_3