Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_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.GridModelBuilders.Type1Sample_N_1_M_2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2") translateModel(ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, 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.001324/0.001324, 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.746/1.746, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05933/0.05933, allocations: 14.17 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.422/4.422, allocations: 418.6 MB / 0.7384 GB, free: 5.145 MB / 0.5764 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.676e-05/4.677e-05, allocations: 3.891 kB / 1.068 GB, free: 6.703 MB / 0.7959 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2): time 0.08376/0.08382, allocations: 63.81 MB / 1.13 GB, free: 5.359 MB / 0.8428 GB Notification: Performance of NFInst.instExpressions: time 0.07259/0.1565, allocations: 23.29 MB / 1.153 GB, free: 1.711 MB / 0.8584 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03083/0.1874, allocations: 234.1 kB / 1.153 GB, free: 1.645 MB / 0.8584 GB Notification: Performance of NFTyping.typeComponents: time 0.02072/0.2082, allocations: 3.317 MB / 1.156 GB, free: 14.95 MB / 0.874 GB Notification: Performance of NFTyping.typeBindings: time 0.0544/0.2628, allocations: 8.862 MB / 1.165 GB, free: 7.367 MB / 0.874 GB Notification: Performance of NFTyping.typeClassSections: time 0.01934/0.2822, allocations: 3.26 MB / 1.168 GB, free: 4.605 MB / 0.874 GB Notification: Performance of NFFlatten.flatten: time 0.06793/0.3501, allocations: 24.89 MB / 1.193 GB, free: 5.223 MB / 0.8896 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009135/0.3594, allocations: 2.427 MB / 1.195 GB, free: 3.844 MB / 0.8896 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02693/0.3863, allocations: 7.504 MB / 1.202 GB, free: 15.11 MB / 0.9053 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02487/0.4113, allocations: 8.404 MB / 1.21 GB, free: 7.633 MB / 0.9053 GB Notification: Performance of NFPackage.collectConstants: time 0.006861/0.4182, allocations: 0.8438 MB / 1.211 GB, free: 6.789 MB / 0.9053 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01815/0.4364, allocations: 2.062 MB / 1.213 GB, free: 4.727 MB / 0.9053 GB Notification: Performance of combineBinaries: time 0.04566/0.4821, allocations: 24.39 MB / 1.237 GB, free: 12.09 MB / 0.9365 GB Notification: Performance of replaceArrayConstructors: time 0.02227/0.5044, allocations: 14.96 MB / 1.252 GB, free: 12.92 MB / 0.9521 GB Notification: Performance of NFVerifyModel.verify: time 0.01098/0.5155, allocations: 1.963 MB / 1.254 GB, free: 10.95 MB / 0.9521 GB Notification: Performance of FrontEnd: time 0.005919/0.5214, allocations: 0.9546 MB / 1.255 GB, free: 9.996 MB / 0.9521 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2196 (1651) * Number of variables: 2196 (2196) Notification: Performance of Bindings: time 0.1465/0.668, allocations: 76.67 MB / 1.329 GB, free: 12.35 MB / 1.03 GB Notification: Performance of FunctionAlias: time 0.01606/0.6841, allocations: 8.32 MB / 1.338 GB, free: 4 MB / 1.03 GB Notification: Performance of Early Inline: time 0.1093/0.7934, allocations: 42.54 MB / 1.379 GB, free: 9.262 MB / 1.077 GB Notification: Performance of simplify1: time 0.007893/0.8014, allocations: 2.478 MB / 1.382 GB, free: 6.781 MB / 1.077 GB Notification: Performance of Alias: time 0.09897/0.9004, allocations: 40.07 MB / 1.421 GB, free: 11.59 MB / 1.124 GB Notification: Performance of simplify2: time 0.005919/0.9064, allocations: 2.244 MB / 1.423 GB, free: 9.336 MB / 1.124 GB Notification: Performance of Events: time 0.01272/0.9192, allocations: 6.376 MB / 1.429 GB, free: 2.93 MB / 1.124 GB Notification: Performance of Detect States: time 0.01864/0.9379, allocations: 7.638 MB / 1.437 GB, free: 11.21 MB / 1.14 GB Notification: Performance of DAE-Mode: time 2.359e-05/0.9379, allocations: 0 / 1.437 GB, free: 11.21 MB / 1.14 GB Notification: Performance of Partitioning: time 0.03026/0.9682, allocations: 11.59 MB / 1.448 GB, free: 15.32 MB / 1.155 GB Notification: Performance of Causalize: time 0.1286/1.097, allocations: 50.56 MB / 1.497 GB, free: 12.23 MB / 1.202 GB Notification: Performance of After Index Reduction Inline: time 0.05835/1.155, allocations: 23.26 MB / 1.52 GB, free: 4.836 MB / 1.218 GB Notification: Performance of Inline: time 1.185/2.34, allocations: 54.83 MB / 1.573 GB, free: 243.8 MB / 1.218 GB Notification: Performance of Partitioning: time 0.01172/2.352, allocations: 2.649 MB / 1.576 GB, free: 243.2 MB / 1.218 GB Notification: Performance of Cleanup: time 0.02492/2.377, allocations: 4.93 MB / 1.581 GB, free: 243 MB / 1.218 GB Notification: Performance of Causalize: time 0.3718/2.749, allocations: 154.4 MB / 1.732 GB, free: 152.3 MB / 1.218 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!