Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.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 4.0.0+maint.om/package.mo", uses=false) 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.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulsem.twomPulse.timerNegative.1..entryTime|pulsem.twomPulse.timerNegative.2..entryTime|pulsem.twomPulse.timerNegative.3..entryTime|pulsem.twomPulse.timerPositive.1..entryTime|pulsem.twomPulse.timerPositive.2..entryTime|pulsem.twomPulse.timerPositive.3..entryTime|rectifier.thyristor.idealThyristor.1..off|rectifier.thyristor.idealThyristor.2..off|rectifier.thyristor.idealThyristor.3..off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulsem.twomPulse.timerNegative.1..entryTime|pulsem.twomPulse.timerNegative.2..entryTime|pulsem.twomPulse.timerNegative.3..entryTime|pulsem.twomPulse.timerPositive.1..entryTime|pulsem.twomPulse.timerPositive.2..entryTime|pulsem.twomPulse.timerPositive.3..entryTime|rectifier.thyristor.idealThyristor.1..off|rectifier.thyristor.idealThyristor.2..off|rectifier.thyristor.idealThyristor.3..off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 103 kB / 17.74 MB, free: 5.316 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.001267/0.001267, allocations: 198.5 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009537/0.0009537, allocations: 47.92 kB / 352 MB, free: 3.184 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.249, allocations: 49.44 MB / 401.5 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL): time 0.0107/0.2597, allocations: 5.062 MB / 406.5 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004289/0.264, allocations: 1.574 MB / 408.1 MB, free: 2.191 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004498/0.2645, allocations: 27.88 kB / 408.1 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006347/0.2652, allocations: 198.4 kB / 408.3 MB, free: 1.969 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001317/0.2665, allocations: 322.1 kB / 408.6 MB, free: 1.652 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009533/0.2675, allocations: 314.1 kB / 409 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002457/0.2699, allocations: 1.671 MB / 410.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002467/0.2724, allocations: 1.416 MB / 412 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001079/0.2735, allocations: 0.7437 MB / 412.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001352/0.2749, allocations: 0.821 MB / 413.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003842/0.2753, allocations: 204 kB / 413.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004416/0.2758, allocations: 200 kB / 414 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006475/0.2764, allocations: 0.5025 MB / 414.5 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001146/0.2776, allocations: 0.8593 MB / 415.4 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003165/0.2808, allocations: 2.488 MB / 417.8 MB, free: 8.387 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2808, allocations: 0 / 417.8 MB, free: 8.387 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2808, allocations: 0 / 417.8 MB, free: 8.387 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.777e-05/0.2808, allocations: 0 / 417.8 MB, free: 8.387 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.005042/0.2859, allocations: 1.917 MB / 419.8 MB, free: 6.414 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.2859, allocations: 8.031 kB / 419.8 MB, free: 6.406 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003742/0.2863, allocations: 167 kB / 419.9 MB, free: 6.242 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002587/0.2889, allocations: 1.005 MB / 420.9 MB, free: 5.195 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/0.2891, allocations: 103 kB / 421 MB, free: 5.094 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003285/0.2894, allocations: 148 kB / 421.2 MB, free: 4.949 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004919/0.2944, allocations: 1.812 MB / 423 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.003e-05/0.2944, allocations: 3.984 kB / 423 MB, free: 3.086 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002297/0.2947, allocations: 59.92 kB / 423.1 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.932e-05/0.2948, allocations: 58.58 kB / 423.1 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004582/0.2994, allocations: 1.537 MB / 424.7 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009904/0.3093, allocations: 5.038 MB / 429.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/0.3111, allocations: 1.103 MB / 430.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001002/0.3121, allocations: 0.6291 MB / 431.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.16e-05/0.3122, allocations: 12.66 kB / 431.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001009/0.3132, allocations: 0.6767 MB / 432.1 MB, free: 9.793 MB / 350.1 MB Notification: Performance of pre-optimization done (n=89): time 3.626e-06/0.3132, allocations: 0 / 432.1 MB, free: 9.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=89): time 0.003557/0.3168, allocations: 1.836 MB / 433.9 MB, free: 7.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.273e-05/0.3169, allocations: 179.2 kB / 434.1 MB, free: 7.719 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.3179, allocations: 0.8871 MB / 435 MB, free: 6.824 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.273e-05/0.318, allocations: 57.69 kB / 435.1 MB, free: 6.762 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004152/0.3184, allocations: 0.6084 MB / 435.7 MB, free: 6.145 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002079/0.3186, allocations: 256.4 kB / 435.9 MB, free: 5.891 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002766/0.3189, allocations: 206.9 kB / 436.1 MB, free: 5.684 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.319, allocations: 349.9 kB / 436.5 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007576/0.3198, allocations: 485.8 kB / 436.9 MB, free: 4.859 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009143/0.3207, allocations: 0.7465 MB / 437.7 MB, free: 3.996 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001498/0.3222, allocations: 1.1 MB / 438.8 MB, free: 2.797 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.3223, allocations: 4 kB / 438.8 MB, free: 2.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002087/0.3243, allocations: 1.383 MB / 440.2 MB, free: 1.398 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.3244, allocations: 8 kB / 440.2 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.3244, allocations: 8 kB / 440.2 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004959/0.3249, allocations: 220.7 kB / 440.4 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005868/0.3255, allocations: 168 kB / 440.6 MB, free: 1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003217/0.3287, allocations: 3.031 MB / 443.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006545/0.3294, allocations: 142.9 kB / 443.7 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.498e-05/0.3295, allocations: 40 kB / 443.8 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001191/0.3307, allocations: 0.8889 MB / 444.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000862/0.3315, allocations: 0.7272 MB / 445.4 MB, free: 11.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001413/0.333, allocations: 1.084 MB / 446.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.801e-06/0.333, allocations: 4 kB / 446.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization_lambda0): time 0.002/0.335, allocations: 1.352 MB / 447.8 MB, free: 9.367 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.335, allocations: 12 kB / 447.9 MB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.335, allocations: 4 kB / 447.9 MB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004321/0.3355, allocations: 224.6 kB / 448.1 MB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005554/0.336, allocations: 155.7 kB / 448.2 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003096/0.3391, allocations: 3.034 MB / 451.3 MB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006478/0.3398, allocations: 115.3 kB / 451.4 MB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.253e-05/0.3399, allocations: 43.98 kB / 451.4 MB, free: 5.656 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 48 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition9,$whenCondition8,$whenCondition7,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,pulsem.fire_n[3],pulsem.fire_n[2],pulsem.fire_n[1],pulsem.fire_p[3],pulsem.fire_p[2],pulsem.fire_p[1],pulsem.twomPulse.timerNegative[3].entryTime,$PRE.pulsem.twomPulse.timerNegative[3].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,$PRE.pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,$PRE.pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,$PRE.pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,$PRE.pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[1].entryTime,$PRE.pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.negativeThreshold[3].y,pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.positiveThreshold[3].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.positiveThreshold[1].y,rectifier.thyristor.idealThyristor[3].off,$PRE.rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[2].off,$PRE.rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[1].off,$PRE.rectifier.thyristor.idealThyristor[1].off,rectifier.andCondition_p[3].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[1].y,$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 (116): * Single equations (assignments): 115 * 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 {(3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002491/0.3401, allocations: 284.1 kB / 451.7 MB, free: 5.375 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.3403, allocations: 98.78 kB / 451.8 MB, free: 5.277 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/0.3405, allocations: 121.7 kB / 451.9 MB, free: 5.148 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.3405, allocations: 3.984 kB / 451.9 MB, free: 5.145 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3405, allocations: 4 kB / 451.9 MB, free: 5.141 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004441/0.341, allocations: 283.6 kB / 452.2 MB, free: 4.844 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/0.3411, allocations: 27.98 kB / 452.2 MB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005088/0.3416, allocations: 71.92 kB / 452.3 MB, free: 4.746 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002207/0.3419, allocations: 108.8 kB / 452.4 MB, free: 4.637 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002504/0.3444, allocations: 1.403 MB / 453.8 MB, free: 3.227 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002529/0.3469, allocations: 1.921 MB / 455.7 MB, free: 1.289 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007712/0.3477, allocations: 0.5543 MB / 456.3 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006811/0.3484, allocations: 0.6044 MB / 456.9 MB, free: 136 kB / 366.1 MB Notification: Performance of Backend: time 4e-07/0.3484, allocations: 0 / 456.9 MB, free: 136 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002947/0.3514, allocations: 1.802 MB / 458.7 MB, free: 14.3 MB / 382.1 MB Notification: Performance of SimCode: time 0.003801/0.3552, allocations: 2.924 MB / 461.6 MB, free: 11.31 MB / 382.1 MB Notification: Performance of Templates: time 0.03041/0.3856, allocations: 21.1 MB / 482.7 MB, free: 6.398 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.pipe 2>&1)