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.001864/0.001864, allocations: 114.1 kB / 17.16 MB, free: 5.895 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.749/1.749, allocations: 230.6 MB / 250.5 MB, free: 9.387 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.001955/0.001955, allocations: 216.8 kB / 306.7 MB, free: 4.328 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.04136/0.04136, allocations: 8.907 MB / 371.7 MB, free: 3.465 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.00289/0.00289, allocations: 75.89 kB / 496.4 MB, free: 9.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4279/0.4308, allocations: 55.57 MB / 0.5391 GB, free: 26.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Start): time 0.04606/0.4768, allocations: 46.18 MB / 0.5842 GB, free: 9.258 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04242/0.5192, allocations: 12.12 MB / 0.596 GB, free: 368 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01781/0.537, allocations: 432.1 kB / 0.5964 GB, free: 216 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03805/0.5751, allocations: 12.52 MB / 0.6087 GB, free: 6.727 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02858/0.6037, allocations: 4.935 MB / 0.6135 GB, free: 1.785 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01482/0.6185, allocations: 3.048 MB / 0.6165 GB, free: 14.75 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.04242/0.6609, allocations: 21.11 MB / 0.6371 GB, free: 9.582 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0875/0.7484, allocations: 31.6 MB / 0.6679 GB, free: 9.727 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02814/0.7765, allocations: 11.18 MB / 0.6788 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03157/0.8081, allocations: 12.31 MB / 0.6909 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.6993/1.507, allocations: 3.13 MB / 0.6939 GB, free: 47.43 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01705/1.525, allocations: 3.575 MB / 0.6974 GB, free: 47.43 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01458/1.539, allocations: 6.273 MB / 0.7035 GB, free: 47.43 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0352/1.574, allocations: 11.91 MB / 0.7152 GB, free: 45.87 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.06528/1.64, allocations: 41.6 MB / 0.7558 GB, free: 27.23 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.64, allocations: 1.469 kB / 0.7558 GB, free: 27.23 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.024e-06/1.64, allocations: 3.844 kB / 0.7558 GB, free: 27.23 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001453/1.641, allocations: 0 / 0.7558 GB, free: 27.23 MB / 494.1 MB 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.09612/1.737, allocations: 24.39 MB / 0.7796 GB, free: 11.47 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.183e-05/1.737, allocations: 8.031 kB / 0.7796 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0009724/1.738, allocations: 0.5397 MB / 0.7802 GB, free: 10.92 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02225/1.76, allocations: 2.947 MB / 0.783 GB, free: 7.977 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06398/1.824, allocations: 11.31 MB / 0.7941 GB, free: 12.79 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03932/1.864, allocations: 13.54 MB / 0.8073 GB, free: 15.72 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001833/1.866, allocations: 1.358 MB / 0.8086 GB, free: 14.38 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009595/1.875, allocations: 1.802 MB / 0.8104 GB, free: 12.6 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1052/1.98, allocations: 29.64 MB / 0.8393 GB, free: 14.88 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001004/1.981, allocations: 27.5 kB / 0.8394 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008992/1.99, allocations: 0.7422 MB / 0.8401 GB, free: 14.13 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001292/1.992, allocations: 0.9946 MB / 0.8411 GB, free: 13.13 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0732/2.065, allocations: 27.36 MB / 0.8678 GB, free: 1.754 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5841/2.649, allocations: 94.11 MB / 0.9597 GB, free: 158.2 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04308/2.692, allocations: 51.79 MB / 1.01 GB, free: 116.3 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01226/2.704, allocations: 6.739 MB / 1.017 GB, free: 113.8 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04729/2.752, allocations: 19.82 MB / 1.036 GB, free: 103.7 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.189e-05/2.752, allocations: 106.9 kB / 1.036 GB, free: 103.6 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=681): time 7.875e-06/2.752, allocations: 0 / 1.036 GB, free: 103.6 MB / 0.6075 GB Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 5.938061385008041] Failed to read output from testmodel.py, exit status != 0: 2.868029768986162 2.877246945 1.234786741 Calling exit ...