Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_6_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_6_M_4,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_6_M_4") translateModel(ScalableTestGrids.Models.Type1.Type1_N_6_M_4,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_6_M_4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 113.2 kB / 18.42 MB, free: 4.66 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.001178/0.001178, allocations: 181.5 kB / 19.35 MB, free: 3.742 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.746/1.746, allocations: 205.1 MB / 225.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05994/0.05994, 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.442/4.442, allocations: 418.6 MB / 0.7384 GB, free: 5.145 MB / 0.5764 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.993e-05/4.994e-05, allocations: 3.375 kB / 1.069 GB, free: 5.32 MB / 0.7959 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_N_6_M_4): time 11.06/11.06, allocations: 3.254 GB / 4.323 GB, free: 2.145 MB / 2.312 GB Notification: Performance of NFInst.instExpressions: time 6.309/17.37, allocations: 1.118 GB / 5.441 GB, free: 5.742 MB / 2.812 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.202/18.57, allocations: 11.36 MB / 5.452 GB, free: 44 kB / 2.812 GB Notification: Performance of NFTyping.typeComponents: time 0.8519/19.42, allocations: 173.5 MB / 5.621 GB, free: 13.37 MB / 2.983 GB Notification: Performance of NFTyping.typeBindings: time 5.499/24.92, allocations: 444.8 MB / 6.056 GB, free: 67.38 MB / 3.218 GB Notification: Performance of NFTyping.typeClassSections: time 0.5236/25.44, allocations: 120.1 MB / 6.173 GB, free: 64.35 MB / 3.218 GB Notification: Performance of NFFlatten.flatten: time 9.622/35.07, allocations: 1.286 GB / 7.46 GB, free: 38.31 MB / 3.5 GB Notification: Performance of NFFlatten.resolveConnections: time 0.6739/35.74, allocations: 107.6 MB / 7.565 GB, free: 27.84 MB / 3.516 GB Notification: Performance of NFEvalConstants.evaluate: time 1.281/37.02, allocations: 403.1 MB / 7.958 GB, free: 0 / 3.562 GB Notification: Performance of NFSimplifyModel.simplify: time 9.66/46.68, allocations: 446.2 MB / 8.394 GB, free: 45.8 MB / 3.814 GB Notification: Performance of NFPackage.collectConstants: time 0.3616/47.04, allocations: 38.2 MB / 8.431 GB, free: 45.8 MB / 3.814 GB Notification: Performance of NFFlatten.collectFunctions: time 0.8584/47.9, allocations: 94.27 MB / 8.523 GB, free: 45.52 MB / 3.814 GB Notification: Performance of combineBinaries: time 8.141/56.04, allocations: 1.255 GB / 9.778 GB, free: 9.902 MB / 4.299 GB Notification: Performance of replaceArrayConstructors: time 1.14/57.18, allocations: 0.7727 GB / 10.55 GB, free: 0.8086 MB / 4.346 GB Notification: Performance of NFVerifyModel.verify: time 0.6652/57.85, allocations: 100.1 MB / 10.65 GB, free: 0.8086 MB / 4.346 GB Notification: Performance of FrontEnd: time 0.3621/58.21, allocations: 50.71 MB / 10.7 GB, free: 0.8086 MB / 4.346 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116718 (85219) * Number of variables: 116718 (116718) Notification: Performance of Bindings: time 26.42/84.63, allocations: 3.941 GB / 14.64 GB, free: 176.3 MB / 4.908 GB Notification: Performance of FunctionAlias: time 1.234/85.87, allocations: 0.4955 GB / 15.13 GB, free: 132.2 MB / 4.939 GB Notification: Performance of Early Inline: time 12.51/98.37, allocations: 2.224 GB / 17.36 GB, free: 35 MB / 5.486 GB Notification: Performance of simplify1: time 0.372/98.75, allocations: 129.9 MB / 17.49 GB, free: 1.062 MB / 5.549 GB Notification: Performance of Alias: time 11.75/110.5, allocations: 1.87 GB / 19.36 GB, free: 375.7 MB / 6.018 GB Notification: Performance of simplify2: time 0.2827/110.8, allocations: 119.3 MB / 19.47 GB, free: 347.6 MB / 6.018 GB Notification: Performance of Events: time 0.6553/111.4, allocations: 321.9 MB / 19.79 GB, free: 160.6 MB / 6.049 GB Notification: Performance of Detect States: time 8.21/119.6, allocations: 393.9 MB / 20.17 GB, free: 0.6365 GB / 6.049 GB Notification: Performance of DAE-Mode: time 2.567e-05/119.6, allocations: 1.656 kB / 20.17 GB, free: 0.6365 GB / 6.049 GB Notification: Performance of Partitioning: time 2.661/122.3, allocations: 0.6142 GB / 20.78 GB, free: 0.5511 GB / 6.049 GB Notification: Performance of Causalize: time 16.48/138.8, allocations: 2.684 GB / 23.47 GB, free: 10.27 MB / 6.252 GB Notification: Performance of After Index Reduction Inline: time 11.75/150.5, allocations: 1.191 GB / 24.66 GB, free: 0.7218 GB / 6.455 GB Notification: Performance of Inline: time 16.76/167.3, allocations: 2.801 GB / 27.46 GB, free: 162.9 MB / 6.518 GB Notification: Performance of Partitioning: time 0.5575/167.9, allocations: 133.4 MB / 27.59 GB, free: 85.54 MB / 6.518 GB Notification: Performance of Cleanup: time 0.9438/168.8, allocations: 254.9 MB / 27.84 GB, free: 6.391 MB / 6.643 GB Notification: Performance of Causalize: time 56.11/224.9, allocations: 7.729 GB / 35.57 GB, free: 7.742 MB / 8.033 GB Error: Internal error NBDifferentiate.differentiateVariablePointer failed for final parameter Real GEN_1_6.GEN.T4dPu 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!