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.001581/0.001581, 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.001483/0.001483, allocations: 212.5 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.677/1.677, allocations: 230.6 MB / 258.3 MB, free: 7.762 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.592e-05/2.592e-05, allocations: 5.234 kB / 379.1 MB, free: 2.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource): time 0.26/0.26, allocations: 9.65 MB / 388.7 MB, free: 9.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01088/0.2709, allocations: 3.472 MB / 392.2 MB, free: 7.336 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003452/0.2744, allocations: 84.5 kB / 392.3 MB, free: 7.301 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003317/0.2777, allocations: 0.8157 MB / 393.1 MB, free: 6.883 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005426/0.2831, allocations: 0.9234 MB / 394 MB, free: 6.293 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001749/0.2849, allocations: 462.9 kB / 394.5 MB, free: 6.012 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00653/0.2914, allocations: 3.398 MB / 397.9 MB, free: 4.414 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001957/0.2934, allocations: 0.8474 MB / 398.7 MB, free: 3.914 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003123/0.2965, allocations: 1.307 MB / 400 MB, free: 3.324 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002626/0.2991, allocations: 1.335 MB / 401.4 MB, free: 2.766 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00042/0.2995, allocations: 230.5 kB / 401.6 MB, free: 2.762 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002336/0.3019, allocations: 0.588 MB / 402.2 MB, free: 2.621 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.004687/0.3066, allocations: 4.624 MB / 406.8 MB, free: 15.25 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.00389/0.3104, allocations: 2.833 MB / 409.6 MB, free: 13.24 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00103/0.3115, allocations: 171.2 kB / 409.8 MB, free: 13.24 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0007401/0.3122, allocations: 67.53 kB / 409.9 MB, free: 13.21 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.01681/0.329, allocations: 12.41 MB / 422.3 MB, free: 1.609 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002089/0.3311, allocations: 1.324 MB / 423.6 MB, free: 268 kB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.00738/0.3385, allocations: 6.062 MB / 429.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002218/0.3407, allocations: 0.9129 MB / 430.6 MB, free: 9.121 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.01547/0.3562, allocations: 8.852 MB / 439.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001397/0.3576, allocations: 0.6485 MB / 440.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0005795/0.3582, allocations: 384.1 kB / 440.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.001415/0.3596, allocations: 0.9341 MB / 441.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of [SIM] Events: time 0.000319/0.3599, allocations: 137.6 kB / 441.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.002252/0.3621, allocations: 1.554 MB / 443.1 MB, free: 11.6 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.8388123260228895] Failed to read output from testmodel.py, exit status != 0: ['time', 'smpm.is[1]', 'smpm.is[2]', 'inertiaLoad.w', 'multiSensor.flange_a.phi'] 0.3883597669773735 0.403995639 0.08848299700000001 Calling exit ...