Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse.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.001816/0.001816, 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.002252/0.002252, 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.557/1.557, allocations: 225.7 MB / 253.4 MB, free: 12.77 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.HalfControlledBridge2mPulse,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.1..u|rectifier.pre.2..u|rectifier.pre.3..u|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.HalfControlledBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse,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.1..u|rectifier.pre.2..u|rectifier.pre.3..u|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.HalfControlledBridge2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.208e-05/2.208e-05, allocations: 2.281 kB / 371.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse): time 0.008822/0.008844, allocations: 5.505 MB / 377.2 MB, free: 3.629 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004465/0.01331, allocations: 1.796 MB / 379 MB, free: 1.828 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009442/0.01425, allocations: 55.56 kB / 379.1 MB, free: 1.773 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009836/0.01524, allocations: 317.7 kB / 379.4 MB, free: 1.461 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001427/0.01666, allocations: 445.4 kB / 379.8 MB, free: 1.023 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008566/0.01752, allocations: 388.1 kB / 380.2 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2157/0.2332, allocations: 2.692 MB / 382.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001799/0.235, allocations: 0.5805 MB / 383.5 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002501/0.2375, allocations: 0.8813 MB / 384.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0027/0.2402, allocations: 0.9216 MB / 385.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004374/0.2407, allocations: 158.8 kB / 385.5 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006714/0.2413, allocations: 161.8 kB / 385.6 MB, free: 13.08 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.003512/0.2448, allocations: 2.648 MB / 388.3 MB, free: 12.09 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.002328/0.2472, allocations: 1.65 MB / 389.9 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006065/0.2478, allocations: 89.09 kB / 390 MB, free: 11.24 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0004923/0.2483, allocations: 49.58 kB / 390 MB, free: 11.23 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: 425 (235) * Number of variables: 425 (198) Notification: Performance of [SIM] Bindings: time 0.008418/0.2567, allocations: 7.132 MB / 397.2 MB, free: 7.109 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0009922/0.2577, allocations: 0.7783 MB / 398 MB, free: 6.648 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.003539/0.2612, allocations: 3.482 MB / 401.4 MB, free: 4.629 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0011/0.2623, allocations: 0.6265 MB / 402.1 MB, free: 4.348 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.006495/0.2688, allocations: 4.919 MB / 407 MB, free: 1.508 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0007291/0.2695, allocations: 0.5262 MB / 407.5 MB, free: 1.156 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.000314/0.2699, allocations: 331.1 kB / 407.8 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0007059/0.2706, allocations: 0.8197 MB / 408.6 MB, free: 172 kB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0004686/0.271, allocations: 357.2 kB / 409 MB, free: 15.95 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.001775/0.2728, allocations: 1.402 MB / 410.4 MB, free: 14.96 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.006257/0.2791, allocations: 3.934 MB / 414.3 MB, free: 11.25 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.004154/0.2832, allocations: 3.054 MB / 417.4 MB, free: 8.238 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.005476/0.2887, allocations: 1.855 MB / 419.2 MB, free: 6.293 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.007801/0.2965, allocations: 4.641 MB / 423.9 MB, free: 1.711 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 0.0004836/0.297, allocations: 76.05 kB / 424 MB, free: 1.621 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.002389/0.2994, allocations: 1.019 MB / 425 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.03766/0.337, allocations: 19.39 MB / 444.4 MB, free: 13.14 MB / 350.1 MB Notification: Performance of [INI] Tearing: time 0.005679/0.3427, allocations: 2.566 MB / 446.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of [SIM] Initialization: time 2.615e-06/0.3427, allocations: 0 / 446.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.001764/0.3445, allocations: 0.7314 MB / 447.7 MB, free: 9.801 MB / 350.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.663e-05/0.3445, allocations: 8.469 kB / 447.7 MB, free: 9.797 MB / 350.1 MB Notification: Performance of [SIM] Tearing: time 0.001561/0.346, allocations: 0.7785 MB / 448.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of [SIM] Categorize: time 3.98e-05/0.3461, allocations: 11.56 kB / 448.5 MB, free: 9.016 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_13) [----] for $i1 in 1:3 loop [----] [SCAL] (1) $PRE.rectifier.andCondition_p.y = rectifier.pre[$i1].pre_u_start ($RES_SIM_14) [----] end for;; ### Inner Equations: " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.7918821750208735] 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[1].u', 'rectifier.pre[2].u', 'rectifier.pre[3].u', 'rectifier.thyristor_p.idealThyristor[1].off', 'rectifier.thyristor_p.idealThyristor[2].off', 'rectifier.thyristor_p.idealThyristor[3].off', 'rootMeanSquareVoltage.mean.y'] 0.35548739798832685 0.370239117 0.11869148500000001 Calling exit ...