Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_3_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_3_M_4,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_3_M_4") translateModel(ScalableTestGrids.Models.Type1.Type1_N_3_M_4,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_3_M_4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001878/0.001878, allocations: 105.7 kB / 18.42 MB, free: 4.652 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.001984/0.001984, allocations: 184 kB / 19.35 MB, free: 3.73 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.822/1.822, 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.06564/0.06564, allocations: 14.18 MB / 286.8 MB, free: 13.84 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0/package.mo): time 4.362/4.362, allocations: 418.6 MB / 0.7384 GB, free: 5.129 MB / 0.5764 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.456e-05/4.457e-05, allocations: 2.281 kB / 1.068 GB, free: 14.23 MB / 0.8579 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_N_3_M_4): time 3.727/3.727, allocations: 0.7897 GB / 1.858 GB, free: 2.766 MB / 1.233 GB Notification: Performance of NFInst.instExpressions: time 2.273/6, allocations: 279.1 MB / 2.13 GB, free: 128 kB / 1.483 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.2933/6.293, allocations: 2.771 MB / 2.133 GB, free: 128 kB / 1.483 GB Notification: Performance of NFTyping.typeComponents: time 0.1829/6.476, allocations: 42.09 MB / 2.174 GB, free: 15.44 MB / 1.499 GB Notification: Performance of NFTyping.typeBindings: time 0.4557/6.932, allocations: 108.3 MB / 2.28 GB, free: 2.961 MB / 1.499 GB Notification: Performance of NFTyping.typeClassSections: time 0.1229/7.055, allocations: 30.01 MB / 2.309 GB, free: 11.89 MB / 1.515 GB Notification: Performance of NFFlatten.flatten: time 0.6597/7.715, allocations: 319.3 MB / 2.621 GB, free: 12.88 MB / 1.78 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1365/7.851, allocations: 26.44 MB / 2.647 GB, free: 2.59 MB / 1.796 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2931/8.144, allocations: 95.73 MB / 2.74 GB, free: 4.203 MB / 1.89 GB Notification: Performance of NFSimplifyModel.simplify: time 1.956/10.1, allocations: 108.2 MB / 2.846 GB, free: 138.8 MB / 1.952 GB Notification: Performance of NFPackage.collectConstants: time 0.08494/10.19, allocations: 9.367 MB / 2.855 GB, free: 138.8 MB / 1.952 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2029/10.39, allocations: 22.94 MB / 2.878 GB, free: 138.8 MB / 1.952 GB Notification: Performance of combineBinaries: time 0.5249/10.91, allocations: 311.7 MB / 3.182 GB, free: 17.95 MB / 1.952 GB Notification: Performance of replaceArrayConstructors: time 0.3138/11.23, allocations: 191.9 MB / 3.369 GB, free: 13.24 MB / 2.062 GB Notification: Performance of NFVerifyModel.verify: time 0.1665/11.39, allocations: 24.34 MB / 3.393 GB, free: 8.551 MB / 2.062 GB Notification: Performance of FrontEnd: time 0.09283/11.49, allocations: 12.31 MB / 3.405 GB, free: 2.859 MB / 2.062 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28284 (20707) * Number of variables: 28284 (28284) Notification: Performance of Bindings: time 7.381/18.87, allocations: 0.956 GB / 4.361 GB, free: 58.18 MB / 2.188 GB Notification: Performance of FunctionAlias: time 0.2909/19.16, allocations: 123.2 MB / 4.482 GB, free: 39.5 MB / 2.188 GB Notification: Performance of Early Inline: time 3.757/22.92, allocations: 0.5368 GB / 5.018 GB, free: 200.4 MB / 2.469 GB Notification: Performance of simplify1: time 0.09761/23.01, allocations: 31.49 MB / 5.049 GB, free: 200.4 MB / 2.469 GB Notification: Performance of Alias: time 1.082/24.1, allocations: 466.4 MB / 5.505 GB, free: 73.43 MB / 2.469 GB Notification: Performance of simplify2: time 0.06248/24.16, allocations: 28.88 MB / 5.533 GB, free: 68.19 MB / 2.469 GB Notification: Performance of Events: time 0.178/24.34, allocations: 78.09 MB / 5.609 GB, free: 23.81 MB / 2.469 GB Notification: Performance of Detect States: time 0.2334/24.57, allocations: 95.47 MB / 5.702 GB, free: 9.086 MB / 2.547 GB Notification: Performance of DAE-Mode: time 3.544e-05/24.57, allocations: 2.078 kB / 5.702 GB, free: 9.086 MB / 2.547 GB Notification: Performance of Partitioning: time 2.89/27.46, allocations: 152.5 MB / 5.851 GB, free: 341.9 MB / 2.609 GB Notification: Performance of Causalize: time 1.828/29.29, allocations: 0.6477 GB / 6.499 GB, free: 14.73 MB / 2.625 GB Notification: Performance of After Index Reduction Inline: time 3.506/32.79, allocations: 295.6 MB / 6.788 GB, free: 373.2 MB / 2.656 GB Notification: Performance of Inline: time 1.751/34.55, allocations: 0.679 GB / 7.467 GB, free: 9.379 MB / 2.703 GB Notification: Performance of Partitioning: time 2.832/37.38, allocations: 32.41 MB / 7.498 GB, free: 256.1 MB / 2.703 GB Notification: Performance of Cleanup: time 0.2373/37.61, allocations: 61.83 MB / 7.559 GB, free: 254.6 MB / 2.703 GB Notification: Performance of Causalize: time 12.31/49.92, allocations: 1.877 GB / 9.436 GB, free: 264.6 MB / 3.062 GB Error: Internal error NBDifferentiate.differentiateVariablePointer failed for final parameter Real GEN_3_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!