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.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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_R") Notification: Performance of loadModel(Modelica): time 2.281/2.281, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003507, allocations: 15.94 kB / 264.6 MB, free: 12.91 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0985/0.09887, allocations: 44.5 MB / 309.1 MB, free: 352 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5565/0.6554, allocations: 86.11 MB / 395.2 MB, free: 15.34 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003352/0.6558, allocations: 102.6 kB / 395.3 MB, free: 15.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1415/0.7974, allocations: 35.39 MB / 430.7 MB, free: 2.816 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.7974, allocations: 0 / 430.7 MB, free: 2.816 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002298/0.7977, allocations: 50.44 kB / 430.7 MB, free: 2.805 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.007862/0.8055, allocations: 2.167 MB / 432.9 MB, free: 1.465 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.8056, allocations: 11.56 kB / 432.9 MB, free: 1.465 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.8067, allocations: 225.3 kB / 433.1 MB, free: 1.352 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007147/0.8138, allocations: 1.981 MB / 435.1 MB, free: 15.94 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002131/0.8141, allocations: 131.1 kB / 435.2 MB, free: 15.86 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007889/0.8149, allocations: 171 kB / 435.4 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007849/0.8228, allocations: 2.401 MB / 437.8 MB, free: 14.07 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.378e-05/0.8229, allocations: 0 / 437.8 MB, free: 14.07 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000304/0.8232, allocations: 69.75 kB / 437.9 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000134/0.8234, allocations: 75.16 kB / 437.9 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00818/0.8316, allocations: 2.074 MB / 440 MB, free: 12.63 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02067/0.8523, allocations: 7.071 MB / 447.1 MB, free: 6.297 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00406/0.8564, allocations: 1.496 MB / 448.6 MB, free: 4.785 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001182/0.8566, allocations: 24.47 kB / 448.6 MB, free: 4.766 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003192/0.8598, allocations: 0.8995 MB / 449.5 MB, free: 3.848 MB / 330.7 MB Notification: Performance of pre-optimization done (n=113): time 6.212e-06/0.8598, allocations: 4 kB / 449.5 MB, free: 3.844 MB / 330.7 MB Notification: Performance of matching and sorting (n=113): time 0.01771/0.8776, allocations: 2.985 MB / 452.5 MB, free: 0.832 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001445/0.8778, allocations: 123.8 kB / 452.6 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007915/0.8857, allocations: 1.221 MB / 453.8 MB, free: 15.45 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004269/0.8862, allocations: 69.69 kB / 453.9 MB, free: 15.38 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00557/0.8918, allocations: 0.7566 MB / 454.7 MB, free: 14.62 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008022/0.8926, allocations: 334 kB / 455 MB, free: 14.3 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.8928, allocations: 24 kB / 455 MB, free: 14.27 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002485/0.893, allocations: 349.9 kB / 455.4 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002778/0.8958, allocations: 0.6428 MB / 456 MB, free: 13.28 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01101/0.9069, allocations: 0.8537 MB / 456.8 MB, free: 12.35 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0028/0.9097, allocations: 0.6589 MB / 457.5 MB, free: 11.7 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.401e-05/0.9098, allocations: 4 kB / 457.5 MB, free: 11.69 MB / 346.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.01174/0.9215, allocations: 1.829 MB / 459.3 MB, free: 9.852 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002812/0.9218, allocations: 239.4 kB / 459.6 MB, free: 9.547 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-05/0.9219, allocations: 4 kB / 459.6 MB, free: 9.543 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01036/0.9323, allocations: 446.4 kB / 460 MB, free: 9.105 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001863/0.9342, allocations: 171.7 kB / 460.2 MB, free: 8.938 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01973/0.9539, allocations: 4.5 MB / 464.7 MB, free: 4.305 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003009/0.957, allocations: 167.2 kB / 464.8 MB, free: 4.141 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003846/0.9574, allocations: 40 kB / 464.9 MB, free: 4.102 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.9575, allocations: 4 kB / 464.9 MB, free: 4.098 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008366/0.9659, allocations: 1.668 MB / 466.6 MB, free: 2.426 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.307e-05/0.966, allocations: 8 kB / 466.6 MB, free: 2.418 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002636/0.9686, allocations: 424.7 kB / 467 MB, free: 2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002205/0.9709, allocations: 171.7 kB / 467.1 MB, free: 1.832 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01595/0.9869, allocations: 4.492 MB / 471.6 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002648/0.9896, allocations: 151.2 kB / 471.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004075/0.9901, allocations: 43.98 kB / 471.8 MB, free: 13.01 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.003122/0.9932, allocations: 0.7857 MB / 472.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007043/0.9939, allocations: 134.4 kB / 472.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008598/0.9948, allocations: 160.6 kB / 472.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.579e-05/0.9949, allocations: 15.98 kB / 472.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.9949, allocations: 0 / 472.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.513e-05/0.995, allocations: 3.984 kB / 472.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01723/1.012, allocations: 3.666 MB / 476.6 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.62e-05/1.012, allocations: 0 / 476.6 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001813/1.014, allocations: 127.8 kB / 476.7 MB, free: 8.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00273/1.017, allocations: 404.5 kB / 477.1 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003146/1.017, allocations: 20 kB / 477.1 MB, free: 7.652 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01476/1.032, allocations: 4.359 MB / 481.5 MB, free: 3.164 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.175e-06/1.032, allocations: 4 kB / 481.5 MB, free: 3.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007833/1.04, allocations: 2.704 MB / 484.2 MB, free: 444 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001272/1.041, allocations: 367.2 kB / 484.6 MB, free: 56 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000396/1.042, allocations: 35.92 kB / 484.6 MB, free: 20 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001494/1.043, allocations: 108.5 kB / 484.7 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008757/1.044, allocations: 228.6 kB / 484.9 MB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001337/1.044, allocations: 31.98 kB / 484.9 MB, free: 15.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002063/1.046, allocations: 0.8354 MB / 485.8 MB, free: 14.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.72e-07/1.046, allocations: 0 / 485.8 MB, free: 14.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003613/1.05, allocations: 0.8252 MB / 486.6 MB, free: 13.99 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.00061/1.051, allocations: 192.5 kB / 486.8 MB, free: 13.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01075/1.061, allocations: 2.937 MB / 489.7 MB, free: 10.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-05/1.061, allocations: 0 / 489.7 MB, free: 10.83 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005948/1.067, allocations: 1.171 MB / 490.9 MB, free: 9.648 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0037/1.071, allocations: 292.3 kB / 491.2 MB, free: 9.359 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01345/1.085, allocations: 4.491 MB / 495.7 MB, free: 4.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002537/1.087, allocations: 1.744 MB / 497.4 MB, free: 3.059 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002153/1.09, allocations: 405.8 kB / 497.8 MB, free: 2.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000441/1.09, allocations: 79.42 kB / 497.9 MB, free: 2.582 MB / 378.7 MB Notification: Performance of SimCode: time 1.473e-06/1.09, allocations: 4 kB / 497.9 MB, free: 2.578 MB / 378.7 MB Notification: Performance of Templates: time 0.07452/1.165, allocations: 25.09 MB / 0.5107 GB, free: 9.531 MB / 410.7 MB