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_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.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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_R") Notification: Performance of loadModel(Modelica): time 2.248/2.248, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003982/0.0003983, allocations: 11.98 kB / 264.6 MB, free: 12.91 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09616/0.09658, allocations: 44.5 MB / 309.1 MB, free: 348 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4842/0.5809, allocations: 86.88 MB / 395.9 MB, free: 15.4 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003576/0.5813, allocations: 99.59 kB / 396 MB, free: 15.4 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1284/0.7097, allocations: 35.44 MB / 431.5 MB, free: 2.688 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.7098, allocations: 0 / 431.5 MB, free: 2.688 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001647/0.7099, allocations: 49.78 kB / 431.5 MB, free: 2.676 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.00642/0.7164, allocations: 2.123 MB / 433.7 MB, free: 1.223 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.7164, allocations: 8.031 kB / 433.7 MB, free: 1.215 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007557/0.7172, allocations: 213.5 kB / 433.9 MB, free: 1.004 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007413/0.7246, allocations: 2.066 MB / 435.9 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001885/0.7248, allocations: 139.5 kB / 436.1 MB, free: 15.35 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005336/0.7254, allocations: 171.1 kB / 436.2 MB, free: 15.24 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00667/0.7321, allocations: 2.378 MB / 438.6 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-05/0.7322, allocations: 4 kB / 438.6 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000289/0.7325, allocations: 81.48 kB / 438.7 MB, free: 13.55 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001241/0.7326, allocations: 71.36 kB / 438.8 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006022/0.7387, allocations: 1.976 MB / 440.7 MB, free: 12.22 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01953/0.7582, allocations: 6.743 MB / 447.5 MB, free: 6.195 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004067/0.7623, allocations: 1.558 MB / 449 MB, free: 4.629 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/0.7625, allocations: 12.52 kB / 449.1 MB, free: 4.621 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002496/0.765, allocations: 0.9112 MB / 450 MB, free: 3.688 MB / 330.7 MB Notification: Performance of pre-optimization done (n=122): time 4.328e-06/0.765, allocations: 3.938 kB / 450 MB, free: 3.684 MB / 330.7 MB Notification: Performance of matching and sorting (n=122): time 0.01538/0.7804, allocations: 3.46 MB / 453.4 MB, free: 200 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/0.7806, allocations: 153.5 kB / 453.6 MB, free: 16 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002655/0.7833, allocations: 1.14 MB / 454.7 MB, free: 14.86 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003875/0.7837, allocations: 77.67 kB / 454.8 MB, free: 14.77 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001102/0.7848, allocations: 0.7409 MB / 455.5 MB, free: 14.03 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006974/0.7855, allocations: 354.2 kB / 455.9 MB, free: 13.7 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.7857, allocations: 24 kB / 455.9 MB, free: 13.67 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002205/0.7859, allocations: 365.9 kB / 456.3 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001991/0.7879, allocations: 0.6778 MB / 456.9 MB, free: 12.63 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00244/0.7904, allocations: 0.9421 MB / 457.9 MB, free: 11.6 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002127/0.7925, allocations: 0.7207 MB / 458.6 MB, free: 10.88 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/0.7926, allocations: 0 / 458.6 MB, free: 10.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.007169/0.7997, allocations: 2.011 MB / 460.6 MB, free: 8.852 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003634/0.8001, allocations: 277.5 kB / 460.9 MB, free: 8.492 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.458e-05/0.8002, allocations: 4 kB / 460.9 MB, free: 8.488 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002891/0.8031, allocations: 0.4966 MB / 461.4 MB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001765/0.8049, allocations: 167.7 kB / 461.6 MB, free: 7.824 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01821/0.8231, allocations: 5.567 MB / 467.1 MB, free: 2.117 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002479/0.8257, allocations: 167.1 kB / 467.3 MB, free: 1.953 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002338/0.8259, allocations: 55.98 kB / 467.3 MB, free: 1.898 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.826, allocations: 4 kB / 467.3 MB, free: 1.895 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007134/0.8331, allocations: 1.839 MB / 469.2 MB, free: 52 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.257e-05/0.8332, allocations: 8.094 kB / 469.2 MB, free: 44 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003055/0.8363, allocations: 0.5009 MB / 469.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002033/0.8383, allocations: 151.7 kB / 469.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0166/0.855, allocations: 5.564 MB / 475.4 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/0.8567, allocations: 159.2 kB / 475.6 MB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/0.8569, allocations: 44 kB / 475.6 MB, free: 9.504 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.00196/0.8589, allocations: 0.7901 MB / 476.4 MB, free: 8.695 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004521/0.8593, allocations: 134.3 kB / 476.5 MB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005411/0.8599, allocations: 168.4 kB / 476.7 MB, free: 8.391 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/0.8599, allocations: 12 kB / 476.7 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/0.8599, allocations: 0 / 476.7 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.056e-05/0.86, allocations: 7.969 kB / 476.7 MB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009761/0.8697, allocations: 3.632 MB / 480.3 MB, free: 4.699 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/0.8698, allocations: 3.938 kB / 480.3 MB, free: 4.695 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000858/0.8707, allocations: 95.83 kB / 480.4 MB, free: 4.602 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001915/0.8726, allocations: 492.4 kB / 480.9 MB, free: 4.117 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000146/0.8728, allocations: 20 kB / 480.9 MB, free: 4.098 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01294/0.8857, allocations: 5.531 MB / 486.5 MB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.8858, allocations: 0 / 486.5 MB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007316/0.8931, allocations: 2.704 MB / 489.2 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001204/0.8943, allocations: 371.3 kB / 489.5 MB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003812/0.8947, allocations: 47.97 kB / 489.6 MB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/0.896, allocations: 107.9 kB / 489.7 MB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008202/0.8969, allocations: 232.5 kB / 489.9 MB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/0.897, allocations: 35.98 kB / 489.9 MB, free: 10.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001834/0.8988, allocations: 0.7716 MB / 490.7 MB, free: 10.13 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.8989, allocations: 0 / 490.7 MB, free: 10.13 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003336/0.9022, allocations: 0.845 MB / 491.6 MB, free: 9.281 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: 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_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 77 * 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.0004468/0.9027, allocations: 205.5 kB / 491.8 MB, free: 9.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008653/0.9114, allocations: 3.152 MB / 494.9 MB, free: 5.887 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.9114, allocations: 0 / 494.9 MB, free: 5.887 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003409/0.9148, allocations: 1.197 MB / 496.1 MB, free: 4.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002649/0.9175, allocations: 311 kB / 496.4 MB, free: 4.379 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/0.9289, allocations: 4.061 MB / 0.4888 GB, free: 292 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002218/0.9311, allocations: 1.711 MB / 0.4904 GB, free: 14.54 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002181/0.9333, allocations: 438.4 kB / 0.4908 GB, free: 14.11 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004299/0.9338, allocations: 75.44 kB / 0.4909 GB, free: 14.03 MB / 394.7 MB Notification: Performance of SimCode: time 9.82e-07/0.9338, allocations: 0 / 0.4909 GB, free: 14.03 MB / 394.7 MB Notification: Performance of Templates: time 0.08592/1.02, allocations: 27.43 MB / 0.5177 GB, free: 2.641 MB / 410.7 MB