Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00205/0.00205, allocations: 109.6 kB / 22 MB, free: 4.555 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002845/0.002845, allocations: 213.5 kB / 25.3 MB, free: 2.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.74/1.74, allocations: 207.7 MB / 236.2 MB, free: 9.758 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed3.phi|constantSpeedM.phi|smee3.is.1.|smee3.is.2.|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee3.stator.strayReluctance.port_p.Phi.im|smee3.stator.strayReluctance.port_p.Phi.re|smeeM.is.1.|smeeM.is.2.|smeeM.is.3.|smeeM.is.4.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.strayReluctance.port_p.Phi.im|smeeM.stator.strayReluctance.port_p.Phi.re",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed3.phi|constantSpeedM.phi|smee3.is.1.|smee3.is.2.|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee3.stator.strayReluctance.port_p.Phi.im|smee3.stator.strayReluctance.port_p.Phi.re|smeeM.is.1.|smeeM.is.2.|smeeM.is.3.|smeeM.is.4.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.strayReluctance.port_p.Phi.im|smeeM.stator.strayReluctance.port_p.Phi.re",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.728e-05/3.728e-05, allocations: 2.281 kB / 348.6 MB, free: 9.332 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase): time 0.03741/0.03745, allocations: 25.19 MB / 373.8 MB, free: 20 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02227/0.05972, allocations: 7.88 MB / 381.6 MB, free: 8.113 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00866/0.06838, allocations: 210.8 kB / 381.8 MB, free: 7.906 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008752/0.07713, allocations: 1.937 MB / 383.8 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01434/0.09147, allocations: 2.679 MB / 386.5 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007901/0.09937, allocations: 1.774 MB / 388.2 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.3075/0.4069, allocations: 11.48 MB / 399.7 MB, free: 16.86 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007379/0.4142, allocations: 2.498 MB / 402.2 MB, free: 16.47 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01202/0.4263, allocations: 4.018 MB / 406.2 MB, free: 16.05 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01177/0.438, allocations: 4.169 MB / 410.4 MB, free: 14.95 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004191/0.4422, allocations: 0.7963 MB / 411.2 MB, free: 14.95 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009278/0.4515, allocations: 1.523 MB / 412.7 MB, free: 14.8 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.02126/0.4728, allocations: 14.51 MB / 427.2 MB, free: 5.449 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.01207/0.4848, allocations: 9.025 MB / 436.3 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0055/0.4903, allocations: 0.5039 MB / 436.8 MB, free: 12.54 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.002462/0.4928, allocations: 146.2 kB / 436.9 MB, free: 12.41 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2293 (1301) * Number of variables: 2293 (1293) Notification: Performance of [SIM] Bindings: time 0.08734/0.5801, allocations: 40.56 MB / 477.5 MB, free: 5.363 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0121/0.5922, allocations: 4.682 MB / 482.1 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.05224/0.6445, allocations: 26.09 MB / 0.4963 GB, free: 7.16 MB / 398.1 MB Notification: Performance of [SIM] Simplify 1: time 0.01205/0.6565, allocations: 3.187 MB / 0.4994 GB, free: 3.855 MB / 398.1 MB Notification: Performance of [SIM] Alias: time 0.05357/0.7101, allocations: 26.21 MB / 0.525 GB, free: 8.73 MB / 430.1 MB Notification: Performance of [SIM] Simplify 2: time 0.007633/0.7177, allocations: 2.428 MB / 0.5274 GB, free: 6.199 MB / 430.1 MB Notification: Performance of [SIM] Remove Stream: time 0.00433/0.7221, allocations: 1.57 MB / 0.5289 GB, free: 4.57 MB / 430.1 MB Notification: Performance of [SIM] Detect States: time 0.008063/0.7301, allocations: 4.161 MB / 0.533 GB, free: 372 kB / 430.1 MB Notification: Performance of [SIM] Events: time 0.002462/0.7326, allocations: 0.8739 MB / 0.5338 GB, free: 15.5 MB / 446.1 MB Notification: Performance of [SIM] Partitioning: time 0.01703/0.7496, allocations: 7.012 MB / 0.5407 GB, free: 8.449 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.963091498007998] Failed to read output from testmodel.py, exit status != 0: ['time', 'constantSpeed3.phi', 'constantSpeedM.phi', 'smee3.is[1]', 'smee3.is[2]', 'smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'smee3.stator.strayReluctance.port_p.Phi.im', 'smee3.stator.strayReluctance.port_p.Phi.re', 'smeeM.is[1]', 'smeeM.is[2]', 'smeeM.is[3]', 'smeeM.is[4]', 'smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', 'smeeM.stator.strayReluctance.port_p.Phi.im', 'smeeM.stator.strayReluctance.port_p.Phi.re'] 1.2024838990182616 1.212625623 0.716849284 Calling exit ...