Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_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.Models.Type1.Type1_N_1_M_2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2") translateModel(ScalableTestGrids.Models.Type1.Type1_N_1_M_2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_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.001544/0.001544, allocations: 110.5 kB / 18.42 MB, free: 4.68 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.001826/0.001826, allocations: 187.8 kB / 19.35 MB, free: 3.762 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.753/1.753, 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.06062/0.06062, 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 4.27/4.27, allocations: 418.6 MB / 0.7384 GB, free: 5.156 MB / 0.5764 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.956e-05/4.974e-05, allocations: 4.578 kB / 1.068 GB, free: 6.727 MB / 0.7959 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_N_1_M_2): time 0.09788/0.09795, allocations: 63.8 MB / 1.13 GB, free: 5.383 MB / 0.8428 GB Notification: Performance of NFInst.instExpressions: time 0.07323/0.1713, allocations: 23.29 MB / 1.153 GB, free: 1.742 MB / 0.8584 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03098/0.2024, allocations: 237.8 kB / 1.153 GB, free: 1.672 MB / 0.8584 GB Notification: Performance of NFTyping.typeComponents: time 0.0213/0.2238, allocations: 3.313 MB / 1.156 GB, free: 14.98 MB / 0.874 GB Notification: Performance of NFTyping.typeBindings: time 0.05606/0.28, allocations: 8.87 MB / 1.165 GB, free: 7.371 MB / 0.874 GB Notification: Performance of NFTyping.typeClassSections: time 0.01678/0.2968, allocations: 3.258 MB / 1.168 GB, free: 4.609 MB / 0.874 GB Notification: Performance of NFFlatten.flatten: time 0.06352/0.3604, allocations: 24.9 MB / 1.193 GB, free: 5.219 MB / 0.8896 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01252/0.373, allocations: 2.423 MB / 1.195 GB, free: 3.844 MB / 0.8896 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02885/0.4019, allocations: 7.503 MB / 1.202 GB, free: 15.11 MB / 0.9053 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02532/0.4273, allocations: 8.4 MB / 1.21 GB, free: 7.637 MB / 0.9053 GB Notification: Performance of NFPackage.collectConstants: time 0.007468/0.4348, allocations: 0.8438 MB / 1.211 GB, free: 6.793 MB / 0.9053 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01885/0.4537, allocations: 2.062 MB / 1.213 GB, free: 4.73 MB / 0.9053 GB Notification: Performance of combineBinaries: time 0.05354/0.5073, allocations: 24.38 MB / 1.237 GB, free: 12.1 MB / 0.9365 GB Notification: Performance of replaceArrayConstructors: time 0.0296/0.5371, allocations: 14.96 MB / 1.252 GB, free: 12.93 MB / 0.9521 GB Notification: Performance of NFVerifyModel.verify: time 0.01281/0.5499, allocations: 1.955 MB / 1.254 GB, free: 10.96 MB / 0.9521 GB Notification: Performance of FrontEnd: time 0.007711/0.5577, allocations: 0.9585 MB / 1.255 GB, free: 10 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.1483/0.7061, allocations: 76.66 MB / 1.329 GB, free: 12.36 MB / 1.03 GB Notification: Performance of FunctionAlias: time 0.01673/0.7228, allocations: 8.335 MB / 1.338 GB, free: 3.992 MB / 1.03 GB Notification: Performance of Early Inline: time 0.09538/0.8183, allocations: 42.54 MB / 1.379 GB, free: 9.254 MB / 1.077 GB Notification: Performance of simplify1: time 0.007025/0.8253, allocations: 2.482 MB / 1.382 GB, free: 6.77 MB / 1.077 GB Notification: Performance of Alias: time 0.1005/0.9259, allocations: 40.05 MB / 1.421 GB, free: 11.59 MB / 1.124 GB Notification: Performance of simplify2: time 0.006276/0.9323, allocations: 2.244 MB / 1.423 GB, free: 9.336 MB / 1.124 GB Notification: Performance of Events: time 0.01254/0.9449, allocations: 6.384 MB / 1.429 GB, free: 2.922 MB / 1.124 GB Notification: Performance of Detect States: time 0.01616/0.961, allocations: 7.624 MB / 1.437 GB, free: 11.22 MB / 1.14 GB Notification: Performance of DAE-Mode: time 2.856e-05/0.9611, allocations: 3.938 kB / 1.437 GB, free: 11.21 MB / 1.14 GB Notification: Performance of Partitioning: time 0.04717/1.008, allocations: 11.6 MB / 1.448 GB, free: 15.31 MB / 1.155 GB Notification: Performance of Causalize: time 0.1381/1.146, allocations: 50.56 MB / 1.497 GB, free: 12.22 MB / 1.202 GB Notification: Performance of After Index Reduction Inline: time 0.05708/1.204, allocations: 23.25 MB / 1.52 GB, free: 4.844 MB / 1.218 GB Notification: Performance of Inline: time 1.136/2.34, allocations: 54.84 MB / 1.573 GB, free: 244.3 MB / 1.218 GB Notification: Performance of Partitioning: time 0.01109/2.351, allocations: 2.658 MB / 1.576 GB, free: 243.7 MB / 1.218 GB Notification: Performance of Cleanup: time 0.02399/2.375, allocations: 4.923 MB / 1.581 GB, free: 243.5 MB / 1.218 GB Notification: Performance of Causalize: time 0.4438/2.819, allocations: 154.4 MB / 1.732 GB, free: 152.5 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!