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_RLV.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.001884/0.001884, allocations: 96.03 kB / 21.25 MB, free: 428 kB / 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.001737/0.001737, allocations: 188.4 kB / 24.53 MB, free: 3.75 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.608/1.608, allocations: 225.7 MB / 253.4 MB, free: 12.76 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_RLV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|inductor.i|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_RLV") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|inductor.i|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_RLV") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.931e-05/1.931e-05, allocations: 2.281 kB / 371.8 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV): time 0.008447/0.008466, allocations: 5.686 MB / 377.5 MB, free: 3.395 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004613/0.01308, allocations: 1.87 MB / 379.3 MB, free: 1.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006784/0.01376, allocations: 55.56 kB / 379.4 MB, free: 1.465 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009754/0.01473, allocations: 333.6 kB / 379.7 MB, free: 1.137 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001194/0.01593, allocations: 461.3 kB / 380.2 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007942/0.01672, allocations: 405.7 kB / 380.6 MB, free: 296 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2415/0.2582, allocations: 2.83 MB / 383.4 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001434/0.2596, allocations: 0.6218 MB / 384 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001885/0.2615, allocations: 0.92 MB / 384.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001404/0.2629, allocations: 0.9668 MB / 385.9 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002869/0.2632, allocations: 173.4 kB / 386.1 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000373/0.2636, allocations: 173.2 kB / 386.2 MB, free: 13 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.002505/0.2661, allocations: 2.804 MB / 389 MB, free: 11.88 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001444/0.2675, allocations: 1.739 MB / 390.8 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004274/0.2679, allocations: 96.53 kB / 390.9 MB, free: 10.85 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0003569/0.2683, allocations: 55.69 kB / 390.9 MB, free: 10.84 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: 464 (260) * Number of variables: 464 (219) Notification: Performance of [SIM] Bindings: time 0.008681/0.277, allocations: 7.576 MB / 398.5 MB, free: 6.43 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001004/0.278, allocations: 0.8006 MB / 399.3 MB, free: 5.977 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.003733/0.2817, allocations: 3.746 MB / 403.1 MB, free: 3.801 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001297/0.283, allocations: 0.668 MB / 403.7 MB, free: 3.5 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.007148/0.2902, allocations: 5.467 MB / 409.2 MB, free: 124 kB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000984/0.2911, allocations: 0.5483 MB / 409.7 MB, free: 15.77 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0004653/0.2916, allocations: 347.4 kB / 410.1 MB, free: 15.48 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.001199/0.2928, allocations: 0.8618 MB / 410.9 MB, free: 14.73 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0006096/0.2934, allocations: 394.6 kB / 411.3 MB, free: 14.44 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.001989/0.2954, allocations: 1.479 MB / 412.8 MB, free: 12.87 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.006693/0.3021, allocations: 4.16 MB / 417 MB, free: 8.609 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.00353/0.3056, allocations: 3.262 MB / 420.2 MB, free: 5.391 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.004192/0.3098, allocations: 1.945 MB / 422.2 MB, free: 3.344 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.00616/0.316, allocations: 4.954 MB / 427.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of [INI] Partitioning: time 0.0003319/0.3163, allocations: 83.08 kB / 427.2 MB, free: 14.33 MB / 334.1 MB Notification: Performance of [INI] Cleanup: time 0.001636/0.3179, allocations: 1.082 MB / 428.3 MB, free: 13.24 MB / 334.1 MB Notification: Performance of [INI] Causalize: time 0.03485/0.3528, allocations: 20.9 MB / 449.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of [INI] Tearing: time 0.006022/0.3588, allocations: 3.61 MB / 452.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of [SIM] Initialization: time 2.755e-06/0.3588, allocations: 0 / 452.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.001454/0.3603, allocations: 0.7747 MB / 453.6 MB, free: 3.684 MB / 350.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.169e-05/0.3603, allocations: 4.188 kB / 453.6 MB, free: 3.684 MB / 350.1 MB Notification: Performance of [SIM] Tearing: time 0.001209/0.3615, allocations: 0.7968 MB / 454.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of [SIM] Categorize: time 4.025e-05/0.3615, allocations: 6.906 kB / 454.4 MB, free: 2.883 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.812230498995632] Failed to read output from testmodel.py, exit status != 0: ['time', 'inductor.i', '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.37110809702426195 0.38658820599999993 0.115170462 Calling exit ...