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.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_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.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulsem.twomPulse.timerNegative.1..entryTime|pulsem.twomPulse.timerNegative.2..entryTime|pulsem.twomPulse.timerNegative.3..entryTime|pulsem.twomPulse.timerPositive.1..entryTime|pulsem.twomPulse.timerPositive.2..entryTime|pulsem.twomPulse.timerPositive.3..entryTime|rectifier.thyristor.idealThyristor.1..off|rectifier.thyristor.idealThyristor.2..off|rectifier.thyristor.idealThyristor.3..off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL") Notification: Performance of loadModel(Modelica): time 2.147/2.147, allocations: 194.8 MB / 211.7 MB, free: 3.016 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005005/0.0005008, allocations: 8 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09698/0.09753, allocations: 44.5 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.535/0.6326, allocations: 85.15 MB / 394.2 MB, free: 15.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/0.6329, allocations: 99.59 kB / 394.3 MB, free: 15.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1068/0.7397, allocations: 28.16 MB / 422.5 MB, free: 6.047 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.7398, allocations: 0 / 422.5 MB, free: 6.047 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001305/0.7399, allocations: 30.67 kB / 422.5 MB, free: 6.047 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.004718/0.7447, allocations: 1.653 MB / 424.2 MB, free: 4.961 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.7447, allocations: 7.031 kB / 424.2 MB, free: 4.961 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006162/0.7453, allocations: 162.3 kB / 424.3 MB, free: 4.879 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005673/0.751, allocations: 1.646 MB / 426 MB, free: 4.199 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.7512, allocations: 104.1 kB / 426.1 MB, free: 4.191 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003259/0.7515, allocations: 129.2 kB / 426.2 MB, free: 4.188 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004417/0.756, allocations: 1.724 MB / 427.9 MB, free: 3.66 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-05/0.7561, allocations: 0 / 427.9 MB, free: 3.66 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001929/0.7563, allocations: 53.62 kB / 428 MB, free: 3.66 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.063e-05/0.7564, allocations: 52.94 kB / 428 MB, free: 3.652 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003841/0.7602, allocations: 1.409 MB / 429.4 MB, free: 3.414 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01163/0.7719, allocations: 4.958 MB / 434.4 MB, free: 1.176 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002214/0.7742, allocations: 0.9938 MB / 435.4 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.529e-05/0.7743, allocations: 8.656 kB / 435.4 MB, free: 0.582 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00143/0.7757, allocations: 0.6402 MB / 436 MB, free: 88 kB / 314.7 MB Notification: Performance of pre-optimization done (n=83): time 4.659e-06/0.7757, allocations: 3.938 kB / 436 MB, free: 84 kB / 314.7 MB Notification: Performance of matching and sorting (n=83): time 0.005923/0.7817, allocations: 1.727 MB / 437.8 MB, free: 14.76 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001153/0.7818, allocations: 123 kB / 437.9 MB, free: 14.62 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001773/0.7836, allocations: 0.8513 MB / 438.7 MB, free: 13.96 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001605/0.7838, allocations: 55.25 kB / 438.8 MB, free: 13.92 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007046/0.7845, allocations: 0.5744 MB / 439.4 MB, free: 13.5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003557/0.7849, allocations: 246.5 kB / 439.6 MB, free: 13.31 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.23e-05/0.785, allocations: 18.88 kB / 439.6 MB, free: 13.3 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002116/0.7852, allocations: 349.9 kB / 440 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001324/0.7865, allocations: 453.7 kB / 440.4 MB, free: 12.51 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001544/0.7881, allocations: 0.665 MB / 441.1 MB, free: 11.75 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001398/0.7895, allocations: 478.7 kB / 441.5 MB, free: 11.29 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/0.7895, allocations: 4 kB / 441.5 MB, free: 11.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003761/0.7933, allocations: 1.294 MB / 442.8 MB, free: 9.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002703/0.7936, allocations: 280.6 kB / 443.1 MB, free: 9.621 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.056e-05/0.7937, allocations: 8 kB / 443.1 MB, free: 9.613 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009109/0.7946, allocations: 216.7 kB / 443.3 MB, free: 9.398 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.7957, allocations: 151.7 kB / 443.5 MB, free: 9.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00551/0.8012, allocations: 2.82 MB / 446.3 MB, free: 6.297 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/0.8027, allocations: 147.6 kB / 446.4 MB, free: 6.152 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.8028, allocations: 36 kB / 446.5 MB, free: 6.117 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.8029, allocations: 4.625 kB / 446.5 MB, free: 6.113 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003282/0.8062, allocations: 1.161 MB / 447.6 MB, free: 4.949 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.8062, allocations: 11.94 kB / 447.7 MB, free: 4.938 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008316/0.8071, allocations: 221.1 kB / 447.9 MB, free: 4.719 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.8081, allocations: 139.8 kB / 448 MB, free: 4.582 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005591/0.8138, allocations: 2.83 MB / 450.8 MB, free: 1.617 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/0.8151, allocations: 127.3 kB / 451 MB, free: 1.492 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.8153, allocations: 36 kB / 451 MB, free: 1.457 MB / 330.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: 48 ($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,$PRE.rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[1].off,$PRE.rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[2].off,$PRE.rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[3].off,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.positiveThreshold[3].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.negativeThreshold[3].y,$PRE.pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[1].entryTime,$PRE.pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,$PRE.pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,$PRE.pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,$PRE.pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,$PRE.pulsem.twomPulse.timerNegative[3].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 105 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.001476/0.8168, allocations: 0.6101 MB / 451.6 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002883/0.8171, allocations: 86.97 kB / 451.7 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003554/0.8174, allocations: 113 kB / 451.8 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/0.8175, allocations: 11.98 kB / 451.8 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.8175, allocations: 4 kB / 451.8 MB, free: 0.625 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.575e-05/0.8175, allocations: 3.984 kB / 451.8 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007091/0.8246, allocations: 2.523 MB / 454.3 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/0.8247, allocations: 7.938 kB / 454.4 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000807/0.8255, allocations: 91.83 kB / 454.4 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007719/0.8263, allocations: 205 kB / 454.6 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.8264, allocations: 23.94 kB / 454.7 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005474/0.8319, allocations: 2.804 MB / 457.5 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.8319, allocations: 0 / 457.5 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004924/0.8369, allocations: 1.788 MB / 459.3 MB, free: 8.98 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007837/0.8377, allocations: 267.9 kB / 459.5 MB, free: 8.699 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002269/0.8379, allocations: 19.98 kB / 459.5 MB, free: 8.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000971/0.8389, allocations: 87.92 kB / 459.6 MB, free: 8.594 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000517/0.8395, allocations: 148.4 kB / 459.8 MB, free: 8.449 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.171e-05/0.8396, allocations: 23.98 kB / 459.8 MB, free: 8.426 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001298/0.8409, allocations: 0.5771 MB / 460.4 MB, free: 7.844 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.32e-07/0.8409, allocations: 0 / 460.4 MB, free: 7.844 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002839/0.8437, allocations: 0.58 MB / 461 MB, free: 7.262 MB / 346.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: 36 (pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.negativeThreshold[3].y,pulsem.twomPulse.positiveThreshold[3].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.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 6 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[1].off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 61 * 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 {3 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005346/0.8443, allocations: 172.9 kB / 461.1 MB, free: 7.086 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006532/0.8509, allocations: 2.015 MB / 463.1 MB, free: 5.039 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/0.851, allocations: 0 / 463.1 MB, free: 5.039 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002088/0.8531, allocations: 0.7484 MB / 463.9 MB, free: 4.281 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001531/0.8546, allocations: 183.6 kB / 464.1 MB, free: 4.105 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007416/0.8621, allocations: 2.981 MB / 467 MB, free: 1.086 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00159/0.8637, allocations: 1.401 MB / 468.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001609/0.8654, allocations: 315.1 kB / 468.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003286/0.8657, allocations: 67.42 kB / 468.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/0.8657, allocations: 0 / 468.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of Templates: time 0.04727/0.913, allocations: 15.48 MB / 484.3 MB, free: 15.86 MB / 378.7 MB