Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_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.001914/0.001914, allocations: 110.1 kB / 21.99 MB, free: 4.59 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.001998/0.001998, allocations: 218 kB / 25.3 MB, free: 2.902 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.7/1.7, allocations: 207.7 MB / 236.2 MB, free: 9.762 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.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|inertiaLoadQS.phi|inertiaLoadQS.w|currentController.y.1.|currentController.y.2.|currentController.y.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|inertiaLoadQS.phi|inertiaLoadQS.w|currentController.y.1.|currentController.y.2.|currentController.y.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.039e-05/3.039e-05, allocations: 2.281 kB / 348.6 MB, free: 9.309 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMR_CurrentSource): time 0.0469/0.04693, allocations: 34.29 MB / 382.9 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3149/0.3618, allocations: 10.27 MB / 393.1 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01275/0.3746, allocations: 321 kB / 393.4 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02437/0.3989, allocations: 8.05 MB / 401.5 MB, free: 14.49 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0199/0.4188, allocations: 3.703 MB / 405.2 MB, free: 14.37 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0099/0.4287, allocations: 2.374 MB / 407.6 MB, free: 14.08 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02449/0.4532, allocations: 13.79 MB / 421.4 MB, free: 8.008 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02237/0.4756, allocations: 12.71 MB / 434.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01594/0.4915, allocations: 6.34 MB / 440.4 MB, free: 9.176 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01549/0.507, allocations: 6.751 MB / 447.2 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00617/0.5132, allocations: 1.391 MB / 448.5 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.011/0.5242, allocations: 2.034 MB / 450.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.03294/0.5571, allocations: 19.59 MB / 470.2 MB, free: 12.86 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.01734/0.5745, allocations: 11.65 MB / 481.8 MB, free: 1.617 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009731/0.5842, allocations: 0.6172 MB / 482.4 MB, free: 1 MB / 366.1 MB Notification: Performance of FrontEnd: time 0.002375/0.5866, allocations: 142.8 kB / 482.6 MB, free: 0.8633 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3536 (1997) * Number of variables: 3512 (1578) Notification: Performance of [SIM] Bindings: time 0.1408/0.7274, allocations: 63.76 MB / 0.5335 GB, free: 2.719 MB / 430.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.02536/0.7527, allocations: 8.654 MB / 0.542 GB, free: 10.06 MB / 446.1 MB Notification: Performance of [SIM] Early Inline: time 0.4297/1.182, allocations: 52.02 MB / 0.5928 GB, free: 60.54 MB / 446.1 MB Notification: Performance of [SIM] Simplify 1: time 0.02136/1.204, allocations: 6.033 MB / 0.5987 GB, free: 58.45 MB / 446.1 MB Notification: Performance of [SIM] Alias: time 0.06525/1.269, allocations: 32.78 MB / 0.6307 GB, free: 36.52 MB / 446.1 MB Notification: Performance of [SIM] Simplify 2: time 0.01821/1.287, allocations: 5.437 MB / 0.636 GB, free: 33.82 MB / 446.1 MB Notification: Performance of [SIM] Remove Stream: time 0.01014/1.297, allocations: 3.329 MB / 0.6393 GB, free: 31.24 MB / 446.1 MB Notification: Performance of [SIM] Detect States: time 0.01898/1.316, allocations: 8.478 MB / 0.6475 GB, free: 24.02 MB / 446.1 MB Notification: Performance of [SIM] Events: time 0.005359/1.322, allocations: 1.311 MB / 0.6488 GB, free: 23.21 MB / 446.1 MB Notification: Performance of [SIM] Partitioning: time 0.04057/1.362, allocations: 14.67 MB / 0.6631 GB, free: 13.7 MB / 446.1 MB Error: Internal error NBVariable.makeDummyState failed for $DER.inertiaLoad.phi. " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 4.076987260021269] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertiaLoad.phi', 'inertiaLoad.w', 'inertiaLoadQS.phi', 'inertiaLoadQS.w', 'currentController.y[1]', 'currentController.y[2]', 'currentController.y[3]'] 1.3981419170158915 1.4140629359999999 0.82352725 Calling exit ...