Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM.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.001809/0.001809, allocations: 104 kB / 21.25 MB, free: 0.5664 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.001683/0.001683, allocations: 190.7 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.515/1.515, 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.ControlledDCDrives.PositionControlledDCPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|armatureInverter.iDCFilter.y|armatureInverter.iMotFilter.y|armatureInverter.idealDcDc.deadTime.y|armatureInverter.idealDcDc.powerController.y|armatureInverter.vDCFilter.y|armatureInverter.vMotFilter.y|currentController.integrator.y|dcpm.la.i|loadInertia.phi|loadInertia.w|speedController.integrator.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM") translateModel(Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|armatureInverter.iDCFilter.y|armatureInverter.iMotFilter.y|armatureInverter.idealDcDc.deadTime.y|armatureInverter.idealDcDc.powerController.y|armatureInverter.vDCFilter.y|armatureInverter.vMotFilter.y|currentController.integrator.y|dcpm.la.i|loadInertia.phi|loadInertia.w|speedController.integrator.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.739e-05/3.739e-05, allocations: 2.281 kB / 371.7 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.ControlledDCDrives.PositionControlledDCPM): time 0.2957/0.2958, allocations: 13.09 MB / 384.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01372/0.3095, allocations: 5.34 MB / 390.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004856/0.3143, allocations: 84.94 kB / 390.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003945/0.3183, allocations: 0.924 MB / 391.2 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003866/0.3221, allocations: 0.6584 MB / 391.8 MB, free: 9.996 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002318/0.3245, allocations: 0.748 MB / 392.6 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005786/0.3302, allocations: 3.365 MB / 395.9 MB, free: 7.789 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001915/0.3322, allocations: 0.7178 MB / 396.7 MB, free: 7.332 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00303/0.3352, allocations: 1.164 MB / 397.8 MB, free: 6.715 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001602/0.3368, allocations: 0.9553 MB / 398.8 MB, free: 6.234 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004134/0.3372, allocations: 260.1 kB / 399 MB, free: 6.234 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002334/0.3395, allocations: 0.6865 MB / 399.7 MB, free: 6.105 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.004051/0.3436, allocations: 4.687 MB / 404.4 MB, free: 2.844 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.003082/0.3467, allocations: 2.884 MB / 407.3 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001159/0.3478, allocations: 182 kB / 407.5 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0009101/0.3487, allocations: 95.66 kB / 407.6 MB, free: 0.7617 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: 473 (473) * Number of variables: 473 (473) Notification: Performance of [SIM] Bindings: time 0.01817/0.3669, allocations: 12.42 MB / 420 MB, free: 6.602 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.002145/0.3691, allocations: 1.192 MB / 421.2 MB, free: 5.391 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.009657/0.3787, allocations: 6.202 MB / 427.4 MB, free: 15.13 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002926/0.3816, allocations: 1.028 MB / 428.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.01835/0.4, allocations: 10.51 MB / 438.9 MB, free: 2.465 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001168/0.4012, allocations: 0.542 MB / 439.5 MB, free: 1.852 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0005335/0.4017, allocations: 300.1 kB / 439.7 MB, free: 1.52 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.001395/0.4031, allocations: 0.8114 MB / 440.6 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0006727/0.4038, allocations: 318.8 kB / 440.9 MB, free: 344 kB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.0023/0.4061, allocations: 1.249 MB / 442.1 MB, free: 15.04 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.918825314962305] Failed to read output from testmodel.py, exit status != 0: ['time', 'armatureInverter.iDCFilter.y', 'armatureInverter.iMotFilter.y', 'armatureInverter.idealDcDc.deadTime.y', 'armatureInverter.idealDcDc.powerController.y', 'armatureInverter.vDCFilter.y', 'armatureInverter.vMotFilter.y', 'currentController.integrator.y', 'dcpm.la.i', 'loadInertia.phi', 'loadInertia.w', 'speedController.integrator.y'] 0.424940422992222 0.442645506 0.089505374 Calling exit ...