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.001782/0.001782, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.431/1.431, allocations: 230.6 MB / 253.4 MB, free: 14.29 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.001513/0.001513, allocations: 214 kB / 310 MB, free: 3.09 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.04066/0.04066, allocations: 8.92 MB / 375.4 MB, free: 6.59 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.002562/0.002562, allocations: 87.86 kB / 0.4899 GB, free: 44.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08032/0.08288, allocations: 55.61 MB / 0.5442 GB, free: 5.043 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMS_Start): time 0.2676/0.3505, allocations: 39.32 MB / 0.5826 GB, free: 5.414 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02509/0.3756, allocations: 11.75 MB / 0.5941 GB, free: 14.97 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01241/0.388, allocations: 433.7 kB / 0.5945 GB, free: 14.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03213/0.4201, allocations: 11.64 MB / 0.6059 GB, free: 7.879 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02091/0.441, allocations: 4.959 MB / 0.6107 GB, free: 3.867 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01128/0.4523, allocations: 3.027 MB / 0.6137 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0301/0.4824, allocations: 21.25 MB / 0.6344 GB, free: 1.621 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05514/0.5375, allocations: 26.85 MB / 0.6607 GB, free: 6.551 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02048/0.558, allocations: 11.24 MB / 0.6716 GB, free: 11.28 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0207/0.5787, allocations: 12.35 MB / 0.6837 GB, free: 14.89 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008949/0.5877, allocations: 3.133 MB / 0.6868 GB, free: 11.76 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01333/0.601, allocations: 3.578 MB / 0.6902 GB, free: 8.184 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01153/0.6125, allocations: 6.266 MB / 0.6964 GB, free: 1.902 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02197/0.6345, allocations: 9.293 MB / 0.7054 GB, free: 8.574 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05406/0.6886, allocations: 41.79 MB / 0.7462 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.6886, allocations: 0 / 0.7462 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6886, allocations: 0 / 0.7462 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.001106/0.6897, allocations: 0 / 0.7462 GB, free: 14.65 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.07372/0.7634, allocations: 24.31 MB / 0.77 GB, free: 6.195 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/0.7635, allocations: 11.98 kB / 0.77 GB, free: 6.184 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0006914/0.7641, allocations: 0.5437 MB / 0.7705 GB, free: 5.637 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01051/0.7747, allocations: 2.958 MB / 0.7734 GB, free: 2.664 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.476/1.251, allocations: 11.3 MB / 0.7844 GB, free: 149.7 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03136/1.282, allocations: 13.63 MB / 0.7978 GB, free: 145.6 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001805/1.284, allocations: 1.363 MB / 0.7991 GB, free: 145 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008104/1.292, allocations: 1.789 MB / 0.8008 GB, free: 144.4 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07274/1.365, allocations: 30.1 MB / 0.8302 GB, free: 123.2 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007992/1.365, allocations: 35.72 kB / 0.8303 GB, free: 123.2 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006666/1.372, allocations: 0.7413 MB / 0.831 GB, free: 122.4 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008447/1.373, allocations: 0.9868 MB / 0.832 GB, free: 121.5 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04929/1.422, allocations: 27.37 MB / 0.8587 GB, free: 94.05 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1361/1.558, allocations: 84.39 MB / 0.9411 GB, free: 9.148 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02836/1.587, allocations: 18.81 MB / 0.9595 GB, free: 9.414 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01375/1.6, allocations: 6.704 MB / 0.966 GB, free: 2.695 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04474/1.645, allocations: 18.05 MB / 0.9836 GB, free: 0.9219 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/1.645, allocations: 112.5 kB / 0.9837 GB, free: 0.8047 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=681): time 1.252e-05/1.645, allocations: 0 / 0.9837 GB, free: 0.8047 MB / 0.5763 GB Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.701992067974061] Failed to read output from testmodel.py, exit status != 0: 2.2086841230047867 2.223121055 1.530827047 Calling exit ...