Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking.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.001369/0.001369, allocations: 103.6 kB / 21.25 MB, free: 0.5664 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.001814/0.001814, allocations: 210.3 kB / 24.55 MB, free: 3.824 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.611/1.611, allocations: 230.6 MB / 258.3 MB, free: 7.746 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_Braking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.is.1.|smpm.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.is.1.|smpm.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.678e-05/2.678e-05, allocations: 6.219 kB / 379.1 MB, free: 2.445 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking): time 0.2738/0.2738, allocations: 10.12 MB / 389.2 MB, free: 9.324 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009508/0.2833, allocations: 3.588 MB / 392.8 MB, free: 6.941 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003858/0.2872, allocations: 87.97 kB / 392.8 MB, free: 6.902 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003338/0.2905, allocations: 0.8108 MB / 393.7 MB, free: 6.492 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004751/0.2953, allocations: 0.978 MB / 394.6 MB, free: 5.871 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00167/0.2969, allocations: 0.4883 MB / 395.1 MB, free: 5.566 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007347/0.3043, allocations: 3.825 MB / 398.9 MB, free: 3.801 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002232/0.3065, allocations: 0.7802 MB / 399.7 MB, free: 3.332 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003991/0.3105, allocations: 1.406 MB / 401.1 MB, free: 2.707 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003718/0.3142, allocations: 1.407 MB / 402.5 MB, free: 2.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005658/0.3148, allocations: 230.4 kB / 402.8 MB, free: 2.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002824/0.3176, allocations: 0.5757 MB / 403.3 MB, free: 1.859 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.005437/0.323, allocations: 4.705 MB / 408 MB, free: 14.47 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.003936/0.327, allocations: 2.921 MB / 411 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001122/0.3281, allocations: 177.2 kB / 411.1 MB, free: 12.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0008622/0.329, allocations: 58.33 kB / 411.2 MB, free: 12.39 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: 653 (400) * Number of variables: 653 (367) Notification: Performance of [SIM] Bindings: time 0.01952/0.3485, allocations: 12.87 MB / 424.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002313/0.3508, allocations: 1.299 MB / 425.4 MB, free: 14.49 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.008613/0.3594, allocations: 6.12 MB / 431.5 MB, free: 8.305 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002728/0.3621, allocations: 0.9427 MB / 432.4 MB, free: 7.258 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.02127/0.3834, allocations: 8.379 MB / 440.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.002161/0.3856, allocations: 0.6978 MB / 441.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0009159/0.3865, allocations: 404 kB / 441.9 MB, free: 12.92 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.001893/0.3884, allocations: 1.003 MB / 442.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of [SIM] Events: time 0.0005681/0.3889, allocations: 213.8 kB / 443.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.003061/0.392, allocations: 1.71 MB / 444.8 MB, free: 9.875 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.8403689980041236] 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]'] 0.42752704699523747 0.44290579500000005 0.110555177 Calling exit ...