Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking.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.001405/0.001405, allocations: 107.6 kB / 21.2 MB, free: 0.6641 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.002248/0.002248, allocations: 205.2 kB / 24.49 MB, free: 3.961 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.559/1.559, allocations: 230.6 MB / 258.3 MB, free: 7.797 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_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.1.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.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.958e-05/1.958e-05, allocations: 2.281 kB / 379 MB, free: 2.512 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking): time 0.1953/0.1954, allocations: 10.04 MB / 389 MB, free: 9.285 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007606/0.203, allocations: 3.408 MB / 392.4 MB, free: 7.121 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001849/0.2048, allocations: 90.12 kB / 392.5 MB, free: 7.082 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002224/0.207, allocations: 0.8315 MB / 393.3 MB, free: 6.664 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002875/0.2099, allocations: 0.9789 MB / 394.3 MB, free: 6.043 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009556/0.2109, allocations: 441.7 kB / 394.7 MB, free: 5.773 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004898/0.2158, allocations: 4.201 MB / 398.9 MB, free: 3.867 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001466/0.2172, allocations: 0.8913 MB / 399.8 MB, free: 3.332 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002681/0.2199, allocations: 1.535 MB / 401.4 MB, free: 2.672 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002243/0.2222, allocations: 1.657 MB / 403 MB, free: 1.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003823/0.2225, allocations: 236.2 kB / 403.2 MB, free: 1.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001838/0.2244, allocations: 0.5764 MB / 403.8 MB, free: 1.594 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.004949/0.2293, allocations: 4.941 MB / 408.8 MB, free: 14.09 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.003398/0.2327, allocations: 3.08 MB / 411.8 MB, free: 11.92 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006239/0.2333, allocations: 180.1 kB / 412 MB, free: 11.92 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0005583/0.2339, allocations: 67.77 kB / 412.1 MB, free: 11.89 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: 739 (410) * Number of variables: 739 (367) Notification: Performance of [SIM] Bindings: time 0.01603/0.2499, allocations: 13.96 MB / 426 MB, free: 13.77 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001609/0.2515, allocations: 1.354 MB / 427.4 MB, free: 12.36 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.006729/0.2583, allocations: 6.494 MB / 433.9 MB, free: 5.801 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001811/0.2601, allocations: 1.105 MB / 435 MB, free: 4.598 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.0124/0.2725, allocations: 8.264 MB / 443.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.00131/0.2738, allocations: 0.8124 MB / 444.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0005544/0.2743, allocations: 436 kB / 444.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.001325/0.2757, allocations: 1.091 MB / 445.6 MB, free: 9.062 MB / 350.1 MB Notification: Performance of [SIM] Events: time 0.0004373/0.2761, allocations: 294.4 kB / 445.9 MB, free: 8.762 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.002219/0.2783, allocations: 1.808 MB / 447.7 MB, free: 6.906 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.687760576605797] 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.30346116703003645 0.318369057 0.081360974 Calling exit ...