Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.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.001734/0.001734, allocations: 105.1 kB / 21.22 MB, free: 0.5078 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.002115/0.002115, allocations: 214.9 kB / 24.52 MB, free: 3.684 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.512/1.512, allocations: 230.5 MB / 258.2 MB, free: 7.758 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.IMC_DOL,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_DOL",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 59.91 kB / 378.5 MB, free: 2.793 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4101/0.4119, allocations: 53.4 MB / 432 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04906/0.461, allocations: 33.38 MB / 465.3 MB, free: 4.918 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02989/0.4909, allocations: 9.997 MB / 475.3 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01061/0.5015, allocations: 358 kB / 475.7 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02661/0.5281, allocations: 9.59 MB / 485.3 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02122/0.5493, allocations: 4.145 MB / 489.4 MB, free: 12.76 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01043/0.5598, allocations: 2.43 MB / 491.8 MB, free: 10.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02881/0.5886, allocations: 16.65 MB / 0.4966 GB, free: 9.641 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0501/0.6387, allocations: 20.59 MB / 0.5167 GB, free: 4.828 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01874/0.6574, allocations: 8.712 MB / 0.5252 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01861/0.676, allocations: 9.609 MB / 0.5346 GB, free: 2.453 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008168/0.6842, allocations: 2.418 MB / 0.5369 GB, free: 36 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3067/0.9909, allocations: 2.83 MB / 0.5397 GB, free: 34.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008386/0.9992, allocations: 4.822 MB / 0.5444 GB, free: 34.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01908/1.018, allocations: 7.185 MB / 0.5514 GB, free: 34.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04008/1.058, allocations: 32.38 MB / 0.5831 GB, free: 22.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.325e-06/1.058, allocations: 0.8125 kB / 0.5831 GB, free: 22.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.585e-06/1.058, allocations: 0 / 0.5831 GB, free: 22.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001174/1.06, allocations: 0.75 kB / 0.5831 GB, free: 22.68 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3921 * Number of variables: 3921 Notification: Performance of Generate backend data structure: time 0.06032/1.12, allocations: 18.99 MB / 0.6016 GB, free: 10.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/1.12, allocations: 13.52 kB / 0.6016 GB, free: 10.72 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0004102/1.12, allocations: 434.8 kB / 0.602 GB, free: 10.64 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009438/1.13, allocations: 2.284 MB / 0.6043 GB, free: 9.191 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04601/1.176, allocations: 8.282 MB / 0.6123 GB, free: 1.828 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02746/1.203, allocations: 10.39 MB / 0.6225 GB, free: 7.785 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001517/1.205, allocations: 1.058 MB / 0.6235 GB, free: 6.738 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006856/1.212, allocations: 1.403 MB / 0.6249 GB, free: 5.352 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06868/1.28, allocations: 23.1 MB / 0.6475 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006234/1.281, allocations: 27.89 kB / 0.6475 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005265/1.286, allocations: 0.5764 MB / 0.648 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009864/1.287, allocations: 0.7831 MB / 0.6488 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05059/1.338, allocations: 21.06 MB / 0.6694 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1374/1.475, allocations: 65.15 MB / 0.733 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02532/1.501, allocations: 13.88 MB / 0.7466 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008554/1.509, allocations: 4.74 MB / 0.7512 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3268/1.836, allocations: 11.65 MB / 0.7626 GB, free: 197.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.923e-05/1.836, allocations: 93.25 kB / 0.7627 GB, free: 197.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=502): time 8.786e-06/1.836, allocations: 0 / 0.7627 GB, free: 197.4 MB / 0.5762 GB Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.279960085987113] Failed to read output from testmodel.py, exit status != 0: ['time', 'Itr', 'Iqs'] 1.9131742119789124 1.922686789 0.861569866 Calling exit ...