Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat.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) 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(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat") translateModel(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 116.8 kB / 17.11 MB, free: 5.918 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.001199/0.001199, allocations: 194.9 kB / 18.04 MB, free: 5.004 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.565/1.565, allocations: 205.1 MB / 223.9 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.0676/0.0676, allocations: 14.18 MB / 285.4 MB, free: 13.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.316e-05/3.318e-05, allocations: 5.938 kB / 399.9 MB, free: 42.69 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.GridOperation.Controlled.ControlledGridWithReferenceCalculationSat): time 0.01919/0.01923, allocations: 15.96 MB / 415.9 MB, free: 29.67 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01511/0.0344, allocations: 6.843 MB / 422.7 MB, free: 22.81 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005991/0.04044, allocations: 71.56 kB / 422.8 MB, free: 22.74 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003875/0.04435, allocations: 0.8299 MB / 423.6 MB, free: 21.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01072/0.0551, allocations: 2.656 MB / 426.3 MB, free: 19.26 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003902/0.05902, allocations: 1.536 MB / 427.8 MB, free: 17.73 MB / 318.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFFunction.mo:2647:11-2647:130:writable] Error: Internal error NFFunction.Function.getBody2 got function with external section (not algorithm section) Notification: Performance of NFFlatten.flatten: time 0.008033/0.06707, allocations: 5.844 MB / 433.7 MB, free: 11.87 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001142/0.06822, allocations: 0.743 MB / 434.4 MB, free: 11.1 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003311/0.07155, allocations: 1.841 MB / 436.3 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002404/0.07396, allocations: 2.011 MB / 438.3 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007698/0.07474, allocations: 248 kB / 438.5 MB, free: 6.988 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002177/0.07693, allocations: 0.7301 MB / 439.2 MB, free: 6.258 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.003038/0.07998, allocations: 5.969 MB / 445.2 MB, free: 232 kB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.003591/0.08358, allocations: 3.6 MB / 448.8 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001524/0.08512, allocations: 0.4984 MB / 449.3 MB, free: 12.08 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.001315/0.08645, allocations: 231.1 kB / 449.5 MB, free: 11.86 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 507 (422) * Number of variables: 507 (507) Notification: Performance of Bindings: time 0.02154/0.108, allocations: 17.44 MB / 467 MB, free: 10.05 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.002347/0.1104, allocations: 1.717 MB / 468.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of Early Inline: time 0.01155/0.1219, allocations: 9.685 MB / 478.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simplify1: time 0.0007946/0.1228, allocations: 0.6008 MB / 479 MB, free: 13.91 MB / 366.1 MB Notification: Performance of Alias: time 0.01477/0.1375, allocations: 10.4 MB / 489.4 MB, free: 2.52 MB / 366.1 MB Notification: Performance of simplify2: time 0.0009989/0.1386, allocations: 0.5111 MB / 489.9 MB, free: 2.008 MB / 366.1 MB Notification: Performance of Detect States: time 0.002402/0.141, allocations: 2.393 MB / 492.3 MB, free: 15.57 MB / 382.1 MB Notification: Performance of Events: time 0.001452/0.1425, allocations: 0.954 MB / 493.2 MB, free: 14.6 MB / 382.1 MB Notification: Performance of DAE-Mode: time 1.732e-05/0.1425, allocations: 7.938 kB / 493.2 MB, free: 14.59 MB / 382.1 MB Notification: Performance of Partitioning: time 0.002719/0.1452, allocations: 2.421 MB / 495.7 MB, free: 12.04 MB / 382.1 MB Notification: Performance of Causalize: time 0.01535/0.1606, allocations: 9.975 MB / 0.4938 GB, free: 1.832 MB / 382.1 MB Notification: Performance of After Index Reduction Inline: time 0.006178/0.1668, allocations: 5.206 MB / 0.4989 GB, free: 12.57 MB / 398.1 MB Notification: Performance of Inline: time 0.0196/0.1864, allocations: 12.89 MB / 0.5114 GB, free: 15.5 MB / 414.1 MB Notification: Performance of Partitioning: time 0.001547/0.188, allocations: 0.6153 MB / 0.512 GB, free: 14.83 MB / 414.1 MB Notification: Performance of Cleanup: time 0.002637/0.1907, allocations: 1.152 MB / 0.5132 GB, free: 13.66 MB / 414.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) GRID.eSource.re = 0.0 ($RES_SIM_840) slice: {}; [SCAL] (1) GRID.Ssc.re = (GRID.SSC * cos(atan(1/GRID.R_X))) / GRID.c ($RES_SIM_846) slice: {}; Notification: Performance of Causalize: time 0.3915/0.5822, allocations: 61.19 MB / 0.5729 GB, free: 59.7 MB / 414.1 MB Error: Internal error NBTearing.minimal failed. (2|2) Discrete Variables ************************** [PRMT] (1) final parameter Real GEN.LfPu (fixed = false, start = 0.1, min = 0.001) [PRMT] (1) final parameter Real GEN.rfPu (fixed = false, start = 0.001, min = 1e-5) (0|0) Discrete Equations ************************** Error: Internal error NBInitialization.main failed to apply modules!