Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 117.3 kB / 17.76 MB, free: 5.293 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.001131/0.001131, allocations: 184.4 kB / 18.69 MB, free: 4.371 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.285/1.285, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1638/0.1638, allocations: 38.03 MB / 330.6 MB, free: 8.688 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.281e-05, allocations: 5.938 kB / 458.8 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.005113/0.005135, allocations: 3.921 MB / 462.7 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.00661, allocations: 0.8727 MB / 463.6 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002454/0.006856, allocations: 15.88 kB / 463.6 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.007022, allocations: 43.62 kB / 463.6 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000512/0.007534, allocations: 163.1 kB / 463.8 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002215/0.007755, allocations: 87.83 kB / 463.9 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004804/0.008236, allocations: 414.6 kB / 464.3 MB, free: 1.355 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.008375, allocations: 36.38 kB / 464.3 MB, free: 1.316 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002894/0.008664, allocations: 163.3 kB / 464.5 MB, free: 1.156 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003067/0.008971, allocations: 143.4 kB / 464.6 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.575e-05/0.009007, allocations: 12 kB / 464.6 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.937e-05/0.009056, allocations: 16 kB / 464.6 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0003532/0.009409, allocations: 391.6 kB / 465 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.000162/0.009571, allocations: 260.5 kB / 465.3 MB, free: 352 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.353e-05/0.009635, allocations: 39.88 kB / 465.3 MB, free: 312 kB / 334.1 MB Notification: Performance of FrontEnd: time 4.135e-05/0.009676, allocations: 7.938 kB / 465.3 MB, free: 304 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 (40) * Number of variables: 49 (38) Notification: Performance of Bindings: time 0.0009743/0.01065, allocations: 0.9148 MB / 466.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0001239/0.01077, allocations: 77.86 kB / 466.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0003053/0.01108, allocations: 303.5 kB / 466.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simplify1: time 0.0001027/0.01118, allocations: 95.69 kB / 466.7 MB, free: 14.74 MB / 350.1 MB Notification: Performance of Alias: time 0.0008013/0.01198, allocations: 0.5353 MB / 467.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simplify2: time 8.444e-05/0.01207, allocations: 72.36 kB / 467.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of Detect States: time 0.0003456/0.01241, allocations: 131.8 kB / 467.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of Events: time 4.873e-05/0.01246, allocations: 23.98 kB / 467.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0001779/0.01264, allocations: 149 kB / 467.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of Causalize: time 0.0008148/0.01346, allocations: 0.6515 MB / 468.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002433/0.0137, allocations: 248.1 kB / 468.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of Inline: time 0.0005242/0.01422, allocations: 476.3 kB / 469 MB, free: 12.18 MB / 350.1 MB Notification: Performance of Partitioning: time 3.235e-05/0.01426, allocations: 20.11 kB / 469 MB, free: 12.15 MB / 350.1 MB Notification: Performance of Cleanup: time 7.245e-05/0.01433, allocations: 83.84 kB / 469.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of Causalize: time 0.001509/0.01584, allocations: 1.188 MB / 470.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of Tearing: time 7.674e-06/0.01584, allocations: 0 / 470.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of Initialization: time 5.21e-07/0.01585, allocations: 0 / 470.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of Tearing: time 5.761e-06/0.01585, allocations: 4 kB / 470.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of Categorize: time 6.542e-06/0.01586, allocations: 0 / 470.3 MB, free: 10.88 MB / 350.1 MB Error: Internal error NBDifferentiate.differentiateCall failed for: {0.0 for $i1 in 1:2} Error: Internal error NBSolve.solveStrongComponent failed with status = Solve.UNSOLVABLE while trying to solve following strong component: BLOCK: Sliced Component (status = Solve.UNPROCESSED) ------------------------------------------------------ ### Variable: meter.term_p.i ### Equation: [ARRY] (2) meter.term_p.i + meter.term_n.i = {0.0 for $i1 in 1:2} ($RES_SIM_6) slice: {1, 0}