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.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_R.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.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_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.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.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_R") Notification: Performance of loadModel(Modelica): time 2.009/2.009, allocations: 194.9 MB / 212.3 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003966/0.0003967, allocations: 8 kB / 264.5 MB, free: 13.6 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.101, allocations: 44.5 MB / 309 MB, free: 1.031 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4313/0.5324, allocations: 86.12 MB / 395.1 MB, free: 14.67 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003521/0.5328, allocations: 90.25 kB / 395.2 MB, free: 14.67 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1387/0.6715, allocations: 35.4 MB / 430.6 MB, free: 2.434 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.6715, allocations: 0 / 430.6 MB, free: 2.434 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001887/0.6717, allocations: 50.81 kB / 430.6 MB, free: 2.422 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: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.0075/0.6793, allocations: 2.17 MB / 432.8 MB, free: 1.082 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.6793, allocations: 11.25 kB / 432.8 MB, free: 1.082 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/0.6806, allocations: 219 kB / 433 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007575/0.6882, allocations: 1.979 MB / 435 MB, free: 180 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002119/0.6885, allocations: 139.6 kB / 435.2 MB, free: 172 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008405/0.6893, allocations: 167.3 kB / 435.3 MB, free: 140 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008761/0.6981, allocations: 2.416 MB / 437.7 MB, free: 14.44 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.891e-05/0.6983, allocations: 3.938 kB / 437.7 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002874/0.6986, allocations: 72.23 kB / 437.8 MB, free: 14.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001335/0.6987, allocations: 75.17 kB / 437.9 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007877/0.7066, allocations: 2.078 MB / 440 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02214/0.7288, allocations: 7.054 MB / 447 MB, free: 6.711 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004032/0.7329, allocations: 1.5 MB / 448.5 MB, free: 5.195 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000142/0.7331, allocations: 16.59 kB / 448.5 MB, free: 5.18 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003047/0.7361, allocations: 0.9065 MB / 449.4 MB, free: 4.258 MB / 330.7 MB Notification: Performance of pre-optimization done (n=113): time 5.61e-06/0.7362, allocations: 3.938 kB / 449.4 MB, free: 4.254 MB / 330.7 MB Notification: Performance of matching and sorting (n=113): time 0.01353/0.7498, allocations: 2.981 MB / 452.4 MB, free: 1.242 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/0.75, allocations: 127.8 kB / 452.5 MB, free: 1.094 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00336/0.7533, allocations: 1.226 MB / 453.8 MB, free: 15.85 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004101/0.7538, allocations: 65.69 kB / 453.8 MB, free: 15.78 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001101/0.7549, allocations: 0.731 MB / 454.6 MB, free: 15.05 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007536/0.7557, allocations: 338.2 kB / 454.9 MB, free: 14.73 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.7559, allocations: 20 kB / 454.9 MB, free: 14.71 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002401/0.7561, allocations: 358.8 kB / 455.3 MB, free: 14.35 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002267/0.7584, allocations: 0.6389 MB / 455.9 MB, free: 13.71 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002656/0.7611, allocations: 0.8654 MB / 456.8 MB, free: 12.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002278/0.7635, allocations: 0.6511 MB / 457.4 MB, free: 12.12 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.801e-05/0.7635, allocations: 4 kB / 457.4 MB, free: 12.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.005882/0.7694, allocations: 1.756 MB / 459.2 MB, free: 10.35 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00024/0.7697, allocations: 235 kB / 459.4 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.163e-05/0.7698, allocations: 8 kB / 459.4 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001839/0.7716, allocations: 442.4 kB / 459.8 MB, free: 9.609 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001509/0.7732, allocations: 171.6 kB / 460 MB, free: 9.441 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01037/0.7836, allocations: 4.501 MB / 464.5 MB, free: 4.801 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001916/0.7855, allocations: 167.2 kB / 464.7 MB, free: 4.637 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003215/0.7859, allocations: 40 kB / 464.7 MB, free: 4.598 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.7859, allocations: 4.625 kB / 464.7 MB, free: 4.594 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005227/0.7912, allocations: 1.668 MB / 466.4 MB, free: 2.926 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.654e-05/0.7913, allocations: 4 kB / 466.4 MB, free: 2.922 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001532/0.7928, allocations: 436.8 kB / 466.8 MB, free: 2.492 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/0.7942, allocations: 159.7 kB / 467 MB, free: 2.336 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01499/0.8092, allocations: 4.554 MB / 471.5 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.8106, allocations: 151.2 kB / 471.7 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001474/0.8108, allocations: 44 kB / 471.7 MB, free: 13.46 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 57 ($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,rectifier.andCondition_n[1].y,rectifier.andCondition_n[2].y,rectifier.andCondition_n[3].y,$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,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 (117): * Single equations (assignments): 116 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.002268/0.813, allocations: 0.7818 MB / 472.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004981/0.8136, allocations: 126.5 kB / 472.6 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005708/0.8141, allocations: 164.6 kB / 472.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.8142, allocations: 12 kB / 472.8 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.8142, allocations: 0 / 472.8 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/0.8142, allocations: 7.922 kB / 472.8 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01088/0.8251, allocations: 3.673 MB / 476.5 MB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.8252, allocations: 0 / 476.5 MB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/0.8263, allocations: 123.9 kB / 476.6 MB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001604/0.8279, allocations: 408.5 kB / 477 MB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001934/0.8281, allocations: 23.98 kB / 477 MB, free: 8.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009791/0.838, allocations: 4.351 MB / 481.4 MB, free: 3.609 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.838, allocations: 0 / 481.4 MB, free: 3.609 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007862/0.8459, allocations: 2.703 MB / 484.1 MB, free: 0.8828 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001335/0.8473, allocations: 367.3 kB / 484.4 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005263/0.8479, allocations: 39.92 kB / 484.5 MB, free: 476 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001506/0.8494, allocations: 103.9 kB / 484.6 MB, free: 372 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008911/0.8503, allocations: 232.6 kB / 484.8 MB, free: 140 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001682/0.8505, allocations: 31.98 kB / 484.8 MB, free: 108 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002195/0.8527, allocations: 0.8354 MB / 485.7 MB, free: 15.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.72e-07/0.8527, allocations: 4 kB / 485.7 MB, free: 15.26 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003694/0.8565, allocations: 0.8252 MB / 486.5 MB, free: 14.43 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 42 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].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.andCondition_n[1].y,rectifier.andCondition_n[2].y,rectifier.andCondition_n[3].y,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,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: 9 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 76 * 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 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005652/0.8571, allocations: 180.5 kB / 486.7 MB, free: 14.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.009057/0.8661, allocations: 2.937 MB / 489.6 MB, free: 11.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/0.8662, allocations: 4.781 kB / 489.6 MB, free: 11.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003452/0.8697, allocations: 1.136 MB / 490.8 MB, free: 10.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002354/0.8721, allocations: 292.9 kB / 491 MB, free: 9.848 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01301/0.8851, allocations: 4.491 MB / 495.5 MB, free: 5.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002087/0.8873, allocations: 1.708 MB / 497.2 MB, free: 3.582 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006726/0.888, allocations: 87.42 kB / 497.3 MB, free: 3.496 MB / 378.7 MB Notification: Performance of SimCode: time 3.817e-06/0.888, allocations: 4 kB / 497.3 MB, free: 3.492 MB / 378.7 MB Notification: Performance of Templates: time 0.06759/0.9556, allocations: 30.81 MB / 0.5158 GB, free: 4.645 MB / 410.7 MB