Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking.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.001342/0.001342, allocations: 104 kB / 21.25 MB, free: 0.5547 MB / 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.001365/0.001365, allocations: 196.4 kB / 24.53 MB, free: 3.852 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.564/1.564, allocations: 225.7 MB / 253.4 MB, free: 12.8 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_ResistiveBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.is.1.|smpm.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|tauElectrical|tauShaft|wMechanical",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.is.1.|smpm.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|tauElectrical|tauShaft|wMechanical",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.055e-05, allocations: 2.281 kB / 371.7 MB, free: 9.238 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking): time 0.2092/0.2092, allocations: 10 MB / 381.7 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00724/0.2165, allocations: 3.358 MB / 385.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0014/0.2179, allocations: 89.34 kB / 385.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00218/0.2201, allocations: 0.8167 MB / 386 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003063/0.2231, allocations: 0.9821 MB / 387 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.2242, allocations: 439.8 kB / 387.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006002/0.2302, allocations: 4.205 MB / 391.6 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001678/0.2319, allocations: 0.8447 MB / 392.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003426/0.2353, allocations: 1.528 MB / 394 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003416/0.2387, allocations: 1.57 MB / 395.6 MB, free: 9.559 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004757/0.2392, allocations: 237.4 kB / 395.8 MB, free: 9.559 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002256/0.2415, allocations: 0.5667 MB / 396.4 MB, free: 9.465 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.004488/0.2459, allocations: 4.921 MB / 401.3 MB, free: 6.395 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.002587/0.2485, allocations: 3.071 MB / 404.4 MB, free: 4.281 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006351/0.2492, allocations: 180.1 kB / 404.5 MB, free: 4.281 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0007039/0.2499, allocations: 67.64 kB / 404.6 MB, free: 4.258 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: 739 (410) * Number of variables: 739 (367) Notification: Performance of [SIM] Bindings: time 0.01726/0.2671, allocations: 13.96 MB / 418.6 MB, free: 8.188 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001832/0.269, allocations: 1.35 MB / 419.9 MB, free: 6.789 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.008099/0.2771, allocations: 6.502 MB / 426.4 MB, free: 232 kB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002764/0.2798, allocations: 1.037 MB / 427.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.01443/0.2942, allocations: 8.422 MB / 435.9 MB, free: 5.926 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001633/0.2959, allocations: 0.7956 MB / 436.7 MB, free: 5.047 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0006079/0.2965, allocations: 440 kB / 437.1 MB, free: 4.578 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.001397/0.2979, allocations: 1.097 MB / 438.2 MB, free: 3.418 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0005444/0.2984, allocations: 297.2 kB / 438.5 MB, free: 3.113 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.002319/0.3007, allocations: 1.808 MB / 440.3 MB, free: 1.254 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.649849053006619] 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]', 'tauElectrical', 'tauShaft', 'wMechanical'] 0.32728670502547175 0.341343441 0.08846060500000001 Calling exit ...