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.001148/0.001148, allocations: 110.4 kB / 17.14 MB, free: 5.926 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.001126/0.001127, allocations: 193.4 kB / 18.07 MB, free: 5.016 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.232/1.232, 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.04573/0.04573, allocations: 8.098 MB / 300 MB, free: 6.617 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.505e-05/1.506e-05, allocations: 5.656 kB / 415.1 MB, free: 21.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.001515/0.001538, allocations: 1.22 MB / 416.3 MB, free: 20.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.002793, allocations: 1.477 MB / 417.8 MB, free: 19.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.44e-05/0.002859, allocations: 4 kB / 417.8 MB, free: 19.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002443/0.003109, allocations: 111.5 kB / 417.9 MB, free: 18.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001655/0.00329, allocations: 75.47 kB / 418 MB, free: 18.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.004373, allocations: 0.8985 MB / 418.9 MB, free: 17.97 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000182/0.004563, allocations: 199.1 kB / 419.1 MB, free: 17.78 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.004676, allocations: 49.08 kB / 419.1 MB, free: 17.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.988e-05/0.004732, allocations: 67.72 kB / 419.2 MB, free: 17.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.944e-05/0.004837, allocations: 91.55 kB / 419.3 MB, free: 17.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.004865, allocations: 12 kB / 419.3 MB, free: 17.56 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002305/0.0051, allocations: 195.8 kB / 419.5 MB, free: 17.37 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001353/0.005243, allocations: 276.9 kB / 419.8 MB, free: 17.09 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 5.789e-05/0.005306, allocations: 193.2 kB / 419.9 MB, free: 16.9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.153e-05/0.005333, allocations: 19.94 kB / 420 MB, free: 16.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.315e-05/0.005351, allocations: 4 kB / 420 MB, free: 16.88 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.0005944/0.005949, allocations: 1.022 MB / 421 MB, free: 15.75 MB / 302.1 MB Notification: Performance of FunctionAlias: time 4.166e-05/0.005998, allocations: 47.91 kB / 421 MB, free: 15.7 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0005598/0.006563, allocations: 0.9303 MB / 422 MB, free: 14.75 MB / 302.1 MB Notification: Performance of simplify1: time 3.511e-05/0.006607, allocations: 55.95 kB / 422 MB, free: 14.69 MB / 302.1 MB Notification: Performance of Alias: time 0.0001149/0.006727, allocations: 182.3 kB / 422.2 MB, free: 14.47 MB / 302.1 MB Notification: Performance of simplify2: time 3.059e-05/0.006764, allocations: 59.94 kB / 422.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of Events: time 7.342e-05/0.006842, allocations: 76.98 kB / 422.3 MB, free: 14.34 MB / 302.1 MB Notification: Performance of Detect States: time 0.000103/0.006951, allocations: 158.4 kB / 422.5 MB, free: 14.17 MB / 302.1 MB Notification: Performance of Partitioning: time 0.00016/0.007117, allocations: 236 kB / 422.7 MB, free: 13.93 MB / 302.1 MB Notification: Performance of Causalize: time 0.0007745/0.007897, allocations: 0.9559 MB / 423.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002996/0.008205, allocations: 0.5753 MB / 424.2 MB, free: 12.36 MB / 302.1 MB Notification: Performance of Inline: time 0.00065/0.008861, allocations: 1.115 MB / 425.4 MB, free: 11.21 MB / 302.1 MB Notification: Performance of Partitioning: time 3.435e-05/0.008905, allocations: 50.36 kB / 425.4 MB, free: 11.15 MB / 302.1 MB Notification: Performance of Cleanup: time 2.656e-05/0.008937, allocations: 39.95 kB / 425.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of Causalize: time 0.0009537/0.009896, allocations: 1.28 MB / 426.7 MB, free: 9.828 MB / 302.1 MB Notification: Performance of Tearing: time 0.0004068/0.01031, allocations: 0.6266 MB / 427.4 MB, free: 9.152 MB / 302.1 MB Notification: Performance of Initialization: time 4.41e-07/0.01032, allocations: 0 / 427.4 MB, free: 9.152 MB / 302.1 MB Notification: Performance of Tearing: time 0.0003172/0.01064, allocations: 0.6267 MB / 428 MB, free: 8.477 MB / 302.1 MB Notification: Performance of Categorize: time 7.003e-06/0.01066, allocations: 0 / 428 MB, free: 8.477 MB / 302.1 MB Notification: Performance of Solve: time 0.0001235/0.01078, allocations: 88.62 kB / 428.1 MB, free: 8.387 MB / 302.1 MB Notification: Performance of Jacobian: time 2.826e-06/0.01079, allocations: 0 / 428.1 MB, free: 8.387 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: 0, nonlinear:1) 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: 0, nonlinear:1) Notification: Performance of backend: time 2.862e-05/0.01083, allocations: 23.42 kB / 428.1 MB, free: 8.367 MB / 302.1 MB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not $SEV_1