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.001818/0.001818, allocations: 114.8 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.648/1.648, 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.002131/0.002131, allocations: 209 kB / 306.7 MB, free: 4.348 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.04155/0.04155, allocations: 8.905 MB / 371.7 MB, free: 3.484 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.002564/0.002564, allocations: 81.83 kB / 496.5 MB, free: 4.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1786, allocations: 55.59 MB / 0.5391 GB, free: 6.461 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter2): time 0.01967/0.1983, allocations: 13.83 MB / 0.5526 GB, free: 8.562 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01247/0.2108, allocations: 4.629 MB / 0.5571 GB, free: 3.918 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004347/0.2151, allocations: 119.2 kB / 0.5572 GB, free: 3.801 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004987/0.2201, allocations: 1.087 MB / 0.5583 GB, free: 2.707 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007377/0.2275, allocations: 1.305 MB / 0.5596 GB, free: 1.395 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004068/0.2316, allocations: 0.9038 MB / 0.5605 GB, free: 0.4922 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0092/0.2408, allocations: 4.088 MB / 0.5645 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004778/0.2455, allocations: 2.476 MB / 0.5669 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004944/0.2505, allocations: 1.99 MB / 0.5688 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005677/0.2562, allocations: 2.285 MB / 0.571 GB, free: 5.551 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002295/0.2584, allocations: 0.5273 MB / 0.5716 GB, free: 5.023 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003773/0.2622, allocations: 0.7458 MB / 0.5723 GB, free: 4.277 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003254/0.2655, allocations: 1.157 MB / 0.5734 GB, free: 3.117 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007912/0.2734, allocations: 2.182 MB / 0.5756 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01575/0.2891, allocations: 6.949 MB / 0.5823 GB, free: 9.953 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.492e-05/0.2892, allocations: 3.938 kB / 0.5823 GB, free: 9.949 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.867e-06/0.2892, allocations: 0 / 0.5823 GB, free: 9.949 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003664/0.2895, allocations: 0 / 0.5823 GB, free: 9.949 MB / 398.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.01992/0.3094, allocations: 4.562 MB / 0.5868 GB, free: 5.312 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.368e-05/0.3095, allocations: 12.03 kB / 0.5868 GB, free: 5.301 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001803/0.3097, allocations: 100.5 kB / 0.5869 GB, free: 5.199 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001677/0.3114, allocations: 0.5228 MB / 0.5874 GB, free: 4.664 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005144/0.3165, allocations: 0.83 MB / 0.5882 GB, free: 3.832 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006937/0.3234, allocations: 2.502 MB / 0.5907 GB, free: 1.273 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000308/0.3238, allocations: 254.7 kB / 0.5909 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001512/0.3253, allocations: 335.9 kB / 0.5912 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01235/0.3376, allocations: 4.516 MB / 0.5956 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000102/0.3377, allocations: 0 / 0.5956 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004568/0.3382, allocations: 136 kB / 0.5958 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002124/0.3384, allocations: 162.8 kB / 0.5959 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009985/0.3484, allocations: 3.821 MB / 0.5997 GB, free: 8.016 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03783/0.3862, allocations: 14.2 MB / 0.6135 GB, free: 9.383 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01019/0.3964, allocations: 6.335 MB / 0.6197 GB, free: 2.188 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003353/0.3997, allocations: 1.118 MB / 0.6208 GB, free: 1.074 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009409/0.4092, allocations: 3.723 MB / 0.6244 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.572e-05/0.4092, allocations: 55.56 kB / 0.6245 GB, free: 13.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=117): time 7.414e-06/0.4092, allocations: 0 / 0.6245 GB, free: 13.14 MB / 446.1 MB Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.5496459049754776] Failed to read output from testmodel.py, exit status != 0: 0.4327437849715352 0.45118846599999995 0.158026165 Calling exit ...