Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV") Notification: Performance of loadModel(Modelica): time 1.888/1.888, allocations: 194.8 MB / 212.3 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004975/0.0004975, allocations: 8 kB / 264.5 MB, free: 13.6 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1295, allocations: 44.5 MB / 309 MB, free: 1.031 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4871/0.6167, allocations: 86.66 MB / 395.7 MB, free: 14.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000326/0.6171, allocations: 101.4 kB / 395.8 MB, free: 14.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1375/0.7546, allocations: 36 MB / 431.8 MB, free: 2.27 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.7546, allocations: 0 / 431.8 MB, free: 2.27 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002812/0.7549, allocations: 50.45 kB / 431.8 MB, free: 2.262 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.00789/0.7628, allocations: 2.218 MB / 434 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/0.7629, allocations: 7.781 kB / 434 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001633/0.7646, allocations: 221.3 kB / 434.2 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01163/0.7762, allocations: 2.002 MB / 436.2 MB, free: 15.41 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003143/0.7766, allocations: 131.2 kB / 436.4 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001181/0.7778, allocations: 181.8 kB / 436.6 MB, free: 15.22 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01183/0.7897, allocations: 2.446 MB / 439 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001117/0.7899, allocations: 0 / 439 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006328/0.7905, allocations: 80.8 kB / 439.1 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001895/0.7907, allocations: 75.25 kB / 439.2 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01064/0.8014, allocations: 2.099 MB / 441.3 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02855/0.83, allocations: 7.185 MB / 448.4 MB, free: 5.434 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005803/0.8359, allocations: 1.517 MB / 450 MB, free: 3.914 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002116/0.8362, allocations: 16.44 kB / 450 MB, free: 3.898 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003953/0.8401, allocations: 0.9143 MB / 450.9 MB, free: 2.965 MB / 330.7 MB Notification: Performance of pre-optimization done (n=116): time 7.234e-06/0.8402, allocations: 4 kB / 450.9 MB, free: 2.961 MB / 330.7 MB Notification: Performance of matching and sorting (n=116): time 0.01769/0.8579, allocations: 2.987 MB / 453.9 MB, free: 15.95 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001965/0.8582, allocations: 127.8 kB / 454 MB, free: 15.8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004477/0.8627, allocations: 1.237 MB / 455.2 MB, free: 14.54 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004604/0.8632, allocations: 61.69 kB / 455.3 MB, free: 14.48 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001351/0.8645, allocations: 0.743 MB / 456 MB, free: 13.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008438/0.8654, allocations: 353.6 kB / 456.4 MB, free: 13.4 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/0.8656, allocations: 27.94 kB / 456.4 MB, free: 13.37 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002579/0.8659, allocations: 354.8 kB / 456.8 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002931/0.8688, allocations: 0.6506 MB / 457.4 MB, free: 12.37 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003306/0.8722, allocations: 0.8693 MB / 458.3 MB, free: 11.42 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003261/0.8755, allocations: 0.6707 MB / 458.9 MB, free: 10.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-05/0.8756, allocations: 4 kB / 459 MB, free: 10.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.00785/0.8835, allocations: 1.775 MB / 460.7 MB, free: 8.961 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002828/0.8838, allocations: 238.9 kB / 461 MB, free: 8.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.082e-05/0.8839, allocations: 4 kB / 461 MB, free: 8.656 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002354/0.8862, allocations: 431.1 kB / 461.4 MB, free: 8.234 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001979/0.8882, allocations: 175.7 kB / 461.6 MB, free: 8.062 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01483/0.9031, allocations: 4.506 MB / 466.1 MB, free: 3.422 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002769/0.906, allocations: 171.2 kB / 466.2 MB, free: 3.254 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004585/0.9065, allocations: 44 kB / 466.3 MB, free: 3.211 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.9065, allocations: 4 kB / 466.3 MB, free: 3.207 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007476/0.914, allocations: 1.687 MB / 468 MB, free: 1.516 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.459e-05/0.9141, allocations: 4.344 kB / 468 MB, free: 1.512 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001913/0.916, allocations: 433.1 kB / 468.4 MB, free: 1.086 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001706/0.9178, allocations: 167.7 kB / 468.6 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01325/0.9311, allocations: 4.582 MB / 473.1 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/0.9328, allocations: 151.3 kB / 473.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003435/0.9332, allocations: 47.98 kB / 473.3 MB, free: 12.01 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.00289/0.9361, allocations: 0.778 MB / 474.1 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006101/0.9367, allocations: 134.4 kB / 474.2 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007993/0.9376, allocations: 172.9 kB / 474.4 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.962e-05/0.9376, allocations: 8 kB / 474.4 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.9376, allocations: 4 kB / 474.4 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.199e-05/0.9377, allocations: 7.984 kB / 474.4 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01595/0.9536, allocations: 3.704 MB / 478.1 MB, free: 7.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.83e-05/0.9537, allocations: 0 / 478.1 MB, free: 7.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001692/0.9554, allocations: 131.8 kB / 478.3 MB, free: 7.031 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00219/0.9576, allocations: 409 kB / 478.7 MB, free: 6.629 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003269/0.958, allocations: 23.98 kB / 478.7 MB, free: 6.605 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01503/0.9731, allocations: 4.509 MB / 483.2 MB, free: 1.961 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.128e-06/0.9731, allocations: 0 / 483.2 MB, free: 1.961 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008468/0.9816, allocations: 2.727 MB / 485.9 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/0.9829, allocations: 371.2 kB / 486.3 MB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004075/0.9834, allocations: 31.98 kB / 486.3 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/0.9848, allocations: 107.9 kB / 486.4 MB, free: 14.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008266/0.9856, allocations: 232.6 kB / 486.6 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/0.9858, allocations: 27.98 kB / 486.7 MB, free: 14.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002037/0.9878, allocations: 0.8515 MB / 487.5 MB, free: 13.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.52e-07/0.9878, allocations: 0 / 487.5 MB, free: 13.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003273/0.9911, allocations: 0.8369 MB / 488.4 MB, free: 12.73 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.0004826/0.9916, allocations: 188.5 kB / 488.5 MB, free: 12.54 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008767/1, allocations: 2.939 MB / 491.5 MB, free: 9.578 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/1, allocations: 1.031 kB / 491.5 MB, free: 9.578 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003347/1.004, allocations: 1.147 MB / 492.6 MB, free: 8.426 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002376/1.006, allocations: 292.3 kB / 492.9 MB, free: 8.141 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01127/1.018, allocations: 4.236 MB / 497.2 MB, free: 3.867 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002303/1.02, allocations: 1.728 MB / 498.9 MB, free: 2.105 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006695/1.021, allocations: 91.42 kB / 499 MB, free: 2.016 MB / 378.7 MB Notification: Performance of SimCode: time 3.036e-06/1.021, allocations: 3.938 kB / 499 MB, free: 2.012 MB / 378.7 MB Notification: Performance of Templates: time 0.06715/1.088, allocations: 31.13 MB / 0.5177 GB, free: 2.844 MB / 410.7 MB