Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RL") Notification: Performance of loadModel(Modelica): time 2.571/2.571, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003516, allocations: 8 kB / 264.6 MB, free: 12.91 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09935/0.09974, allocations: 44.5 MB / 309.1 MB, free: 352 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.476/0.5758, allocations: 87.36 MB / 396.4 MB, free: 15.42 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003391/0.5762, allocations: 99.73 kB / 396.5 MB, free: 15.42 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1738/0.75, allocations: 46.97 MB / 443.5 MB, free: 9.785 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.577e-06/0.7502, allocations: 0 / 443.5 MB, free: 9.785 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002862/0.7505, allocations: 54.2 kB / 443.5 MB, free: 9.734 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.008054/0.7585, allocations: 2.126 MB / 445.7 MB, free: 7.703 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.7586, allocations: 12.03 kB / 445.7 MB, free: 7.691 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.7597, allocations: 217.5 kB / 445.9 MB, free: 7.477 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008343/0.768, allocations: 2.079 MB / 448 MB, free: 5.895 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002141/0.7683, allocations: 134.4 kB / 448.1 MB, free: 5.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007501/0.7691, allocations: 169.8 kB / 448.3 MB, free: 5.707 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007675/0.7767, allocations: 2.406 MB / 450.7 MB, free: 3.578 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.059e-05/0.7769, allocations: 7.938 kB / 450.7 MB, free: 3.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002945/0.7772, allocations: 72 kB / 450.8 MB, free: 3.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001449/0.7773, allocations: 75.41 kB / 450.8 MB, free: 3.426 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007162/0.7845, allocations: 1.985 MB / 452.8 MB, free: 1.438 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0215/0.8061, allocations: 6.803 MB / 459.6 MB, free: 10.56 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004299/0.8104, allocations: 1.552 MB / 461.2 MB, free: 8.992 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001491/0.8106, allocations: 17 kB / 461.2 MB, free: 8.977 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002681/0.8133, allocations: 0.9225 MB / 462.1 MB, free: 8.039 MB / 346.7 MB Notification: Performance of pre-optimization done (n=124): time 5.59e-06/0.8134, allocations: 0 / 462.1 MB, free: 8.039 MB / 346.7 MB Notification: Performance of matching and sorting (n=124): time 0.01547/0.8289, allocations: 3.394 MB / 465.5 MB, free: 4.613 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001459/0.8291, allocations: 153.5 kB / 465.6 MB, free: 4.43 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002807/0.8319, allocations: 1.148 MB / 466.8 MB, free: 3.262 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004242/0.8324, allocations: 81.67 kB / 466.9 MB, free: 3.176 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001092/0.8335, allocations: 0.7368 MB / 467.6 MB, free: 2.438 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007852/0.8343, allocations: 370 kB / 468 MB, free: 2.086 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.8344, allocations: 28 kB / 468 MB, free: 2.059 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002141/0.8347, allocations: 353.9 kB / 468.3 MB, free: 1.707 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002093/0.8368, allocations: 0.687 MB / 469 MB, free: 1.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002538/0.8394, allocations: 0.9525 MB / 470 MB, free: 15.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002196/0.8416, allocations: 0.7246 MB / 470.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-05/0.8417, allocations: 5.531 kB / 470.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.006234/0.8479, allocations: 2.016 MB / 472.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002685/0.8482, allocations: 281.6 kB / 473 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.8483, allocations: 4 kB / 473 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002115/0.8504, allocations: 0.4909 MB / 473.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/0.8518, allocations: 171.7 kB / 473.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01295/0.8648, allocations: 5.402 MB / 479.1 MB, free: 6.652 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001899/0.8668, allocations: 171.1 kB / 479.2 MB, free: 6.484 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002881/0.8671, allocations: 48 kB / 479.3 MB, free: 6.438 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.8671, allocations: 4 kB / 479.3 MB, free: 6.434 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005463/0.8726, allocations: 1.863 MB / 481.2 MB, free: 4.566 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.812e-05/0.8727, allocations: 8 kB / 481.2 MB, free: 4.559 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001917/0.8746, allocations: 497.2 kB / 481.6 MB, free: 4.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/0.876, allocations: 163.7 kB / 481.8 MB, free: 3.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01284/0.8889, allocations: 5.405 MB / 487.2 MB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001859/0.8908, allocations: 159.2 kB / 487.4 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002714/0.8911, allocations: 51.98 kB / 487.4 MB, free: 14.16 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.002188/0.8933, allocations: 0.7785 MB / 488.2 MB, free: 13.37 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005005/0.8938, allocations: 134.5 kB / 488.3 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006547/0.8945, allocations: 168.5 kB / 488.5 MB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-05/0.8945, allocations: 15.98 kB / 488.5 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.8945, allocations: 0 / 488.5 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.005e-05/0.8946, allocations: 11.97 kB / 488.5 MB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01149/0.9061, allocations: 3.655 MB / 492.2 MB, free: 9.344 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.464e-05/0.9062, allocations: 0 / 492.2 MB, free: 9.344 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.9072, allocations: 115.9 kB / 492.3 MB, free: 9.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001997/0.9092, allocations: 460.7 kB / 492.7 MB, free: 8.777 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002715/0.9096, allocations: 27.98 kB / 492.8 MB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01285/0.9224, allocations: 5.373 MB / 498.1 MB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.9225, allocations: 3.953 kB / 498.1 MB, free: 3.246 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007916/0.9304, allocations: 2.72 MB / 0.4891 GB, free: 0.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001352/0.9318, allocations: 367.3 kB / 0.4895 GB, free: 124 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005266/0.9324, allocations: 43.98 kB / 0.4895 GB, free: 80 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001473/0.9339, allocations: 111.9 kB / 0.4896 GB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009456/0.9349, allocations: 240.6 kB / 0.4899 GB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001512/0.935, allocations: 35.98 kB / 0.4899 GB, free: 15.7 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002018/0.9371, allocations: 0.7757 MB / 0.4906 GB, free: 14.91 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.9371, allocations: 0 / 0.4906 GB, free: 14.91 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004153/0.9413, allocations: 0.8566 MB / 0.4915 GB, free: 14.05 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.0006911/0.942, allocations: 197.5 kB / 0.4917 GB, free: 13.86 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009807/0.9519, allocations: 3.142 MB / 0.4947 GB, free: 10.69 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-05/0.9519, allocations: 8.125 kB / 0.4947 GB, free: 10.68 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003625/0.9556, allocations: 1.174 MB / 0.4959 GB, free: 9.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002771/0.9584, allocations: 316.7 kB / 0.4962 GB, free: 9.191 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01184/0.9703, allocations: 4.15 MB / 0.5002 GB, free: 5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002698/0.973, allocations: 1.722 MB / 0.5019 GB, free: 3.246 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002255/0.9754, allocations: 430.4 kB / 0.5023 GB, free: 2.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004713/0.9759, allocations: 91.36 kB / 0.5024 GB, free: 2.734 MB / 394.7 MB Notification: Performance of SimCode: time 1.443e-06/0.9759, allocations: 0 / 0.5024 GB, free: 2.734 MB / 394.7 MB Notification: Performance of Templates: time 0.3887/1.365, allocations: 27.11 MB / 0.5289 GB, free: 121.7 MB / 410.7 MB