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.00128/0.00128, allocations: 113.5 kB / 18.43 MB, free: 4.672 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.001499/0.0015, allocations: 184.8 kB / 19.36 MB, free: 3.75 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.591/1.591, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05915/0.05915, allocations: 14.17 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 3.811/3.811, allocations: 418.6 MB / 0.7384 GB, free: 5.156 MB / 0.5764 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.107e-05/5.109e-05, allocations: 3.125 kB / 1.068 GB, free: 6.734 MB / 0.7959 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2): time 0.07889/0.07895, allocations: 63.81 MB / 1.13 GB, free: 5.391 MB / 0.8428 GB Notification: Performance of NFInst.instExpressions: time 0.06737/0.1464, allocations: 23.28 MB / 1.153 GB, free: 1.754 MB / 0.8584 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02629/0.1728, allocations: 238.3 kB / 1.153 GB, free: 1.684 MB / 0.8584 GB Notification: Performance of NFTyping.typeComponents: time 0.01687/0.1897, allocations: 3.319 MB / 1.156 GB, free: 14.98 MB / 0.874 GB Notification: Performance of NFTyping.typeBindings: time 0.05177/0.2416, allocations: 9.415 MB / 1.166 GB, free: 7.055 MB / 0.874 GB Notification: Performance of NFTyping.typeClassSections: time 0.01457/0.2562, allocations: 3.259 MB / 1.169 GB, free: 4.297 MB / 0.874 GB Notification: Performance of NFFlatten.flatten: time 0.0541/0.3103, allocations: 24.92 MB / 1.193 GB, free: 4.898 MB / 0.8896 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01211/0.3225, allocations: 2.419 MB / 1.195 GB, free: 3.531 MB / 0.8896 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02631/0.3488, allocations: 7.5 MB / 1.203 GB, free: 14.8 MB / 0.9053 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0238/0.3727, allocations: 8.402 MB / 1.211 GB, free: 7.113 MB / 0.9053 GB Notification: Performance of NFPackage.collectConstants: time 0.00591/0.3787, allocations: 0.8438 MB / 1.212 GB, free: 6.27 MB / 0.9053 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0169/0.3956, allocations: 2.062 MB / 1.214 GB, free: 4.207 MB / 0.9053 GB Notification: Performance of combineBinaries: time 0.04538/0.4411, allocations: 24.39 MB / 1.238 GB, free: 11.57 MB / 0.9365 GB Notification: Performance of replaceArrayConstructors: time 0.0245/0.4657, allocations: 14.96 MB / 1.252 GB, free: 12.4 MB / 0.9521 GB Notification: Performance of NFVerifyModel.verify: time 0.01306/0.4788, allocations: 1.959 MB / 1.254 GB, free: 10.43 MB / 0.9521 GB Notification: Performance of FrontEnd: time 0.007132/0.4859, allocations: 0.9546 MB / 1.255 GB, free: 9.477 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.148/0.634, allocations: 76.68 MB / 1.33 GB, free: 11.81 MB / 1.03 GB Notification: Performance of FunctionAlias: time 0.01534/0.6494, allocations: 8.316 MB / 1.338 GB, free: 3.469 MB / 1.03 GB Notification: Performance of Early Inline: time 0.09124/0.7407, allocations: 42.54 MB / 1.38 GB, free: 8.73 MB / 1.077 GB Notification: Performance of simplify1: time 0.007308/0.7481, allocations: 2.485 MB / 1.382 GB, free: 6.242 MB / 1.077 GB Notification: Performance of Alias: time 0.08571/0.8338, allocations: 40.05 MB / 1.421 GB, free: 11.06 MB / 1.124 GB Notification: Performance of simplify2: time 0.005572/0.8395, allocations: 2.251 MB / 1.423 GB, free: 8.805 MB / 1.124 GB Notification: Performance of Detect States: time 0.021/0.8605, allocations: 10.84 MB / 1.434 GB, free: 13.86 MB / 1.14 GB Notification: Performance of Events: time 0.01064/0.8712, allocations: 3.744 MB / 1.438 GB, free: 10.11 MB / 1.14 GB Notification: Performance of DAE-Mode: time 3.993e-05/0.8713, allocations: 0 / 1.438 GB, free: 10.11 MB / 1.14 GB Notification: Performance of Partitioning: time 0.03426/0.9056, allocations: 11.6 MB / 1.449 GB, free: 14.2 MB / 1.155 GB Notification: Performance of Causalize: time 0.1399/1.046, allocations: 50.55 MB / 1.498 GB, free: 11.12 MB / 1.202 GB Notification: Performance of After Index Reduction Inline: time 0.06034/1.106, allocations: 23.26 MB / 1.521 GB, free: 3.727 MB / 1.218 GB Notification: Performance of Inline: time 1.072/2.178, allocations: 55.73 MB / 1.575 GB, free: 243.3 MB / 1.218 GB Notification: Performance of Partitioning: time 0.009291/2.187, allocations: 2.657 MB / 1.578 GB, free: 242.7 MB / 1.218 GB Notification: Performance of Cleanup: time 0.01941/2.207, allocations: 4.927 MB / 1.583 GB, free: 242.5 MB / 1.218 GB Notification: Performance of Causalize: time 0.3886/2.595, allocations: 154.4 MB / 1.734 GB, free: 150.8 MB / 1.218 GB Error: Internal error NBTearing.minimal failed. (2|2) Discrete Variables ************************** [PRMT] (1) final parameter Real GEN_1_1.GEN.LfPu (fixed = false, start = 0.1, min = 0.001) [PRMT] (1) final parameter Real GEN_1_1.GEN.rfPu (fixed = false, start = 0.001, min = 1e-5) (0|0) Discrete Equations ************************** Error: Internal error NBInitialization.main failed to apply modules!