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.001339/0.001339, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.636/1.636, allocations: 230.6 MB / 250.5 MB, free: 9.219 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.001778/0.001778, allocations: 211.6 kB / 306.7 MB, free: 4.293 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.04116/0.04116, allocations: 8.904 MB / 371.7 MB, free: 3.434 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.002536/0.002536, allocations: 81.84 kB / 496.4 MB, free: 4.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.176, allocations: 55.59 MB / 0.5391 GB, free: 6.457 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter1): time 0.02148/0.1975, allocations: 13.82 MB / 0.5526 GB, free: 8.566 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0158/0.2133, allocations: 4.618 MB / 0.5571 GB, free: 3.934 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005318/0.2186, allocations: 111.3 kB / 0.5572 GB, free: 3.824 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005078/0.2237, allocations: 1.091 MB / 0.5583 GB, free: 2.727 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006962/0.2307, allocations: 1.309 MB / 0.5595 GB, free: 1.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004061/0.2347, allocations: 0.9037 MB / 0.5604 GB, free: 0.5078 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009303/0.244, allocations: 4.092 MB / 0.5644 GB, free: 12.4 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007088/0.2511, allocations: 2.48 MB / 0.5668 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005909/0.257, allocations: 1.986 MB / 0.5688 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005994/0.263, allocations: 2.285 MB / 0.571 GB, free: 5.562 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002752/0.2658, allocations: 0.5234 MB / 0.5715 GB, free: 5.039 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00405/0.2698, allocations: 0.7497 MB / 0.5723 GB, free: 4.289 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002939/0.2728, allocations: 1.157 MB / 0.5734 GB, free: 3.129 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006887/0.2797, allocations: 2.175 MB / 0.5755 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01422/0.2939, allocations: 6.953 MB / 0.5823 GB, free: 9.969 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.2939, allocations: 0 / 0.5823 GB, free: 9.969 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.035e-06/0.2939, allocations: 4 kB / 0.5823 GB, free: 9.965 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003243/0.2942, allocations: 0 / 0.5823 GB, free: 9.965 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.01924/0.3135, allocations: 4.566 MB / 0.5868 GB, free: 5.324 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.881e-05/0.3135, allocations: 8.031 kB / 0.5868 GB, free: 5.316 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002319/0.3138, allocations: 100.5 kB / 0.5869 GB, free: 5.215 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002292/0.3161, allocations: 0.515 MB / 0.5874 GB, free: 4.688 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005708/0.3218, allocations: 0.8222 MB / 0.5882 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007097/0.3289, allocations: 2.506 MB / 0.5906 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003473/0.3292, allocations: 258.6 kB / 0.5909 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001727/0.3309, allocations: 332 kB / 0.5912 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01416/0.3451, allocations: 4.519 MB / 0.5956 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001156/0.3452, allocations: 4 kB / 0.5956 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006419/0.3459, allocations: 136 kB / 0.5957 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002899/0.3461, allocations: 162.7 kB / 0.5959 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01295/0.3591, allocations: 3.817 MB / 0.5996 GB, free: 8.039 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03631/0.3954, allocations: 14.21 MB / 0.6135 GB, free: 9.402 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008155/0.4036, allocations: 6.343 MB / 0.6197 GB, free: 2.199 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002548/0.4061, allocations: 1.114 MB / 0.6208 GB, free: 1.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007712/0.4138, allocations: 3.731 MB / 0.6244 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.826e-05/0.4139, allocations: 43.56 kB / 0.6244 GB, free: 13.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=117): time 4.509e-06/0.4139, allocations: 0 / 0.6244 GB, free: 13.16 MB / 446.1 MB Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.529605308023747] Failed to read output from testmodel.py, exit status != 0: 0.4354929610271938 0.45193498499999996 0.15381385599999994 Calling exit ...