Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax.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.TestTapChangerLogicMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Ntap|actionSel|directAction|lockedStart|reverseAction|runningStart|stateStart|t1st|tNext|tap|tapMax|tapMin|tapStart|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax") translateModel(PowerGrids.Electrical.Test.TestTapChangerLogicMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Ntap|actionSel|directAction|lockedStart|reverseAction|runningStart|stateStart|t1st|tNext|tap|tapMax|tapMin|tapStart|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestTapChangerLogicMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 113.4 kB / 16.41 MB, free: 6.41 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.001405/0.001405, allocations: 183.8 kB / 17.35 MB, free: 5.828 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.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.0759/0.0759, allocations: 16.78 MB / 308 MB, free: 14.42 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.397e-05/3.399e-05, allocations: 2.281 kB / 428.7 MB, free: 9.152 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTapChangerLogicMax): time 0.002571/0.002615, allocations: 1.438 MB / 430.1 MB, free: 7.707 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009257/0.003553, allocations: 498.9 kB / 430.6 MB, free: 7.215 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.073e-05/0.003615, allocations: 4 kB / 430.6 MB, free: 7.211 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.899e-05/0.00364, allocations: 3.938 kB / 430.6 MB, free: 7.207 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.003765, allocations: 23.84 kB / 430.6 MB, free: 7.184 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001957/0.003966, allocations: 67.84 kB / 430.7 MB, free: 7.117 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.00415, allocations: 199.5 kB / 430.9 MB, free: 6.922 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.755e-05/0.004213, allocations: 4 kB / 430.9 MB, free: 6.918 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.955e-05/0.004317, allocations: 99.78 kB / 431 MB, free: 6.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.004429, allocations: 95.66 kB / 431.1 MB, free: 6.727 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.061e-05/0.004476, allocations: 16 kB / 431.1 MB, free: 6.711 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.184e-05/0.004512, allocations: 12 kB / 431.1 MB, free: 6.699 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001326/0.004649, allocations: 198.6 kB / 431.3 MB, free: 6.504 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 3.107e-05/0.004686, allocations: 78.8 kB / 431.4 MB, free: 6.426 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.32e-05/0.004743, allocations: 20 kB / 431.4 MB, free: 6.406 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.249e-05/0.004761, allocations: 7.984 kB / 431.4 MB, free: 6.398 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: 10 (10) * Number of variables: 10 (10) Notification: Performance of Bindings: time 0.0006529/0.005418, allocations: 0.7419 MB / 432.2 MB, free: 5.555 MB / 302.1 MB Notification: Performance of FunctionAlias: time 3.019e-05/0.005454, allocations: 11.91 kB / 432.2 MB, free: 5.543 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0006104/0.006069, allocations: 0.9133 MB / 433.1 MB, free: 4.602 MB / 302.1 MB Notification: Performance of simplify1: time 7.818e-05/0.006156, allocations: 107.8 kB / 433.2 MB, free: 4.496 MB / 302.1 MB Notification: Performance of Alias: time 0.0004623/0.006624, allocations: 400 kB / 433.6 MB, free: 4.059 MB / 302.1 MB Notification: Performance of simplify2: time 6.11e-05/0.006694, allocations: 91.98 kB / 433.7 MB, free: 3.969 MB / 302.1 MB Error: Internal error NBDetectStates.collectPreAndPrevious failed because of unexpected expression pre(, true}).