Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.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.001622/0.001622, allocations: 113 kB / 18.49 MB, free: 4.598 MB / 14.72 MB " [Timeout remaining time 180] 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.001781/0.001781, allocations: 213.4 kB / 21.45 MB, free: 1.652 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.457/1.457, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start,fileNamePrefix="Modelica_4_1_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_1_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.0021/0.0021, allocations: 51.92 kB / 373.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1164, allocations: 53.33 MB / 427.1 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.2206/0.3371, allocations: 46.12 MB / 473.2 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02856/0.3656, allocations: 12.13 MB / 485.3 MB, free: 2.977 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01121/0.3768, allocations: 432.5 kB / 485.7 MB, free: 2.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03494/0.4118, allocations: 12.57 MB / 498.3 MB, free: 9.316 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0187/0.4305, allocations: 4.917 MB / 0.4914 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0102/0.4407, allocations: 3.035 MB / 0.4944 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0304/0.4711, allocations: 21.1 MB / 0.515 GB, free: 12.42 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06063/0.5317, allocations: 31.61 MB / 0.5459 GB, free: 12.55 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02085/0.5525, allocations: 11.17 MB / 0.5568 GB, free: 1.352 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02229/0.5748, allocations: 12.31 MB / 0.5688 GB, free: 4.996 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009848/0.5847, allocations: 3.133 MB / 0.5719 GB, free: 1.863 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01419/0.5989, allocations: 3.578 MB / 0.5754 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01122/0.6101, allocations: 6.27 MB / 0.5815 GB, free: 8 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02345/0.6335, allocations: 11.91 MB / 0.5931 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.5234/1.157, allocations: 41.6 MB / 0.6337 GB, free: 78.29 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/1.157, allocations: 2.25 kB / 0.6337 GB, free: 78.29 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.893e-06/1.157, allocations: 0 / 0.6337 GB, free: 78.29 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 0.001044/1.158, allocations: 0 / 0.6337 GB, free: 78.29 MB / 0.5138 GB 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.08353/1.241, allocations: 24.39 MB / 0.6576 GB, free: 69.49 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/1.242, allocations: 8.594 kB / 0.6576 GB, free: 69.49 MB / 0.5138 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0008074/1.242, allocations: 0.5399 MB / 0.6581 GB, free: 69.4 MB / 0.5138 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01353/1.256, allocations: 2.951 MB / 0.661 GB, free: 68.73 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06194/1.318, allocations: 11.31 MB / 0.672 GB, free: 64.3 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03068/1.349, allocations: 13.54 MB / 0.6852 GB, free: 55.79 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009301/1.349, allocations: 1.357 MB / 0.6866 GB, free: 54.44 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007483/1.357, allocations: 1.796 MB / 0.6883 GB, free: 52.66 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07512/1.432, allocations: 29.65 MB / 0.7173 GB, free: 22.94 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007862/1.433, allocations: 25.58 kB / 0.7173 GB, free: 22.92 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008569/1.441, allocations: 0.7431 MB / 0.718 GB, free: 22.19 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008589/1.442, allocations: 0.9904 MB / 0.719 GB, free: 21.2 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05374/1.496, allocations: 27.36 MB / 0.7457 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1827/1.679, allocations: 94.11 MB / 0.8376 GB, free: 11.18 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3523/2.031, allocations: 51.77 MB / 0.8882 GB, free: 199.5 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01184/2.043, allocations: 6.737 MB / 0.8948 GB, free: 197.7 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02829/2.071, allocations: 19.82 MB / 0.9141 GB, free: 189 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.331e-05/2.071, allocations: 115.6 kB / 0.9142 GB, free: 188.9 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=681): time 7.805e-06/2.071, allocations: 0 / 0.9142 GB, free: 188.9 MB / 0.6232 GB Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.39805602398701] 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.16937046602834 2.176384271 1.017060537 Calling exit ...