Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_2_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_2_M_4,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_2_M_4") translateModel(ScalableTestGrids.Models.Type1.Type1_N_2_M_4,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_2_M_4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 113.5 kB / 18.43 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.0009367/0.0009367, allocations: 184.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.759/1.759, 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.06416/0.06416, allocations: 14.16 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.458/4.458, allocations: 418.6 MB / 0.7384 GB, free: 5.156 MB / 0.5764 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.567e-05/3.568e-05, allocations: 2.5 kB / 1.068 GB, free: 14.46 MB / 0.8579 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_N_2_M_4): time 1.85/1.85, allocations: 349.1 MB / 1.409 GB, free: 10.86 MB / 1.093 GB Notification: Performance of NFInst.instExpressions: time 0.3496/2.2, allocations: 121.3 MB / 1.527 GB, free: 1.23 MB / 1.202 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1437/2.343, allocations: 1.202 MB / 1.528 GB, free: 24 kB / 1.202 GB Notification: Performance of NFTyping.typeComponents: time 1.307/3.65, allocations: 18.16 MB / 1.546 GB, free: 4.555 MB / 1.218 GB Notification: Performance of NFTyping.typeBindings: time 0.2671/3.917, allocations: 46.99 MB / 1.592 GB, free: 3.16 MB / 1.218 GB Notification: Performance of NFTyping.typeClassSections: time 0.06456/3.982, allocations: 13.4 MB / 1.605 GB, free: 2.789 MB / 1.218 GB Notification: Performance of NFFlatten.flatten: time 0.3053/4.287, allocations: 137.7 MB / 1.74 GB, free: 9.199 MB / 1.249 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05418/4.341, allocations: 11.79 MB / 1.751 GB, free: 13.82 MB / 1.265 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1225/4.464, allocations: 41.3 MB / 1.792 GB, free: 6.535 MB / 1.296 GB Notification: Performance of NFSimplifyModel.simplify: time 0.103/4.567, allocations: 46.6 MB / 1.837 GB, free: 9.594 MB / 1.343 GB Notification: Performance of NFPackage.collectConstants: time 0.02796/4.595, allocations: 4.086 MB / 1.841 GB, free: 5.508 MB / 1.343 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0726/4.668, allocations: 10.04 MB / 1.851 GB, free: 11.48 MB / 1.358 GB Notification: Performance of combineBinaries: time 0.2377/4.906, allocations: 134.4 MB / 1.982 GB, free: 5.25 MB / 1.483 GB Notification: Performance of replaceArrayConstructors: time 0.1132/5.019, allocations: 82.69 MB / 2.063 GB, free: 1.797 MB / 1.562 GB Notification: Performance of NFVerifyModel.verify: time 0.06027/5.079, allocations: 10.52 MB / 2.073 GB, free: 7.246 MB / 1.577 GB Notification: Performance of FrontEnd: time 0.04113/5.12, allocations: 5.304 MB / 2.078 GB, free: 1.934 MB / 1.577 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12174 (8939) * Number of variables: 12174 (12174) Notification: Performance of Bindings: time 1.874/6.994, allocations: 422.2 MB / 2.491 GB, free: 84.73 MB / 1.593 GB Notification: Performance of FunctionAlias: time 0.09/7.084, allocations: 53.22 MB / 2.543 GB, free: 34.59 MB / 1.593 GB Notification: Performance of Early Inline: time 2.158/9.242, allocations: 236.6 MB / 2.774 GB, free: 124.5 MB / 1.655 GB Notification: Performance of simplify1: time 0.04059/9.283, allocations: 13.56 MB / 2.787 GB, free: 124.5 MB / 1.655 GB Notification: Performance of Alias: time 0.4127/9.695, allocations: 202.4 MB / 2.985 GB, free: 25.88 MB / 1.655 GB Notification: Performance of simplify2: time 0.02456/9.72, allocations: 12.42 MB / 2.997 GB, free: 16.84 MB / 1.655 GB Notification: Performance of Events: time 0.06064/9.781, allocations: 33.71 MB / 3.03 GB, free: 8.371 MB / 1.671 GB Notification: Performance of Detect States: time 0.08931/9.87, allocations: 41.19 MB / 3.07 GB, free: 6.414 MB / 1.702 GB Notification: Performance of DAE-Mode: time 2.736e-05/9.87, allocations: 12.3 kB / 3.07 GB, free: 6.41 MB / 1.702 GB Notification: Performance of Partitioning: time 0.2043/10.07, allocations: 66.35 MB / 3.135 GB, free: 3.309 MB / 1.765 GB Notification: Performance of Causalize: time 2.549/12.62, allocations: 288.6 MB / 3.416 GB, free: 209.4 MB / 1.89 GB Notification: Performance of After Index Reduction Inline: time 0.3055/12.93, allocations: 127.4 MB / 3.541 GB, free: 202.1 MB / 1.89 GB Notification: Performance of Inline: time 0.7167/13.65, allocations: 299.8 MB / 3.834 GB, free: 21.66 MB / 1.89 GB Notification: Performance of Partitioning: time 0.04709/13.69, allocations: 14.11 MB / 3.848 GB, free: 7.445 MB / 1.89 GB Notification: Performance of Cleanup: time 0.0835/13.78, allocations: 26.69 MB / 3.874 GB, free: 13.02 MB / 1.921 GB Notification: Performance of Causalize: time 5.424/19.2, allocations: 0.8051 GB / 4.679 GB, free: 129.8 MB / 2.03 GB Error: Internal error NBDifferentiate.differentiateVariablePointer failed for final parameter Real GEN_4_2.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!