Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.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.001906/0.001906, allocations: 103.6 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.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.002086/0.002086, allocations: 212.5 kB / 24.55 MB, free: 3.824 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.615/1.615, allocations: 230.6 MB / 258.3 MB, free: 7.738 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.ControlledDCDrives.CurrentControlledDCPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,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",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM") translateModel(Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,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",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.416e-05, allocations: 2.281 kB / 379.1 MB, free: 2.449 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM): time 0.2547/0.2548, allocations: 12.29 MB / 391.4 MB, free: 8.008 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01165/0.2664, allocations: 4.96 MB / 396.3 MB, free: 4.426 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00477/0.2712, allocations: 71.34 kB / 396.4 MB, free: 4.398 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003995/0.2752, allocations: 0.8174 MB / 397.2 MB, free: 4.016 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003745/0.2789, allocations: 0.5795 MB / 397.8 MB, free: 3.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001709/0.2806, allocations: 0.5158 MB / 398.3 MB, free: 3.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004959/0.2856, allocations: 2.598 MB / 400.9 MB, free: 1.902 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001547/0.2871, allocations: 0.5949 MB / 401.5 MB, free: 1.516 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002144/0.2893, allocations: 0.9091 MB / 402.4 MB, free: 1.027 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009454/0.2902, allocations: 0.7319 MB / 403.1 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003033/0.2905, allocations: 200.7 kB / 403.3 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002089/0.2926, allocations: 0.6319 MB / 404 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.003942/0.2966, allocations: 3.723 MB / 407.7 MB, free: 13.82 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.002344/0.2989, allocations: 2.292 MB / 410 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004552/0.2994, allocations: 155.6 kB / 410.1 MB, free: 12.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0005343/0.2999, allocations: 71.39 kB / 410.2 MB, free: 12.15 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: 375 (375) * Number of variables: 375 (375) Notification: Performance of [SIM] Bindings: time 0.01169/0.3116, allocations: 10.03 MB / 420.2 MB, free: 3.676 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001206/0.3128, allocations: 0.9299 MB / 421.2 MB, free: 2.723 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.005307/0.3181, allocations: 4.52 MB / 425.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001639/0.3197, allocations: 0.7071 MB / 426.4 MB, free: 13.34 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.01494/0.3347, allocations: 8.421 MB / 434.8 MB, free: 4.094 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0007672/0.3355, allocations: 367.6 kB / 435.2 MB, free: 3.684 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.00029/0.3357, allocations: 212.1 kB / 435.4 MB, free: 3.449 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.0008728/0.3366, allocations: 0.5532 MB / 435.9 MB, free: 2.836 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0002952/0.3369, allocations: 139.7 kB / 436.1 MB, free: 2.691 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.001024/0.3379, allocations: 0.777 MB / 436.8 MB, free: 1.871 MB / 334.1 MB Error: Internal error NBVariable.makeDummyState failed for $DER.loadInertia.phi. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.8446493039955385] 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'] 0.3512429029797204 0.36533635299999995 0.062203165000000005 Calling exit ...