Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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=1000,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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 114.4 kB / 18.41 MB, free: 4.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 179.1 kB / 19.34 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.308/1.308, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 55.92 kB / 329.2 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07135/0.07253, allocations: 46.61 MB / 375.8 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse): time 0.1499/0.2225, allocations: 5.934 MB / 381.8 MB, free: 9.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003181/0.2257, allocations: 1.867 MB / 383.6 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007634/0.2265, allocations: 33.81 kB / 383.7 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007431/0.2273, allocations: 312.8 kB / 384 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009211/0.2282, allocations: 420 kB / 384.4 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000636/0.2289, allocations: 373.6 kB / 384.8 MB, free: 9.117 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001757/0.2306, allocations: 2.165 MB / 386.9 MB, free: 8.094 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001602/0.2323, allocations: 1.712 MB / 388.6 MB, free: 7.402 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008708/0.2331, allocations: 0.9508 MB / 389.6 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.2342, allocations: 1.068 MB / 390.7 MB, free: 6.391 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003104/0.2345, allocations: 261 kB / 390.9 MB, free: 6.387 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003826/0.2349, allocations: 256.3 kB / 391.2 MB, free: 6.387 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000493/0.2354, allocations: 0.6379 MB / 391.8 MB, free: 6.012 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008775/0.2363, allocations: 1.074 MB / 392.9 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002588/0.2389, allocations: 3.194 MB / 396.1 MB, free: 4.109 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2389, allocations: 1.031 kB / 396.1 MB, free: 4.109 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2389, allocations: 0.6562 kB / 396.1 MB, free: 4.109 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.901e-05/0.2389, allocations: 0 / 396.1 MB, free: 4.109 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.003829/0.2428, allocations: 2.324 MB / 398.4 MB, free: 2.766 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2428, allocations: 8.938 kB / 398.4 MB, free: 2.766 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003134/0.2431, allocations: 209.7 kB / 398.6 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001808/0.2449, allocations: 1.195 MB / 399.8 MB, free: 1.953 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.539e-05/0.245, allocations: 130.3 kB / 399.9 MB, free: 1.895 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000227/0.2453, allocations: 170 kB / 400.1 MB, free: 1.836 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003202/0.2485, allocations: 2.253 MB / 402.3 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.329e-05/0.2485, allocations: 0 / 402.3 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001578/0.2487, allocations: 67.39 kB / 402.4 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.59e-05/0.2488, allocations: 65.83 kB / 402.5 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003094/0.2519, allocations: 1.945 MB / 404.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009433/0.2613, allocations: 6.387 MB / 410.8 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00213/0.2634, allocations: 1.5 MB / 412.3 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001979/0.2654, allocations: 1.165 MB / 413.5 MB, free: 9.531 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.521e-05/0.2655, allocations: 15.06 kB / 413.5 MB, free: 9.527 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001321/0.2668, allocations: 0.8612 MB / 414.4 MB, free: 8.793 MB / 334.1 MB Notification: Performance of pre-optimization done (n=116): time 2.655e-06/0.2668, allocations: 3.938 kB / 414.4 MB, free: 8.789 MB / 334.1 MB Notification: Performance of matching and sorting (n=116): time 0.00806/0.2749, allocations: 3.353 MB / 417.7 MB, free: 5.406 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.273e-05/0.275, allocations: 153.5 kB / 417.9 MB, free: 5.227 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/0.2764, allocations: 1.112 MB / 419 MB, free: 4.094 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001106/0.2765, allocations: 73.61 kB / 419 MB, free: 4.016 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005038/0.277, allocations: 0.7179 MB / 419.8 MB, free: 3.285 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002699/0.2773, allocations: 351.2 kB / 420.1 MB, free: 2.938 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003654/0.2777, allocations: 250.8 kB / 420.3 MB, free: 2.684 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.2778, allocations: 353.9 kB / 420.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009885/0.2788, allocations: 0.6306 MB / 421.3 MB, free: 1.699 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/0.2799, allocations: 0.9058 MB / 422.2 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001932/0.2819, allocations: 1.413 MB / 423.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/0.2819, allocations: 4 kB / 423.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002785/0.2847, allocations: 1.894 MB / 425.5 MB, free: 13.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.2847, allocations: 8 kB / 425.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.2847, allocations: 8 kB / 425.6 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/0.2858, allocations: 492.7 kB / 426 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000626/0.2864, allocations: 171.7 kB / 426.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007112/0.2936, allocations: 5.688 MB / 431.9 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008323/0.2944, allocations: 162.8 kB / 432.1 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.16e-05/0.2945, allocations: 44 kB / 432.1 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001617/0.2961, allocations: 1.166 MB / 433.3 MB, free: 5.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001125/0.2973, allocations: 0.8981 MB / 434.2 MB, free: 4.387 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001863/0.2991, allocations: 1.397 MB / 435.6 MB, free: 2.895 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.707e-06/0.2992, allocations: 0 / 435.6 MB, free: 2.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=158) (initialization_lambda0): time 0.002755/0.3019, allocations: 1.884 MB / 437.4 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.3019, allocations: 9.094 kB / 437.4 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.302, allocations: 8 kB / 437.5 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009983/0.303, allocations: 492.6 kB / 437.9 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006025/0.3036, allocations: 163.7 kB / 438.1 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007119/0.3107, allocations: 5.685 MB / 443.8 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008172/0.3115, allocations: 147.1 kB / 443.9 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.118e-05/0.3116, allocations: 43.98 kB / 444 MB, free: 10.32 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 57 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition9,$whenCondition8,$whenCondition7,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,pulse2m.fire_n[3],pulse2m.fire_n[2],pulse2m.fire_n[1],pulse2m.fire_p[3],pulse2m.fire_p[2],pulse2m.fire_p[1],pulse2m.twomPulse.timerNegative[3].entryTime,$PRE.pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,$PRE.pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,$PRE.pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,$PRE.pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,$PRE.pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[1].entryTime,$PRE.pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.positiveThreshold[1].y,rectifier.pre[3].y,rectifier.pre[3].u,$PRE.rectifier.pre[3].u,rectifier.pre[2].y,rectifier.pre[2].u,$PRE.rectifier.pre[2].u,rectifier.pre[1].y,rectifier.pre[1].u,$PRE.rectifier.pre[1].u,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.thyristor_p.idealThyristor[3].off,$PRE.rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,$PRE.rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,$PRE.rectifier.thyristor_p.idealThyristor[1].off,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,30)} Notification: Performance of prepare postOptimizeDAE: time 0.00032/0.312, allocations: 316 kB / 444.3 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001827/0.3121, allocations: 122.5 kB / 444.4 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003497/0.3125, allocations: 164.1 kB / 444.6 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.3125, allocations: 7.922 kB / 444.6 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3125, allocations: 0 / 444.6 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005955/0.3131, allocations: 359.3 kB / 444.9 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001831/0.3133, allocations: 35.98 kB / 445 MB, free: 9.309 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006237/0.3139, allocations: 75.84 kB / 445 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002649/0.3142, allocations: 128.8 kB / 445.2 MB, free: 9.109 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00378/0.318, allocations: 1.95 MB / 447.1 MB, free: 7.148 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003202/0.3212, allocations: 2.335 MB / 449.4 MB, free: 4.797 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009613/0.3222, allocations: 0.6753 MB / 450.1 MB, free: 4.121 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009295/0.3231, allocations: 0.7713 MB / 450.9 MB, free: 3.34 MB / 366.1 MB Notification: Performance of Backend: time 2.1e-07/0.3232, allocations: 0 / 450.9 MB, free: 3.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0041/0.3273, allocations: 2.539 MB / 453.4 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of SimCode: time 0.004865/0.3321, allocations: 3.732 MB / 457.2 MB, free: 12.99 MB / 382.1 MB Notification: Performance of Templates: time 0.04112/0.3733, allocations: 31.42 MB / 488.6 MB, free: 13.52 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse.pipe 2>&1)