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.001802/0.001802, 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.001798/0.001798, 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.554/1.554, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.605e-05/2.605e-05, allocations: 5.375 kB / 378.9 MB, free: 2.469 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking): time 0.2068/0.2068, allocations: 10.1 MB / 389.1 MB, free: 9.336 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008864/0.2157, allocations: 3.59 MB / 392.6 MB, free: 6.957 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002257/0.2179, allocations: 83.97 kB / 392.7 MB, free: 6.922 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002252/0.2202, allocations: 0.8177 MB / 393.5 MB, free: 6.508 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003774/0.224, allocations: 0.9797 MB / 394.5 MB, free: 5.887 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.2252, allocations: 499.1 kB / 395 MB, free: 5.582 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00496/0.2302, allocations: 3.828 MB / 398.8 MB, free: 3.812 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001502/0.2317, allocations: 0.8329 MB / 399.7 MB, free: 3.289 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002888/0.2346, allocations: 1.408 MB / 401.1 MB, free: 2.664 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002219/0.2368, allocations: 1.5 MB / 402.6 MB, free: 1.898 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004006/0.2372, allocations: 229 kB / 402.8 MB, free: 1.898 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001679/0.2389, allocations: 0.5798 MB / 403.4 MB, free: 1.734 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.004349/0.2432, allocations: 4.709 MB / 408.1 MB, free: 14.35 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.003336/0.2466, allocations: 2.913 MB / 411 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006376/0.2472, allocations: 176.8 kB / 411.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0006337/0.2478, allocations: 71.11 kB / 411.2 MB, free: 12.26 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.01612/0.264, allocations: 12.82 MB / 424.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001693/0.2657, allocations: 1.316 MB / 425.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.007127/0.2728, allocations: 6.112 MB / 431.5 MB, free: 8.223 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002327/0.2751, allocations: 1.025 MB / 432.5 MB, free: 7.094 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.01408/0.2892, allocations: 8.193 MB / 440.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001443/0.2906, allocations: 0.7363 MB / 441.4 MB, free: 13.3 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0007272/0.2914, allocations: 404.1 kB / 441.8 MB, free: 12.87 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.001573/0.2929, allocations: 0.9918 MB / 442.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of [SIM] Events: time 0.0004316/0.2934, allocations: 212.6 kB / 443 MB, free: 11.61 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.002239/0.2956, allocations: 1.71 MB / 444.8 MB, free: 9.836 MB / 350.1 MB Error: Internal error NBVariable.makeDummyState failed for $DER.inertiaLoad.phi. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.0430933302268386] 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.3207178949378431 0.33718625100000005 0.086162681 Calling exit ...