Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive.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.001883/0.001883, allocations: 99.59 kB / 21.2 MB, free: 0.6406 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.002187/0.002187, allocations: 219.4 kB / 24.5 MB, free: 3.926 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.483/1.483, 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.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=75000,variableFilter="time|dcpm.inertiaRotor.phi|dcpm.inertiaRotor.w|inductor.i|lMains.i|meanCurrent.x|meanVoltage.x|pulse2.twoPulse.filter.1..firstOrder.y|pulse2.twoPulse.filter.1..transferFunction.1..x_scaled.1.|pulse2.twoPulse.filter.1..transferFunction.2..x_scaled.1.|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=75000,variableFilter="time|dcpm.inertiaRotor.phi|dcpm.inertiaRotor.w|inductor.i|lMains.i|meanCurrent.x|meanVoltage.x|pulse2.twoPulse.filter.1..firstOrder.y|pulse2.twoPulse.filter.1..transferFunction.1..x_scaled.1.|pulse2.twoPulse.filter.1..transferFunction.2..x_scaled.1.|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.044e-05/2.044e-05, allocations: 2.281 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive): time 0.2343/0.2343, allocations: 9.281 MB / 388.3 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006677/0.241, allocations: 3.242 MB / 391.5 MB, free: 7.746 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001992/0.243, allocations: 51.25 kB / 391.5 MB, free: 7.727 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001895/0.2449, allocations: 0.6197 MB / 392.2 MB, free: 7.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002337/0.2472, allocations: 0.6606 MB / 392.8 MB, free: 6.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001494/0.2487, allocations: 0.5789 MB / 393.4 MB, free: 6.559 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005387/0.2541, allocations: 4.017 MB / 397.4 MB, free: 4.668 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001328/0.2554, allocations: 0.5863 MB / 398 MB, free: 4.277 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002349/0.2578, allocations: 1.067 MB / 399.1 MB, free: 3.754 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001678/0.2595, allocations: 0.9956 MB / 400.1 MB, free: 3.227 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003256/0.2598, allocations: 208.8 kB / 400.3 MB, free: 3.227 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001508/0.2613, allocations: 475.9 kB / 400.7 MB, free: 3.137 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.005096/0.2664, allocations: 3.979 MB / 404.7 MB, free: 408 kB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.003839/0.2702, allocations: 2.432 MB / 407.2 MB, free: 14.67 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007238/0.271, allocations: 163 kB / 407.3 MB, free: 14.67 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0006991/0.2717, allocations: 75.91 kB / 407.4 MB, free: 14.64 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: 373 (370) * Number of variables: 373 (368) Notification: Performance of [SIM] Bindings: time 0.01218/0.2838, allocations: 10.32 MB / 417.7 MB, free: 6.18 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001268/0.2851, allocations: 0.9852 MB / 418.7 MB, free: 5.156 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.005148/0.2903, allocations: 4.859 MB / 423.5 MB, free: 240 kB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001578/0.2918, allocations: 0.8863 MB / 424.4 MB, free: 15.25 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.01188/0.3037, allocations: 7.685 MB / 432.1 MB, free: 6.699 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0008469/0.3046, allocations: 0.5281 MB / 432.6 MB, free: 6.109 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0003546/0.3049, allocations: 304.6 kB / 432.9 MB, free: 5.777 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.001181/0.3061, allocations: 0.8223 MB / 433.8 MB, free: 4.902 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0004999/0.3066, allocations: 321.9 kB / 434.1 MB, free: 4.586 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.001611/0.3082, allocations: 1.278 MB / 435.4 MB, free: 3.191 MB / 334.1 MB Notification: Performance of [SIM] Causalize: time 0.007232/0.3154, allocations: 4.766 MB / 440.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0026/0.318, allocations: 2.377 MB / 442.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of [INI] Simplify: time 0.005316/0.3234, allocations: 3.04 MB / 445.5 MB, free: 8.594 MB / 350.1 MB Notification: Performance of [INI] Inline: time 0.005199/0.3286, allocations: 4.931 MB / 450.5 MB, free: 3.641 MB / 350.1 MB Notification: Performance of [INI] Partitioning: time 0.0002952/0.3289, allocations: 123.8 kB / 450.6 MB, free: 3.492 MB / 350.1 MB Notification: Performance of [INI] Cleanup: time 0.001227/0.3301, allocations: 1.079 MB / 451.7 MB, free: 2.398 MB / 350.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) $SEV_5 = rectifier.thyristor_n2.s < 0.0 or $PRE.rectifier.thyristor_n2.off and not rectifier.thyristor_p1.fire ($RES_EVT_415); [SCAL] (1) $SEV_3 = rectifier.thyristor_p2.s < 0.0 or $PRE.rectifier.thyristor_p2.off and not rectifier.thyristor_p2.fire ($RES_EVT_413); [SCAL] (1) rectifier.thyristor_n1.off = rectifier.offStart_n1 ($RES_SRT_443); [SCAL] (1) rectifier.thyristor_p1.off = rectifier.offStart_p1 ($RES_SRT_441); [SCAL] (1) dcpmData.brushParameters.ILinear = 0.01 * dcpmData.IaNominal ($RES_BND_607); [SCAL] (1) dcpmData.strayLoadParameters.tauRef = if dcpmData.strayLoadParameters.PRef <= 0.0 then 0.0 else dcpmData.strayLoadParameters.PRef / dcpmData.strayLoadParameters.wRef ($RES_BND_606); [SCAL] (1) dcpmData.strayLoadParameters.wRef = dcpmData.wNominal ($RES_BND_605); [SCAL] (1) dcpmData.strayLoadParameters.IRef = dcpmData.IaNominal ($RES_BND_604); [SCAL] (1) dcpmData.coreParameters.wMin = 1e-6 * dcpmData.coreParameters.wRef ($RES_BND_603); [SCAL] (1) dcpmData.coreParameters.wRef = dcpmData.wNominal ($RES_BND_601); [SCAL] (1) dcpmData.frictionParameters.tauRef = if dcpmData.frictionParameters.PRef <= 0.0 then 0.0 else dcpmData.frictionParameters.PRef / dcpmData.frictionParameters.wRef ($RES_BND_597); [SCAL] (1) dcpmData.frictionParameters.wRef = dcpmData.wNominal ($RES_BND_596); Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [PRMT] (1) parameter Real dcpm.frictionParameters.PRef = dcpmData.frictionParameters.PRef (fixed = true, min = 0.0), [PRMT] (1) parameter Real dcpm.coreParameters.PRef = dcpmData.coreParameters.PRef (fixed = true, min = 0.0), [PRMT] (1) final parameter Real dcpm.core.coreParameters.ratioHysteresis = dcpm.coreParameters.ratioHysteresis (fixed = true, start = 0.775, min = 0.0, max = 1.0), [PRMT] (1) final parameter Real dcpm.strayLoad.strayLoadParameters.PRef = dcpm.strayLoadParameters.PRef (fixed = true, min = 0.0), [PRMT] (1) parameter Real dcpmData.strayLoadParameters.power_w = 1.0 (fixed = true, start = 1.0, min = 2.2250738585072014e-308) Following equations were created by fixing variables: [SCAL] (1) $PRE.rectifier.thyristor_p1.off = $START.rectifier.thyristor_p1.off ($RES_SRT_630) [SCAL] (1) $PRE.rectifier.thyristor_p2.off = $START.rectifier.thyristor_p2.off ($RES_SRT_629) [SCAL] (1) $PRE.rectifier.thyristor_n1.off = $START.rectifier.thyristor_n1.off ($RES_SRT_628) [SCAL] (1) $PRE.rectifier.thyristor_n2.off = $START.rectifier.thyristor_n2.off ($RES_SRT_627) [SCAL] (1) $PRE.meanVoltage.x = $START.meanVoltage.x ($RES_SRT_626) [SCAL] (1) $PRE.rootMeanSquareVoltage.mean.x = $START.rootMeanSquareVoltage.mean.x ($RES_SRT_625) [SCAL] (1) $PRE.meanCurrent.x = $START.meanCurrent.x ($RES_SRT_624) Use -d=bltdump for more verbose debug output. Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.2762050330638885] Failed to read output from testmodel.py, exit status != 0: ['time', 'dcpm.inertiaRotor.phi', 'dcpm.inertiaRotor.w', 'inductor.i', 'lMains.i', 'meanCurrent.x', 'meanVoltage.x', 'pulse2.twoPulse.filter[1].firstOrder.y', 'pulse2.twoPulse.filter[1].transferFunction[1].x_scaled[1]', 'pulse2.twoPulse.filter[1].transferFunction[2].x_scaled[1]', 'rootMeanSquareVoltage.mean.x', 'meanCurrent.y', 'meanVoltage.y', 'pulse2.twoPulse.timerNegative[1].entryTime', 'pulse2.twoPulse.timerPositive[1].entryTime', 'rectifier.thyristor_n1.off', 'rectifier.thyristor_n2.off', 'rectifier.thyristor_p1.off', 'rectifier.thyristor_p2.off', 'rootMeanSquareVoltage.mean.y'] 0.3469498851336539 0.36138970800000003 0.08647193 Calling exit ...