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.0009716/0.0009718, allocations: 113.6 kB / 17.14 MB, free: 5.93 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.0009603/0.0009604, allocations: 194.6 kB / 18.07 MB, free: 5.012 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.322/1.322, allocations: 222.9 MB / 241.8 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05149/0.05149, allocations: 8.097 MB / 300 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.34e-05/2.341e-05, allocations: 6.078 kB / 415.1 MB, free: 21.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadwithSensors): time 0.00246/0.002492, allocations: 1.739 MB / 416.8 MB, free: 20.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001835/0.004339, allocations: 1.337 MB / 418.2 MB, free: 18.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002416/0.004592, allocations: 4 kB / 418.2 MB, free: 18.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004142/0.005012, allocations: 103.4 kB / 418.3 MB, free: 18.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004146/0.005449, allocations: 91.31 kB / 418.4 MB, free: 18.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009729/0.006431, allocations: 466 kB / 418.8 MB, free: 18.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003599/0.006799, allocations: 270.9 kB / 419.1 MB, free: 17.79 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002169/0.007022, allocations: 107.6 kB / 419.2 MB, free: 17.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.007182, allocations: 107.5 kB / 419.3 MB, free: 17.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002684/0.007456, allocations: 155.3 kB / 419.4 MB, free: 17.42 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.58e-05/0.007519, allocations: 20 kB / 419.5 MB, free: 17.4 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003222/0.007847, allocations: 123.9 kB / 419.6 MB, free: 17.28 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002932/0.008148, allocations: 431 kB / 420 MB, free: 16.86 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001234/0.008278, allocations: 279.8 kB / 420.3 MB, free: 16.58 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.452e-05/0.008348, allocations: 31.94 kB / 420.3 MB, free: 16.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.252e-05/0.008396, allocations: 7.938 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.001235/0.009637, allocations: 1.59 MB / 421.9 MB, free: 14.84 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001149/0.009759, allocations: 91.8 kB / 422 MB, free: 14.75 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0009414/0.01071, allocations: 1.119 MB / 423.1 MB, free: 13.6 MB / 302.1 MB Notification: Performance of simplify1: time 8.323e-05/0.0108, allocations: 75.92 kB / 423.2 MB, free: 13.52 MB / 302.1 MB Notification: Performance of Alias: time 0.0002686/0.01108, allocations: 316.6 kB / 423.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simplify2: time 5.774e-05/0.01114, allocations: 75.92 kB / 423.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of Events: time 0.0001036/0.01125, allocations: 83.94 kB / 423.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002055/0.01146, allocations: 252.6 kB / 423.9 MB, free: 12.76 MB / 302.1 MB Notification: Performance of Partitioning: time 0.000409/0.01188, allocations: 374.3 kB / 424.3 MB, free: 12.38 MB / 302.1 MB Notification: Performance of Causalize: time 0.001602/0.01349, allocations: 1.579 MB / 425.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005256/0.01403, allocations: 0.761 MB / 426.6 MB, free: 9.996 MB / 302.1 MB Notification: Performance of Inline: time 0.001164/0.0152, allocations: 1.411 MB / 428 MB, free: 8.551 MB / 302.1 MB Notification: Performance of Partitioning: time 7.33e-05/0.01529, allocations: 91.53 kB / 428.1 MB, free: 8.453 MB / 302.1 MB Notification: Performance of Cleanup: time 8.324e-05/0.01537, allocations: 51.95 kB / 428.2 MB, free: 8.402 MB / 302.1 MB Notification: Performance of Causalize: time 0.002106/0.01749, allocations: 1.951 MB / 430.1 MB, free: 6.434 MB / 302.1 MB Notification: Performance of Tearing: time 0.0003218/0.01783, allocations: 0.5394 MB / 430.6 MB, free: 5.797 MB / 302.1 MB Notification: Performance of Initialization: time 1.262e-06/0.01784, allocations: 0 / 430.6 MB, free: 5.797 MB / 302.1 MB Notification: Performance of Tearing: time 0.0002361/0.01808, allocations: 0.5278 MB / 431.2 MB, free: 5.172 MB / 302.1 MB Notification: Performance of Categorize: time 1.926e-05/0.01811, allocations: 0 / 431.2 MB, free: 5.172 MB / 302.1 MB Notification: Performance of Solve: time 0.0004021/0.01852, allocations: 242.5 kB / 431.4 MB, free: 4.934 MB / 302.1 MB Notification: Performance of Jacobian: time 2.886e-06/0.01853, allocations: 0 / 431.4 MB, free: 4.934 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: 0, nonlinear:2) 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: 0, nonlinear:2) Notification: Performance of backend: time 5.875e-05/0.01859, allocations: 31.72 kB / 431.4 MB, free: 4.906 MB / 302.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not $SEV_3