Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 104 kB / 21.25 MB, free: 0.5664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 190.7 kB / 24.53 MB, free: 3.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 225.7 MB / 253.4 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_R") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.031e-05, allocations: 2.281 kB / 371.8 MB, free: 9.117 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_R): time 0.008411/0.008431, allocations: 5.525 MB / 377.3 MB, free: 3.562 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004474/0.0129, allocations: 1.835 MB / 379.1 MB, free: 1.723 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006837/0.01359, allocations: 55.56 kB / 379.2 MB, free: 1.668 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009042/0.01449, allocations: 325.7 kB / 379.5 MB, free: 1.348 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001267/0.01576, allocations: 441.5 kB / 379.9 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008705/0.01663, allocations: 395.4 kB / 380.3 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2406/0.2573, allocations: 2.774 MB / 383.1 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001684/0.2589, allocations: 0.6068 MB / 383.7 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002221/0.2612, allocations: 0.9001 MB / 384.6 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001805/0.263, allocations: 0.9501 MB / 385.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003501/0.2633, allocations: 168.5 kB / 385.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004613/0.2638, allocations: 169 kB / 385.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.002958/0.2667, allocations: 2.711 MB / 388.6 MB, free: 12.04 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001839/0.2686, allocations: 1.678 MB / 390.3 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004151/0.269, allocations: 91.69 kB / 390.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0003535/0.2693, allocations: 48.08 kB / 390.4 MB, free: 11.07 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.01058/0.2799, allocations: 7.362 MB / 397.8 MB, free: 6.801 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001264/0.2812, allocations: 0.7774 MB / 398.5 MB, free: 6.363 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.004366/0.2856, allocations: 3.641 MB / 402.2 MB, free: 4.258 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001412/0.287, allocations: 0.6454 MB / 402.8 MB, free: 3.973 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.007362/0.2943, allocations: 5.196 MB / 408 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.00072/0.2951, allocations: 0.5397 MB / 408.6 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0003236/0.2954, allocations: 353.9 kB / 408.9 MB, free: 208 kB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.001018/0.2964, allocations: 0.8421 MB / 409.8 MB, free: 15.48 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0005753/0.297, allocations: 397.5 kB / 410.1 MB, free: 15.24 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.001968/0.2989, allocations: 1.459 MB / 411.6 MB, free: 14.09 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.006498/0.3054, allocations: 4.132 MB / 415.7 MB, free: 9.863 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003825/0.3093, allocations: 3.237 MB / 419 MB, free: 6.672 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.00393/0.3132, allocations: 1.914 MB / 420.9 MB, free: 4.652 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.005416/0.3186, allocations: 4.895 MB / 425.8 MB, free: 15.8 MB / 334.1 MB Notification: Performance of [INI] Partitioning: time 0.00021/0.3188, allocations: 80.03 kB / 425.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of [INI] Cleanup: time 0.00132/0.3201, allocations: 1.065 MB / 426.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of [INI] Causalize: time 0.03253/0.3527, allocations: 20.6 MB / 447.5 MB, free: 9.828 MB / 350.1 MB Notification: Performance of [INI] Tearing: time 0.005686/0.3584, allocations: 3.605 MB / 451.1 MB, free: 6.211 MB / 350.1 MB Notification: Performance of [SIM] Initialization: time 2.886e-06/0.3584, allocations: 0 / 451.1 MB, free: 6.211 MB / 350.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.001501/0.3599, allocations: 0.7473 MB / 451.9 MB, free: 5.395 MB / 350.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.203e-05/0.3599, allocations: 4.281 kB / 451.9 MB, free: 5.395 MB / 350.1 MB Notification: Performance of [SIM] Tearing: time 0.001222/0.3611, allocations: 0.8174 MB / 452.7 MB, free: 4.586 MB / 350.1 MB Notification: Performance of [SIM] Categorize: time 4.427e-05/0.3611, allocations: 7.562 kB / 452.7 MB, free: 4.582 MB / 350.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.709462653961964] 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.37041113496525213 0.38534410300000005 0.11283116500000001 Calling exit ...