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.002004/0.002004, allocations: 113.8 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.71/1.71, allocations: 230.6 MB / 253.4 MB, free: 14.66 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.001776/0.001776, allocations: 217.7 kB / 310 MB, free: 3.113 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.04077/0.04077, allocations: 8.911 MB / 375.4 MB, free: 6.844 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.002693/0.002693, allocations: 87.88 kB / 0.49 GB, free: 44.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1504, allocations: 55.61 MB / 0.5443 GB, free: 5.227 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter1): time 0.01911/0.1695, allocations: 13.89 MB / 0.5578 GB, free: 7.266 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01218/0.1817, allocations: 4.63 MB / 0.5624 GB, free: 2.617 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003819/0.1855, allocations: 111.3 kB / 0.5625 GB, free: 2.508 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004786/0.1903, allocations: 1.091 MB / 0.5635 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006779/0.1971, allocations: 1.32 MB / 0.5648 GB, free: 84 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3277/0.5247, allocations: 0.9138 MB / 0.5657 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007564/0.5323, allocations: 4.081 MB / 0.5697 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003802/0.5361, allocations: 1.974 MB / 0.5716 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00531/0.5414, allocations: 1.99 MB / 0.5736 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006024/0.5474, allocations: 2.282 MB / 0.5758 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00305/0.5505, allocations: 0.525 MB / 0.5763 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004674/0.5552, allocations: 0.7515 MB / 0.577 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003857/0.559, allocations: 1.158 MB / 0.5782 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008846/0.5679, allocations: 2.178 MB / 0.5803 GB, free: 7.445 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0157/0.5836, allocations: 6.958 MB / 0.5871 GB, free: 5.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.899e-06/0.5836, allocations: 1.031 kB / 0.5871 GB, free: 5.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.5836, allocations: 3.281 kB / 0.5871 GB, free: 5.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004079/0.584, allocations: 0 / 0.5871 GB, free: 5.09 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.0224/0.6064, allocations: 4.483 MB / 0.5915 GB, free: 2.434 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.179e-05/0.6064, allocations: 17.33 kB / 0.5915 GB, free: 2.43 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002418/0.6067, allocations: 102.1 kB / 0.5916 GB, free: 2.406 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002664/0.6094, allocations: 0.5146 MB / 0.5921 GB, free: 2.047 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006431/0.6158, allocations: 0.8193 MB / 0.5929 GB, free: 1.645 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008224/0.624, allocations: 2.448 MB / 0.5953 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008113/0.6248, allocations: 275.8 kB / 0.5956 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00211/0.6269, allocations: 335.7 kB / 0.5959 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01923/0.6462, allocations: 4.519 MB / 0.6003 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000147/0.6463, allocations: 5.734 kB / 0.6003 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001127/0.6474, allocations: 141.2 kB / 0.6004 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002124/0.6476, allocations: 153.8 kB / 0.6006 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01199/0.6596, allocations: 3.826 MB / 0.6043 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03625/0.6959, allocations: 13.84 MB / 0.6178 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00605/0.7019, allocations: 2.426 MB / 0.6202 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002576/0.7045, allocations: 1.109 MB / 0.6213 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00861/0.7131, allocations: 3.271 MB / 0.6245 GB, free: 8.254 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.765e-05/0.7132, allocations: 47.56 kB / 0.6245 GB, free: 8.195 MB / 414.1 MB Notification: Performance of pre-optimization done (n=117): time 4.999e-06/0.7132, allocations: 3.469 kB / 0.6245 GB, free: 8.195 MB / 414.1 MB Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.8293531939852983] Failed to read output from testmodel.py, exit status != 0: 0.7370070229517296 0.756387424 0.16819656500000002 Calling exit ...