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.RectifierBridge2mPulse.ThyristorBridge2mPulse_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.RectifierBridge2mPulse.ThyristorBridge2mPulse_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.pre_n.1..u|rectifier.pre_n.2..u|rectifier.pre_n.3..u|rectifier.pre_p.1..u|rectifier.pre_p.2..u|rectifier.pre_p.3..u|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.RectifierBridge2mPulse.ThyristorBridge2mPulse_RL") Notification: Performance of loadModel(Modelica): time 1.929/1.929, allocations: 194.8 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003708, allocations: 8 kB / 264 MB, free: 13.56 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08322/0.08362, allocations: 44.51 MB / 308.5 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3539/0.4376, allocations: 87.36 MB / 395.8 MB, free: 18.76 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.4379, allocations: 94.95 kB / 395.9 MB, free: 18.76 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1595/0.5975, allocations: 46.97 MB / 442.9 MB, free: 13.78 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.5975, allocations: 0 / 442.9 MB, free: 13.78 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000169/0.5977, allocations: 55.92 kB / 442.9 MB, free: 13.72 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 442 * Number of variables: 442 Notification: Performance of Generate backend data structure: time 0.005838/0.6036, allocations: 2.127 MB / 445.1 MB, free: 11.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.6036, allocations: 8.031 kB / 445.1 MB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008113/0.6044, allocations: 221.5 kB / 445.3 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007176/0.6116, allocations: 2.07 MB / 447.4 MB, free: 9.781 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000191/0.6119, allocations: 136.8 kB / 447.5 MB, free: 9.703 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005944/0.6125, allocations: 173.8 kB / 447.7 MB, free: 9.586 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00654/0.619, allocations: 2.409 MB / 450.1 MB, free: 7.828 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.775e-05/0.6191, allocations: 3.938 kB / 450.1 MB, free: 7.824 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002816/0.6194, allocations: 72 kB / 450.1 MB, free: 7.754 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001169/0.6196, allocations: 79.41 kB / 450.2 MB, free: 7.676 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005846/0.6254, allocations: 1.989 MB / 452.2 MB, free: 5.684 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01819/0.6437, allocations: 6.792 MB / 459 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00431/0.648, allocations: 1.718 MB / 460.7 MB, free: 13.03 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.005e-05/0.6481, allocations: 13 kB / 460.7 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002102/0.6503, allocations: 0.8925 MB / 461.6 MB, free: 12.11 MB / 346.7 MB Notification: Performance of pre-optimization done (n=122): time 5.199e-06/0.6503, allocations: 3.938 kB / 461.6 MB, free: 12.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=122): time 0.01105/0.6613, allocations: 3.359 MB / 465 MB, free: 8.711 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001424/0.6615, allocations: 161.4 kB / 465.2 MB, free: 8.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002298/0.6638, allocations: 1.053 MB / 466.2 MB, free: 7.449 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002589/0.6641, allocations: 77.67 kB / 466.3 MB, free: 7.367 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008905/0.665, allocations: 0.736 MB / 467 MB, free: 6.621 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000508/0.6656, allocations: 363.1 kB / 467.4 MB, free: 6.262 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.6657, allocations: 28 kB / 467.4 MB, free: 6.234 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000251/0.6659, allocations: 362.8 kB / 467.8 MB, free: 5.871 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00162/0.6676, allocations: 0.6792 MB / 468.4 MB, free: 5.191 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001901/0.6695, allocations: 0.9525 MB / 469.4 MB, free: 4.145 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00168/0.6712, allocations: 0.7207 MB / 470.1 MB, free: 3.422 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/0.6712, allocations: 4 kB / 470.1 MB, free: 3.418 MB / 346.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.004489/0.6757, allocations: 1.935 MB / 472 MB, free: 1.473 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001422/0.6772, allocations: 2.447 MB / 474.5 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.245e-05/0.6772, allocations: 8 kB / 474.5 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001678/0.6789, allocations: 0.4909 MB / 475 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009452/0.6799, allocations: 171.7 kB / 475.2 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01042/0.6903, allocations: 5.411 MB / 480.6 MB, free: 8.617 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.6918, allocations: 187.1 kB / 480.8 MB, free: 8.434 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/0.692, allocations: 43.98 kB / 480.8 MB, free: 8.391 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.692, allocations: 8 kB / 480.8 MB, free: 8.383 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004361/0.6964, allocations: 1.847 MB / 482.6 MB, free: 6.531 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.443e-05/0.6965, allocations: 4.625 kB / 482.7 MB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001414/0.6979, allocations: 497.1 kB / 483.1 MB, free: 6.039 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008806/0.6988, allocations: 163.7 kB / 483.3 MB, free: 5.879 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01026/0.7091, allocations: 5.462 MB / 488.8 MB, free: 288 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.7101, allocations: 171.1 kB / 488.9 MB, free: 116 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/0.7103, allocations: 44 kB / 489 MB, free: 72 kB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 69 ($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,$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,$PRE.rectifier.pre_p[1].u,rectifier.pre_p[1].u,rectifier.pre_p[1].y,$PRE.rectifier.pre_p[2].u,rectifier.pre_p[2].u,rectifier.pre_p[2].y,$PRE.rectifier.pre_p[3].u,rectifier.pre_p[3].u,rectifier.pre_p[3].y,$PRE.rectifier.pre_n[1].u,rectifier.pre_n[1].u,rectifier.pre_n[1].y,$PRE.rectifier.pre_n[2].u,rectifier.pre_n[2].u,rectifier.pre_n[2].y,$PRE.rectifier.pre_n[3].u,rectifier.pre_n[3].u,rectifier.pre_n[3].y,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 (136): * Single equations (assignments): 135 * 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 28} Notification: Performance of prepare postOptimizeDAE: time 0.00182/0.7121, allocations: 0.794 MB / 489.8 MB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00039/0.7125, allocations: 126.5 kB / 489.9 MB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004332/0.713, allocations: 164.5 kB / 490 MB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/0.713, allocations: 15.94 kB / 490.1 MB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.713, allocations: 3.984 kB / 490.1 MB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.467e-05/0.713, allocations: 7.984 kB / 490.1 MB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008035/0.7211, allocations: 3.583 MB / 493.7 MB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.983e-06/0.7211, allocations: 0 / 493.7 MB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006082/0.7217, allocations: 103.8 kB / 493.8 MB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001477/0.7232, allocations: 468.7 kB / 494.2 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001214/0.7234, allocations: 23.98 kB / 494.2 MB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01028/0.7337, allocations: 5.362 MB / 499.6 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.874e-06/0.7337, allocations: 0 / 499.6 MB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005806/0.7395, allocations: 2.638 MB / 0.4905 GB, free: 2.559 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/0.7406, allocations: 375.2 kB / 0.4908 GB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002945/0.7409, allocations: 44.06 kB / 0.4909 GB, free: 2.129 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009848/0.7419, allocations: 111.9 kB / 0.491 GB, free: 2.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000665/0.7426, allocations: 228.6 kB / 0.4912 GB, free: 1.797 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001124/0.7427, allocations: 35.98 kB / 0.4912 GB, free: 1.762 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001716/0.7445, allocations: 0.7993 MB / 0.492 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.32e-07/0.7445, allocations: 0 / 0.492 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002998/0.7475, allocations: 0.8411 MB / 0.4928 GB, free: 112 kB / 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: 48 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,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,rectifier.pre_p[1].u,rectifier.pre_p[1].y,rectifier.pre_p[2].u,rectifier.pre_p[2].y,rectifier.pre_p[3].u,rectifier.pre_p[3].y,rectifier.pre_n[1].u,rectifier.pre_n[1].y,rectifier.pre_n[2].u,rectifier.pre_n[2].y,rectifier.pre_n[3].u,rectifier.pre_n[3].y,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: 15 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.pre_n[3].u,rectifier.pre_n[2].u,rectifier.pre_n[1].u,rectifier.pre_p[3].u,rectifier.pre_p[2].u,rectifier.pre_p[1].u,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 79 * 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 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004213/0.7479, allocations: 201.4 kB / 0.493 GB, free: 15.9 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007273/0.7552, allocations: 3.129 MB / 0.4961 GB, free: 12.75 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-05/0.7553, allocations: 4.562 kB / 0.4961 GB, free: 12.75 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002724/0.758, allocations: 1.068 MB / 0.4971 GB, free: 11.66 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0021/0.7601, allocations: 312.2 kB / 0.4974 GB, free: 11.36 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009767/0.7699, allocations: 4.092 MB / 0.5014 GB, free: 7.238 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002339/0.7723, allocations: 1.687 MB / 0.5031 GB, free: 5.516 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005093/0.7729, allocations: 87.42 kB / 0.5032 GB, free: 5.43 MB / 394.7 MB Notification: Performance of SimCode: time 1.814e-06/0.7729, allocations: 0 / 0.5032 GB, free: 5.43 MB / 394.7 MB Notification: Performance of Templates: time 0.3139/1.087, allocations: 30.9 MB / 0.5333 GB, free: 121.6 MB / 410.7 MB