Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.413/1.413, allocations: 230.6 MB / 253.4 MB, free: 14.49 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 210.6 kB / 310 MB, free: 3.09 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.04137/0.04137, allocations: 8.917 MB / 375.4 MB, free: 6.781 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMR_Inverter,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMR_Inverter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMR_Inverter,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMR_Inverter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003065/0.003065, allocations: 87.88 kB / 0.49 GB, free: 44.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0887/0.09176, allocations: 55.6 MB / 0.5443 GB, free: 5.211 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_Inverter): time 0.01999/0.1117, allocations: 14.14 MB / 0.5581 GB, free: 7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009811/0.1216, allocations: 4.738 MB / 0.5627 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002804/0.1244, allocations: 111.3 kB / 0.5628 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003649/0.128, allocations: 1.095 MB / 0.5639 GB, free: 1.031 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2183/0.3463, allocations: 1.308 MB / 0.5652 GB, free: 10.03 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/SynchronousMachines/SMR_Inverter.mo:88:3-88:33:writable] Warning: Conditional component 'ir' is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 0.002536/0.3488, allocations: 0.9353 MB / 0.5661 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004392/0.3532, allocations: 3.844 MB / 0.5699 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002706/0.3559, allocations: 1.879 MB / 0.5717 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002996/0.3589, allocations: 1.838 MB / 0.5735 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003551/0.3625, allocations: 2.139 MB / 0.5756 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001015/0.3635, allocations: 0.4897 MB / 0.576 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001941/0.3654, allocations: 0.7147 MB / 0.5767 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001014/0.3664, allocations: 1.075 MB / 0.5778 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002791/0.3692, allocations: 2.053 MB / 0.5798 GB, free: 7.664 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008114/0.3773, allocations: 6.47 MB / 0.5861 GB, free: 5.469 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3773, allocations: 0 / 0.5861 GB, free: 5.469 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3773, allocations: 0 / 0.5861 GB, free: 5.469 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001792/0.3775, allocations: 0 / 0.5861 GB, free: 5.469 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.01191/0.3894, allocations: 4.231 MB / 0.5903 GB, free: 3.176 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/0.3895, allocations: 12.64 kB / 0.5903 GB, free: 3.172 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000163/0.3896, allocations: 92.78 kB / 0.5904 GB, free: 3.152 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001042/0.3907, allocations: 489.1 kB / 0.5908 GB, free: 2.812 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004161/0.3949, allocations: 0.7581 MB / 0.5916 GB, free: 2.438 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005311/0.4002, allocations: 2.281 MB / 0.5938 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002017/0.4004, allocations: 234.8 kB / 0.594 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007508/0.4011, allocations: 320.8 kB / 0.5943 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008622/0.4097, allocations: 4.177 MB / 0.5984 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.546e-05/0.4098, allocations: 6.141 kB / 0.5984 GB, free: 14.24 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003375/0.4102, allocations: 134.3 kB / 0.5985 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001539/0.4103, allocations: 140.8 kB / 0.5987 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006863/0.4172, allocations: 3.512 MB / 0.6021 GB, free: 12.26 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0227/0.4399, allocations: 12.86 MB / 0.6147 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004483/0.4444, allocations: 2.157 MB / 0.6168 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001783/0.4461, allocations: 0.9929 MB / 0.6177 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005971/0.4521, allocations: 2.981 MB / 0.6206 GB, free: 12.01 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.4521, allocations: 47.5 kB / 0.6207 GB, free: 11.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=109): time 2.465e-06/0.4521, allocations: 4 kB / 0.6207 GB, free: 11.95 MB / 414.1 MB Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.9358661939622834] Failed to read output from testmodel.py, exit status != 0: 0.46909588808193803 0.48482176899999996 0.10417913000000001 Calling exit ...