Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.InductionMachines.IMS_Start.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.001261/0.001261, 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.559/1.559, allocations: 230.6 MB / 253.4 MB, free: 14.5 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.001676/0.001676, allocations: 214.2 kB / 310 MB, free: 3.133 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.04093/0.04093, allocations: 8.914 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.InductionMachines.IMS_Start,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMS_Start",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.InductionMachines.IMS_Start,fileNamePrefix="HanserModelica_HanserModelica_InductionMachines_IMS_Start",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.002386/0.002386, allocations: 83.86 kB / 0.49 GB, free: 44.9 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1187, allocations: 55.61 MB / 0.5443 GB, free: 5.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Start): time 0.3748/0.4935, allocations: 46.26 MB / 0.5895 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0377/0.5312, allocations: 12.14 MB / 0.6013 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01367/0.5448, allocations: 436.4 kB / 0.6017 GB, free: 10 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03447/0.5793, allocations: 12.57 MB / 0.614 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02142/0.6007, allocations: 5.009 MB / 0.6189 GB, free: 13.69 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01325/0.614, allocations: 3.115 MB / 0.622 GB, free: 11.2 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.03764/0.6516, allocations: 21.26 MB / 0.6427 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06631/0.7179, allocations: 26.84 MB / 0.6689 GB, free: 15.2 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02704/0.745, allocations: 11.24 MB / 0.6799 GB, free: 3.93 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03057/0.7755, allocations: 12.35 MB / 0.692 GB, free: 7.535 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01433/0.7899, allocations: 3.133 MB / 0.695 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01548/0.8053, allocations: 3.585 MB / 0.6985 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01285/0.8182, allocations: 6.274 MB / 0.7047 GB, free: 10.53 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02725/0.8454, allocations: 11.92 MB / 0.7163 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.06452/0.91, allocations: 41.6 MB / 0.7569 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.91, allocations: 0 / 0.7569 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.773e-06/0.91, allocations: 0 / 0.7569 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.001406/0.9114, allocations: 0 / 0.7569 GB, free: 4.828 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5030 * Number of variables: 5030 Notification: Performance of Generate backend data structure: time 0.6011/1.512, allocations: 24.31 MB / 0.7807 GB, free: 147.8 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 7.343e-05/1.513, allocations: 15.34 kB / 0.7807 GB, free: 147.8 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0008022/1.513, allocations: 0.5374 MB / 0.7812 GB, free: 147.7 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01371/1.527, allocations: 2.947 MB / 0.7841 GB, free: 146.5 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06785/1.595, allocations: 11.32 MB / 0.7951 GB, free: 144.8 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03713/1.632, allocations: 13.61 MB / 0.8084 GB, free: 138.2 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002112/1.634, allocations: 1.36 MB / 0.8098 GB, free: 137.6 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01049/1.645, allocations: 1.794 MB / 0.8115 GB, free: 137 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08902/1.734, allocations: 29.65 MB / 0.8405 GB, free: 112 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008454/1.734, allocations: 27.83 kB / 0.8405 GB, free: 112 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006875/1.741, allocations: 0.7455 MB / 0.8412 GB, free: 111.2 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008611/1.742, allocations: 0.9868 MB / 0.8422 GB, free: 110.2 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05294/1.795, allocations: 27.36 MB / 0.8689 GB, free: 82.85 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1571/1.952, allocations: 92.01 MB / 0.9588 GB, free: 6.301 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03548/1.988, allocations: 18.95 MB / 0.9773 GB, free: 6.426 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01376/2.002, allocations: 6.716 MB / 0.9838 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04274/2.044, allocations: 19.55 MB / 1.003 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001159/2.044, allocations: 112.5 kB / 1.003 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=681): time 8.256e-06/2.044, allocations: 0 / 1.003 GB, free: 12.26 MB / 0.6075 GB Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 5.469351015985012] Failed to read output from testmodel.py, exit status != 0: 2.680517902947031 2.692337373 1.779247926 Calling exit ...