Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.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.002124/0.002124, allocations: 99.64 kB / 21.25 MB, free: 424 kB / 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.003011/0.003011, allocations: 215.3 kB / 24.55 MB, free: 3.719 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.62/1.62, allocations: 230.5 MB / 258.2 MB, free: 7.73 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.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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.755e-05/3.755e-05, allocations: 2.281 kB / 379.1 MB, free: 2.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM): time 0.2368/0.2369, allocations: 12.29 MB / 391.3 MB, free: 7.875 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0105/0.2474, allocations: 4.975 MB / 396.3 MB, free: 4.285 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002913/0.2503, allocations: 70.84 kB / 396.4 MB, free: 4.258 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00261/0.2529, allocations: 0.8189 MB / 397.2 MB, free: 3.875 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001831/0.2547, allocations: 0.5815 MB / 397.8 MB, free: 3.445 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009817/0.2557, allocations: 0.509 MB / 398.3 MB, free: 3.113 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002451/0.2582, allocations: 2.597 MB / 400.9 MB, free: 1.766 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.2592, allocations: 0.6025 MB / 401.5 MB, free: 1.367 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001358/0.2606, allocations: 0.9035 MB / 402.4 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000874/0.2614, allocations: 0.7372 MB / 403.1 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002903/0.2617, allocations: 200.3 kB / 403.3 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001714/0.2634, allocations: 0.6269 MB / 404 MB, free: 388 kB / 302.1 MB Notification: Performance of combineBinaries: time 0.003221/0.2667, allocations: 3.717 MB / 407.7 MB, free: 13.67 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.001869/0.2685, allocations: 2.301 MB / 410 MB, free: 12.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004022/0.2689, allocations: 157.4 kB / 410.1 MB, free: 12.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0005098/0.2694, allocations: 66.59 kB / 410.2 MB, free: 12 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.009994/0.2794, allocations: 10.02 MB / 420.2 MB, free: 3.477 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001046/0.2805, allocations: 0.9337 MB / 421.2 MB, free: 2.52 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.004697/0.2852, allocations: 4.519 MB / 425.7 MB, free: 13.94 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001394/0.2866, allocations: 0.7055 MB / 426.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.01386/0.3004, allocations: 8.43 MB / 434.8 MB, free: 3.879 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0006333/0.3011, allocations: 366.1 kB / 435.2 MB, free: 3.469 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.000245/0.3013, allocations: 208.1 kB / 435.4 MB, free: 3.238 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.000693/0.302, allocations: 0.5536 MB / 435.9 MB, free: 2.625 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0002449/0.3023, allocations: 131.7 kB / 436.1 MB, free: 2.488 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.001017/0.3033, allocations: 0.7808 MB / 436.8 MB, free: 1.664 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.894373775983695] 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.316554511024151 0.33574754700000004 0.061902872000000005 Calling exit ...