Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.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_1_M_1,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1") translateModel(ScalableTestGrids.Models.Type1.Type1_N_1_M_1,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 113.2 kB / 18.42 MB, free: 4.641 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.001729/0.001729, allocations: 181.5 kB / 19.35 MB, free: 3.723 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.764/1.764, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05884/0.05884, 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.396/4.396, allocations: 418.6 MB / 0.7384 GB, free: 5.156 MB / 0.5764 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.921e-05/3.923e-05, allocations: 6.219 kB / 1.068 GB, free: 14.57 MB / 0.8579 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_N_1_M_1): time 1.564/1.564, allocations: 55.56 MB / 1.122 GB, free: 18.47 MB / 0.8584 GB Notification: Performance of NFInst.instExpressions: time 0.05111/1.616, allocations: 20.52 MB / 1.142 GB, free: 3.414 MB / 0.8584 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02289/1.639, allocations: 216 kB / 1.142 GB, free: 3.348 MB / 0.8584 GB Notification: Performance of NFTyping.typeComponents: time 0.01584/1.654, allocations: 2.881 MB / 1.145 GB, free: 1.836 MB / 0.8584 GB Notification: Performance of NFTyping.typeBindings: time 0.04134/1.696, allocations: 7.698 MB / 1.153 GB, free: 12.54 MB / 0.874 GB Notification: Performance of NFTyping.typeClassSections: time 0.01452/1.71, allocations: 3.128 MB / 1.156 GB, free: 10.5 MB / 0.874 GB Notification: Performance of NFFlatten.flatten: time 0.04857/1.759, allocations: 21.73 MB / 1.177 GB, free: 14.34 MB / 0.8896 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006638/1.766, allocations: 2.289 MB / 1.179 GB, free: 13.03 MB / 0.8896 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02128/1.787, allocations: 6.559 MB / 1.186 GB, free: 8.875 MB / 0.8896 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02786/1.815, allocations: 7.326 MB / 1.193 GB, free: 3.883 MB / 0.8896 GB Notification: Performance of NFPackage.collectConstants: time 0.005667/1.821, allocations: 0.7849 MB / 1.194 GB, free: 3.883 MB / 0.8896 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01441/1.835, allocations: 1.857 MB / 1.195 GB, free: 3.68 MB / 0.8896 GB Notification: Performance of combineBinaries: time 0.04874/1.884, allocations: 21.33 MB / 1.216 GB, free: 3.996 MB / 0.9053 GB Notification: Performance of replaceArrayConstructors: time 0.02945/1.913, allocations: 13.08 MB / 1.229 GB, free: 10.25 MB / 0.9209 GB Notification: Performance of NFVerifyModel.verify: time 0.01354/1.927, allocations: 1.735 MB / 1.231 GB, free: 9.375 MB / 0.9209 GB Notification: Performance of FrontEnd: time 0.005598/1.933, allocations: 0.8303 MB / 1.231 GB, free: 8.863 MB / 0.9209 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1920 (1457) * Number of variables: 1920 (1920) Notification: Performance of Bindings: time 0.1506/2.083, allocations: 66.76 MB / 1.297 GB, free: 13.18 MB / 0.9834 GB Notification: Performance of FunctionAlias: time 0.01669/2.1, allocations: 8.955 MB / 1.305 GB, free: 4.188 MB / 0.9834 GB Notification: Performance of Early Inline: time 0.08293/2.183, allocations: 37.24 MB / 1.342 GB, free: 14.79 MB / 1.03 GB Notification: Performance of simplify1: time 0.006605/2.19, allocations: 2.197 MB / 1.344 GB, free: 12.59 MB / 1.03 GB Notification: Performance of Alias: time 0.06777/2.258, allocations: 34.62 MB / 1.378 GB, free: 7.156 MB / 1.062 GB Notification: Performance of simplify2: time 0.006215/2.264, allocations: 1.963 MB / 1.38 GB, free: 5.191 MB / 1.062 GB Notification: Performance of Events: time 0.01069/2.275, allocations: 5.57 MB / 1.385 GB, free: 15.61 MB / 1.077 GB Notification: Performance of Detect States: time 0.01557/2.29, allocations: 6.801 MB / 1.392 GB, free: 8.727 MB / 1.077 GB Notification: Performance of DAE-Mode: time 3.775e-05/2.29, allocations: 0 / 1.392 GB, free: 8.727 MB / 1.077 GB Notification: Performance of Partitioning: time 0.03138/2.322, allocations: 10.23 MB / 1.402 GB, free: 14.2 MB / 1.093 GB Notification: Performance of Causalize: time 0.08662/2.408, allocations: 43.67 MB / 1.444 GB, free: 2.066 MB / 1.124 GB Notification: Performance of After Index Reduction Inline: time 0.04888/2.457, allocations: 20.56 MB / 1.464 GB, free: 13.38 MB / 1.155 GB Notification: Performance of Inline: time 0.1015/2.559, allocations: 48.12 MB / 1.511 GB, free: 13 MB / 1.202 GB Notification: Performance of Partitioning: time 0.00678/2.566, allocations: 2.308 MB / 1.514 GB, free: 10.62 MB / 1.202 GB Notification: Performance of Cleanup: time 0.01362/2.579, allocations: 4.292 MB / 1.518 GB, free: 6.301 MB / 1.202 GB Notification: Performance of Causalize: time 1.401/3.98, allocations: 132.7 MB / 1.647 GB, free: 227.1 MB / 1.233 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!