Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking.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.001986/0.001986, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 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.002181/0.002181, allocations: 211.2 kB / 24.55 MB, free: 3.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.643/1.643, allocations: 230.7 MB / 258.3 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.is.1.|smpm.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|tauElectrical|tauShaft|wMechanical",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.is.1.|smpm.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|tauElectrical|tauShaft|wMechanical",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.62e-05/2.62e-05, allocations: 6.219 kB / 379.1 MB, free: 2.426 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking): time 0.2773/0.2773, allocations: 10.03 MB / 389.1 MB, free: 9.258 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01226/0.2895, allocations: 3.413 MB / 392.5 MB, free: 7.082 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003789/0.2933, allocations: 85.28 kB / 392.6 MB, free: 7.047 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003778/0.2971, allocations: 0.8298 MB / 393.4 MB, free: 6.633 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004387/0.3015, allocations: 0.984 MB / 394.4 MB, free: 6.008 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001752/0.3032, allocations: 441.2 kB / 394.8 MB, free: 5.738 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006888/0.3101, allocations: 4.204 MB / 399.1 MB, free: 3.832 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001721/0.3119, allocations: 0.8425 MB / 399.9 MB, free: 3.344 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003565/0.3154, allocations: 1.533 MB / 401.4 MB, free: 2.688 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002841/0.3183, allocations: 1.566 MB / 403 MB, free: 1.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007646/0.319, allocations: 237.2 kB / 403.2 MB, free: 1.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002505/0.3215, allocations: 0.5835 MB / 403.8 MB, free: 1.676 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.006684/0.3282, allocations: 4.934 MB / 408.7 MB, free: 14.18 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.004539/0.3328, allocations: 3.094 MB / 411.8 MB, free: 12 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001652/0.3344, allocations: 180.1 kB / 412 MB, free: 12 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.001058/0.3355, allocations: 59.02 kB / 412.1 MB, free: 11.98 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 739 (410) * Number of variables: 739 (367) Notification: Performance of [SIM] Bindings: time 0.03019/0.3657, allocations: 14.01 MB / 426.1 MB, free: 13.77 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.003478/0.3691, allocations: 1.35 MB / 427.4 MB, free: 12.37 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.01139/0.3805, allocations: 6.51 MB / 433.9 MB, free: 5.797 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.00288/0.3834, allocations: 1.02 MB / 435 MB, free: 4.676 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.01707/0.4005, allocations: 8.433 MB / 443.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001638/0.4021, allocations: 0.7953 MB / 444.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0006171/0.4027, allocations: 436 kB / 444.6 MB, free: 10.17 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.001442/0.4042, allocations: 1.101 MB / 445.7 MB, free: 9.008 MB / 350.1 MB Notification: Performance of [SIM] Events: time 0.0005414/0.4047, allocations: 287.7 kB / 446 MB, free: 8.711 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.002266/0.407, allocations: 1.811 MB / 447.8 MB, free: 6.852 MB / 350.1 MB Error: Internal error NBVariable.makeDummyState failed for $DER.inertiaLoad.phi. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.8949805360171013] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertiaLoad.phi', 'inertiaLoad.w', 'smpm.is[1]', 'smpm.is[2]', 'smpm.idq_sr[1]', 'smpm.idq_sr[2]', 'tauElectrical', 'tauShaft', 'wMechanical'] 0.43429875501897186 0.44936697000000003 0.11047681100000001 Calling exit ...