Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.002256/0.002256, allocations: 111.4 kB / 21.99 MB, free: 4.555 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.001715/0.001715, allocations: 213.5 kB / 25.3 MB, free: 2.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.716/1.716, allocations: 207.7 MB / 236.2 MB, free: 9.754 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.612e-05/2.612e-05, allocations: 6.219 kB / 348.6 MB, free: 9.332 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_DC_Drive): time 0.01365/0.01368, allocations: 9.147 MB / 357.7 MB, free: 136 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007981/0.02166, allocations: 3.219 MB / 360.9 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002071/0.02373, allocations: 47.69 kB / 361 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00222/0.02595, allocations: 0.6207 MB / 361.6 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002589/0.02854, allocations: 0.6476 MB / 362.2 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001659/0.0302, allocations: 0.554 MB / 362.8 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005647/0.03585, allocations: 3.902 MB / 366.7 MB, free: 7.109 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001424/0.03727, allocations: 0.538 MB / 367.2 MB, free: 6.531 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002055/0.03933, allocations: 1.036 MB / 368.3 MB, free: 5.492 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00142/0.04075, allocations: 0.8903 MB / 369.2 MB, free: 4.598 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003178/0.04107, allocations: 204 kB / 369.4 MB, free: 4.398 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001242/0.04231, allocations: 451.5 kB / 369.8 MB, free: 3.957 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.003951/0.04626, allocations: 3.897 MB / 373.7 MB, free: 24 kB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.002679/0.04894, allocations: 2.376 MB / 376.1 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004537/0.04939, allocations: 160 kB / 376.2 MB, free: 13.46 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0005302/0.04992, allocations: 67.67 kB / 376.3 MB, free: 13.39 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: 366 (363) * Number of variables: 366 (361) Notification: Performance of [SIM] Bindings: time 0.01242/0.06234, allocations: 10.16 MB / 386.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001848/0.06419, allocations: 0.9731 MB / 387.4 MB, free: 1.883 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.2618/0.326, allocations: 4.761 MB / 392.2 MB, free: 29.7 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.002363/0.3284, allocations: 0.7758 MB / 393 MB, free: 29.44 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.0133/0.3417, allocations: 7.669 MB / 400.6 MB, free: 27.4 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001177/0.3428, allocations: 0.5032 MB / 401.1 MB, free: 27.19 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.000347/0.3432, allocations: 289.7 kB / 401.4 MB, free: 26.99 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.001229/0.3444, allocations: 0.806 MB / 402.2 MB, free: 26.47 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0005349/0.345, allocations: 326.3 kB / 402.5 MB, free: 26.34 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.001573/0.3465, allocations: 1.244 MB / 403.8 MB, free: 25.64 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.007644/0.3542, allocations: 4.7 MB / 408.5 MB, free: 24.18 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002111/0.3563, allocations: 2.335 MB / 410.8 MB, free: 22.88 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.005287/0.3616, allocations: 2.884 MB / 413.7 MB, free: 21.45 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.003731/0.3653, allocations: 4.882 MB / 418.6 MB, free: 17.79 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 0.0002598/0.3656, allocations: 120.9 kB / 418.7 MB, free: 17.71 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0007889/0.3663, allocations: 1.063 MB / 419.8 MB, free: 16.82 MB / 318.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_408); [SCAL] (1) $SEV_3 = rectifier.thyristor_p2.s < 0.0 or $PRE.rectifier.thyristor_p2.off and not rectifier.thyristor_p2.fire ($RES_EVT_406); [SCAL] (1) rectifier.thyristor_n1.off = rectifier.offStart_n1 ($RES_SRT_435); [SCAL] (1) rectifier.thyristor_p1.off = rectifier.offStart_p1 ($RES_SRT_433); [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_510); [SCAL] (1) dcpmData.frictionParameters.wRef = dcpmData.wNominal ($RES_BND_506); [SCAL] (1) dcpmData.brushParameters.ILinear = 0.01 * dcpmData.IaNominal ($RES_BND_596); [SCAL] (1) dcpmData.strayLoadParameters.tauRef = if dcpmData.strayLoadParameters.PRef <= 0.0 then 0.0 else dcpmData.strayLoadParameters.PRef / dcpmData.strayLoadParameters.wRef ($RES_BND_595); [SCAL] (1) dcpmData.strayLoadParameters.wRef = dcpmData.wNominal ($RES_BND_594); [SCAL] (1) dcpmData.strayLoadParameters.IRef = dcpmData.IaNominal ($RES_BND_593); [SCAL] (1) dcpmData.coreParameters.wMin = 1e-6 * dcpmData.coreParameters.wRef ($RES_BND_592); [SCAL] (1) dcpmData.coreParameters.wRef = dcpmData.wNominal ($RES_BND_590); [SCAL] (1) dcpmData.coreParameters.VRef = dcpmData.ViNominal ($RES_BND_589); [SCAL] (1) dcpmData.frictionParameters.wLinear = dcpmData.frictionParameters.linear * dcpmData.frictionParameters.wRef ($RES_BND_587); [SCAL] (1) dcpmData.frictionParameters.tauRef = if dcpmData.frictionParameters.PRef <= 0.0 then 0.0 else dcpmData.frictionParameters.PRef / dcpmData.frictionParameters.wRef ($RES_BND_586); [SCAL] (1) dcpmData.frictionParameters.wRef = dcpmData.wNominal ($RES_BND_585); Notification: Performance of [INI] Causalize: time 0.0289/0.3952, allocations: 21.17 MB / 440.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of [INI] Tearing: time 0.003329/0.3986, allocations: 1.66 MB / 442.6 MB, free: 10.53 MB / 334.1 MB Notification: Performance of [SIM] Initialization: time 3.266e-06/0.3986, allocations: 0 / 442.6 MB, free: 10.53 MB / 334.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.001742/0.4003, allocations: 0.7859 MB / 443.4 MB, free: 9.676 MB / 334.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.782e-05/0.4003, allocations: 5.312 kB / 443.4 MB, free: 9.668 MB / 334.1 MB Notification: Performance of [SIM] Tearing: time 0.001301/0.4016, allocations: 0.6664 MB / 444 MB, free: 9.004 MB / 334.1 MB Notification: Performance of [SIM] Categorize: time 4.72e-05/0.4017, allocations: 10.73 kB / 444.1 MB, free: 8.996 MB / 334.1 MB Notification: Performance of [SIM] Solve: time 0.009464/0.4111, allocations: 3.895 MB / 448 MB, free: 5.121 MB / 334.1 MB Error: Internal error NBJacobian.SparsityColoring.PartialD2ColoringAlgC.getIndices failed because cref pulse2.twoPulse.filter[1].transferFunction[2].y is neither a seed nor a partial candidate! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.6972599839791656] 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.422179788001813 0.43713762700000003 0.383960387 Calling exit ...