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.RectifierBridge2mPulse.HalfControlledBridge2mPulse.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.HalfControlledBridge2mPulse,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.1..u|rectifier.pre.2..u|rectifier.pre.3..u|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.RectifierBridge2mPulse.HalfControlledBridge2mPulse") Notification: Performance of loadModel(Modelica): time 1.812/1.812, allocations: 194.8 MB / 212.3 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000344/0.0003441, allocations: 8 kB / 264.5 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09135/0.09172, allocations: 44.5 MB / 309 MB, free: 1.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4093/0.5011, allocations: 87.65 MB / 396.6 MB, free: 14.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/0.5014, allocations: 96.66 kB / 396.7 MB, free: 14.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0989/0.6003, allocations: 28.46 MB / 425.2 MB, free: 4.934 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6003, allocations: 0 / 425.2 MB, free: 4.934 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001436/0.6005, allocations: 50.81 kB / 425.2 MB, free: 4.922 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: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.005752/0.6063, allocations: 2.046 MB / 427.3 MB, free: 3.645 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.6063, allocations: 7.594 kB / 427.3 MB, free: 3.645 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006434/0.607, allocations: 212.3 kB / 427.5 MB, free: 3.539 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006812/0.6138, allocations: 2.051 MB / 429.6 MB, free: 2.715 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/0.614, allocations: 133.6 kB / 429.7 MB, free: 2.707 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003462/0.6143, allocations: 157.9 kB / 429.8 MB, free: 2.707 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005189/0.6195, allocations: 2.253 MB / 432.1 MB, free: 2.031 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.421e-05/0.6196, allocations: 3.938 kB / 432.1 MB, free: 2.027 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002271/0.6199, allocations: 65.16 kB / 432.2 MB, free: 2.027 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-05/0.62, allocations: 72.48 kB / 432.2 MB, free: 2.016 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004604/0.6246, allocations: 1.881 MB / 434.1 MB, free: 1.707 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01526/0.6399, allocations: 6.505 MB / 440.6 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003686/0.6436, allocations: 1.51 MB / 442.1 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.867e-05/0.6437, allocations: 13 kB / 442.1 MB, free: 11.69 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002204/0.6459, allocations: 0.8799 MB / 443 MB, free: 10.79 MB / 330.7 MB Notification: Performance of pre-optimization done (n=116): time 3.938e-06/0.6459, allocations: 0 / 443 MB, free: 10.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=116): time 0.01476/0.6607, allocations: 3.354 MB / 446.4 MB, free: 7.406 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/0.6609, allocations: 153.5 kB / 446.5 MB, free: 7.223 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002727/0.6636, allocations: 1.108 MB / 447.6 MB, free: 6.094 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003803/0.664, allocations: 69.69 kB / 447.7 MB, free: 6.02 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009106/0.665, allocations: 0.6965 MB / 448.4 MB, free: 5.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006773/0.6657, allocations: 346.5 kB / 448.7 MB, free: 4.992 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.6658, allocations: 25.53 kB / 448.8 MB, free: 4.969 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.666, allocations: 358.8 kB / 449.1 MB, free: 4.609 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001951/0.668, allocations: 0.6388 MB / 449.7 MB, free: 3.973 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002326/0.6703, allocations: 0.887 MB / 450.6 MB, free: 2.988 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00209/0.6725, allocations: 0.6705 MB / 451.3 MB, free: 2.32 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.721e-05/0.6725, allocations: 4 kB / 451.3 MB, free: 2.316 MB / 330.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.005412/0.678, allocations: 1.817 MB / 453.1 MB, free: 496 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002444/0.6782, allocations: 280.6 kB / 453.4 MB, free: 128 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.02e-05/0.6783, allocations: 8 kB / 453.4 MB, free: 120 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002104/0.6804, allocations: 488.3 kB / 453.9 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/0.6817, allocations: 171.6 kB / 454.1 MB, free: 15.47 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01261/0.6944, allocations: 5.442 MB / 459.5 MB, free: 9.895 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001824/0.6963, allocations: 171 kB / 459.7 MB, free: 9.727 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002675/0.6966, allocations: 44 kB / 459.7 MB, free: 9.684 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.6966, allocations: 0 / 459.7 MB, free: 9.684 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005011/0.7016, allocations: 1.738 MB / 461.4 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-05/0.7017, allocations: 11.95 kB / 461.5 MB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001742/0.7035, allocations: 485.4 kB / 461.9 MB, free: 7.453 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.7047, allocations: 151.8 kB / 462.1 MB, free: 7.305 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01213/0.7169, allocations: 5.505 MB / 467.6 MB, free: 1.668 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.7182, allocations: 155.2 kB / 467.7 MB, free: 1.516 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/0.7184, allocations: 44 kB / 467.8 MB, free: 1.473 MB / 346.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: 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,$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,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,$PRE.rectifier.pre[1].u,rectifier.pre[1].u,rectifier.pre[1].y,$PRE.rectifier.pre[2].u,rectifier.pre[2].u,rectifier.pre[2].y,$PRE.rectifier.pre[3].u,rectifier.pre[3].u,rectifier.pre[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 (119): * Single equations (assignments): 118 * 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.002014/0.7204, allocations: 0.7544 MB / 468.5 MB, free: 0.707 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000449/0.7209, allocations: 122.6 kB / 468.7 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005262/0.7214, allocations: 160.1 kB / 468.8 MB, free: 436 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/0.7214, allocations: 8 kB / 468.8 MB, free: 428 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.7215, allocations: 4 kB / 468.8 MB, free: 424 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.707e-05/0.7215, allocations: 3.984 kB / 468.8 MB, free: 420 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009813/0.7313, allocations: 3.506 MB / 472.3 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/0.7314, allocations: 0 / 472.3 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009199/0.7323, allocations: 99.81 kB / 472.4 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00193/0.7342, allocations: 480.5 kB / 472.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002329/0.7345, allocations: 24 kB / 472.9 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01224/0.7468, allocations: 5.418 MB / 478.3 MB, free: 6.711 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.7468, allocations: 0 / 478.3 MB, free: 6.711 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007212/0.7541, allocations: 2.641 MB / 481 MB, free: 4.047 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00119/0.7553, allocations: 347.3 kB / 481.3 MB, free: 3.688 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003763/0.7557, allocations: 35.98 kB / 481.4 MB, free: 3.652 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/0.757, allocations: 107.9 kB / 481.5 MB, free: 3.547 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006516/0.7577, allocations: 176.7 kB / 481.6 MB, free: 3.375 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001186/0.7578, allocations: 39.92 kB / 481.7 MB, free: 3.336 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001859/0.7597, allocations: 0.7555 MB / 482.4 MB, free: 2.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.32e-07/0.7597, allocations: 0 / 482.4 MB, free: 2.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003534/0.7633, allocations: 0.802 MB / 483.2 MB, free: 1.766 MB / 362.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[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.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,rectifier.pre[1].u,rectifier.pre[1].y,rectifier.pre[2].u,rectifier.pre[2].y,rectifier.pre[3].u,rectifier.pre[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: 9 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.pre[3].u,rectifier.pre[2].u,rectifier.pre[1].u,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 (81): * Single equations (assignments): 71 * 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.0004817/0.7638, allocations: 192.7 kB / 483.4 MB, free: 1.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.008681/0.7725, allocations: 2.992 MB / 486.4 MB, free: 14.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.371e-05/0.7726, allocations: 4.562 kB / 486.4 MB, free: 14.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003302/0.7759, allocations: 1.142 MB / 487.6 MB, free: 13.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002544/0.7785, allocations: 315.4 kB / 487.9 MB, free: 13.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/0.789, allocations: 3.936 MB / 491.8 MB, free: 9.109 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001959/0.791, allocations: 1.638 MB / 493.4 MB, free: 7.441 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005496/0.7916, allocations: 83.42 kB / 493.5 MB, free: 7.359 MB / 378.7 MB Notification: Performance of SimCode: time 1.252e-06/0.7916, allocations: 0 / 493.5 MB, free: 7.359 MB / 378.7 MB Notification: Performance of Templates: time 0.06561/0.8572, allocations: 29.51 MB / 0.5108 GB, free: 9.812 MB / 410.7 MB