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_RL.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.001442/0.001442, allocations: 103.6 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.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.00171/0.00171, allocations: 212.5 kB / 24.55 MB, free: 3.824 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.565/1.565, allocations: 230.6 MB / 258.3 MB, free: 7.738 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_RL,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.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RL,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.1.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RL") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.122e-05, allocations: 2.281 kB / 379.1 MB, free: 2.387 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RL): time 0.2392/0.2393, allocations: 5.647 MB / 384.8 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00493/0.2442, allocations: 1.894 MB / 386.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/0.2453, allocations: 57.03 kB / 386.7 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.2464, allocations: 333.5 kB / 387 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001446/0.2478, allocations: 459.6 kB / 387.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009815/0.2488, allocations: 410.5 kB / 387.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003596/0.2524, allocations: 2.881 MB / 390.8 MB, free: 8.996 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001099/0.2535, allocations: 0.6182 MB / 391.4 MB, free: 8.625 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001738/0.2552, allocations: 0.9288 MB / 392.3 MB, free: 8.219 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001768/0.257, allocations: 0.9646 MB / 393.3 MB, free: 7.812 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002966/0.2573, allocations: 167 kB / 393.4 MB, free: 7.812 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005578/0.2578, allocations: 170.5 kB / 393.6 MB, free: 7.812 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.002605/0.2605, allocations: 2.785 MB / 396.4 MB, free: 6.031 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.00165/0.2621, allocations: 1.726 MB / 398.1 MB, free: 4.906 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004934/0.2626, allocations: 94.25 kB / 398.2 MB, free: 4.906 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0004529/0.263, allocations: 48.69 kB / 398.2 MB, free: 4.887 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: 458 (254) * Number of variables: 458 (213) Notification: Performance of [SIM] Bindings: time 0.008874/0.2719, allocations: 7.497 MB / 405.7 MB, free: 112 kB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001222/0.2731, allocations: 0.8098 MB / 406.6 MB, free: 15.43 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.005215/0.2784, allocations: 4.228 MB / 410.8 MB, free: 12.11 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001361/0.2797, allocations: 0.6636 MB / 411.4 MB, free: 11.67 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.008551/0.2883, allocations: 5.317 MB / 416.8 MB, free: 6.668 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0009919/0.2893, allocations: 0.549 MB / 417.3 MB, free: 6.055 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0005347/0.2898, allocations: 344.1 kB / 417.6 MB, free: 5.68 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.00142/0.2912, allocations: 0.8751 MB / 418.5 MB, free: 4.75 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0005926/0.2918, allocations: 382.1 kB / 418.9 MB, free: 4.387 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.002001/0.2938, allocations: 1.468 MB / 420.4 MB, free: 2.816 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.006714/0.3005, allocations: 4.125 MB / 424.5 MB, free: 14.55 MB / 334.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003739/0.3043, allocations: 3.243 MB / 427.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of [INI] Simplify: time 0.003851/0.3081, allocations: 1.924 MB / 429.7 MB, free: 9.223 MB / 334.1 MB Notification: Performance of [INI] Inline: time 0.006675/0.3148, allocations: 5.616 MB / 435.3 MB, free: 3.582 MB / 334.1 MB Notification: Performance of [INI] Partitioning: time 0.0002198/0.315, allocations: 84.14 kB / 435.4 MB, free: 3.473 MB / 334.1 MB Notification: Performance of [INI] Cleanup: time 0.001294/0.3163, allocations: 1.07 MB / 436.4 MB, free: 2.391 MB / 334.1 MB Notification: Performance of [INI] Causalize: time 0.03398/0.3503, allocations: 20.73 MB / 457.2 MB, free: 13.24 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 0.006198/0.3565, allocations: 3.594 MB / 460.8 MB, free: 9.602 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 3.627e-06/0.3565, allocations: 0 / 460.8 MB, free: 9.602 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.001408/0.3579, allocations: 0.7595 MB / 461.5 MB, free: 8.746 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.114e-05/0.3579, allocations: 5 kB / 461.5 MB, free: 8.742 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 0.001161/0.3591, allocations: 0.7842 MB / 462.3 MB, free: 7.949 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 2.91e-05/0.3591, allocations: 4 kB / 462.3 MB, free: 7.945 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.7519309489871375] 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.3686075410223566 0.383568533 0.117110059 Calling exit ...