Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Ignoring simflag -noemit -emit_protected=() since it seems broken on HelloWorld Running command: translateModel(PowerGrids.Electrical.Test.TestTapChangerLogicInterval,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Ntap|U|actionSel|directAction|lockedStart|reverseAction|runningStart|stateStart|t1st|tNext|tToStandardState|tap|tapMax|tapMin|tapStart|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval") translateModel(PowerGrids.Electrical.Test.TestTapChangerLogicInterval,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Ntap|U|actionSel|directAction|lockedStart|reverseAction|runningStart|stateStart|t1st|tNext|tToStandardState|tap|tapMax|tapMin|tapStart|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 112.3 kB / 16.42 MB, free: 6.523 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.001137/0.001137, allocations: 184.2 kB / 17.36 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.142/1.142, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.0675/0.0675, allocations: 16.77 MB / 308 MB, free: 14.41 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.299e-05/1.3e-05, allocations: 5.375 kB / 428.7 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTapChangerLogicInterval): time 0.001524/0.001546, allocations: 1.502 MB / 430.2 MB, free: 7.605 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000757/0.002314, allocations: 0.5459 MB / 430.8 MB, free: 7.055 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.956e-05/0.002373, allocations: 3.938 kB / 430.8 MB, free: 7.051 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.582e-05/0.002394, allocations: 7.922 kB / 430.8 MB, free: 7.043 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001509/0.002558, allocations: 27.78 kB / 430.8 MB, free: 7.016 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001516/0.002716, allocations: 107.8 kB / 430.9 MB, free: 6.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.00288, allocations: 279.4 kB / 431.2 MB, free: 6.637 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.226e-05/0.002928, allocations: 7.984 kB / 431.2 MB, free: 6.629 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.003096, allocations: 147.7 kB / 431.3 MB, free: 6.484 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.003207, allocations: 135.6 kB / 431.5 MB, free: 6.352 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.533e-05/0.003248, allocations: 20 kB / 431.5 MB, free: 6.332 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.007e-05/0.003283, allocations: 20 kB / 431.5 MB, free: 6.312 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001438/0.00343, allocations: 282.1 kB / 431.8 MB, free: 6.035 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 2.912e-05/0.003464, allocations: 98.61 kB / 431.9 MB, free: 5.938 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.929e-05/0.003518, allocations: 31.94 kB / 431.9 MB, free: 5.906 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.398e-06/0.003532, allocations: 0 / 431.9 MB, free: 5.906 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 (16) * Number of variables: 16 (16) Notification: Performance of Bindings: time 0.0007024/0.004238, allocations: 1.081 MB / 433 MB, free: 4.723 MB / 302.1 MB Notification: Performance of FunctionAlias: time 4.728e-05/0.004291, allocations: 17.05 kB / 433 MB, free: 4.707 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001022/0.005318, allocations: 1.436 MB / 434.4 MB, free: 3.242 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001554/0.005479, allocations: 163.6 kB / 434.6 MB, free: 3.082 MB / 302.1 MB Notification: Performance of Alias: time 0.000723/0.00621, allocations: 0.6329 MB / 435.2 MB, free: 2.379 MB / 302.1 MB Notification: Performance of simplify2: time 9.534e-05/0.006315, allocations: 156.4 kB / 435.4 MB, free: 2.227 MB / 302.1 MB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, true}).