Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 101.5 kB / 21.21 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 190.7 kB / 24.49 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 225.7 MB / 253.3 MB, free: 12.83 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,fileNamePrefix="Modelica_4_0_0_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_4_0_0_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.001417/0.001417, allocations: 47.94 kB / 371.2 MB, free: 9.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2137, allocations: 52.2 MB / 423.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.04538/0.2591, allocations: 38.7 MB / 462.1 MB, free: 7.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02588/0.285, allocations: 11.45 MB / 473.6 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01263/0.2976, allocations: 429.7 kB / 474 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02831/0.3259, allocations: 11.65 MB / 485.6 MB, free: 15.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01864/0.3446, allocations: 4.941 MB / 490.6 MB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01035/0.3549, allocations: 2.926 MB / 493.5 MB, free: 8.035 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02974/0.3847, allocations: 21.08 MB / 0.5025 GB, free: 2.883 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05865/0.4433, allocations: 26.85 MB / 0.5288 GB, free: 7.805 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.4502/0.8935, allocations: 11.23 MB / 0.5397 GB, free: 24.65 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01784/0.9114, allocations: 12.16 MB / 0.5516 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00993/0.9213, allocations: 3.133 MB / 0.5547 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01093/0.9322, allocations: 3.54 MB / 0.5581 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009788/0.942, allocations: 6.27 MB / 0.5642 GB, free: 23.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01869/0.9607, allocations: 9.28 MB / 0.5733 GB, free: 21.31 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04178/1.002, allocations: 41.73 MB / 0.6141 GB, free: 10.54 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.228e-06/1.002, allocations: 7.75 kB / 0.6141 GB, free: 10.54 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.974e-06/1.002, allocations: 0 / 0.6141 GB, free: 10.54 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.001357/1.004, allocations: 0 / 0.6141 GB, free: 10.54 MB / 462.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.07718/1.081, allocations: 24.25 MB / 0.6377 GB, free: 2.348 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/1.081, allocations: 12.03 kB / 0.6378 GB, free: 2.336 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0005925/1.082, allocations: 0.5358 MB / 0.6383 GB, free: 1.797 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01043/1.092, allocations: 2.944 MB / 0.6412 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06288/1.155, allocations: 11.44 MB / 0.6523 GB, free: 3.531 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03203/1.187, allocations: 13.56 MB / 0.6656 GB, free: 6.426 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001513/1.189, allocations: 1.362 MB / 0.6669 GB, free: 5.078 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007994/1.197, allocations: 1.79 MB / 0.6686 GB, free: 3.305 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07794/1.274, allocations: 30.05 MB / 0.698 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008953/1.275, allocations: 27.19 kB / 0.698 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006472/1.282, allocations: 0.7394 MB / 0.6987 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001221/1.283, allocations: 0.9907 MB / 0.6997 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06384/1.347, allocations: 27.3 MB / 0.7264 GB, free: 8.012 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5343/1.881, allocations: 84.21 MB / 0.8086 GB, free: 154.9 MB / 0.5764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02377/1.905, allocations: 18.62 MB / 0.8268 GB, free: 146.9 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009466/1.914, allocations: 6.644 MB / 0.8333 GB, free: 140.2 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03327/1.948, allocations: 18.72 MB / 0.8516 GB, free: 121.9 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.792e-05/1.948, allocations: 108.5 kB / 0.8517 GB, free: 121.8 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=681): time 1.204e-05/1.948, allocations: 0 / 0.8517 GB, free: 121.8 MB / 0.5764 GB Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.052777756005526] 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.042121869046241 2.05205491 1.047011055 Calling exit ...