Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking.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.001664/0.001664, 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.001772/0.001772, allocations: 218.3 kB / 24.55 MB, free: 3.82 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.517/1.517, allocations: 230.5 MB / 258.2 MB, free: 7.742 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.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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.842e-05/2.842e-05, allocations: 4.109 kB / 379.1 MB, free: 2.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking): time 0.27/0.27, allocations: 10.06 MB / 389.1 MB, free: 9.148 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008339/0.2784, allocations: 3.412 MB / 392.5 MB, free: 6.953 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003061/0.2814, allocations: 85.81 kB / 392.6 MB, free: 6.918 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002907/0.2844, allocations: 0.8282 MB / 393.4 MB, free: 6.504 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004256/0.2886, allocations: 0.9859 MB / 394.4 MB, free: 5.875 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001738/0.2903, allocations: 445.2 kB / 394.9 MB, free: 5.602 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006401/0.2967, allocations: 4.213 MB / 399.1 MB, free: 3.699 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002404/0.2992, allocations: 0.8442 MB / 399.9 MB, free: 3.211 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003659/0.3028, allocations: 1.537 MB / 401.4 MB, free: 2.551 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004396/0.3072, allocations: 1.564 MB / 403 MB, free: 1.688 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00115/0.3084, allocations: 237.2 kB / 403.2 MB, free: 1.688 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00338/0.3117, allocations: 0.5806 MB / 403.8 MB, free: 1.527 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.007366/0.3191, allocations: 4.933 MB / 408.8 MB, free: 14.03 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.004079/0.3232, allocations: 3.088 MB / 411.8 MB, free: 11.85 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00109/0.3243, allocations: 180.1 kB / 412 MB, free: 11.85 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0006686/0.3249, allocations: 63.73 kB / 412.1 MB, free: 11.83 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.01894/0.3439, allocations: 14 MB / 426.1 MB, free: 13.58 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002092/0.346, allocations: 1.354 MB / 427.4 MB, free: 12.17 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.007943/0.3539, allocations: 6.51 MB / 433.9 MB, free: 5.598 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002387/0.3563, allocations: 1.02 MB / 435 MB, free: 4.48 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.01406/0.3704, allocations: 8.428 MB / 443.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001466/0.3718, allocations: 0.8038 MB / 444.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0005732/0.3724, allocations: 432 kB / 444.6 MB, free: 9.973 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.001334/0.3737, allocations: 1.093 MB / 445.7 MB, free: 8.816 MB / 350.1 MB Notification: Performance of [SIM] Events: time 0.0004681/0.3742, allocations: 301.8 kB / 446 MB, free: 8.508 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.002239/0.3764, allocations: 1.811 MB / 447.8 MB, free: 6.648 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.7965488790068775] 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.4032067820080556 0.41606885800000004 0.088091612 Calling exit ...