Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Inverter1.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.001585/0.001585, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.455/1.455, allocations: 230.6 MB / 253.5 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.00158/0.00158, allocations: 224 kB / 310 MB, free: 3.004 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.04162/0.04162, allocations: 8.922 MB / 375.4 MB, free: 6.598 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.InductionMachines.IMC_Inverter1,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_Inverter1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.InductionMachines.IMC_Inverter1,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_Inverter1",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.002355/0.002355, allocations: 81.59 kB / 0.4899 GB, free: 44.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08765/0.09001, allocations: 55.6 MB / 0.5442 GB, free: 5.047 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter1): time 0.01515/0.1052, allocations: 12.04 MB / 0.556 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008261/0.1134, allocations: 4.357 MB / 0.5602 GB, free: 4.574 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00169/0.1151, allocations: 107.3 kB / 0.5603 GB, free: 4.469 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00267/0.1178, allocations: 1.033 MB / 0.5613 GB, free: 3.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00405/0.1218, allocations: 1.301 MB / 0.5626 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00229/0.1241, allocations: 0.8871 MB / 0.5635 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2129/0.337, allocations: 4.072 MB / 0.5674 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002582/0.3396, allocations: 1.972 MB / 0.5694 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002975/0.3425, allocations: 1.995 MB / 0.5713 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004109/0.3467, allocations: 2.282 MB / 0.5735 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001989/0.3486, allocations: 0.5266 MB / 0.5741 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003319/0.352, allocations: 0.739 MB / 0.5748 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001926/0.3539, allocations: 1.155 MB / 0.5759 GB, free: 9.238 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004229/0.3581, allocations: 1.735 MB / 0.5776 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01001/0.3681, allocations: 6.98 MB / 0.5844 GB, free: 6.488 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3681, allocations: 0 / 0.5844 GB, free: 6.488 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3681, allocations: 0.9688 kB / 0.5844 GB, free: 6.488 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000215/0.3684, allocations: 0 / 0.5844 GB, free: 6.488 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: 880 * Number of variables: 880 Notification: Performance of Generate backend data structure: time 0.01403/0.3824, allocations: 4.495 MB / 0.5888 GB, free: 4.117 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.3824, allocations: 13.55 kB / 0.5888 GB, free: 4.113 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000178/0.3826, allocations: 98.05 kB / 0.5889 GB, free: 4.094 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001436/0.3841, allocations: 0.5146 MB / 0.5894 GB, free: 3.816 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005208/0.3893, allocations: 0.8211 MB / 0.5902 GB, free: 3.535 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006013/0.3953, allocations: 2.449 MB / 0.5926 GB, free: 1.898 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003003/0.3956, allocations: 250.2 kB / 0.5928 GB, free: 1.789 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001473/0.397, allocations: 338 kB / 0.5932 GB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009988/0.407, allocations: 4.666 MB / 0.5977 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.784e-05/0.4071, allocations: 12.95 kB / 0.5977 GB, free: 14.83 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004393/0.4076, allocations: 138.8 kB / 0.5979 GB, free: 14.72 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002585/0.4078, allocations: 158.8 kB / 0.598 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008863/0.4167, allocations: 3.823 MB / 0.6017 GB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02619/0.4429, allocations: 12.6 MB / 0.6141 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005362/0.4482, allocations: 2.398 MB / 0.6164 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002124/0.4504, allocations: 1.116 MB / 0.6175 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006532/0.4569, allocations: 2.956 MB / 0.6204 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.907e-05/0.4569, allocations: 49 kB / 0.6204 GB, free: 12.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=117): time 3.877e-06/0.4569, allocations: 2.578 kB / 0.6204 GB, free: 12.67 MB / 414.1 MB Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.025160245015286] Failed to read output from testmodel.py, exit status != 0: 0.4746980919735506 0.49100680599999996 0.119420178 Calling exit ...