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_RL.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_RL,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_RL") Notification: Performance of loadModel(Modelica): time 1.949/1.949, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003783/0.0003785, allocations: 12 kB / 264 MB, free: 13.55 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0815/0.0819, allocations: 44.5 MB / 308.5 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3512/0.4331, allocations: 86.43 MB / 394.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.4334, allocations: 95.77 kB / 395 MB, free: 18.7 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1251/0.5585, allocations: 35.74 MB / 430.7 MB, free: 6.328 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.051e-06/0.5586, allocations: 0 / 430.7 MB, free: 6.328 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001624/0.5587, allocations: 50.67 kB / 430.8 MB, free: 6.316 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: 440 * Number of variables: 440 Notification: Performance of Generate backend data structure: time 0.005975/0.5647, allocations: 2.192 MB / 433 MB, free: 4.945 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.5648, allocations: 7.719 kB / 433 MB, free: 4.945 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008723/0.5657, allocations: 225.6 kB / 433.2 MB, free: 4.836 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006204/0.5719, allocations: 1.985 MB / 435.2 MB, free: 3.965 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/0.572, allocations: 132.1 kB / 435.3 MB, free: 3.957 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004916/0.5726, allocations: 169.6 kB / 435.5 MB, free: 3.867 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00571/0.5783, allocations: 2.424 MB / 437.9 MB, free: 2.168 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.776e-05/0.5784, allocations: 4 kB / 437.9 MB, free: 2.164 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002462/0.5786, allocations: 76.84 kB / 438 MB, free: 2.141 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.047e-05/0.5787, allocations: 74.64 kB / 438.1 MB, free: 2.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005212/0.5839, allocations: 2.091 MB / 440.1 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01657/0.6006, allocations: 7.263 MB / 447.4 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004113/0.6047, allocations: 1.674 MB / 449.1 MB, free: 8.715 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.359e-05/0.6048, allocations: 17 kB / 449.1 MB, free: 8.699 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002215/0.6071, allocations: 0.8792 MB / 450 MB, free: 7.797 MB / 330.7 MB Notification: Performance of pre-optimization done (n=113): time 5.716e-06/0.6071, allocations: 0 / 450 MB, free: 7.797 MB / 330.7 MB Notification: Performance of matching and sorting (n=113): time 0.009457/0.6166, allocations: 2.906 MB / 452.9 MB, free: 4.863 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.6167, allocations: 127.8 kB / 453 MB, free: 4.715 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002724/0.6195, allocations: 1.122 MB / 454.1 MB, free: 3.578 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000323/0.6198, allocations: 69.67 kB / 454.2 MB, free: 3.504 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000961/0.6208, allocations: 0.7438 MB / 454.9 MB, free: 2.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005186/0.6213, allocations: 339.4 kB / 455.3 MB, free: 2.414 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.928e-05/0.6215, allocations: 20 kB / 455.3 MB, free: 2.395 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002253/0.6217, allocations: 358.8 kB / 455.6 MB, free: 2.035 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001607/0.6233, allocations: 0.6467 MB / 456.3 MB, free: 1.387 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001851/0.6252, allocations: 0.8615 MB / 457.1 MB, free: 460 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001655/0.6269, allocations: 0.6668 MB / 457.8 MB, free: 15.78 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.008e-06/0.6269, allocations: 0 / 457.8 MB, free: 15.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.004563/0.6315, allocations: 1.76 MB / 459.6 MB, free: 14.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00115/0.6327, allocations: 1.927 MB / 461.5 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.368e-05/0.6327, allocations: 11.94 kB / 461.5 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001531/0.6343, allocations: 427.1 kB / 461.9 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.6354, allocations: 175.7 kB / 462.1 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008818/0.6442, allocations: 4.517 MB / 466.6 MB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.6457, allocations: 179.2 kB / 466.8 MB, free: 6.508 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001854/0.6459, allocations: 36 kB / 466.8 MB, free: 6.473 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.6459, allocations: 8 kB / 466.8 MB, free: 6.465 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004295/0.6502, allocations: 1.688 MB / 468.5 MB, free: 4.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-05/0.6503, allocations: 4 kB / 468.5 MB, free: 4.766 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001243/0.6516, allocations: 425.1 kB / 468.9 MB, free: 4.348 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009552/0.6525, allocations: 175.6 kB / 469.1 MB, free: 4.176 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008625/0.6612, allocations: 4.576 MB / 473.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/0.6623, allocations: 163.2 kB / 473.9 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/0.6624, allocations: 36 kB / 473.9 MB, free: 15.27 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 (121): * Single equations (assignments): 120 * 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.002052/0.6645, allocations: 0.7857 MB / 474.7 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004527/0.665, allocations: 126.5 kB / 474.8 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000527/0.6655, allocations: 168.7 kB / 475 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-05/0.6656, allocations: 12 kB / 475 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.467e-06/0.6656, allocations: 0 / 475 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.6656, allocations: 7.922 kB / 475 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009266/0.6749, allocations: 3.624 MB / 478.6 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/0.6749, allocations: 0 / 478.6 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008427/0.6758, allocations: 119.8 kB / 478.7 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00135/0.6772, allocations: 409 kB / 479.1 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001608/0.6773, allocations: 19.98 kB / 479.1 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008624/0.686, allocations: 4.491 MB / 483.6 MB, free: 5.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.445e-06/0.686, allocations: 0 / 483.6 MB, free: 5.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006416/0.6924, allocations: 2.626 MB / 486.3 MB, free: 2.676 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/0.6937, allocations: 371.2 kB / 486.6 MB, free: 2.293 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003755/0.6941, allocations: 35.92 kB / 486.7 MB, free: 2.258 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/0.6953, allocations: 108 kB / 486.8 MB, free: 2.152 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007311/0.696, allocations: 232.6 kB / 487 MB, free: 1.922 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000125/0.6962, allocations: 31.98 kB / 487 MB, free: 1.891 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001993/0.6982, allocations: 0.8669 MB / 487.9 MB, free: 1.016 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.61e-07/0.6982, allocations: 4 kB / 487.9 MB, free: 1.012 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003264/0.7015, allocations: 0.8291 MB / 488.7 MB, free: 184 kB / 362.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[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 (87): * Single equations (assignments): 77 * 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.0004214/0.7019, allocations: 176.4 kB / 488.9 MB, free: 0 / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007229/0.7092, allocations: 2.912 MB / 491.8 MB, free: 13.06 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/0.7092, allocations: 1.906 kB / 491.8 MB, free: 13.06 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002514/0.7118, allocations: 1.042 MB / 492.8 MB, free: 12.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001859/0.7136, allocations: 284.3 kB / 493.1 MB, free: 11.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009545/0.7232, allocations: 4.163 MB / 497.3 MB, free: 7.539 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00215/0.7254, allocations: 1.716 MB / 499 MB, free: 5.785 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005339/0.726, allocations: 83.42 kB / 499.1 MB, free: 5.703 MB / 378.7 MB Notification: Performance of SimCode: time 1.86e-06/0.726, allocations: 0 / 499.1 MB, free: 5.703 MB / 378.7 MB Notification: Performance of Templates: time 0.05788/0.7839, allocations: 30.93 MB / 0.5176 GB, free: 6.746 MB / 410.7 MB