Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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.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.815/1.815, allocations: 194.8 MB / 212.3 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003556/0.0003556, allocations: 8 kB / 264.5 MB, free: 13.6 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08976/0.09014, allocations: 44.5 MB / 309 MB, free: 1.012 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4041/0.4943, allocations: 87.35 MB / 396.3 MB, free: 14.85 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/0.4947, allocations: 94.23 kB / 396.4 MB, free: 14.85 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.165/0.6597, allocations: 46.95 MB / 443.4 MB, free: 10.1 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.6597, allocations: 0 / 443.4 MB, free: 10.1 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001869/0.6599, allocations: 51.94 kB / 443.4 MB, free: 10.05 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.007248/0.6672, allocations: 2.127 MB / 445.6 MB, free: 8.012 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.6672, allocations: 12.03 kB / 445.6 MB, free: 8 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008333/0.6681, allocations: 217.4 kB / 445.8 MB, free: 7.785 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007566/0.6757, allocations: 2.084 MB / 447.9 MB, free: 6.199 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001906/0.6759, allocations: 137.7 kB / 448 MB, free: 6.121 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004847/0.6764, allocations: 174.7 kB / 448.2 MB, free: 6.008 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006569/0.683, allocations: 2.411 MB / 450.6 MB, free: 3.945 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.445e-05/0.6831, allocations: 8 kB / 450.6 MB, free: 3.938 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002697/0.6834, allocations: 68 kB / 450.7 MB, free: 3.871 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001161/0.6835, allocations: 75.41 kB / 450.7 MB, free: 3.797 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005912/0.6894, allocations: 1.985 MB / 452.7 MB, free: 1.809 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01804/0.7075, allocations: 6.807 MB / 459.5 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003769/0.7113, allocations: 1.552 MB / 461.1 MB, free: 9.363 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.7115, allocations: 13 kB / 461.1 MB, free: 9.352 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00237/0.7138, allocations: 0.9265 MB / 462 MB, free: 8.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=124): time 4.047e-06/0.7139, allocations: 4 kB / 462 MB, free: 8.406 MB / 346.7 MB Notification: Performance of matching and sorting (n=124): time 0.01489/0.7288, allocations: 3.398 MB / 465.4 MB, free: 4.973 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.7289, allocations: 149.5 kB / 465.6 MB, free: 4.797 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002493/0.7314, allocations: 1.148 MB / 466.7 MB, free: 3.629 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002721/0.7317, allocations: 77.61 kB / 466.8 MB, free: 3.547 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008448/0.7326, allocations: 0.724 MB / 467.5 MB, free: 2.82 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005193/0.7331, allocations: 377.9 kB / 467.9 MB, free: 2.465 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.7332, allocations: 28 kB / 467.9 MB, free: 2.438 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.7335, allocations: 362.8 kB / 468.3 MB, free: 2.074 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001914/0.7354, allocations: 0.6831 MB / 468.9 MB, free: 1.391 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002175/0.7376, allocations: 0.9526 MB / 469.9 MB, free: 348 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001972/0.7396, allocations: 0.7275 MB / 470.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.7396, allocations: 0 / 470.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.005091/0.7447, allocations: 1.939 MB / 472.6 MB, free: 13.67 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000226/0.7449, allocations: 281.6 kB / 472.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/0.745, allocations: 4 kB / 472.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001926/0.7469, allocations: 0.4949 MB / 473.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.7482, allocations: 175.7 kB / 473.5 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01197/0.7602, allocations: 5.395 MB / 478.9 MB, free: 7.102 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001897/0.7621, allocations: 175.1 kB / 479.1 MB, free: 6.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002997/0.7624, allocations: 44 kB / 479.1 MB, free: 6.887 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.7625, allocations: 8 kB / 479.1 MB, free: 6.879 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00535/0.7678, allocations: 1.858 MB / 481 MB, free: 5.016 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.171e-05/0.7679, allocations: 8.641 kB / 481 MB, free: 5.008 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001756/0.7697, allocations: 0.4894 MB / 481.5 MB, free: 4.516 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/0.771, allocations: 167.6 kB / 481.7 MB, free: 4.352 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01225/0.7833, allocations: 5.457 MB / 487.1 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/0.7848, allocations: 159.2 kB / 487.3 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/0.785, allocations: 48 kB / 487.3 MB, free: 14.56 MB / 378.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.00216/0.7872, allocations: 0.7901 MB / 488.1 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004752/0.7877, allocations: 126.4 kB / 488.2 MB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005957/0.7883, allocations: 168.6 kB / 488.4 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.896e-05/0.7883, allocations: 15.95 kB / 488.4 MB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.7883, allocations: 0 / 488.4 MB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.611e-05/0.7883, allocations: 3.984 kB / 488.4 MB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01077/0.7991, allocations: 3.673 MB / 492.1 MB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.878e-06/0.7992, allocations: 0 / 492.1 MB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/0.8002, allocations: 103.8 kB / 492.2 MB, free: 9.625 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00184/0.8021, allocations: 468.7 kB / 492.6 MB, free: 9.164 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002294/0.8023, allocations: 23.98 kB / 492.7 MB, free: 9.141 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01206/0.8144, allocations: 5.369 MB / 498 MB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.8144, allocations: 4 kB / 498 MB, free: 3.641 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007539/0.822, allocations: 2.728 MB / 0.489 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001201/0.8233, allocations: 367.2 kB / 0.4894 GB, free: 0.5117 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004451/0.8237, allocations: 47.97 kB / 0.4894 GB, free: 476 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/0.8251, allocations: 111.9 kB / 0.4895 GB, free: 364 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008204/0.826, allocations: 228.6 kB / 0.4897 GB, free: 132 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001253/0.8261, allocations: 39.94 kB / 0.4898 GB, free: 92 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001882/0.828, allocations: 0.7835 MB / 0.4906 GB, free: 15.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.8281, allocations: 0 / 0.4906 GB, free: 15.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00357/0.8316, allocations: 0.8372 MB / 0.4914 GB, free: 14.46 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[2].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 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004953/0.8322, allocations: 202.7 kB / 0.4916 GB, free: 14.25 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008896/0.8411, allocations: 3.143 MB / 0.4946 GB, free: 11.09 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/0.8411, allocations: 0.5625 kB / 0.4946 GB, free: 11.09 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003332/0.8445, allocations: 1.155 MB / 0.4958 GB, free: 9.922 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002549/0.8471, allocations: 310.4 kB / 0.4961 GB, free: 9.617 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/0.8581, allocations: 4.16 MB / 0.5001 GB, free: 5.414 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002172/0.8603, allocations: 1.687 MB / 0.5018 GB, free: 3.695 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006149/0.8609, allocations: 83.42 kB / 0.5018 GB, free: 3.617 MB / 394.7 MB Notification: Performance of SimCode: time 1.393e-06/0.861, allocations: 0 / 0.5018 GB, free: 3.617 MB / 394.7 MB Notification: Performance of Templates: time 0.3158/1.177, allocations: 30.89 MB / 0.532 GB, free: 115.2 MB / 410.7 MB