Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_R.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.00165/0.00165, 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.002123/0.002123, allocations: 208.7 kB / 24.55 MB, free: 3.75 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.587/1.587, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.RectifierBridge2mPulse.ThyristorBridge2mPulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2m.twomPulse.timerNegative.1..entryTime|pulse2m.twomPulse.timerNegative.2..entryTime|pulse2m.twomPulse.timerNegative.3..entryTime|pulse2m.twomPulse.timerPositive.1..entryTime|pulse2m.twomPulse.timerPositive.2..entryTime|pulse2m.twomPulse.timerPositive.3..entryTime|rectifier.pre_n.1..u|rectifier.pre_n.2..u|rectifier.pre_n.3..u|rectifier.pre_p.1..u|rectifier.pre_p.2..u|rectifier.pre_p.3..u|rectifier.thyristor_n.idealThyristor.1..off|rectifier.thyristor_n.idealThyristor.2..off|rectifier.thyristor_n.idealThyristor.3..off|rectifier.thyristor_p.idealThyristor.1..off|rectifier.thyristor_p.idealThyristor.2..off|rectifier.thyristor_p.idealThyristor.3..off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2m.twomPulse.timerNegative.1..entryTime|pulse2m.twomPulse.timerNegative.2..entryTime|pulse2m.twomPulse.timerNegative.3..entryTime|pulse2m.twomPulse.timerPositive.1..entryTime|pulse2m.twomPulse.timerPositive.2..entryTime|pulse2m.twomPulse.timerPositive.3..entryTime|rectifier.pre_n.1..u|rectifier.pre_n.2..u|rectifier.pre_n.3..u|rectifier.pre_p.1..u|rectifier.pre_p.2..u|rectifier.pre_p.3..u|rectifier.thyristor_n.idealThyristor.1..off|rectifier.thyristor_n.idealThyristor.2..off|rectifier.thyristor_n.idealThyristor.3..off|rectifier.thyristor_p.idealThyristor.1..off|rectifier.thyristor_p.idealThyristor.2..off|rectifier.thyristor_p.idealThyristor.3..off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_R") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 4e-05/4e-05, allocations: 5.375 kB / 379.1 MB, free: 2.406 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_R): time 0.2573/0.2573, allocations: 5.554 MB / 384.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004482/0.2618, allocations: 1.885 MB / 386.5 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008857/0.2627, allocations: 57.41 kB / 386.6 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009291/0.2636, allocations: 325.7 kB / 386.9 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001398/0.265, allocations: 455.1 kB / 387.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.2661, allocations: 396.4 kB / 387.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003952/0.27, allocations: 2.856 MB / 390.6 MB, free: 9.109 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001188/0.2712, allocations: 0.6152 MB / 391.2 MB, free: 8.742 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001894/0.2731, allocations: 0.9191 MB / 392.1 MB, free: 8.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001666/0.2748, allocations: 0.951 MB / 393.1 MB, free: 7.941 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003045/0.2751, allocations: 166.2 kB / 393.2 MB, free: 7.941 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005084/0.2756, allocations: 167.3 kB / 393.4 MB, free: 7.941 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.002563/0.2781, allocations: 2.738 MB / 396.1 MB, free: 6.191 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.002096/0.2802, allocations: 1.703 MB / 397.9 MB, free: 5.082 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005576/0.2808, allocations: 90.34 kB / 397.9 MB, free: 5.082 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0004985/0.2813, allocations: 46.45 kB / 398 MB, free: 5.066 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 452 (248) * Number of variables: 452 (207) Notification: Performance of [SIM] Bindings: time 0.009092/0.2904, allocations: 7.397 MB / 405.4 MB, free: 360 kB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001059/0.2914, allocations: 0.7583 MB / 406.1 MB, free: 15.76 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.005603/0.297, allocations: 4.167 MB / 410.3 MB, free: 12.51 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001514/0.2985, allocations: 0.6516 MB / 411 MB, free: 12.07 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.009102/0.3077, allocations: 5.188 MB / 416.1 MB, free: 7.344 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0009963/0.3086, allocations: 0.5434 MB / 416.7 MB, free: 6.738 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0004524/0.3091, allocations: 340.1 kB / 417 MB, free: 6.367 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.001133/0.3102, allocations: 0.8755 MB / 417.9 MB, free: 5.438 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0005822/0.3108, allocations: 368.2 kB / 418.3 MB, free: 5.094 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.001835/0.3126, allocations: 1.454 MB / 419.7 MB, free: 3.543 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.006103/0.3188, allocations: 4.104 MB / 423.8 MB, free: 15.3 MB / 334.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003545/0.3223, allocations: 3.219 MB / 427 MB, free: 12.07 MB / 334.1 MB Notification: Performance of [INI] Simplify: time 0.004239/0.3265, allocations: 1.932 MB / 429 MB, free: 9.988 MB / 334.1 MB Notification: Performance of [INI] Inline: time 0.006648/0.3332, allocations: 5.576 MB / 434.5 MB, free: 4.387 MB / 334.1 MB Notification: Performance of [INI] Partitioning: time 0.000315/0.3335, allocations: 80.08 kB / 434.6 MB, free: 4.281 MB / 334.1 MB Notification: Performance of [INI] Cleanup: time 0.001712/0.3352, allocations: 1.066 MB / 435.7 MB, free: 3.203 MB / 334.1 MB Notification: Performance of [INI] Causalize: time 0.03484/0.3701, allocations: 20.5 MB / 456.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 0.006286/0.3763, allocations: 3.601 MB / 459.8 MB, free: 10.65 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 2.835e-06/0.3763, allocations: 0 / 459.8 MB, free: 10.65 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.001538/0.3779, allocations: 0.7516 MB / 460.5 MB, free: 9.801 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.627e-05/0.3779, allocations: 8.938 kB / 460.5 MB, free: 9.793 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 0.001211/0.3791, allocations: 0.8032 MB / 461.4 MB, free: 8.98 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 3.54e-05/0.3791, allocations: 11.94 kB / 461.4 MB, free: 8.969 MB / 366.1 MB Error: Internal error NBSolve.solveStrongComponent failed. Use -d=tearingdump for more information. Error: Internal error NBSolve.solveStrongComponent failed with status = Solve.UNSOLVABLE while trying to solve following strong component: BLOCK: Algebraic Loop (Linear = true, Mixed = true, Homotopy = false, size = 3) --------------------------------------------------------------------------------- Strict Tearing Set ******************** ### Iteration Variables: ### Residual Equations: ### Inner Equations: BLOCK: Algebraic Loop (Linear = false, Mixed = false, Homotopy = false, size = 3) ----------------------------------------------------------------------------------- Strict Tearing Set ******************** ### Iteration Variables: [PRE-] (3) Boolean[3] $PRE.rectifier.andCondition_p.y; ### Residual Equations: [FOR-] (3) ($RES_SIM_15) [----] for $i1 in 1:3 loop [----] [SCAL] (1) $PRE.rectifier.andCondition_p.y = rectifier.pre_p[$i1].pre_u_start ($RES_SIM_16) [----] end for;; ### Inner Equations: " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.7722804640070535] Failed to read output from testmodel.py, exit status != 0: ['time', 'meanCurrent.x', 'meanVoltage.x', 'rootMeanSquareVoltage.mean.x', 'meanCurrent.y', 'meanVoltage.y', 'pulse2m.twomPulse.timerNegative[1].entryTime', 'pulse2m.twomPulse.timerNegative[2].entryTime', 'pulse2m.twomPulse.timerNegative[3].entryTime', 'pulse2m.twomPulse.timerPositive[1].entryTime', 'pulse2m.twomPulse.timerPositive[2].entryTime', 'pulse2m.twomPulse.timerPositive[3].entryTime', 'rectifier.pre_n[1].u', 'rectifier.pre_n[2].u', 'rectifier.pre_n[3].u', 'rectifier.pre_p[1].u', 'rectifier.pre_p[2].u', 'rectifier.pre_p[3].u', 'rectifier.thyristor_n.idealThyristor[1].off', 'rectifier.thyristor_n.idealThyristor[2].off', 'rectifier.thyristor_n.idealThyristor[3].off', 'rectifier.thyristor_p.idealThyristor[1].off', 'rectifier.thyristor_p.idealThyristor[2].off', 'rectifier.thyristor_p.idealThyristor[3].off', 'rootMeanSquareVoltage.mean.y'] 0.3899421379901469 0.40390260399999994 0.11949833799999994 Calling exit ...