Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM.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.001312/0.001312, 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.00129/0.00129, 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.578/1.578, 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.ControlledDCDrives.PositionControlledDCPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|loadInertia.phi|loadInertia.w|dcpm.la.i|armatureInverter.vDCFilter.y|armatureInverter.iMotFilter.y|armatureInverter.idealDcDc.deadTime.y|armatureInverter.idealDcDc.powerController.y|armatureInverter.vMotFilter.y|armatureInverter.iDCFilter.y|currentController.integrator.y|speedController.integrator.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM") translateModel(Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|loadInertia.phi|loadInertia.w|dcpm.la.i|armatureInverter.vDCFilter.y|armatureInverter.iMotFilter.y|armatureInverter.idealDcDc.deadTime.y|armatureInverter.idealDcDc.powerController.y|armatureInverter.vMotFilter.y|armatureInverter.iDCFilter.y|currentController.integrator.y|speedController.integrator.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.38e-05, allocations: 6.219 kB / 379.1 MB, free: 2.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM): time 0.2788/0.2788, allocations: 13.25 MB / 392.3 MB, free: 7.203 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0155/0.2943, allocations: 5.483 MB / 397.8 MB, free: 3.234 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005999/0.3003, allocations: 86.44 kB / 397.9 MB, free: 3.199 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004199/0.3045, allocations: 0.9158 MB / 398.8 MB, free: 2.754 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005002/0.3095, allocations: 0.6502 MB / 399.4 MB, free: 2.273 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002718/0.3123, allocations: 0.7422 MB / 400.2 MB, free: 1.809 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007677/0.3199, allocations: 3.308 MB / 403.5 MB, free: 112 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002333/0.3223, allocations: 0.7091 MB / 404.2 MB, free: 15.66 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003269/0.3255, allocations: 1.164 MB / 405.4 MB, free: 15 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002377/0.3279, allocations: 0.9459 MB / 406.3 MB, free: 14.31 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004756/0.3284, allocations: 254.9 kB / 406.6 MB, free: 14.31 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003099/0.3315, allocations: 0.6719 MB / 407.2 MB, free: 14.14 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.005053/0.3365, allocations: 4.637 MB / 411.9 MB, free: 10.57 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.003533/0.3401, allocations: 2.871 MB / 414.7 MB, free: 8.512 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009577/0.341, allocations: 177.7 kB / 414.9 MB, free: 8.512 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0009619/0.342, allocations: 94.23 kB / 415 MB, free: 8.469 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: 469 (469) * Number of variables: 469 (469) Notification: Performance of [SIM] Bindings: time 0.01589/0.3579, allocations: 12.32 MB / 427.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001873/0.3598, allocations: 1.18 MB / 428.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.007206/0.367, allocations: 6.135 MB / 434.7 MB, free: 4.902 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002384/0.3693, allocations: 1.027 MB / 435.7 MB, free: 3.797 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.01729/0.3866, allocations: 10.37 MB / 446 MB, free: 8.395 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0009466/0.3876, allocations: 0.5301 MB / 446.6 MB, free: 7.797 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0003696/0.3879, allocations: 312 kB / 446.9 MB, free: 7.453 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.0009766/0.3889, allocations: 0.7999 MB / 447.7 MB, free: 6.594 MB / 350.1 MB Notification: Performance of [SIM] Events: time 0.0005301/0.3895, allocations: 322.9 kB / 448 MB, free: 6.273 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.001687/0.3911, allocations: 1.242 MB / 449.2 MB, free: 4.98 MB / 350.1 MB Error: Internal error NBVariable.makeDummyState failed for $DER.armatureInverter.idealDcDc.powerController.y. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.8441147330449894] Failed to read output from testmodel.py, exit status != 0: ['time', 'loadInertia.phi', 'loadInertia.w', 'dcpm.la.i', 'armatureInverter.vDCFilter.y', 'armatureInverter.iMotFilter.y', 'armatureInverter.idealDcDc.deadTime.y', 'armatureInverter.idealDcDc.powerController.y', 'armatureInverter.vMotFilter.y', 'armatureInverter.iDCFilter.y', 'currentController.integrator.y', 'speedController.integrator.y'] 0.4079472070443444 0.42298184199999994 0.077639833 Calling exit ...