Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_2_M_2.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0/package.mo", uses=false) Using package ScalableTestGrids with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0/package.mo) Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ScalableTestGrids.Models.Type1.Type1_N_2_M_2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_2_M_2") translateModel(ScalableTestGrids.Models.Type1.Type1_N_2_M_2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_2_M_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 110.4 kB / 18.42 MB, free: 4.625 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.001002/0.001002, allocations: 184.2 kB / 19.35 MB, free: 3.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.703/1.703, allocations: 205.1 MB / 225.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06017/0.06017, allocations: 14.17 MB / 286.8 MB, free: 13.85 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0/package.mo): time 4.322/4.322, allocations: 418.6 MB / 0.7384 GB, free: 5.133 MB / 0.5764 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.569e-05/4.57e-05, allocations: 2.281 kB / 1.068 GB, free: 14.48 MB / 0.8579 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_N_2_M_2): time 1.69/1.69, allocations: 283.1 MB / 1.344 GB, free: 13.06 MB / 1.03 GB Notification: Performance of NFInst.instExpressions: time 0.2676/1.957, allocations: 99.13 MB / 1.441 GB, free: 9.684 MB / 1.124 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.116/2.074, allocations: 1.015 MB / 1.442 GB, free: 8.664 MB / 1.124 GB Notification: Performance of NFTyping.typeComponents: time 0.07726/2.151, allocations: 14.75 MB / 1.457 GB, free: 9.82 MB / 1.14 GB Notification: Performance of NFTyping.typeBindings: time 0.2563/2.407, allocations: 37.75 MB / 1.493 GB, free: 3.949 MB / 1.171 GB Notification: Performance of NFTyping.typeClassSections: time 0.05691/2.464, allocations: 12.32 MB / 1.505 GB, free: 7.613 MB / 1.187 GB Notification: Performance of NFFlatten.flatten: time 1.313/3.778, allocations: 112.3 MB / 1.615 GB, free: 41.43 MB / 1.218 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05356/3.831, allocations: 10.27 MB / 1.625 GB, free: 55.07 MB / 1.233 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1221/3.953, allocations: 33.72 MB / 1.658 GB, free: 51.86 MB / 1.233 GB Notification: Performance of NFSimplifyModel.simplify: time 0.1038/4.057, allocations: 38.03 MB / 1.695 GB, free: 45.07 MB / 1.233 GB Notification: Performance of NFPackage.collectConstants: time 0.03032/4.088, allocations: 3.613 MB / 1.699 GB, free: 45.07 MB / 1.233 GB Notification: Performance of NFFlatten.collectFunctions: time 0.07361/4.161, allocations: 8.374 MB / 1.707 GB, free: 44.79 MB / 1.233 GB Notification: Performance of combineBinaries: time 0.2102/4.372, allocations: 110 MB / 1.814 GB, free: 5.75 MB / 1.28 GB Notification: Performance of replaceArrayConstructors: time 0.1031/4.475, allocations: 67.6 MB / 1.88 GB, free: 4.609 MB / 1.343 GB Notification: Performance of NFVerifyModel.verify: time 0.04999/4.525, allocations: 8.86 MB / 1.889 GB, free: 12.48 MB / 1.358 GB Notification: Performance of FrontEnd: time 0.02723/4.552, allocations: 4.309 MB / 1.893 GB, free: 8.793 MB / 1.358 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9966 (7387) * Number of variables: 9966 (9966) Notification: Performance of Bindings: time 1.879/6.432, allocations: 345.9 MB / 2.231 GB, free: 225.2 MB / 1.53 GB Notification: Performance of FunctionAlias: time 0.0845/6.516, allocations: 44.3 MB / 2.274 GB, free: 212.7 MB / 1.53 GB Notification: Performance of Early Inline: time 0.3833/6.9, allocations: 193.3 MB / 2.463 GB, free: 82.5 MB / 1.53 GB Notification: Performance of simplify1: time 0.02155/6.921, allocations: 11.23 MB / 2.474 GB, free: 71.39 MB / 1.53 GB Notification: Performance of Alias: time 1.728/8.649, allocations: 170 MB / 2.64 GB, free: 242.8 MB / 1.624 GB Notification: Performance of simplify2: time 0.02764/8.677, allocations: 10.22 MB / 2.65 GB, free: 242.8 MB / 1.624 GB Notification: Performance of Events: time 0.08122/8.758, allocations: 28.14 MB / 2.677 GB, free: 238.5 MB / 1.624 GB Notification: Performance of Detect States: time 0.1138/8.872, allocations: 34.61 MB / 2.711 GB, free: 235.4 MB / 1.624 GB Notification: Performance of DAE-Mode: time 3.99e-05/8.872, allocations: 3.625 kB / 2.711 GB, free: 235.4 MB / 1.624 GB Notification: Performance of Partitioning: time 0.2148/9.087, allocations: 52.55 MB / 2.763 GB, free: 228.2 MB / 1.624 GB Notification: Performance of Causalize: time 0.6217/9.709, allocations: 229.8 MB / 2.987 GB, free: 104.5 MB / 1.624 GB Notification: Performance of After Index Reduction Inline: time 0.2353/9.944, allocations: 105.2 MB / 3.09 GB, free: 10.82 MB / 1.624 GB Notification: Performance of Inline: time 2.176/12.12, allocations: 247.3 MB / 3.331 GB, free: 321.3 MB / 1.733 GB Notification: Performance of Partitioning: time 0.05427/12.17, allocations: 11.84 MB / 3.343 GB, free: 318.8 MB / 1.733 GB Notification: Performance of Cleanup: time 0.1085/12.28, allocations: 22.17 MB / 3.364 GB, free: 307.1 MB / 1.733 GB Notification: Performance of Causalize: time 3.325/15.61, allocations: 0.6742 GB / 4.039 GB, free: 251 MB / 1.812 GB Error: Internal error NBDifferentiate.differentiateVariablePointer failed for final parameter Real GEN_1_1.GEN.T1dPu because the result is expected to be a variable but turned out to be 0.0. Error: Internal error NBInitialization.main failed to apply modules!