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_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.001939/0.001939, allocations: 109.8 kB / 22 MB, free: 5.219 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.002165/0.002165, allocations: 213.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.779/1.779, allocations: 207.7 MB / 236.2 MB, free: 9.766 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_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_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RL") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.285e-05, allocations: 2.281 kB / 348.6 MB, free: 9.324 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RL): time 0.008681/0.008704, allocations: 5.515 MB / 354.1 MB, free: 3.777 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004574/0.01328, allocations: 1.855 MB / 355.9 MB, free: 1.914 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000753/0.01403, allocations: 47.56 kB / 356 MB, free: 1.867 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009739/0.015, allocations: 325.7 kB / 356.3 MB, free: 1.547 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001159/0.01616, allocations: 441.4 kB / 356.7 MB, free: 1.113 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008085/0.01697, allocations: 391.5 kB / 357.1 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003132/0.0201, allocations: 2.698 MB / 359.8 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001059/0.02116, allocations: 0.5769 MB / 360.4 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001419/0.02258, allocations: 0.8805 MB / 361.3 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001312/0.02389, allocations: 0.9421 MB / 362.2 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002483/0.02414, allocations: 160 kB / 362.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003355/0.02448, allocations: 160 kB / 362.5 MB, free: 11.27 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.002662/0.02714, allocations: 2.673 MB / 365.2 MB, free: 8.574 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.00155/0.02869, allocations: 1.666 MB / 366.9 MB, free: 6.891 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002594/0.02895, allocations: 88 kB / 366.9 MB, free: 6.805 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0002953/0.02924, allocations: 47.73 kB / 367 MB, free: 6.758 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: 443 (243) * Number of variables: 443 (206) Notification: Performance of [SIM] Bindings: time 0.00844/0.03768, allocations: 7.214 MB / 374.2 MB, free: 15.32 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0009844/0.03867, allocations: 0.7779 MB / 375 MB, free: 14.52 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.0038/0.04247, allocations: 3.549 MB / 378.5 MB, free: 10.92 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001146/0.04362, allocations: 0.6462 MB / 379.2 MB, free: 10.2 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.007862/0.05148, allocations: 5.124 MB / 384.3 MB, free: 4.625 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0009057/0.05238, allocations: 0.5269 MB / 384.8 MB, free: 4.031 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0004375/0.05282, allocations: 336 kB / 385.2 MB, free: 3.664 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.001185/0.05401, allocations: 0.8417 MB / 386 MB, free: 2.762 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0006554/0.05466, allocations: 370.4 kB / 386.4 MB, free: 2.398 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.00203/0.05669, allocations: 1.413 MB / 387.8 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.2255/0.2822, allocations: 4.046 MB / 391.8 MB, free: 32.66 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003797/0.286, allocations: 3.123 MB / 394.9 MB, free: 32.66 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.003713/0.2897, allocations: 1.827 MB / 396.8 MB, free: 32.26 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.005022/0.2947, allocations: 4.708 MB / 401.5 MB, free: 30.69 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 0.0001861/0.2949, allocations: 69.28 kB / 401.5 MB, free: 30.65 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0009149/0.2958, allocations: 1.027 MB / 402.6 MB, free: 30.02 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.02188/0.3177, allocations: 19.92 MB / 422.5 MB, free: 18.98 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 0.003662/0.3214, allocations: 3.365 MB / 425.9 MB, free: 15.7 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 1.323e-06/0.3214, allocations: 2.688 kB / 425.9 MB, free: 15.7 MB / 318.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0009459/0.3223, allocations: 0.7208 MB / 426.6 MB, free: 14.94 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.052e-05/0.3223, allocations: 5 kB / 426.6 MB, free: 14.93 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 0.0007728/0.3231, allocations: 0.7786 MB / 427.4 MB, free: 14.18 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 3.131e-05/0.3231, allocations: 11.38 kB / 427.4 MB, free: 14.17 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: 2.9696190799586475] 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.33124042296549305 0.340452169 0.30901082900000004 Calling exit ...