Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains.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.001557/0.001557, 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.001704/0.001704, 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.374/1.374, 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.SynchronousMachines.SMPM_Mains,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_Mains",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMPM_Mains",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 59.91 kB / 378.5 MB, free: 2.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.301, allocations: 53.41 MB / 431.9 MB, free: 6.484 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains): time 0.03868/0.3396, allocations: 32.52 MB / 464.5 MB, free: 5.824 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02268/0.3623, allocations: 9.954 MB / 474.4 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008752/0.3711, allocations: 330.2 kB / 474.7 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02251/0.3936, allocations: 8.575 MB / 483.3 MB, free: 2.914 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01507/0.4086, allocations: 4.044 MB / 487.4 MB, free: 14.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008788/0.4174, allocations: 2.412 MB / 489.8 MB, free: 12.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02428/0.4417, allocations: 14.33 MB / 0.4923 GB, free: 14.08 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03868/0.4804, allocations: 17.13 MB / 0.509 GB, free: 12.79 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01307/0.4935, allocations: 7.371 MB / 0.5162 GB, free: 5.395 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01507/0.5085, allocations: 8.16 MB / 0.5242 GB, free: 13.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007021/0.5156, allocations: 2.027 MB / 0.5262 GB, free: 11.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008792/0.5243, allocations: 2.441 MB / 0.5285 GB, free: 8.738 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007965/0.5323, allocations: 4.044 MB / 0.5325 GB, free: 4.684 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.4582/0.9905, allocations: 6.101 MB / 0.5385 GB, free: 32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02683/1.017, allocations: 27.18 MB / 0.565 GB, free: 27.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/1.017, allocations: 1.062 kB / 0.565 GB, free: 27.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.244e-06/1.017, allocations: 0 / 0.565 GB, free: 27.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0008042/1.018, allocations: 0 / 0.565 GB, free: 27.45 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: 3330 * Number of variables: 3330 Notification: Performance of Generate backend data structure: time 0.04653/1.065, allocations: 16.11 MB / 0.5807 GB, free: 20.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/1.065, allocations: 10.53 kB / 0.5807 GB, free: 20.34 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003075/1.065, allocations: 367.7 kB / 0.5811 GB, free: 20.27 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006946/1.072, allocations: 1.929 MB / 0.583 GB, free: 19.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03501/1.107, allocations: 6.436 MB / 0.5893 GB, free: 16.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01744/1.124, allocations: 8.666 MB / 0.5977 GB, free: 11.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006856/1.125, allocations: 0.9023 MB / 0.5986 GB, free: 10.42 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004634/1.13, allocations: 1.193 MB / 0.5998 GB, free: 9.238 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04772/1.177, allocations: 19.06 MB / 0.6184 GB, free: 6.047 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004267/1.178, allocations: 23.89 kB / 0.6184 GB, free: 6.023 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003668/1.182, allocations: 0.4899 MB / 0.6189 GB, free: 5.543 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008398/1.182, allocations: 0.6576 MB / 0.6195 GB, free: 4.883 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03835/1.221, allocations: 17.05 MB / 0.6362 GB, free: 3.832 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1143/1.335, allocations: 55.43 MB / 0.6903 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02199/1.357, allocations: 10.85 MB / 0.7009 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006916/1.364, allocations: 3.693 MB / 0.7045 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01916/1.383, allocations: 9.164 MB / 0.7135 GB, free: 5.77 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.823e-05/1.383, allocations: 81.81 kB / 0.7135 GB, free: 5.68 MB / 0.545 GB Notification: Performance of pre-optimization done (n=406): time 8.245e-06/1.383, allocations: 0 / 0.7135 GB, free: 5.68 MB / 0.545 GB Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.59828502102755] Failed to read output from testmodel.py, exit status != 0: ['time', 'Itr', 'Iqs', 'loadInertiaM.phi', 'loadInertiaM.w', 'loadInertiaMQS.phi', 'loadInertiaMQS.w', 'smpm.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smpm.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im'] 1.4434560659574345 1.457583263 0.436984372 Calling exit ...