Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 114.5 kB / 17.75 MB, free: 5.336 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.001194/0.001194, allocations: 183.1 kB / 18.68 MB, free: 4.414 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.259/1.259, 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.1674/0.1674, allocations: 38.04 MB / 330.6 MB, free: 8.66 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.924e-05/1.924e-05, allocations: 2.281 kB / 458.8 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.004923/0.004942, allocations: 4.081 MB / 462.8 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.006264, allocations: 0.9 MB / 463.7 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.006393, allocations: 19.88 kB / 463.8 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001928/0.006586, allocations: 51.5 kB / 463.8 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004498/0.007036, allocations: 175 kB / 464 MB, free: 1.617 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000201/0.007237, allocations: 91.81 kB / 464.1 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004593/0.007696, allocations: 454.5 kB / 464.5 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.007848, allocations: 44.7 kB / 464.6 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000233/0.008081, allocations: 167.3 kB / 464.7 MB, free: 0.875 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002611/0.008342, allocations: 159.3 kB / 464.9 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.622e-05/0.008379, allocations: 16 kB / 464.9 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.524e-05/0.008424, allocations: 16 kB / 464.9 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0003259/0.00875, allocations: 443.1 kB / 465.3 MB, free: 256 kB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.000172/0.008922, allocations: 284.2 kB / 465.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.661e-05/0.008978, allocations: 51.81 kB / 465.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.497e-05/0.009013, allocations: 7.844 kB / 465.7 MB, free: 15.91 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 (42) * Number of variables: 53 (40) Notification: Performance of Bindings: time 0.001037/0.01005, allocations: 0.9998 MB / 466.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0001279/0.01018, allocations: 81.91 kB / 466.8 MB, free: 14.71 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0003327/0.01051, allocations: 343.4 kB / 467.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simplify1: time 0.0001063/0.01062, allocations: 91.73 kB / 467.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of Alias: time 0.0008648/0.01148, allocations: 0.5694 MB / 467.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of simplify2: time 8.06e-05/0.01156, allocations: 72.34 kB / 467.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of Detect States: time 0.0002355/0.0118, allocations: 139.4 kB / 468 MB, free: 13.25 MB / 350.1 MB Notification: Performance of Events: time 4.553e-05/0.01184, allocations: 31.91 kB / 468 MB, free: 13.22 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0002243/0.01207, allocations: 176.6 kB / 468.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of Causalize: time 0.0009316/0.013, allocations: 0.7394 MB / 468.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002834/0.01328, allocations: 276.1 kB / 469.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of Inline: time 0.0005934/0.01388, allocations: 0.5539 MB / 469.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of Partitioning: time 3.712e-05/0.01391, allocations: 30.34 kB / 469.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of Cleanup: time 7.509e-05/0.01399, allocations: 87.89 kB / 469.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of Causalize: time 0.001577/0.01557, allocations: 1.346 MB / 471.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of Tearing: time 1.085e-05/0.01558, allocations: 0 / 471.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of Initialization: time 6.81e-07/0.01558, allocations: 0 / 471.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of Tearing: time 2.846e-06/0.01558, allocations: 0 / 471.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of Categorize: time 1.022e-05/0.01559, allocations: 8 kB / 471.2 MB, free: 9.91 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}