Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMC_Inverter2.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.001348/0.001348, allocations: 97.88 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.449/1.449, allocations: 230.7 MB / 253.5 MB, free: 14.46 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.001664/0.001664, allocations: 217.6 kB / 310 MB, free: 3.039 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.04062/0.04062, allocations: 8.915 MB / 375.4 MB, free: 6.602 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_Inverter2,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_Inverter2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.InductionMachines.IMC_Inverter2,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMC_Inverter2",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.002413/0.002413, allocations: 86.22 kB / 0.4899 GB, free: 44.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08446/0.08688, allocations: 55.62 MB / 0.5442 GB, free: 5.02 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter2): time 0.0153/0.1022, allocations: 12.03 MB / 0.556 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008631/0.1108, allocations: 4.361 MB / 0.5602 GB, free: 4.551 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002485/0.1133, allocations: 107.3 kB / 0.5603 GB, free: 4.445 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003349/0.1166, allocations: 1.033 MB / 0.5614 GB, free: 3.406 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004636/0.1213, allocations: 1.304 MB / 0.5626 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003103/0.1244, allocations: 0.8807 MB / 0.5635 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2229/0.3472, allocations: 4.075 MB / 0.5675 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002372/0.3496, allocations: 1.969 MB / 0.5694 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002715/0.3523, allocations: 2 MB / 0.5713 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003662/0.356, allocations: 2.279 MB / 0.5736 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001682/0.3577, allocations: 0.5244 MB / 0.5741 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002966/0.3606, allocations: 0.7441 MB / 0.5748 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001466/0.3621, allocations: 1.159 MB / 0.5759 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004377/0.3665, allocations: 1.729 MB / 0.5776 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009084/0.3756, allocations: 6.982 MB / 0.5844 GB, free: 6.469 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.3756, allocations: 3.906 kB / 0.5845 GB, free: 6.469 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3756, allocations: 4.688 kB / 0.5845 GB, free: 6.465 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002193/0.3758, allocations: 0 / 0.5845 GB, free: 6.465 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.01435/0.3901, allocations: 4.483 MB / 0.5888 GB, free: 4.098 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/0.3902, allocations: 16.2 kB / 0.5888 GB, free: 4.094 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001952/0.3904, allocations: 97.86 kB / 0.5889 GB, free: 4.074 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001405/0.3918, allocations: 0.5152 MB / 0.5894 GB, free: 3.797 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004733/0.3965, allocations: 0.8219 MB / 0.5902 GB, free: 3.496 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005566/0.4021, allocations: 2.449 MB / 0.5926 GB, free: 1.863 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001929/0.4023, allocations: 249 kB / 0.5929 GB, free: 1.754 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007915/0.4031, allocations: 349.4 kB / 0.5932 GB, free: 1.629 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008638/0.4117, allocations: 4.664 MB / 0.5978 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.852e-05/0.4118, allocations: 10.12 kB / 0.5978 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003916/0.4122, allocations: 132.7 kB / 0.5979 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000235/0.4124, allocations: 157.7 kB / 0.5981 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008516/0.4209, allocations: 3.825 MB / 0.6018 GB, free: 12.62 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0237/0.4446, allocations: 12.6 MB / 0.6141 GB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004981/0.4496, allocations: 2.405 MB / 0.6164 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002005/0.4516, allocations: 1.102 MB / 0.6175 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006346/0.458, allocations: 2.974 MB / 0.6204 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.982e-05/0.458, allocations: 43.56 kB / 0.6205 GB, free: 12.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=117): time 4.037e-06/0.458, allocations: 0 / 0.6205 GB, free: 12.64 MB / 414.1 MB Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.9756190920015797] Failed to read output from testmodel.py, exit status != 0: 0.47585845389403403 0.492100847 0.112948032 Calling exit ...