Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001618/0.001618, allocations: 109.1 kB / 21.22 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001836/0.001836, allocations: 216.5 kB / 24.53 MB, free: 4.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 230.5 MB / 258.2 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Start",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 63.91 kB / 378.6 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2942, allocations: 53.41 MB / 432 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.06012/0.3543, allocations: 46.2 MB / 478.2 MB, free: 8.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03175/0.3861, allocations: 12.13 MB / 490.4 MB, free: 12.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01256/0.3986, allocations: 437.6 kB / 490.8 MB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03104/0.4297, allocations: 12.6 MB / 0.4916 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02215/0.4518, allocations: 4.999 MB / 0.4965 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01176/0.4636, allocations: 3.138 MB / 0.4995 GB, free: 6.906 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.03245/0.496, allocations: 21.26 MB / 0.5203 GB, free: 1.578 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.5937/1.09, allocations: 26.85 MB / 0.5465 GB, free: 11.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0168/1.107, allocations: 11.23 MB / 0.5575 GB, free: 10.49 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02041/1.127, allocations: 12.34 MB / 0.5695 GB, free: 8.574 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01094/1.138, allocations: 3.131 MB / 0.5726 GB, free: 8.574 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01276/1.151, allocations: 3.589 MB / 0.5761 GB, free: 8.574 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01283/1.163, allocations: 6.269 MB / 0.5822 GB, free: 7.875 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02342/1.187, allocations: 12.05 MB / 0.594 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05222/1.239, allocations: 41.61 MB / 0.6346 GB, free: 9.988 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.129e-05/1.239, allocations: 12.91 kB / 0.6346 GB, free: 9.98 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.523e-06/1.239, allocations: 0 / 0.6346 GB, free: 9.98 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.001202/1.24, allocations: 0 / 0.6346 GB, free: 9.98 MB / 494.1 MB 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.07717/1.317, allocations: 24.31 MB / 0.6584 GB, free: 1.73 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 5.719e-05/1.318, allocations: 8.031 kB / 0.6584 GB, free: 1.723 MB / 0.4982 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0006569/1.318, allocations: 0.5358 MB / 0.6589 GB, free: 1.184 MB / 0.4982 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0115/1.33, allocations: 2.944 MB / 0.6618 GB, free: 14.24 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06292/1.393, allocations: 11.32 MB / 0.6728 GB, free: 3.039 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03271/1.425, allocations: 13.62 MB / 0.6861 GB, free: 5.871 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001566/1.427, allocations: 1.361 MB / 0.6875 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007165/1.434, allocations: 1.786 MB / 0.6892 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08529/1.519, allocations: 29.65 MB / 0.7182 GB, free: 5.031 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009057/1.52, allocations: 27.47 kB / 0.7182 GB, free: 5.008 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005924/1.526, allocations: 0.7421 MB / 0.7189 GB, free: 4.285 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001288/1.527, allocations: 0.9985 MB / 0.7199 GB, free: 3.281 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06395/1.591, allocations: 27.36 MB / 0.7466 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6245/2.216, allocations: 92 MB / 0.8365 GB, free: 145.9 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02798/2.244, allocations: 18.96 MB / 0.855 GB, free: 133.1 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01256/2.256, allocations: 6.702 MB / 0.8615 GB, free: 126.4 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04/2.296, allocations: 19.55 MB / 0.8806 GB, free: 107.3 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.66e-05/2.297, allocations: 108.5 kB / 0.8807 GB, free: 107.2 MB / 0.592 GB Notification: Performance of pre-optimization done (n=681): time 9.377e-06/2.297, allocations: 0 / 0.8807 GB, free: 107.2 MB / 0.592 GB Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.61028687102953] Failed to read output from testmodel.py, exit status != 0: ['time', 'Itr', 'Iqs', 'ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'ims.rotor.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'ims.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'imsQS.rotor.electroMagneticConverter.port_p.reference.gamma', 'loadInertia.phi', 'loadInertia.w'] 2.409733667038381 2.419455058 1.1777627290000001 Calling exit ...