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.001535/0.001535, allocations: 105.5 kB / 19.73 MB, free: 2.223 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.639/1.639, allocations: 230.6 MB / 253.4 MB, free: 14.43 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.001818/0.001818, allocations: 220.5 kB / 310 MB, free: 3.156 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.04096/0.04096, allocations: 8.92 MB / 375.4 MB, free: 6.805 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.002523/0.002523, allocations: 87.88 kB / 0.49 GB, free: 44.9 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.117, allocations: 55.61 MB / 0.5443 GB, free: 5.191 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.InductionMachines.IMC_Inverter2): time 0.02078/0.1377, allocations: 13.9 MB / 0.5579 GB, free: 7.219 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01394/0.1517, allocations: 4.63 MB / 0.5624 GB, free: 2.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003345/0.155, allocations: 107.3 kB / 0.5625 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003743/0.1588, allocations: 1.095 MB / 0.5636 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005083/0.1638, allocations: 1.32 MB / 0.5649 GB, free: 36 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3226/0.4864, allocations: 0.9174 MB / 0.5658 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006816/0.4933, allocations: 4.081 MB / 0.5697 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003398/0.4967, allocations: 1.971 MB / 0.5717 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004796/0.5014, allocations: 1.995 MB / 0.5736 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007235/0.5087, allocations: 2.281 MB / 0.5758 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002502/0.5112, allocations: 0.5258 MB / 0.5764 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004316/0.5155, allocations: 0.7509 MB / 0.5771 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002253/0.5178, allocations: 1.162 MB / 0.5782 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005176/0.5229, allocations: 2.176 MB / 0.5804 GB, free: 7.441 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01352/0.5364, allocations: 6.957 MB / 0.5871 GB, free: 5.086 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.367e-06/0.5365, allocations: 0 / 0.5871 GB, free: 5.086 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5365, allocations: 0 / 0.5871 GB, free: 5.086 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002855/0.5367, allocations: 1 kB / 0.5871 GB, free: 5.086 MB / 382.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.01719/0.5539, allocations: 4.487 MB / 0.5915 GB, free: 2.426 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.554, allocations: 13.17 kB / 0.5915 GB, free: 2.422 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001885/0.5542, allocations: 97.73 kB / 0.5916 GB, free: 2.402 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001151/0.5553, allocations: 0.5155 MB / 0.5921 GB, free: 2.043 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00461/0.5599, allocations: 0.8237 MB / 0.5929 GB, free: 1.637 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006284/0.5662, allocations: 2.452 MB / 0.5953 GB, free: 0 / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005833/0.5668, allocations: 275.1 kB / 0.5956 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001145/0.5679, allocations: 338.5 kB / 0.5959 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01334/0.5813, allocations: 4.521 MB / 0.6003 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001987/0.5815, allocations: 3.953 kB / 0.6003 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0011/0.5826, allocations: 136.4 kB / 0.6005 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002185/0.5828, allocations: 158.3 kB / 0.6006 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0118/0.5946, allocations: 3.822 MB / 0.6044 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03379/0.6284, allocations: 13.84 MB / 0.6179 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00615/0.6345, allocations: 2.421 MB / 0.6202 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002683/0.6372, allocations: 1.103 MB / 0.6213 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009129/0.6464, allocations: 3.278 MB / 0.6245 GB, free: 8.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.341e-05/0.6464, allocations: 43.56 kB / 0.6246 GB, free: 8.176 MB / 414.1 MB Notification: Performance of pre-optimization done (n=117): time 4.869e-06/0.6464, allocations: 1.266 kB / 0.6246 GB, free: 8.176 MB / 414.1 MB Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.7199759730137885] Failed to read output from testmodel.py, exit status != 0: 0.6690507129533216 0.6882254280000001 0.147945674 Calling exit ...