Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001793/0.001793, allocations: 109.2 kB / 22 MB, free: 5.227 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.002037/0.002037, allocations: 217.5 kB / 25.3 MB, free: 2.895 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.833/1.833, allocations: 207.7 MB / 236.2 MB, free: 9.762 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.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_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_R") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.431e-05/2.431e-05, allocations: 2.281 kB / 348.6 MB, free: 9.414 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_R): time 0.01134/0.01136, allocations: 5.425 MB / 354 MB, free: 3.957 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006202/0.01756, allocations: 1.836 MB / 355.8 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001569/0.01913, allocations: 47.56 kB / 355.9 MB, free: 2.066 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001368/0.0205, allocations: 325.7 kB / 356.2 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002074/0.02258, allocations: 433.5 kB / 356.6 MB, free: 1.32 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.0239, allocations: 383.5 kB / 357 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004792/0.02869, allocations: 2.659 MB / 359.7 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001602/0.03029, allocations: 0.5685 MB / 360.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002086/0.03238, allocations: 0.8727 MB / 361.1 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001991/0.03437, allocations: 0.9149 MB / 362 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003233/0.03469, allocations: 164 kB / 362.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004684/0.03516, allocations: 160 kB / 362.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.003401/0.03856, allocations: 2.627 MB / 364.9 MB, free: 8.918 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.002165/0.04073, allocations: 1.639 MB / 366.6 MB, free: 7.262 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003941/0.04112, allocations: 88 kB / 366.7 MB, free: 7.176 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0004581/0.04158, allocations: 47.73 kB / 366.7 MB, free: 7.129 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: 437 (237) * Number of variables: 437 (200) Notification: Performance of [SIM] Bindings: time 0.01218/0.05376, allocations: 7.089 MB / 373.8 MB, free: 15.83 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001612/0.05537, allocations: 0.796 MB / 374.6 MB, free: 14.99 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.005724/0.0611, allocations: 3.502 MB / 378.1 MB, free: 11.44 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001657/0.06276, allocations: 0.6304 MB / 378.7 MB, free: 10.73 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.01168/0.07443, allocations: 5.015 MB / 383.8 MB, free: 5.277 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001449/0.07588, allocations: 0.5181 MB / 384.3 MB, free: 4.691 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.000557/0.07644, allocations: 332.1 kB / 384.6 MB, free: 4.328 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.001495/0.07793, allocations: 0.8187 MB / 385.4 MB, free: 3.453 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0008096/0.07874, allocations: 369.6 kB / 385.8 MB, free: 3.09 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.002368/0.08111, allocations: 1.403 MB / 387.2 MB, free: 1.59 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.2555/0.3366, allocations: 4.025 MB / 391.2 MB, free: 32.46 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003538/0.3402, allocations: 3.105 MB / 394.3 MB, free: 32.46 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.00377/0.3439, allocations: 1.835 MB / 396.1 MB, free: 32.05 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.005247/0.3492, allocations: 4.662 MB / 400.8 MB, free: 30.62 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 0.0002117/0.3494, allocations: 71.81 kB / 400.9 MB, free: 30.58 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0009707/0.3504, allocations: 1.019 MB / 401.9 MB, free: 29.95 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.02453/0.3749, allocations: 19.72 MB / 421.6 MB, free: 20.16 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 0.003822/0.3787, allocations: 3.373 MB / 425 MB, free: 16.87 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 2.234e-06/0.3787, allocations: 0 / 425 MB, free: 16.87 MB / 318.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.001001/0.3797, allocations: 0.7225 MB / 425.7 MB, free: 16.11 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.548e-06/0.3797, allocations: 5 kB / 425.7 MB, free: 16.11 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 0.0007497/0.3805, allocations: 0.7842 MB / 426.5 MB, free: 15.34 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 3.187e-05/0.3805, allocations: 7.562 kB / 426.5 MB, free: 15.34 MB / 318.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: 3.076959385012742] 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.38987331598764285 0.397055194 0.35321366000000004 Calling exit ...