Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start.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.001502/0.001502, allocations: 105.1 kB / 21.22 MB, free: 0.6523 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.001675/0.001675, allocations: 212.1 kB / 24.52 MB, free: 3.945 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.431/1.431, allocations: 230.5 MB / 258.2 MB, free: 7.801 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.IMS_Start,fileNamePrefix="Modelica_trunk_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_trunk_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.001798/0.001798, allocations: 63.91 kB / 378.6 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2691, allocations: 53.4 MB / 432 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Start): time 0.04549/0.3146, allocations: 39.29 MB / 471.2 MB, free: 14.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02478/0.3393, allocations: 11.74 MB / 483 MB, free: 3.215 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008926/0.3483, allocations: 433.6 kB / 483.4 MB, free: 2.789 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02902/0.3773, allocations: 11.68 MB / 495.1 MB, free: 7.078 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01847/0.3958, allocations: 4.944 MB / 0.4883 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009633/0.4054, allocations: 3.04 MB / 0.4913 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02817/0.4336, allocations: 21.24 MB / 0.512 GB, free: 9.781 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4974/0.9309, allocations: 26.85 MB / 0.5383 GB, free: 17.72 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01943/0.9504, allocations: 11.24 MB / 0.5492 GB, free: 16.94 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01834/0.9687, allocations: 12.34 MB / 0.5613 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008187/0.9769, allocations: 3.13 MB / 0.5643 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01048/0.9874, allocations: 3.578 MB / 0.5678 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008608/0.996, allocations: 6.267 MB / 0.574 GB, free: 14.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01652/1.013, allocations: 9.293 MB / 0.583 GB, free: 10.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04527/1.058, allocations: 41.79 MB / 0.6238 GB, free: 9.559 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/1.058, allocations: 7.984 kB / 0.6238 GB, free: 9.551 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.633e-06/1.058, allocations: 2.281 kB / 0.6238 GB, free: 9.551 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001009/1.059, allocations: 1.125 kB / 0.6238 GB, free: 9.551 MB / 478.1 MB 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.07231/1.131, allocations: 24.31 MB / 0.6476 GB, free: 1.305 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/1.131, allocations: 8.031 kB / 0.6476 GB, free: 1.297 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0005902/1.132, allocations: 0.5505 MB / 0.6481 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01023/1.142, allocations: 2.938 MB / 0.651 GB, free: 13.81 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06079/1.203, allocations: 11.32 MB / 0.6621 GB, free: 2.613 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03353/1.236, allocations: 13.62 MB / 0.6754 GB, free: 5.441 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001725/1.238, allocations: 1.363 MB / 0.6767 GB, free: 4.094 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007147/1.245, allocations: 1.8 MB / 0.6784 GB, free: 2.312 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07401/1.319, allocations: 30.09 MB / 0.7078 GB, free: 4.035 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009097/1.32, allocations: 27.89 kB / 0.7079 GB, free: 4.008 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006057/1.326, allocations: 0.7445 MB / 0.7086 GB, free: 3.281 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001284/1.327, allocations: 0.9944 MB / 0.7096 GB, free: 2.285 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06149/1.389, allocations: 27.36 MB / 0.7363 GB, free: 6.91 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5701/1.959, allocations: 84.41 MB / 0.8187 GB, free: 163.4 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0259/1.985, allocations: 18.82 MB / 0.8371 GB, free: 154.3 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01053/1.995, allocations: 6.708 MB / 0.8436 GB, free: 147.6 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03091/2.026, allocations: 18.04 MB / 0.8613 GB, free: 129.9 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.611e-05/2.026, allocations: 104.5 kB / 0.8614 GB, free: 129.8 MB / 0.592 GB Notification: Performance of pre-optimization done (n=681): time 1.086e-05/2.026, allocations: 0 / 0.8614 GB, free: 129.8 MB / 0.592 GB Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.295078501920216] 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.1220962890656665 2.130960009 1.070833382 Calling exit ...