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.001415/0.001415, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001495/0.001495, allocations: 207.5 kB / 24.53 MB, free: 4.07 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.39/1.39, allocations: 230.5 MB / 258.2 MB, free: 8.012 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.001775/0.001775, allocations: 55.91 kB / 378.6 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2138, allocations: 53.41 MB / 432 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Mains): time 0.04299/0.2568, allocations: 38.14 MB / 470.2 MB, free: 392 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02245/0.2793, allocations: 10.34 MB / 480.5 MB, free: 6.012 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007214/0.2865, allocations: 334.2 kB / 480.8 MB, free: 5.684 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02203/0.3085, allocations: 9.272 MB / 490.1 MB, free: 12.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01395/0.3225, allocations: 4.094 MB / 494.2 MB, free: 8.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008133/0.3306, allocations: 2.495 MB / 496.7 MB, free: 5.793 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02191/0.3525, allocations: 14.34 MB / 0.499 GB, free: 7.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03529/0.3878, allocations: 17.11 MB / 0.5158 GB, free: 6.137 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01397/0.4018, allocations: 7.375 MB / 0.523 GB, free: 14.74 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01414/0.4159, allocations: 8.156 MB / 0.5309 GB, free: 6.559 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00514/0.4211, allocations: 2.027 MB / 0.5329 GB, free: 4.531 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006773/0.4278, allocations: 2.46 MB / 0.5353 GB, free: 2.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2053/0.6332, allocations: 4.042 MB / 0.5392 GB, free: 32.34 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01548/0.6487, allocations: 7.825 MB / 0.5469 GB, free: 31.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03241/0.6811, allocations: 27.05 MB / 0.5733 GB, free: 24.33 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.6811, allocations: 3.984 kB / 0.5733 GB, free: 24.33 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.6811, allocations: 0 / 0.5733 GB, free: 24.33 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007986/0.6819, allocations: 0 / 0.5733 GB, free: 24.33 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.04508/0.727, allocations: 16.11 MB / 0.589 GB, free: 14.11 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.727, allocations: 11.5 kB / 0.5891 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002562/0.7273, allocations: 368.6 kB / 0.5894 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006828/0.7341, allocations: 1.934 MB / 0.5913 GB, free: 12.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03418/0.7683, allocations: 6.43 MB / 0.5976 GB, free: 9.836 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01745/0.7857, allocations: 8.667 MB / 0.606 GB, free: 2.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006151/0.7863, allocations: 0.9092 MB / 0.6069 GB, free: 2.082 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004209/0.7905, allocations: 1.195 MB / 0.6081 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04939/0.8399, allocations: 18.81 MB / 0.6265 GB, free: 14.02 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004596/0.8404, allocations: 19.91 kB / 0.6265 GB, free: 14 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003991/0.8444, allocations: 0.4913 MB / 0.627 GB, free: 13.52 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007768/0.8452, allocations: 0.6574 MB / 0.6276 GB, free: 12.87 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0389/0.8841, allocations: 17.05 MB / 0.6443 GB, free: 11.81 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1237/1.008, allocations: 60.43 MB / 0.7033 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02339/1.031, allocations: 10.97 MB / 0.714 GB, free: 5.309 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007796/1.039, allocations: 3.694 MB / 0.7176 GB, free: 1.617 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02295/1.062, allocations: 10.17 MB / 0.7275 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.851e-05/1.062, allocations: 77.81 kB / 0.7276 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=406): time 6.802e-06/1.062, allocations: 4 kB / 0.7276 GB, free: 7.492 MB / 0.5606 GB Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.3796339930268005] 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.1264703840133734 1.292243064 0.608432714 Calling exit ...