Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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.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.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV") Notification: Performance of loadModel(Modelica): time 2.075/2.075, allocations: 194.8 MB / 211.7 MB, free: 2.887 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000398/0.0003981, allocations: 11.94 kB / 264.6 MB, free: 12.91 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09832/0.09874, allocations: 44.51 MB / 309.1 MB, free: 344 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4806/0.5794, allocations: 86.68 MB / 395.7 MB, free: 15.24 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003462/0.5798, allocations: 97.92 kB / 395.8 MB, free: 15.24 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.136/0.7158, allocations: 36 MB / 431.8 MB, free: 2.352 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.7159, allocations: 0 / 431.8 MB, free: 2.352 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001876/0.7161, allocations: 50.53 kB / 431.9 MB, free: 2.344 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 446 * Number of variables: 446 Notification: Performance of Generate backend data structure: time 0.00767/0.7238, allocations: 2.215 MB / 434.1 MB, free: 0.707 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.7238, allocations: 8.031 kB / 434.1 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009229/0.7248, allocations: 221.4 kB / 434.3 MB, free: 492 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007523/0.7323, allocations: 1.994 MB / 436.3 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001935/0.7326, allocations: 143.5 kB / 436.5 MB, free: 14.86 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006977/0.7333, allocations: 169 kB / 436.6 MB, free: 14.75 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007493/0.7408, allocations: 2.439 MB / 439.1 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.794e-05/0.7409, allocations: 7.938 kB / 439.1 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000274/0.7412, allocations: 78.81 kB / 439.2 MB, free: 13.02 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001311/0.7413, allocations: 71.44 kB / 439.2 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006788/0.7481, allocations: 2.102 MB / 441.3 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02129/0.7695, allocations: 7.18 MB / 448.5 MB, free: 5.008 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004368/0.7739, allocations: 1.529 MB / 450 MB, free: 3.477 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001435/0.7741, allocations: 16.78 kB / 450 MB, free: 3.465 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002723/0.7768, allocations: 0.9026 MB / 451 MB, free: 2.539 MB / 330.7 MB Notification: Performance of pre-optimization done (n=116): time 4.309e-06/0.7768, allocations: 0 / 451 MB, free: 2.539 MB / 330.7 MB Notification: Performance of matching and sorting (n=116): time 0.01287/0.7897, allocations: 2.998 MB / 454 MB, free: 15.52 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.7899, allocations: 123.8 kB / 454.1 MB, free: 15.37 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003118/0.793, allocations: 1.237 MB / 455.3 MB, free: 14.12 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004139/0.7935, allocations: 61.69 kB / 455.4 MB, free: 14.05 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001199/0.7947, allocations: 0.769 MB / 456.1 MB, free: 13.28 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007215/0.7955, allocations: 350.5 kB / 456.5 MB, free: 12.95 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.7956, allocations: 23.94 kB / 456.5 MB, free: 12.92 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002182/0.7958, allocations: 353.9 kB / 456.8 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002189/0.798, allocations: 0.6506 MB / 457.5 MB, free: 11.92 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002442/0.8005, allocations: 0.8654 MB / 458.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002134/0.8027, allocations: 0.6707 MB / 459 MB, free: 10.3 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/0.8027, allocations: 0 / 459 MB, free: 10.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.005764/0.8085, allocations: 1.856 MB / 460.9 MB, free: 8.441 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002308/0.8088, allocations: 235.6 kB / 461.1 MB, free: 8.141 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.8088, allocations: 4 kB / 461.1 MB, free: 8.137 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001675/0.8105, allocations: 431.1 kB / 461.5 MB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/0.812, allocations: 179.6 kB / 461.7 MB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01034/0.8224, allocations: 4.522 MB / 466.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001786/0.8242, allocations: 159.2 kB / 466.4 MB, free: 2.734 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002142/0.8245, allocations: 44 kB / 466.4 MB, free: 2.691 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.8245, allocations: 4 kB / 466.4 MB, free: 2.688 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004912/0.8294, allocations: 1.687 MB / 468.1 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.594e-05/0.8295, allocations: 4 kB / 468.1 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001574/0.8311, allocations: 433.2 kB / 468.6 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/0.8325, allocations: 171.7 kB / 468.7 MB, free: 404 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01027/0.8428, allocations: 4.52 MB / 473.2 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002004/0.8449, allocations: 155.2 kB / 473.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004582/0.8454, allocations: 44 kB / 473.4 MB, free: 11.55 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,rectifier.andCondition_n[1].y,rectifier.andCondition_n[2].y,rectifier.andCondition_n[3].y,$PRE.rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[1].off,$PRE.rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[2].off,$PRE.rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[3].off,$PRE.rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off,$PRE.rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[2].off,$PRE.rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[3].off,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,$PRE.pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[1].entryTime,$PRE.pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,$PRE.pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,$PRE.pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,$PRE.pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,$PRE.pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 21} Notification: Performance of prepare postOptimizeDAE: time 0.003871/0.8493, allocations: 0.7896 MB / 474.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008399/0.8502, allocations: 134.4 kB / 474.4 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/0.8513, allocations: 164.9 kB / 474.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.852e-05/0.8513, allocations: 12 kB / 474.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.8514, allocations: 0 / 474.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-05/0.8514, allocations: 7.969 kB / 474.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01772/0.8691, allocations: 3.706 MB / 478.3 MB, free: 6.684 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/0.8692, allocations: 0 / 478.3 MB, free: 6.684 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001879/0.8711, allocations: 131.9 kB / 478.4 MB, free: 6.555 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002643/0.8738, allocations: 409 kB / 478.8 MB, free: 6.152 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000313/0.8741, allocations: 23.98 kB / 478.8 MB, free: 6.129 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01577/0.8899, allocations: 4.498 MB / 483.3 MB, free: 1.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.459e-05/0.89, allocations: 4 kB / 483.3 MB, free: 1.496 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01313/0.9032, allocations: 2.726 MB / 486 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001885/0.9051, allocations: 375.2 kB / 486.4 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004147/0.9055, allocations: 35.98 kB / 486.4 MB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001609/0.9072, allocations: 103.9 kB / 486.5 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001553/0.9088, allocations: 232.6 kB / 486.8 MB, free: 14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003123/0.9091, allocations: 35.98 kB / 486.8 MB, free: 13.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003916/0.9131, allocations: 0.8476 MB / 487.6 MB, free: 13.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.933e-06/0.9131, allocations: 0 / 487.6 MB, free: 13.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006751/0.9199, allocations: 0.833 MB / 488.5 MB, free: 12.27 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 42 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,rectifier.andCondition_n[1].y,rectifier.andCondition_n[2].y,rectifier.andCondition_n[3].y,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 9 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.00086/0.9208, allocations: 196.4 kB / 488.7 MB, free: 12.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01413/0.935, allocations: 2.944 MB / 491.6 MB, free: 9.102 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-05/0.9351, allocations: 0 / 491.6 MB, free: 9.102 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005507/0.9406, allocations: 1.167 MB / 492.8 MB, free: 7.926 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003791/0.9445, allocations: 301.2 kB / 493.1 MB, free: 7.633 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01778/0.9623, allocations: 4.23 MB / 497.3 MB, free: 3.375 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003777/0.9661, allocations: 1.755 MB / 499.1 MB, free: 1.582 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003423/0.9696, allocations: 422 kB / 499.5 MB, free: 1.168 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007834/0.9705, allocations: 83.42 kB / 499.6 MB, free: 1.086 MB / 378.7 MB Notification: Performance of SimCode: time 1.893e-06/0.9705, allocations: 0 / 499.6 MB, free: 1.086 MB / 378.7 MB Notification: Performance of Templates: time 0.08925/1.06, allocations: 25.01 MB / 0.5123 GB, free: 8.117 MB / 410.7 MB