Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource.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.001614/0.001614, allocations: 99.59 kB / 21.2 MB, free: 0.6406 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.002351/0.002351, allocations: 217.1 kB / 24.5 MB, free: 3.926 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.534/1.534, allocations: 230.6 MB / 258.2 MB, free: 7.785 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_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|smpm.is.1.|smpm.is.2.|inertiaLoad.w|multiSensor.flange_a.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|smpm.is.1.|smpm.is.2.|inertiaLoad.w|multiSensor.flange_a.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.228e-05/2.228e-05, allocations: 10.16 kB / 379 MB, free: 2.543 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource): time 0.1854/0.1854, allocations: 9.636 MB / 388.6 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005114/0.1905, allocations: 3.486 MB / 392.1 MB, free: 7.387 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007056/0.1912, allocations: 84.97 kB / 392.2 MB, free: 7.352 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001566/0.1928, allocations: 0.8185 MB / 393 MB, free: 6.934 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001859/0.1946, allocations: 0.9244 MB / 393.9 MB, free: 6.344 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008142/0.1955, allocations: 471.4 kB / 394.4 MB, free: 6.055 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002928/0.1984, allocations: 3.393 MB / 397.8 MB, free: 4.465 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001255/0.1996, allocations: 0.8888 MB / 398.6 MB, free: 3.918 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001505/0.2011, allocations: 1.312 MB / 400 MB, free: 3.324 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001324/0.2025, allocations: 1.449 MB / 401.4 MB, free: 2.645 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003043/0.2028, allocations: 226 kB / 401.6 MB, free: 2.645 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001296/0.2041, allocations: 0.5978 MB / 402.2 MB, free: 2.5 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.003126/0.2072, allocations: 4.625 MB / 406.8 MB, free: 15.12 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.002942/0.2101, allocations: 2.827 MB / 409.7 MB, free: 13.12 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004809/0.2106, allocations: 171.6 kB / 409.8 MB, free: 13.12 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.00044/0.2111, allocations: 66.86 kB / 409.9 MB, free: 13.09 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: 659 (417) * Number of variables: 659 (378) Notification: Performance of [SIM] Bindings: time 0.02022/0.2313, allocations: 12.4 MB / 422.3 MB, free: 1.539 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002476/0.2338, allocations: 1.325 MB / 423.6 MB, free: 188 kB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.009981/0.2437, allocations: 6.059 MB / 429.7 MB, free: 10.06 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002844/0.2466, allocations: 1.007 MB / 430.7 MB, free: 8.953 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.02036/0.2669, allocations: 8.632 MB / 439.3 MB, free: 15.47 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001851/0.2688, allocations: 0.6875 MB / 440 MB, free: 14.7 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0008155/0.2696, allocations: 380.1 kB / 440.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.001702/0.2713, allocations: 0.9325 MB / 441.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of [SIM] Events: time 0.0003278/0.2716, allocations: 140.8 kB / 441.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.003017/0.2747, allocations: 1.561 MB / 443 MB, free: 11.57 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.804123674053699] Failed to read output from testmodel.py, exit status != 0: ['time', 'smpm.is[1]', 'smpm.is[2]', 'inertiaLoad.w', 'multiSensor.flange_a.phi'] 0.303394575137645 0.318106755 0.10407956600000001 Calling exit ...