Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_4_M_4.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_4_M_4,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_4_M_4") translateModel(ScalableTestGrids.Models.Type1.Type1_N_4_M_4,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_4_M_4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 117.5 kB / 18.43 MB, free: 4.684 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.001595/0.001595, allocations: 184.8 kB / 19.35 MB, free: 3.762 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.83/1.83, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06416/0.06416, allocations: 14.18 MB / 286.8 MB, free: 13.86 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0/package.mo): time 4.627/4.627, allocations: 418.6 MB / 0.7384 GB, free: 5.148 MB / 0.5764 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.145e-05/3.154e-05, allocations: 2.281 kB / 1.068 GB, free: 6.086 MB / 0.7959 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_N_4_M_4): time 4.243/4.243, allocations: 1.425 GB / 2.493 GB, free: 2.211 MB / 1.499 GB Notification: Performance of NFInst.instExpressions: time 3.361/7.604, allocations: 0.4905 GB / 2.984 GB, free: 13.52 MB / 1.812 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.4901/8.094, allocations: 4.984 MB / 2.989 GB, free: 13.52 MB / 1.812 GB Notification: Performance of NFTyping.typeComponents: time 0.36/8.454, allocations: 75.96 MB / 3.063 GB, free: 412 kB / 1.812 GB Notification: Performance of NFTyping.typeBindings: time 1.089/9.544, allocations: 195 MB / 3.253 GB, free: 10.93 MB / 1.937 GB Notification: Performance of NFTyping.typeClassSections: time 0.2958/9.84, allocations: 53.32 MB / 3.305 GB, free: 0.5195 MB / 1.968 GB Notification: Performance of NFFlatten.flatten: time 3.147/12.99, allocations: 0.5627 GB / 3.868 GB, free: 74.19 MB / 2.296 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2737/13.26, allocations: 48.32 MB / 3.915 GB, free: 78.02 MB / 2.312 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4563/13.72, allocations: 172.7 MB / 4.084 GB, free: 54.1 MB / 2.312 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5457/14.26, allocations: 198.5 MB / 4.278 GB, free: 0 / 2.327 GB Notification: Performance of NFPackage.collectConstants: time 0.2492/14.51, allocations: 25.22 MB / 4.302 GB, free: 0 / 2.327 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4373/14.95, allocations: 42.73 MB / 4.344 GB, free: 12.23 MB / 2.374 GB Notification: Performance of combineBinaries: time 5.544/20.49, allocations: 0.5494 GB / 4.893 GB, free: 15.24 MB / 2.5 GB Notification: Performance of replaceArrayConstructors: time 0.5514/21.04, allocations: 346.4 MB / 5.232 GB, free: 15.58 MB / 2.688 GB Notification: Performance of NFVerifyModel.verify: time 0.3187/21.36, allocations: 47.11 MB / 5.278 GB, free: 9.383 MB / 2.703 GB Notification: Performance of FrontEnd: time 0.1445/21.51, allocations: 22.23 MB / 5.299 GB, free: 15.17 MB / 2.719 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51078 (37343) * Number of variables: 51078 (51078) Notification: Performance of Bindings: time 8.93/30.44, allocations: 1.727 GB / 7.027 GB, free: 88.33 MB / 2.766 GB Notification: Performance of FunctionAlias: time 3.544/33.98, allocations: 222.4 MB / 7.244 GB, free: 155.7 MB / 2.844 GB Notification: Performance of Early Inline: time 2.708/36.69, allocations: 0.9686 GB / 8.212 GB, free: 4.938 MB / 3.25 GB Notification: Performance of simplify1: time 3.612/40.3, allocations: 56.86 MB / 8.268 GB, free: 412.9 MB / 3.281 GB Notification: Performance of Alias: time 2.169/42.47, allocations: 0.8221 GB / 9.09 GB, free: 65.96 MB / 3.281 GB Notification: Performance of simplify2: time 0.1241/42.59, allocations: 52.18 MB / 9.141 GB, free: 29.15 MB / 3.281 GB Notification: Performance of Events: time 0.3453/42.94, allocations: 144.3 MB / 9.282 GB, free: 7.566 MB / 3.375 GB Notification: Performance of Detect States: time 4.196/47.14, allocations: 175.7 MB / 9.453 GB, free: 476.2 MB / 3.391 GB Notification: Performance of DAE-Mode: time 3.482e-05/47.14, allocations: 0 / 9.453 GB, free: 476.2 MB / 3.391 GB Notification: Performance of Partitioning: time 1.057/48.19, allocations: 277.8 MB / 9.725 GB, free: 437.2 MB / 3.391 GB Notification: Performance of Causalize: time 7.773/55.97, allocations: 1.182 GB / 10.91 GB, free: 59.2 MB / 3.438 GB Notification: Performance of After Index Reduction Inline: time 1.613/57.58, allocations: 0.5219 GB / 11.43 GB, free: 3.848 MB / 3.562 GB Notification: Performance of Inline: time 8.492/66.07, allocations: 1.227 GB / 12.66 GB, free: 29.77 MB / 3.672 GB Notification: Performance of Partitioning: time 0.2336/66.31, allocations: 58.91 MB / 12.71 GB, free: 11.39 MB / 3.688 GB Notification: Performance of Cleanup: time 4.806/71.11, allocations: 111.8 MB / 12.82 GB, free: 450.9 MB / 3.766 GB Notification: Performance of Causalize: time 21.51/92.63, allocations: 3.413 GB / 16.24 GB, free: 198.4 MB / 4.203 GB Error: Internal error NBDifferentiate.differentiateVariablePointer failed for final parameter Real GEN_2_3.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!