Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.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.00135/0.00135, allocations: 107.6 kB / 21.25 MB, free: 0.5625 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.001404/0.001404, allocations: 223 kB / 24.56 MB, free: 3.816 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.533/1.533, allocations: 230.5 MB / 258.2 MB, free: 7.734 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: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeedE.phi|constantSpeedM.phi|smeeE.is.1.|smeeE.is.2.|smeeE.idq_dr.1.|smeeE.idq_rr.2.|smeeE.idq_sr.1.|smeeE.idq_sr.2.|smeeM.is.1.|smeeM.is.2.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.stray.port_p.Phi.im|smeeM.stator.stray.port_p.Phi.re",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeedE.phi|constantSpeedM.phi|smeeE.is.1.|smeeE.is.2.|smeeE.idq_dr.1.|smeeE.idq_rr.2.|smeeE.idq_sr.1.|smeeE.idq_sr.2.|smeeM.is.1.|smeeM.is.2.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.stray.port_p.Phi.im|smeeM.stator.stray.port_p.Phi.re",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.278e-05/2.278e-05, allocations: 3.969 kB / 379.1 MB, free: 2.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.2222/0.2222, allocations: 21.33 MB / 400.4 MB, free: 1.883 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0204/0.2426, allocations: 7.1 MB / 407.5 MB, free: 12.83 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008383/0.251, allocations: 182 kB / 407.7 MB, free: 12.76 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006903/0.2579, allocations: 1.587 MB / 409.3 MB, free: 11.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01278/0.2707, allocations: 2.353 MB / 411.6 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006879/0.2776, allocations: 1.473 MB / 413.1 MB, free: 8.488 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01805/0.2956, allocations: 8.859 MB / 422 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005693/0.3013, allocations: 2.017 MB / 424 MB, free: 8 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008184/0.3095, allocations: 3.115 MB / 427.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009113/0.3186, allocations: 3.198 MB / 430.3 MB, free: 9.668 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003483/0.3221, allocations: 0.6016 MB / 430.9 MB, free: 9.066 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007409/0.3295, allocations: 1.409 MB / 432.3 MB, free: 7.664 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.01692/0.3464, allocations: 11.41 MB / 443.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0104/0.3568, allocations: 6.977 MB / 450.7 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003808/0.3606, allocations: 420 kB / 451.1 MB, free: 4.691 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.001985/0.3626, allocations: 127.5 kB / 451.2 MB, free: 4.566 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1496 (1035) * Number of variables: 1496 (996) Notification: Performance of [SIM] Bindings: time 0.05257/0.4152, allocations: 30.47 MB / 481.7 MB, free: 5.516 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.007139/0.4223, allocations: 3.584 MB / 485.3 MB, free: 1.848 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.03359/0.4559, allocations: 18.58 MB / 0.492 GB, free: 15.14 MB / 414.1 MB Notification: Performance of [SIM] Simplify 1: time 0.007609/0.4635, allocations: 2.429 MB / 0.4944 GB, free: 12.51 MB / 414.1 MB Notification: Performance of [SIM] Alias: time 0.04305/0.5066, allocations: 20.83 MB / 0.5148 GB, free: 6.066 MB / 430.1 MB Notification: Performance of [SIM] Simplify 2: time 0.004933/0.5115, allocations: 1.799 MB / 0.5165 GB, free: 4.109 MB / 430.1 MB Notification: Performance of [SIM] Remove Stream: time 0.002501/0.514, allocations: 1.132 MB / 0.5176 GB, free: 2.887 MB / 430.1 MB Notification: Performance of [SIM] Detect States: time 0.005785/0.5198, allocations: 2.946 MB / 0.5205 GB, free: 15.82 MB / 446.1 MB Notification: Performance of [SIM] Events: time 0.001623/0.5214, allocations: 0.6451 MB / 0.5211 GB, free: 15.18 MB / 446.1 MB Notification: Performance of [SIM] Partitioning: time 0.01133/0.5328, allocations: 4.959 MB / 0.526 GB, free: 10.09 MB / 446.1 MB Error: Internal error NBVariable.makeDummyState failed for $DER.smeeM.phiMechanical. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.3137635639868677] Failed to read output from testmodel.py, exit status != 0: ['time', 'constantSpeedE.phi', 'constantSpeedM.phi', 'smeeE.is[1]', 'smeeE.is[2]', 'smeeE.idq_dr[1]', 'smeeE.idq_rr[2]', 'smeeE.idq_sr[1]', 'smeeE.idq_sr[2]', 'smeeM.is[1]', 'smeeM.is[2]', 'smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'smeeM.stator.stray.port_p.Phi.im', 'smeeM.stator.stray.port_p.Phi.re'] 0.8784036829601973 0.8891590149999999 0.523744757 Calling exit ...