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_R.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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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_R") Notification: Performance of loadModel(Modelica): time 1.971/1.971, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003563/0.0003565, allocations: 8 kB / 264 MB, free: 13.54 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08692/0.08729, allocations: 44.5 MB / 308.5 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3448/0.4321, allocations: 86.12 MB / 394.6 MB, free: 18.95 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/0.4324, allocations: 92.8 kB / 394.7 MB, free: 18.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1216/0.5541, allocations: 35.41 MB / 430.1 MB, free: 6.848 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.794e-06/0.5541, allocations: 3.984 kB / 430.1 MB, free: 6.844 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001683/0.5543, allocations: 50.64 kB / 430.1 MB, free: 6.832 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: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.005838/0.5601, allocations: 2.168 MB / 432.3 MB, free: 5.473 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.5602, allocations: 11.75 kB / 432.3 MB, free: 5.473 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008706/0.5611, allocations: 218.4 kB / 432.5 MB, free: 5.363 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006187/0.5673, allocations: 1.972 MB / 434.5 MB, free: 4.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001964/0.5675, allocations: 136.7 kB / 434.6 MB, free: 4.488 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006426/0.5682, allocations: 171.7 kB / 434.8 MB, free: 4.484 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006478/0.5747, allocations: 2.399 MB / 437.2 MB, free: 2.816 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.561e-05/0.5748, allocations: 3.938 kB / 437.2 MB, free: 2.816 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002499/0.575, allocations: 73.78 kB / 437.3 MB, free: 2.793 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-05/0.5751, allocations: 75.22 kB / 437.4 MB, free: 2.723 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00525/0.5804, allocations: 2.074 MB / 439.4 MB, free: 1.375 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01681/0.5972, allocations: 7.182 MB / 446.6 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004148/0.6014, allocations: 1.656 MB / 448.3 MB, free: 9.496 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.788e-05/0.6016, allocations: 9 kB / 448.3 MB, free: 9.488 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002938/0.6045, allocations: 0.883 MB / 449.2 MB, free: 8.586 MB / 330.7 MB Notification: Performance of pre-optimization done (n=111): time 8.461e-06/0.6046, allocations: 0 / 449.2 MB, free: 8.586 MB / 330.7 MB Notification: Performance of matching and sorting (n=111): time 0.009987/0.6146, allocations: 2.926 MB / 452.1 MB, free: 5.629 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.6148, allocations: 123.8 kB / 452.2 MB, free: 5.484 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002625/0.6174, allocations: 1.13 MB / 453.3 MB, free: 4.34 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003098/0.6177, allocations: 65.69 kB / 453.4 MB, free: 4.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001012/0.6188, allocations: 0.736 MB / 454.1 MB, free: 3.523 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006226/0.6194, allocations: 335.4 kB / 454.5 MB, free: 3.191 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.6195, allocations: 24 kB / 454.5 MB, free: 3.168 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000228/0.6198, allocations: 354.8 kB / 454.8 MB, free: 2.812 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001649/0.6214, allocations: 0.6427 MB / 455.5 MB, free: 2.172 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00192/0.6234, allocations: 0.8498 MB / 456.3 MB, free: 1.242 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001655/0.6251, allocations: 0.6551 MB / 457 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/0.6251, allocations: 0 / 457 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.004456/0.6296, allocations: 1.756 MB / 458.7 MB, free: 14.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001119/0.6307, allocations: 1.924 MB / 460.7 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.305e-05/0.6308, allocations: 4 kB / 460.7 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001595/0.6324, allocations: 451 kB / 461.1 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.6334, allocations: 167.7 kB / 461.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008893/0.6423, allocations: 4.496 MB / 465.8 MB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/0.6439, allocations: 179.2 kB / 465.9 MB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001704/0.6441, allocations: 40 kB / 466 MB, free: 7.301 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.6441, allocations: 0 / 466 MB, free: 7.301 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004351/0.6485, allocations: 1.672 MB / 467.6 MB, free: 5.625 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.14e-05/0.6485, allocations: 4 kB / 467.6 MB, free: 5.621 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001272/0.6498, allocations: 437.1 kB / 468.1 MB, free: 5.191 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008939/0.6507, allocations: 167.7 kB / 468.2 MB, free: 5.027 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008509/0.6593, allocations: 4.551 MB / 472.8 MB, free: 348 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.6603, allocations: 151.3 kB / 472.9 MB, free: 196 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.6605, allocations: 44 kB / 473 MB, free: 152 kB / 346.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 (117): * Single equations (assignments): 116 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.001996/0.6625, allocations: 0.7857 MB / 473.8 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004706/0.663, allocations: 130.4 kB / 473.9 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005367/0.6635, allocations: 168.7 kB / 474.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.6635, allocations: 8 kB / 474.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.6636, allocations: 4 kB / 474.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.718e-05/0.6636, allocations: 7.969 kB / 474.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008849/0.6724, allocations: 3.588 MB / 477.7 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.334e-06/0.6725, allocations: 0 / 477.7 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007656/0.6733, allocations: 111.8 kB / 477.8 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001436/0.6747, allocations: 417 kB / 478.2 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000208/0.675, allocations: 19.98 kB / 478.2 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008476/0.6835, allocations: 4.351 MB / 482.6 MB, free: 6.363 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.931e-06/0.6835, allocations: 0 / 482.6 MB, free: 6.363 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006637/0.6901, allocations: 2.622 MB / 485.2 MB, free: 3.719 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/0.6913, allocations: 363.3 kB / 485.5 MB, free: 3.344 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003784/0.6917, allocations: 35.94 kB / 485.6 MB, free: 3.309 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.6928, allocations: 107.9 kB / 485.7 MB, free: 3.203 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006676/0.6935, allocations: 228.6 kB / 485.9 MB, free: 2.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/0.6936, allocations: 31.98 kB / 485.9 MB, free: 2.949 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001934/0.6956, allocations: 0.8551 MB / 486.8 MB, free: 2.086 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.96e-07/0.6956, allocations: 7.938 kB / 486.8 MB, free: 2.078 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003193/0.6988, allocations: 0.8265 MB / 487.6 MB, free: 1.25 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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_n.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 74 * 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 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004318/0.6992, allocations: 184.5 kB / 487.8 MB, free: 1.059 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007146/0.7064, allocations: 2.908 MB / 490.7 MB, free: 14.13 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/0.7064, allocations: 0.6562 kB / 490.7 MB, free: 14.13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00245/0.7089, allocations: 1.055 MB / 491.8 MB, free: 13.06 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001748/0.7107, allocations: 288.3 kB / 492 MB, free: 12.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01134/0.722, allocations: 4.436 MB / 496.5 MB, free: 8.312 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002408/0.7245, allocations: 1.701 MB / 498.2 MB, free: 6.578 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005367/0.7251, allocations: 87.42 kB / 498.3 MB, free: 6.492 MB / 378.7 MB Notification: Performance of SimCode: time 1.735e-06/0.7251, allocations: 4 kB / 498.3 MB, free: 6.488 MB / 378.7 MB Notification: Performance of Templates: time 0.05652/0.7816, allocations: 30.82 MB / 0.5167 GB, free: 7.637 MB / 410.7 MB