Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 96.03 kB / 21.25 MB, free: 428 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 186.9 kB / 24.53 MB, free: 3.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.606/1.606, allocations: 225.7 MB / 253.4 MB, free: 12.79 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.577e-05/2.577e-05, allocations: 2.281 kB / 371.7 MB, free: 9.148 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking): time 0.2806/0.2807, allocations: 10.07 MB / 381.8 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008479/0.2891, allocations: 3.515 MB / 385.3 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002338/0.2915, allocations: 83.91 kB / 385.4 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003031/0.2945, allocations: 0.8139 MB / 386.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005105/0.2996, allocations: 0.9755 MB / 387.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001802/0.3014, allocations: 497.3 kB / 387.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006417/0.3078, allocations: 3.828 MB / 391.5 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00178/0.3096, allocations: 0.7816 MB / 392.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003346/0.313, allocations: 1.395 MB / 393.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002779/0.3157, allocations: 1.407 MB / 395.1 MB, free: 9.629 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004645/0.3162, allocations: 229.4 kB / 395.3 MB, free: 9.629 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003332/0.3195, allocations: 0.5688 MB / 395.9 MB, free: 9.527 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.00711/0.3266, allocations: 4.691 MB / 400.6 MB, free: 6.539 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.003918/0.3306, allocations: 2.913 MB / 403.5 MB, free: 4.602 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001128/0.3317, allocations: 176.2 kB / 403.7 MB, free: 4.602 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0007058/0.3324, allocations: 59.2 kB / 403.7 MB, free: 4.586 MB / 302.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.02517/0.3576, allocations: 12.81 MB / 416.5 MB, free: 10.17 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.004896/0.3625, allocations: 1.33 MB / 417.9 MB, free: 8.805 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.009405/0.3719, allocations: 6.12 MB / 424 MB, free: 2.625 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002658/0.3745, allocations: 0.9272 MB / 424.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.01522/0.3897, allocations: 8.396 MB / 433.3 MB, free: 8.445 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001402/0.3911, allocations: 0.6945 MB / 434 MB, free: 7.664 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.000575/0.3917, allocations: 408.1 kB / 434.4 MB, free: 7.227 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.001346/0.3931, allocations: 1.01 MB / 435.4 MB, free: 6.152 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0003755/0.3934, allocations: 214.1 kB / 435.6 MB, free: 5.945 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.002279/0.3957, allocations: 1.71 MB / 437.3 MB, free: 4.172 MB / 334.1 MB Error: Internal error NBVariable.makeDummyState failed for $DER.inertiaLoad.phi. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.8696630009799264] 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.4228651199955493 0.43884662199999996 0.103111038 Calling exit ...