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.001564/0.001564, allocations: 104.7 kB / 18.49 MB, free: 4.605 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.001569/0.001569, allocations: 189 kB / 21.43 MB, free: 1.676 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.362/1.362, allocations: 225.6 MB / 249.8 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] 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.001462/0.001462, allocations: 51.92 kB / 366.4 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09001/0.09147, allocations: 52.15 MB / 418.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.2177/0.3091, allocations: 45.45 MB / 464 MB, free: 8.656 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02234/0.3315, allocations: 11.81 MB / 475.8 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009969/0.3415, allocations: 427 kB / 476.2 MB, free: 2.441 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0282/0.3697, allocations: 12.55 MB / 488.8 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01912/0.3888, allocations: 4.911 MB / 493.7 MB, free: 6.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01053/0.3993, allocations: 2.935 MB / 496.6 MB, free: 4.469 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02909/0.4284, allocations: 20.93 MB / 0.5054 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06075/0.4891, allocations: 31.62 MB / 0.5363 GB, free: 5.191 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01866/0.5078, allocations: 11.17 MB / 0.5472 GB, free: 9.996 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01978/0.5276, allocations: 12.14 MB / 0.5591 GB, free: 13.81 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008138/0.5357, allocations: 3.133 MB / 0.5621 GB, free: 10.68 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01125/0.547, allocations: 3.546 MB / 0.5656 GB, free: 7.133 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009926/0.5569, allocations: 6.27 MB / 0.5717 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02122/0.5781, allocations: 11.9 MB / 0.5833 GB, free: 4.898 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05102/0.6291, allocations: 41.53 MB / 0.6239 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.6291, allocations: 0 / 0.6239 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6291, allocations: 0 / 0.6239 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.001015/0.6302, allocations: 0 / 0.6239 GB, free: 11.23 MB / 0.5137 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.4504/1.081, allocations: 24.33 MB / 0.6476 GB, free: 139.1 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/1.081, allocations: 14.11 kB / 0.6477 GB, free: 139.1 MB / 0.5138 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0007602/1.081, allocations: 0.5384 MB / 0.6482 GB, free: 139 MB / 0.5138 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01139/1.093, allocations: 2.945 MB / 0.6511 GB, free: 137.6 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06022/1.153, allocations: 11.44 MB / 0.6622 GB, free: 133.3 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02679/1.18, allocations: 13.47 MB / 0.6754 GB, free: 125.1 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001226/1.181, allocations: 1.364 MB / 0.6767 GB, free: 124.5 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00698/1.188, allocations: 1.798 MB / 0.6785 GB, free: 123.1 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0654/1.253, allocations: 29.59 MB / 0.7074 GB, free: 93.38 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008445/1.254, allocations: 31.78 kB / 0.7074 GB, free: 93.35 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00574/1.26, allocations: 0.7412 MB / 0.7081 GB, free: 92.62 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008053/1.261, allocations: 0.9873 MB / 0.7091 GB, free: 91.63 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04826/1.309, allocations: 27.3 MB / 0.7357 GB, free: 64.29 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1513/1.46, allocations: 93.16 MB / 0.8267 GB, free: 2.363 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4318/1.892, allocations: 51.14 MB / 0.8767 GB, free: 163.2 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01296/1.905, allocations: 6.657 MB / 0.8832 GB, free: 163.1 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04178/1.947, allocations: 20.26 MB / 0.9029 GB, free: 155.1 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.574e-05/1.947, allocations: 105.1 kB / 0.903 GB, free: 155 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=681): time 9.368e-06/1.947, allocations: 0 / 0.903 GB, free: 155 MB / 0.5764 GB Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.177685306000058] 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.0519842989742756 2.060600803 1.429110265 Calling exit ...