Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.835/1.835, allocations: 194.8 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004203/0.0004206, allocations: 8 kB / 264 MB, free: 13.54 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07943/0.07987, allocations: 44.5 MB / 308.5 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3424/0.4223, allocations: 86.68 MB / 395.1 MB, free: 18.83 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003219/0.4227, allocations: 92.27 kB / 395.2 MB, free: 18.83 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1235/0.5462, allocations: 36.01 MB / 431.2 MB, free: 6.242 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.356e-06/0.5463, allocations: 0 / 431.2 MB, free: 6.242 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001548/0.5465, allocations: 46.81 kB / 431.3 MB, free: 6.234 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.00598/0.5524, allocations: 2.211 MB / 433.5 MB, free: 4.852 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.5525, allocations: 15.47 kB / 433.5 MB, free: 4.848 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008298/0.5533, allocations: 227.7 kB / 433.7 MB, free: 4.734 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006012/0.5594, allocations: 1.984 MB / 435.7 MB, free: 3.609 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001318/0.5596, allocations: 144.2 kB / 435.9 MB, free: 3.523 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003572/0.5599, allocations: 172.5 kB / 436 MB, free: 3.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005448/0.5654, allocations: 2.432 MB / 438.5 MB, free: 1.711 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.856e-05/0.5655, allocations: 3.938 kB / 438.5 MB, free: 1.707 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002425/0.5657, allocations: 80.97 kB / 438.5 MB, free: 1.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.535e-05/0.5658, allocations: 79.12 kB / 438.6 MB, free: 1.605 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005104/0.571, allocations: 2.095 MB / 440.7 MB, free: 252 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01739/0.5884, allocations: 7.303 MB / 448 MB, free: 9.754 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00417/0.5926, allocations: 1.69 MB / 449.7 MB, free: 8.059 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.5928, allocations: 13 kB / 449.7 MB, free: 8.047 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002186/0.595, allocations: 0.8869 MB / 450.6 MB, free: 7.137 MB / 330.7 MB Notification: Performance of pre-optimization done (n=114): time 5.227e-06/0.595, allocations: 0 / 450.6 MB, free: 7.137 MB / 330.7 MB Notification: Performance of matching and sorting (n=114): time 0.009767/0.6048, allocations: 2.926 MB / 453.5 MB, free: 4.184 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.605, allocations: 127.8 kB / 453.7 MB, free: 4.035 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002761/0.6077, allocations: 1.142 MB / 454.8 MB, free: 2.879 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003034/0.6081, allocations: 65.69 kB / 454.9 MB, free: 2.809 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009468/0.609, allocations: 0.7439 MB / 455.6 MB, free: 2.055 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005625/0.6096, allocations: 347.2 kB / 456 MB, free: 1.711 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.6097, allocations: 24 kB / 456 MB, free: 1.688 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002267/0.61, allocations: 354.8 kB / 456.3 MB, free: 1.332 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001666/0.6117, allocations: 0.6506 MB / 457 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00196/0.6136, allocations: 0.8615 MB / 457.8 MB, free: 15.74 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001678/0.6153, allocations: 0.6668 MB / 458.5 MB, free: 15.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.285e-05/0.6154, allocations: 4 kB / 458.5 MB, free: 15.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.004441/0.6198, allocations: 1.775 MB / 460.3 MB, free: 13.29 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001159/0.621, allocations: 1.92 MB / 462.2 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.272e-05/0.6211, allocations: 11.95 kB / 462.2 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001533/0.6226, allocations: 439.1 kB / 462.6 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.6238, allocations: 167.7 kB / 462.8 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008882/0.6327, allocations: 4.525 MB / 467.3 MB, free: 5.949 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/0.6342, allocations: 171.2 kB / 467.5 MB, free: 5.781 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000238/0.6345, allocations: 51.89 kB / 467.5 MB, free: 5.73 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.6346, allocations: 4 kB / 467.6 MB, free: 5.727 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004118/0.6387, allocations: 1.68 MB / 469.2 MB, free: 4.039 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.148e-05/0.6387, allocations: 7.984 kB / 469.2 MB, free: 4.031 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001254/0.64, allocations: 437.3 kB / 469.7 MB, free: 3.602 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/0.641, allocations: 167.7 kB / 469.8 MB, free: 3.438 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008762/0.6498, allocations: 4.58 MB / 474.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/0.6509, allocations: 155.2 kB / 474.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001988/0.6512, allocations: 47.94 kB / 474.6 MB, free: 14.52 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.002051/0.6532, allocations: 0.7818 MB / 475.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004394/0.6537, allocations: 134.4 kB / 475.5 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000518/0.6542, allocations: 165 kB / 475.7 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.6543, allocations: 8 kB / 475.7 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/0.6543, allocations: 7.953 kB / 475.7 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-05/0.6543, allocations: 11.97 kB / 475.7 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009333/0.6636, allocations: 3.628 MB / 479.3 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.552e-06/0.6637, allocations: 0 / 479.3 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008317/0.6645, allocations: 115.8 kB / 479.4 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001388/0.666, allocations: 409 kB / 479.8 MB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002012/0.6662, allocations: 23.98 kB / 479.9 MB, free: 9.184 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008772/0.675, allocations: 4.487 MB / 484.4 MB, free: 4.562 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.902e-06/0.675, allocations: 7.969 kB / 484.4 MB, free: 4.555 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006494/0.6815, allocations: 2.642 MB / 487 MB, free: 1.895 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/0.6826, allocations: 371.4 kB / 487.4 MB, free: 1.512 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003178/0.683, allocations: 35.98 kB / 487.4 MB, free: 1.477 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009752/0.684, allocations: 111.8 kB / 487.5 MB, free: 1.367 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006748/0.6846, allocations: 236.6 kB / 487.7 MB, free: 1.133 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000125/0.6848, allocations: 31.98 kB / 487.8 MB, free: 1.102 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001941/0.6867, allocations: 0.8673 MB / 488.6 MB, free: 232 kB / 362.7 MB Notification: Performance of sort global known variables: time 8.26e-07/0.6868, allocations: 0 / 488.6 MB, free: 232 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.003135/0.6899, allocations: 0.8369 MB / 489.5 MB, free: 15.38 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[3].off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 78 * 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.000464/0.6904, allocations: 180.4 kB / 489.7 MB, free: 15.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007109/0.6975, allocations: 2.923 MB / 492.6 MB, free: 12.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/0.6976, allocations: 4.656 kB / 492.6 MB, free: 12.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00253/0.7001, allocations: 1.043 MB / 493.6 MB, free: 11.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001911/0.7021, allocations: 288.3 kB / 493.9 MB, free: 10.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009542/0.7117, allocations: 4.185 MB / 498.1 MB, free: 6.699 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002316/0.714, allocations: 1.728 MB / 499.8 MB, free: 4.934 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005346/0.7146, allocations: 91.36 kB / 499.9 MB, free: 4.848 MB / 378.7 MB Notification: Performance of SimCode: time 1.608e-06/0.7146, allocations: 4 kB / 499.9 MB, free: 4.844 MB / 378.7 MB Notification: Performance of Templates: time 0.05554/0.7702, allocations: 31.14 MB / 0.5186 GB, free: 5.672 MB / 410.7 MB