Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter.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.001278/0.001278, allocations: 100.3 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.422/1.422, allocations: 230.6 MB / 253.5 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.001491/0.001491, allocations: 215.9 kB / 310 MB, free: 3.07 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.03999/0.03999, allocations: 8.924 MB / 375.4 MB, free: 6.598 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.SynchronousMachines.SMR_Inverter,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMR_Inverter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMR_Inverter,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMR_Inverter",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.002349/0.002349, allocations: 85.73 kB / 0.4899 GB, free: 44.76 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08544/0.08779, allocations: 55.6 MB / 0.5442 GB, free: 5.059 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMR_Inverter): time 0.01505/0.1028, allocations: 12.25 MB / 0.5562 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009032/0.1119, allocations: 4.45 MB / 0.5605 GB, free: 4.281 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002342/0.1142, allocations: 111.3 kB / 0.5606 GB, free: 4.172 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002994/0.1172, allocations: 1.033 MB / 0.5616 GB, free: 3.133 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004464/0.1217, allocations: 1.297 MB / 0.5629 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002576/0.1242, allocations: 0.8911 MB / 0.5638 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2161/0.3403, allocations: 3.85 MB / 0.5675 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002161/0.3425, allocations: 1.877 MB / 0.5694 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002674/0.3451, allocations: 1.842 MB / 0.5712 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003786/0.3489, allocations: 2.138 MB / 0.5733 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009335/0.3499, allocations: 498.4 kB / 0.5737 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002006/0.3519, allocations: 0.6995 MB / 0.5744 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009745/0.3528, allocations: 1.084 MB / 0.5755 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002692/0.3555, allocations: 1.625 MB / 0.5771 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007815/0.3633, allocations: 6.499 MB / 0.5834 GB, free: 6.895 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3634, allocations: 0 / 0.5834 GB, free: 6.895 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3634, allocations: 1.5 kB / 0.5834 GB, free: 6.895 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001547/0.3635, allocations: 0.8438 kB / 0.5834 GB, free: 6.895 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: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.0118/0.3753, allocations: 4.215 MB / 0.5875 GB, free: 4.645 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.3754, allocations: 14.61 kB / 0.5875 GB, free: 4.641 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001572/0.3755, allocations: 96.53 kB / 0.5876 GB, free: 4.617 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008082/0.3763, allocations: 0.4887 MB / 0.5881 GB, free: 4.348 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003874/0.3802, allocations: 0.7546 MB / 0.5888 GB, free: 4.094 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004444/0.3846, allocations: 2.277 MB / 0.5911 GB, free: 2.875 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001689/0.3848, allocations: 237.1 kB / 0.5913 GB, free: 2.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005374/0.3853, allocations: 318.1 kB / 0.5916 GB, free: 2.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008367/0.3937, allocations: 4.304 MB / 0.5958 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-05/0.3938, allocations: 10.53 kB / 0.5958 GB, free: 72 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003651/0.3941, allocations: 133.1 kB / 0.5959 GB, free: 0 / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001944/0.3943, allocations: 145.8 kB / 0.5961 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006674/0.401, allocations: 3.51 MB / 0.5995 GB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02047/0.4215, allocations: 11.72 MB / 0.6109 GB, free: 5.742 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004223/0.4257, allocations: 2.151 MB / 0.6131 GB, free: 4.145 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001817/0.4275, allocations: 0.9954 MB / 0.614 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005756/0.4333, allocations: 2.684 MB / 0.6166 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.817e-05/0.4333, allocations: 47.55 kB / 0.6167 GB, free: 448 kB / 398.1 MB Notification: Performance of pre-optimization done (n=109): time 3.055e-06/0.4333, allocations: 0 / 0.6167 GB, free: 448 kB / 398.1 MB Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.8839529949473217] Failed to read output from testmodel.py, exit status != 0: 0.449922553030774 0.465379625 0.09881100400000001 Calling exit ...