Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.932/1.932, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003575/0.0003576, allocations: 8 kB / 264 MB, free: 13.55 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08183/0.08221, allocations: 44.52 MB / 308.5 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3493/0.4315, allocations: 87.65 MB / 396.1 MB, free: 18.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/0.4319, allocations: 89.33 kB / 396.2 MB, free: 18.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09889/0.5308, allocations: 28.47 MB / 424.7 MB, free: 9.055 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.882e-06/0.5308, allocations: 0 / 424.7 MB, free: 9.055 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001816/0.531, allocations: 54.55 kB / 424.7 MB, free: 9.039 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.0055/0.5365, allocations: 2.048 MB / 426.8 MB, free: 7.742 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.5366, allocations: 7.406 kB / 426.8 MB, free: 7.742 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007442/0.5374, allocations: 208.1 kB / 427 MB, free: 7.641 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006716/0.5441, allocations: 2.04 MB / 429 MB, free: 6.746 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001439/0.5443, allocations: 126 kB / 429.2 MB, free: 6.742 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004216/0.5447, allocations: 164.7 kB / 429.3 MB, free: 6.738 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005207/0.5499, allocations: 2.249 MB / 431.6 MB, free: 6.051 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.207e-05/0.55, allocations: 7.984 kB / 431.6 MB, free: 6.043 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002258/0.5503, allocations: 65.31 kB / 431.6 MB, free: 6.043 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-05/0.5504, allocations: 69.14 kB / 431.7 MB, free: 6.035 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004958/0.5553, allocations: 1.887 MB / 433.6 MB, free: 5.719 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01316/0.5685, allocations: 6.493 MB / 440.1 MB, free: 1.305 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003146/0.5717, allocations: 1.597 MB / 441.7 MB, free: 220 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.31e-05/0.5718, allocations: 13 kB / 441.7 MB, free: 208 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001865/0.5737, allocations: 0.8448 MB / 442.5 MB, free: 15.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=114): time 5.933e-06/0.5738, allocations: 4 kB / 442.5 MB, free: 15.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=114): time 0.01186/0.5856, allocations: 3.42 MB / 446 MB, free: 11.88 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000147/0.5858, allocations: 157.5 kB / 446.1 MB, free: 11.7 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002536/0.5884, allocations: 1.018 MB / 447.1 MB, free: 10.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003049/0.5887, allocations: 69.67 kB / 447.2 MB, free: 10.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008937/0.5896, allocations: 0.7009 MB / 447.9 MB, free: 9.879 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005901/0.5902, allocations: 347.2 kB / 448.2 MB, free: 9.535 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.5904, allocations: 24 kB / 448.3 MB, free: 9.512 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002443/0.5906, allocations: 362.7 kB / 448.6 MB, free: 9.148 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001581/0.5922, allocations: 0.6311 MB / 449.3 MB, free: 8.516 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001939/0.5942, allocations: 0.8869 MB / 450.1 MB, free: 7.535 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001784/0.596, allocations: 0.6666 MB / 450.8 MB, free: 6.867 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.429e-05/0.5961, allocations: 0 / 450.8 MB, free: 6.867 MB / 330.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004737/0.6008, allocations: 1.817 MB / 452.6 MB, free: 5.039 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001431/0.6023, allocations: 2.445 MB / 455.1 MB, free: 2.402 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-05/0.6023, allocations: 4 kB / 455.1 MB, free: 2.398 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001821/0.6042, allocations: 0.4886 MB / 455.6 MB, free: 1.906 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009112/0.6051, allocations: 155.7 kB / 455.7 MB, free: 1.754 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01121/0.6163, allocations: 5.458 MB / 461.2 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.6179, allocations: 187 kB / 461.4 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002027/0.6181, allocations: 44 kB / 461.4 MB, free: 11.93 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.6181, allocations: 4 kB / 461.4 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004386/0.6225, allocations: 1.738 MB / 463.1 MB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-05/0.6226, allocations: 11.94 kB / 463.1 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001479/0.6241, allocations: 485.4 kB / 463.6 MB, free: 9.703 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008938/0.625, allocations: 163.7 kB / 463.8 MB, free: 9.543 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01093/0.636, allocations: 5.498 MB / 469.3 MB, free: 3.898 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/0.637, allocations: 159.2 kB / 469.4 MB, free: 3.742 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/0.6372, allocations: 40 kB / 469.5 MB, free: 3.703 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.001808/0.639, allocations: 0.7545 MB / 470.2 MB, free: 2.938 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004082/0.6395, allocations: 134.4 kB / 470.4 MB, free: 2.805 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004693/0.6399, allocations: 152.1 kB / 470.5 MB, free: 2.652 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.564e-05/0.64, allocations: 12 kB / 470.5 MB, free: 2.641 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.64, allocations: 0 / 470.5 MB, free: 2.641 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.828e-05/0.64, allocations: 7.969 kB / 470.5 MB, free: 2.633 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008588/0.6486, allocations: 3.429 MB / 474 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.609e-06/0.6487, allocations: 0 / 474 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006292/0.6493, allocations: 87.83 kB / 474 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001577/0.6509, allocations: 480.5 kB / 474.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001904/0.6511, allocations: 24 kB / 474.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01072/0.6619, allocations: 5.434 MB / 480 MB, free: 8.988 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/0.6619, allocations: 3.984 kB / 480 MB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005674/0.6676, allocations: 2.544 MB / 482.5 MB, free: 6.422 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009629/0.6686, allocations: 351.3 kB / 482.9 MB, free: 6.059 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002473/0.6689, allocations: 31.98 kB / 482.9 MB, free: 6.027 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009053/0.6698, allocations: 111.8 kB / 483 MB, free: 5.918 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005182/0.6703, allocations: 172.7 kB / 483.2 MB, free: 5.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/0.6704, allocations: 31.98 kB / 483.2 MB, free: 5.719 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001712/0.6722, allocations: 0.7791 MB / 484 MB, free: 4.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.79e-07/0.6722, allocations: 4 kB / 484 MB, free: 4.926 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003294/0.6755, allocations: 0.8059 MB / 484.8 MB, free: 4.117 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 69 * 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.0004331/0.676, allocations: 184.5 kB / 485 MB, free: 3.926 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007342/0.6833, allocations: 2.968 MB / 487.9 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.468e-05/0.6834, allocations: 12.62 kB / 488 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00265/0.686, allocations: 1.06 MB / 489 MB, free: 15.85 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/0.6881, allocations: 304.1 kB / 489.3 MB, free: 15.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009403/0.6976, allocations: 3.89 MB / 493.2 MB, free: 11.63 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002228/0.6998, allocations: 1.635 MB / 494.8 MB, free: 9.969 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004697/0.7004, allocations: 83.42 kB / 494.9 MB, free: 9.887 MB / 378.7 MB Notification: Performance of SimCode: time 1.719e-06/0.7004, allocations: 0 / 494.9 MB, free: 9.887 MB / 378.7 MB Notification: Performance of Templates: time 0.05584/0.7562, allocations: 29.51 MB / 0.5121 GB, free: 12.38 MB / 410.7 MB