Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking.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.001398/0.001398, allocations: 107.6 kB / 21.25 MB, free: 0.5547 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.00163/0.00163, allocations: 214.1 kB / 24.55 MB, free: 3.824 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.563/1.563, allocations: 230.5 MB / 258.2 MB, free: 7.703 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_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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.467e-05, allocations: 2.281 kB / 379 MB, free: 2.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking): time 0.298/0.2981, allocations: 10.13 MB / 389.2 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009904/0.308, allocations: 3.591 MB / 392.8 MB, free: 6.781 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003141/0.3111, allocations: 83.75 kB / 392.8 MB, free: 6.746 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002799/0.3139, allocations: 0.8086 MB / 393.7 MB, free: 6.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004239/0.3181, allocations: 0.9809 MB / 394.6 MB, free: 5.715 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001473/0.3196, allocations: 0.4929 MB / 395.1 MB, free: 5.406 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005498/0.3251, allocations: 3.838 MB / 399 MB, free: 3.629 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001638/0.3267, allocations: 0.7774 MB / 399.7 MB, free: 3.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00301/0.3298, allocations: 1.411 MB / 401.2 MB, free: 2.535 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003004/0.3328, allocations: 1.41 MB / 402.6 MB, free: 1.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004272/0.3332, allocations: 229.8 kB / 402.8 MB, free: 1.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002302/0.3355, allocations: 0.5789 MB / 403.4 MB, free: 1.684 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.005992/0.3415, allocations: 4.706 MB / 408.1 MB, free: 14.3 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.004268/0.3458, allocations: 2.922 MB / 411 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001177/0.3469, allocations: 177.1 kB / 411.2 MB, free: 12.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0008382/0.3478, allocations: 57.77 kB / 411.2 MB, free: 12.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: 653 (400) * Number of variables: 653 (367) Notification: Performance of [SIM] Bindings: time 0.01798/0.3657, allocations: 12.85 MB / 424.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002255/0.368, allocations: 1.312 MB / 425.4 MB, free: 14.27 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.008524/0.3765, allocations: 6.124 MB / 431.5 MB, free: 8.082 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002529/0.3791, allocations: 0.9387 MB / 432.4 MB, free: 7.039 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.01553/0.3946, allocations: 8.388 MB / 440.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001632/0.3962, allocations: 0.6933 MB / 441.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0006175/0.3968, allocations: 400.1 kB / 441.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.001379/0.3982, allocations: 1.002 MB / 442.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of [SIM] Events: time 0.0004195/0.3986, allocations: 217.1 kB / 443.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.002368/0.401, allocations: 1.714 MB / 444.8 MB, free: 9.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.7753811659640633] 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.4275671630166471 0.44357009999999997 0.09247991100000001 Calling exit ...