Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource.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.001733/0.001733, 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.001534/0.001534, allocations: 186.9 kB / 24.53 MB, free: 3.75 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.58/1.58, 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_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.0.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.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.427e-05, allocations: 2.281 kB / 371.7 MB, free: 9.141 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource): time 0.2715/0.2715, allocations: 9.603 MB / 381.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01138/0.2829, allocations: 3.434 MB / 384.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004243/0.2871, allocations: 84.41 kB / 384.9 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003553/0.2907, allocations: 0.8049 MB / 385.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004928/0.2956, allocations: 0.9131 MB / 386.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0018/0.2974, allocations: 463.5 kB / 387 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007235/0.3046, allocations: 3.396 MB / 390.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002654/0.3073, allocations: 0.843 MB / 391.3 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004004/0.3113, allocations: 1.299 MB / 392.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004051/0.3154, allocations: 1.342 MB / 393.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001453/0.3168, allocations: 226.9 kB / 394.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004049/0.3209, allocations: 0.5751 MB / 394.7 MB, free: 9.926 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.006802/0.3277, allocations: 4.604 MB / 399.3 MB, free: 7.145 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.003865/0.3315, allocations: 2.823 MB / 402.1 MB, free: 5.242 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001687/0.3332, allocations: 169.7 kB / 402.3 MB, free: 5.242 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0007645/0.334, allocations: 71.95 kB / 402.4 MB, free: 5.211 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: 659 (417) * Number of variables: 659 (378) Notification: Performance of [SIM] Bindings: time 0.01787/0.3519, allocations: 12.37 MB / 414.7 MB, free: 11.93 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002292/0.3541, allocations: 1.348 MB / 416.1 MB, free: 10.55 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.007914/0.3621, allocations: 6.074 MB / 422.2 MB, free: 4.422 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002263/0.3643, allocations: 0.9014 MB / 423.1 MB, free: 3.414 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.01566/0.38, allocations: 8.865 MB / 431.9 MB, free: 9.738 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.00128/0.3813, allocations: 0.6505 MB / 432.6 MB, free: 9 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0005407/0.3818, allocations: 376.1 kB / 432.9 MB, free: 8.594 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.001233/0.383, allocations: 0.952 MB / 433.9 MB, free: 7.582 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0002581/0.3833, allocations: 134.5 kB / 434 MB, free: 7.453 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.002061/0.3854, allocations: 1.561 MB / 435.6 MB, free: 5.863 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.8535930950311013] Failed to read output from testmodel.py, exit status != 0: ['time', 'smpm.is[1]', 'smpm.is[2]', 'inertiaLoad.w', 'multiSensor.flange_a.phi'] 0.4109268349711783 0.426478178 0.089216522 Calling exit ...