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_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.RectifierBridge2mPulse.ThyristorBridge2mPulse_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.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_R") Notification: Performance of loadModel(Modelica): time 1.912/1.912, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003667/0.0003668, allocations: 12 kB / 264 MB, free: 13.55 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08406/0.08445, allocations: 44.51 MB / 308.5 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3563/0.4408, allocations: 86.88 MB / 395.3 MB, free: 18.76 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/0.4411, allocations: 93.73 kB / 395.4 MB, free: 18.76 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1209/0.5621, allocations: 35.44 MB / 430.9 MB, free: 6.336 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.089e-06/0.5622, allocations: 0 / 430.9 MB, free: 6.336 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002048/0.5624, allocations: 50.84 kB / 430.9 MB, free: 6.324 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: 436 * Number of variables: 436 Notification: Performance of Generate backend data structure: time 0.006027/0.5684, allocations: 2.118 MB / 433 MB, free: 4.984 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.5685, allocations: 7.875 kB / 433.1 MB, free: 4.984 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009256/0.5694, allocations: 218.3 kB / 433.3 MB, free: 4.875 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006652/0.5761, allocations: 2.065 MB / 435.3 MB, free: 3.902 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/0.5763, allocations: 137.5 kB / 435.5 MB, free: 3.824 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004331/0.5767, allocations: 172.7 kB / 435.6 MB, free: 3.711 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004687/0.5814, allocations: 2.381 MB / 438 MB, free: 2.047 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.16e-05/0.5815, allocations: 0 / 438 MB, free: 2.047 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002343/0.5818, allocations: 80.75 kB / 438.1 MB, free: 2.02 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.827e-05/0.5819, allocations: 71.36 kB / 438.2 MB, free: 1.949 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004258/0.5861, allocations: 1.974 MB / 440.1 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01672/0.6029, allocations: 6.741 MB / 446.9 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004263/0.6072, allocations: 1.723 MB / 448.6 MB, free: 9.25 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.974e-05/0.6073, allocations: 13 kB / 448.6 MB, free: 9.238 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002388/0.6097, allocations: 0.8842 MB / 449.5 MB, free: 8.332 MB / 330.7 MB Notification: Performance of pre-optimization done (n=120): time 5.285e-06/0.6098, allocations: 0 / 449.5 MB, free: 8.332 MB / 330.7 MB Notification: Performance of matching and sorting (n=120): time 0.01171/0.6215, allocations: 3.428 MB / 452.9 MB, free: 4.875 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001431/0.6217, allocations: 157.4 kB / 453.1 MB, free: 4.691 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002443/0.6242, allocations: 1.061 MB / 454.1 MB, free: 3.613 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003587/0.6245, allocations: 77.67 kB / 454.2 MB, free: 3.531 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009314/0.6255, allocations: 0.7205 MB / 454.9 MB, free: 2.801 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005775/0.6261, allocations: 355.2 kB / 455.3 MB, free: 2.449 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.6262, allocations: 24 kB / 455.3 MB, free: 2.426 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002422/0.6265, allocations: 366.7 kB / 455.7 MB, free: 2.059 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001681/0.6282, allocations: 0.6818 MB / 456.4 MB, free: 1.375 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002091/0.6303, allocations: 0.9381 MB / 457.3 MB, free: 348 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001793/0.6321, allocations: 0.7168 MB / 458 MB, free: 15.62 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.177e-05/0.6321, allocations: 4 kB / 458 MB, free: 15.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.004565/0.6367, allocations: 1.93 MB / 459.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001398/0.6382, allocations: 2.45 MB / 462.4 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.86e-05/0.6382, allocations: 4 kB / 462.4 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001741/0.64, allocations: 0.5005 MB / 462.9 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.6412, allocations: 159.7 kB / 463.1 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.011/0.6522, allocations: 5.547 MB / 468.6 MB, free: 4.691 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.6537, allocations: 183.1 kB / 468.8 MB, free: 4.512 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/0.6539, allocations: 48 kB / 468.8 MB, free: 4.465 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.6539, allocations: 4 kB / 468.8 MB, free: 4.461 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004251/0.6582, allocations: 1.847 MB / 470.7 MB, free: 2.609 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/0.6583, allocations: 8 kB / 470.7 MB, free: 2.602 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001478/0.6597, allocations: 0.4893 MB / 471.2 MB, free: 2.109 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009061/0.6607, allocations: 151.7 kB / 471.3 MB, free: 1.961 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01085/0.6715, allocations: 5.595 MB / 476.9 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.6727, allocations: 159.3 kB / 477.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001969/0.6729, allocations: 40 kB / 477.1 MB, free: 12.03 MB / 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 (131): * Single equations (assignments): 130 * 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 30} Notification: Performance of prepare postOptimizeDAE: time 0.002007/0.6749, allocations: 0.8057 MB / 477.9 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003998/0.6753, allocations: 130.4 kB / 478 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004603/0.6758, allocations: 156.5 kB / 478.2 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.6758, allocations: 12 kB / 478.2 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.6759, allocations: 4 kB / 478.2 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-05/0.6759, allocations: 11.91 kB / 478.2 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008442/0.6844, allocations: 3.555 MB / 481.8 MB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.6844, allocations: 0 / 481.8 MB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006256/0.685, allocations: 91.81 kB / 481.9 MB, free: 7.188 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001603/0.6867, allocations: 484.3 kB / 482.3 MB, free: 6.711 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001698/0.6869, allocations: 27.98 kB / 482.4 MB, free: 6.684 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01103/0.6979, allocations: 5.524 MB / 487.9 MB, free: 1.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.6e-06/0.6979, allocations: 0 / 487.9 MB, free: 1.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006012/0.704, allocations: 2.634 MB / 490.5 MB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/0.7051, allocations: 363.2 kB / 490.9 MB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002904/0.7054, allocations: 47.97 kB / 490.9 MB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009554/0.7064, allocations: 107.9 kB / 491 MB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006659/0.7071, allocations: 224.6 kB / 491.3 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/0.7072, allocations: 35.98 kB / 491.3 MB, free: 13.58 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001802/0.709, allocations: 0.803 MB / 492.1 MB, free: 12.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.37e-07/0.709, allocations: 0 / 492.1 MB, free: 12.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003189/0.7122, allocations: 0.8333 MB / 492.9 MB, free: 11.93 MB / 378.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: 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_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[1].off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 75 * 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 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004262/0.7127, allocations: 205.5 kB / 493.1 MB, free: 11.72 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007018/0.7197, allocations: 3.112 MB / 496.2 MB, free: 8.586 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/0.7198, allocations: 0.5625 kB / 496.2 MB, free: 8.586 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002421/0.7222, allocations: 1.096 MB / 497.3 MB, free: 7.477 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001809/0.724, allocations: 312.2 kB / 497.6 MB, free: 7.172 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008382/0.7324, allocations: 4 MB / 0.4899 GB, free: 3.145 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002131/0.7346, allocations: 1.68 MB / 0.4915 GB, free: 1.434 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000471/0.7351, allocations: 87.42 kB / 0.4916 GB, free: 1.348 MB / 378.7 MB Notification: Performance of SimCode: time 1.863e-06/0.7351, allocations: 0 / 0.4916 GB, free: 1.348 MB / 378.7 MB Notification: Performance of Templates: time 0.05594/0.7911, allocations: 30.7 MB / 0.5216 GB, free: 2.621 MB / 410.7 MB