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.001638/0.001638, allocations: 95.66 kB / 21.25 MB, free: 428 kB / 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.00198/0.00198, allocations: 208.2 kB / 24.55 MB, free: 3.727 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.654/1.654, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.225e-05/2.225e-05, allocations: 2.281 kB / 379.1 MB, free: 2.531 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive): time 0.2313/0.2313, allocations: 9.299 MB / 388.4 MB, free: 9.781 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008479/0.2398, allocations: 3.247 MB / 391.6 MB, free: 7.762 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002878/0.2427, allocations: 51.62 kB / 391.7 MB, free: 7.742 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002344/0.245, allocations: 0.616 MB / 392.3 MB, free: 7.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003019/0.248, allocations: 0.6567 MB / 392.9 MB, free: 6.953 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001929/0.25, allocations: 0.5851 MB / 393.5 MB, free: 6.578 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00665/0.2566, allocations: 3.995 MB / 397.5 MB, free: 4.703 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00176/0.2584, allocations: 0.5553 MB / 398.1 MB, free: 4.344 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00304/0.2614, allocations: 1.064 MB / 399.1 MB, free: 3.824 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002834/0.2642, allocations: 0.909 MB / 400.1 MB, free: 3.398 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009799/0.2652, allocations: 209.7 kB / 400.3 MB, free: 3.398 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002642/0.2679, allocations: 455 kB / 400.7 MB, free: 3.328 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.006629/0.2745, allocations: 3.983 MB / 404.7 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.003252/0.2777, allocations: 2.431 MB / 407.1 MB, free: 14.84 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001413/0.2792, allocations: 168.8 kB / 407.3 MB, free: 14.84 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0008854/0.28, allocations: 70.81 kB / 407.4 MB, free: 14.81 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.01866/0.2987, allocations: 10.35 MB / 417.7 MB, free: 6.285 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001889/0.3006, allocations: 0.978 MB / 418.7 MB, free: 5.27 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.006419/0.307, allocations: 4.859 MB / 423.5 MB, free: 356 kB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001745/0.3088, allocations: 0.7995 MB / 424.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.01393/0.3227, allocations: 7.883 MB / 432.2 MB, free: 6.727 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001043/0.3237, allocations: 0.4999 MB / 432.7 MB, free: 6.164 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0003859/0.3241, allocations: 300 kB / 433 MB, free: 5.836 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.001133/0.3253, allocations: 0.8275 MB / 433.8 MB, free: 4.961 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0005414/0.3258, allocations: 318.2 kB / 434.2 MB, free: 4.648 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.00165/0.3274, allocations: 1.274 MB / 435.4 MB, free: 3.262 MB / 334.1 MB Notification: Performance of [SIM] Causalize: time 0.007738/0.3352, allocations: 4.769 MB / 440.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.00294/0.3381, allocations: 2.385 MB / 442.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of [INI] Simplify: time 0.006062/0.3442, allocations: 2.914 MB / 445.5 MB, free: 8.75 MB / 350.1 MB Notification: Performance of [INI] Inline: time 0.005664/0.3498, allocations: 4.966 MB / 450.5 MB, free: 3.766 MB / 350.1 MB Notification: Performance of [INI] Partitioning: time 0.0003194/0.3502, allocations: 119.7 kB / 450.6 MB, free: 3.621 MB / 350.1 MB Notification: Performance of [INI] Cleanup: time 0.001287/0.3515, allocations: 1.079 MB / 451.7 MB, free: 2.527 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.ViNominal = 100.0 - Modelica.Electrical.Machines.Losses.DCMachines.brushVoltageDrop(dcpmData.brushParameters, dcpmData.IaNominal) - dcpmData.Ra * (1.0 + (dcpmData.alpha20a / (1.0 + dcpmData.alpha20a * ((-293.15) + dcpmData.TaRef))) * (dcpmData.TaNominal - dcpmData.TaRef)) * dcpmData.IaNominal ($RES_BND_521); [SCAL] (1) dcpmData.frictionParameters.wRef = dcpmData.wNominal ($RES_BND_517); [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.coreParameters.VRef = dcpmData.ViNominal ($RES_BND_600); [SCAL] (1) dcpmData.frictionParameters.wLinear = dcpmData.frictionParameters.linear * dcpmData.frictionParameters.wRef ($RES_BND_598); [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); Notification: Performance of [INI] Causalize: time 0.03833/0.3898, allocations: 21.54 MB / 473.2 MB, free: 12.51 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 0.002793/0.3926, allocations: 1.667 MB / 474.9 MB, free: 10.8 MB / 382.1 MB Notification: Performance of [SIM] Initialization: time 2.294e-06/0.3926, allocations: 4 kB / 474.9 MB, free: 10.8 MB / 382.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.001669/0.3943, allocations: 0.8234 MB / 475.7 MB, free: 9.879 MB / 382.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.944e-05/0.3943, allocations: 1.312 kB / 475.7 MB, free: 9.875 MB / 382.1 MB Notification: Performance of [SIM] Tearing: time 0.001091/0.3954, allocations: 0.6785 MB / 476.4 MB, free: 9.203 MB / 382.1 MB Notification: Performance of [SIM] Categorize: time 3.592e-05/0.3954, allocations: 4 kB / 476.4 MB, free: 9.199 MB / 382.1 MB Notification: Performance of [SIM] Solve: time 0.008873/0.4043, allocations: 3.978 MB / 480.4 MB, free: 5.25 MB / 382.1 MB Error: Internal error NBJacobian.SparsityColoring.PartialD2ColoringAlgC.getIndices failed because cref pulse2.twoPulse.filter[1].transferFunction[1].u is neither a seed nor a partial candidate! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.5506024310016073] 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.41597166704013944 0.433953747 0.15002611500000002 Calling exit ...