Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource.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.001355/0.001355, allocations: 107.6 kB / 21.25 MB, free: 0.5625 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.001507/0.001507, allocations: 219.1 kB / 24.55 MB, free: 3.82 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.586/1.586, allocations: 230.5 MB / 258.2 MB, free: 7.734 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_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|smpm.is.1.|smpm.is.2.|inertiaLoad.w|multiSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.178e-05, allocations: 4.391 kB / 379.1 MB, free: 2.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource): time 0.1985/0.1985, allocations: 9.643 MB / 388.7 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00932/0.2078, allocations: 3.478 MB / 392.2 MB, free: 7.211 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003035/0.2109, allocations: 84.53 kB / 392.3 MB, free: 7.176 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002735/0.2136, allocations: 0.8182 MB / 393.1 MB, free: 6.758 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004257/0.2179, allocations: 0.9193 MB / 394 MB, free: 6.172 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.2193, allocations: 466.8 kB / 394.5 MB, free: 5.887 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005142/0.2244, allocations: 3.402 MB / 397.9 MB, free: 4.293 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001648/0.2261, allocations: 0.8377 MB / 398.7 MB, free: 3.797 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002973/0.229, allocations: 1.311 MB / 400 MB, free: 3.203 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002716/0.2318, allocations: 1.344 MB / 401.4 MB, free: 2.637 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004431/0.2322, allocations: 228.8 kB / 401.6 MB, free: 2.637 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002376/0.2346, allocations: 0.5805 MB / 402.2 MB, free: 2.484 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.004625/0.2392, allocations: 4.624 MB / 406.8 MB, free: 15.11 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.003689/0.2429, allocations: 2.832 MB / 409.6 MB, free: 13.1 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008931/0.2438, allocations: 176.1 kB / 409.8 MB, free: 13.1 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0007661/0.2445, allocations: 56.44 kB / 409.8 MB, free: 13.08 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.01609/0.2606, allocations: 12.42 MB / 422.3 MB, free: 1.434 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001834/0.2625, allocations: 1.332 MB / 423.6 MB, free: 80 kB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.006606/0.2691, allocations: 6.066 MB / 429.7 MB, free: 9.949 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001796/0.2709, allocations: 0.8973 MB / 430.6 MB, free: 8.949 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.01467/0.2855, allocations: 8.859 MB / 439.4 MB, free: 15.28 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001291/0.2868, allocations: 0.645 MB / 440.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0005528/0.2874, allocations: 380.1 kB / 440.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.001355/0.2887, allocations: 0.9364 MB / 441.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of [SIM] Events: time 0.000305/0.2891, allocations: 138.3 kB / 441.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.002098/0.2911, allocations: 1.546 MB / 443 MB, free: 11.44 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.6594516080222093] Failed to read output from testmodel.py, exit status != 0: ['time', 'smpm.is[1]', 'smpm.is[2]', 'inertiaLoad.w', 'multiSensor.flange_a.phi'] 0.3168865069746971 0.332905086 0.084999555 Calling exit ...