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_Characteristic.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_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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_Characteristic") Notification: Performance of loadModel(Modelica): time 2.366/2.366, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004776/0.0004777, allocations: 19.98 kB / 264.6 MB, free: 12.9 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1008, allocations: 44.49 MB / 309.1 MB, free: 348 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5096/0.6105, allocations: 86.88 MB / 395.9 MB, free: 15.33 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/0.6108, allocations: 99.52 kB / 396 MB, free: 15.33 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1353/0.7462, allocations: 36.13 MB / 432.2 MB, free: 2.348 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.7463, allocations: 4 kB / 432.2 MB, free: 2.344 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001659/0.7464, allocations: 46.53 kB / 432.2 MB, free: 2.336 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: 448 * Number of variables: 448 Notification: Performance of Generate backend data structure: time 0.007522/0.754, allocations: 2.229 MB / 434.5 MB, free: 456 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.754, allocations: 15.97 kB / 434.5 MB, free: 440 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.7551, allocations: 229.3 kB / 434.7 MB, free: 208 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007665/0.7628, allocations: 1.991 MB / 436.7 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001668/0.763, allocations: 132.9 kB / 436.8 MB, free: 14.6 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005222/0.7635, allocations: 177.2 kB / 437 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006953/0.7705, allocations: 2.462 MB / 439.5 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-05/0.7706, allocations: 11.91 kB / 439.5 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002708/0.7709, allocations: 67.44 kB / 439.5 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001278/0.771, allocations: 75.14 kB / 439.6 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006785/0.7778, allocations: 2.142 MB / 441.7 MB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01885/0.7967, allocations: 7.209 MB / 449 MB, free: 4.609 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004769/0.8015, allocations: 1.654 MB / 450.6 MB, free: 2.949 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/0.8017, allocations: 16.95 kB / 450.6 MB, free: 2.934 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002609/0.8043, allocations: 0.9334 MB / 451.6 MB, free: 1.984 MB / 330.7 MB Notification: Performance of pre-optimization done (n=117): time 4.479e-06/0.8044, allocations: 0 / 451.6 MB, free: 1.984 MB / 330.7 MB Notification: Performance of matching and sorting (n=117): time 0.01257/0.8169, allocations: 3.051 MB / 454.6 MB, free: 14.9 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000143/0.8171, allocations: 127.8 kB / 454.7 MB, free: 14.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003703/0.8209, allocations: 1.226 MB / 456 MB, free: 13.51 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004226/0.8213, allocations: 65.69 kB / 456 MB, free: 13.44 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001328/0.8227, allocations: 0.7804 MB / 456.8 MB, free: 12.66 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007071/0.8234, allocations: 346 kB / 457.1 MB, free: 12.33 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.8236, allocations: 28 kB / 457.2 MB, free: 12.3 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002405/0.8238, allocations: 357.9 kB / 457.5 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002849/0.8267, allocations: 0.6662 MB / 458.2 MB, free: 11.28 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003325/0.83, allocations: 0.8849 MB / 459.1 MB, free: 10.32 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003072/0.8331, allocations: 0.6863 MB / 459.8 MB, free: 9.637 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.108e-05/0.8332, allocations: 4 kB / 459.8 MB, free: 9.633 MB / 346.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.007565/0.8408, allocations: 1.888 MB / 461.6 MB, free: 7.734 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000271/0.8411, allocations: 239.5 kB / 461.9 MB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/0.8411, allocations: 4 kB / 461.9 MB, free: 7.426 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002213/0.8433, allocations: 439.1 kB / 462.3 MB, free: 6.996 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001994/0.8454, allocations: 187.7 kB / 462.5 MB, free: 6.812 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01348/0.8589, allocations: 4.514 MB / 467 MB, free: 2.168 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002401/0.8613, allocations: 179.1 kB / 467.2 MB, free: 1.992 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001925/0.8615, allocations: 44 kB / 467.2 MB, free: 1.949 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.8616, allocations: 4.625 kB / 467.2 MB, free: 1.945 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006867/0.8685, allocations: 1.723 MB / 469 MB, free: 220 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.827e-05/0.8685, allocations: 11.98 kB / 469 MB, free: 208 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002079/0.8706, allocations: 437.1 kB / 469.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001821/0.8725, allocations: 171.7 kB / 469.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01316/0.8857, allocations: 4.532 MB / 474.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002235/0.8879, allocations: 159.3 kB / 474.2 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001761/0.8881, allocations: 40 kB / 474.3 MB, free: 10.75 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 (123): * Single equations (assignments): 122 * 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.002519/0.8907, allocations: 0.7857 MB / 475.1 MB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005565/0.8913, allocations: 134.4 kB / 475.2 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006906/0.892, allocations: 172.9 kB / 475.4 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.133e-05/0.892, allocations: 12 kB / 475.4 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.892, allocations: 0 / 475.4 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.073e-05/0.8921, allocations: 3.984 kB / 475.4 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01776/0.9098, allocations: 3.724 MB / 479.1 MB, free: 5.875 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/0.9099, allocations: 3.938 kB / 479.1 MB, free: 5.871 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001974/0.9119, allocations: 135.8 kB / 479.2 MB, free: 5.738 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002344/0.9143, allocations: 405 kB / 479.6 MB, free: 5.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002951/0.9146, allocations: 23.98 kB / 479.7 MB, free: 5.316 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01503/0.9297, allocations: 4.502 MB / 484.2 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.9297, allocations: 4 kB / 484.2 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01225/0.942, allocations: 2.763 MB / 486.9 MB, free: 13.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001809/0.9439, allocations: 371.2 kB / 487.3 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005574/0.9445, allocations: 31.98 kB / 487.3 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002146/0.9466, allocations: 115.9 kB / 487.4 MB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001217/0.9479, allocations: 228.6 kB / 487.7 MB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000186/0.9481, allocations: 31.98 kB / 487.7 MB, free: 13.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003002/0.9511, allocations: 0.8515 MB / 488.6 MB, free: 12.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.283e-06/0.9512, allocations: 0 / 488.6 MB, free: 12.26 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005159/0.9563, allocations: 0.8486 MB / 489.4 MB, free: 11.41 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 (91): * Single equations (assignments): 81 * 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.0006135/0.957, allocations: 188.5 kB / 489.6 MB, free: 11.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0127/0.9697, allocations: 3.006 MB / 492.6 MB, free: 8.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/0.9698, allocations: 1.25 kB / 492.6 MB, free: 8.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004717/0.9745, allocations: 1.104 MB / 493.7 MB, free: 7.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003201/0.9778, allocations: 288.8 kB / 494 MB, free: 6.789 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01535/0.9932, allocations: 4.235 MB / 498.2 MB, free: 2.527 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003339/0.9966, allocations: 1.751 MB / 500 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003078/0.9997, allocations: 425.9 kB / 0.4887 GB, free: 332 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006255/1, allocations: 83.42 kB / 0.4887 GB, free: 248 kB / 378.7 MB Notification: Performance of SimCode: time 1.233e-06/1, allocations: 0 / 0.4887 GB, free: 248 kB / 378.7 MB Notification: Performance of Templates: time 0.09723/1.098, allocations: 25.12 MB / 0.5133 GB, free: 7.156 MB / 410.7 MB