Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001925/0.001925, allocations: 99.64 kB / 21.25 MB, free: 424 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002483/0.002483, allocations: 215.3 kB / 24.55 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.549/1.549, allocations: 230.5 MB / 258.2 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_R") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.078e-05, allocations: 4.953 kB / 379.1 MB, free: 2.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_R): time 0.2394/0.2394, allocations: 5.56 MB / 384.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004908/0.2443, allocations: 1.88 MB / 386.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001256/0.2456, allocations: 56.78 kB / 386.6 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001054/0.2466, allocations: 325.4 kB / 386.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001609/0.2483, allocations: 455.6 kB / 387.3 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.2493, allocations: 398.3 kB / 387.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003809/0.2531, allocations: 2.879 MB / 390.6 MB, free: 9.008 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.2543, allocations: 0.6154 MB / 391.2 MB, free: 8.641 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001945/0.2562, allocations: 0.9203 MB / 392.1 MB, free: 8.238 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001747/0.2579, allocations: 0.953 MB / 393.1 MB, free: 7.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003733/0.2583, allocations: 164.5 kB / 393.3 MB, free: 7.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005455/0.2589, allocations: 171.5 kB / 393.4 MB, free: 7.836 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.002729/0.2616, allocations: 2.735 MB / 396.2 MB, free: 6.09 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001448/0.263, allocations: 1.706 MB / 397.9 MB, free: 4.977 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003346/0.2634, allocations: 91.62 kB / 398 MB, free: 4.977 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0003673/0.2637, allocations: 44.34 kB / 398 MB, free: 4.961 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: 452 (248) * Number of variables: 452 (207) Notification: Performance of [SIM] Bindings: time 0.009183/0.2729, allocations: 7.398 MB / 405.4 MB, free: 252 kB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001087/0.274, allocations: 0.7686 MB / 406.2 MB, free: 15.62 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.005301/0.2793, allocations: 4.162 MB / 410.3 MB, free: 12.37 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001299/0.2806, allocations: 0.6467 MB / 411 MB, free: 11.94 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.008073/0.2887, allocations: 5.181 MB / 416.2 MB, free: 7.148 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000929/0.2896, allocations: 0.5456 MB / 416.7 MB, free: 6.539 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0005336/0.2901, allocations: 344.1 kB / 417 MB, free: 6.164 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.001279/0.2914, allocations: 0.8736 MB / 417.9 MB, free: 5.234 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0006054/0.292, allocations: 375 kB / 418.3 MB, free: 4.879 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.001901/0.2939, allocations: 1.45 MB / 419.7 MB, free: 3.332 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.006258/0.3002, allocations: 4.105 MB / 423.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003671/0.3039, allocations: 3.223 MB / 427.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of [INI] Simplify: time 0.003916/0.3078, allocations: 1.912 MB / 429 MB, free: 9.789 MB / 334.1 MB Notification: Performance of [INI] Inline: time 0.006363/0.3141, allocations: 5.576 MB / 434.5 MB, free: 4.188 MB / 334.1 MB Notification: Performance of [INI] Partitioning: time 0.0002976/0.3144, allocations: 92.05 kB / 434.6 MB, free: 4.07 MB / 334.1 MB Notification: Performance of [INI] Cleanup: time 0.001298/0.3157, allocations: 1.062 MB / 435.7 MB, free: 2.996 MB / 334.1 MB Notification: Performance of [INI] Causalize: time 0.03403/0.3498, allocations: 20.49 MB / 456.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 0.005984/0.3557, allocations: 3.599 MB / 459.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 2.495e-06/0.3557, allocations: 3.938 kB / 459.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.001417/0.3572, allocations: 0.7442 MB / 460.5 MB, free: 9.602 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.571e-05/0.3572, allocations: 8.938 kB / 460.6 MB, free: 9.594 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 0.001364/0.3585, allocations: 0.8026 MB / 461.4 MB, free: 8.785 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 4.889e-05/0.3586, allocations: 19.92 kB / 461.4 MB, free: 8.766 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.67599885398522] 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.36864175798837095 0.38415013299999995 0.11720065900000001 Calling exit ...