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.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.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.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") Notification: Performance of loadModel(Modelica): time 2.235/2.235, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.000376, allocations: 12 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1086, allocations: 44.5 MB / 309.1 MB, free: 372 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4198/0.5284, allocations: 82.43 MB / 391.5 MB, free: 15.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004848/0.529, allocations: 91.84 kB / 391.6 MB, free: 15.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06316/0.5922, allocations: 13.43 MB / 405 MB, free: 12.4 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.5922, allocations: 0 / 405 MB, free: 12.4 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.224e-05/0.5923, allocations: 15.53 kB / 405 MB, free: 12.4 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.003174/0.5955, allocations: 0.9583 MB / 406 MB, free: 11.69 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.5956, allocations: 11.53 kB / 406 MB, free: 11.69 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003402/0.5959, allocations: 85.83 kB / 406.1 MB, free: 11.65 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/0.5975, allocations: 0.4992 MB / 406.6 MB, free: 11.31 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.875e-05/0.5976, allocations: 56.44 kB / 406.6 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000205/0.5978, allocations: 63.88 kB / 406.7 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002542/0.6004, allocations: 0.702 MB / 407.4 MB, free: 11.08 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.156e-05/0.6004, allocations: 7.781 kB / 407.4 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001486/0.6006, allocations: 33.23 kB / 407.4 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.36e-05/0.6006, allocations: 15.09 kB / 407.4 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002198/0.6028, allocations: 0.5412 MB / 408 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007125/0.61, allocations: 2.609 MB / 410.6 MB, free: 9.484 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001923/0.612, allocations: 0.5514 MB / 411.2 MB, free: 9.391 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.878e-05/0.6121, allocations: 11.89 kB / 411.2 MB, free: 9.391 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001331/0.6135, allocations: 372.9 kB / 411.5 MB, free: 9.238 MB / 314.7 MB Notification: Performance of pre-optimization done (n=59): time 4.739e-06/0.6135, allocations: 0 / 411.5 MB, free: 9.238 MB / 314.7 MB Notification: Performance of matching and sorting (n=59): time 0.004954/0.6185, allocations: 1.049 MB / 412.6 MB, free: 8.832 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/0.6186, allocations: 114.8 kB / 412.7 MB, free: 8.707 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009837/0.6196, allocations: 466.6 kB / 413.1 MB, free: 8.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000122/0.6197, allocations: 42.95 kB / 413.2 MB, free: 8.488 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003394/0.6201, allocations: 308.9 kB / 413.5 MB, free: 8.309 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002378/0.6203, allocations: 181.2 kB / 413.7 MB, free: 8.184 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.668e-05/0.6204, allocations: 12.06 kB / 413.7 MB, free: 8.184 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.6206, allocations: 368.8 kB / 414 MB, free: 7.852 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008634/0.6214, allocations: 212.7 kB / 414.2 MB, free: 7.816 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009782/0.6224, allocations: 364.2 kB / 414.6 MB, free: 7.617 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008786/0.6233, allocations: 230.2 kB / 414.8 MB, free: 7.586 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/0.6234, allocations: 4 kB / 414.8 MB, free: 7.582 MB / 314.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002652/0.626, allocations: 0.7028 MB / 415.5 MB, free: 7.414 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001416/0.6262, allocations: 211.8 kB / 415.7 MB, free: 7.172 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.6262, allocations: 3.875 kB / 415.7 MB, free: 7.172 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009525/0.6272, allocations: 152.7 kB / 415.9 MB, free: 7.129 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008995/0.6281, allocations: 97.02 kB / 416 MB, free: 7.105 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005228/0.6334, allocations: 3.477 MB / 419.5 MB, free: 4.258 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008663/0.6343, allocations: 76.66 kB / 419.5 MB, free: 4.227 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.966e-05/0.6344, allocations: 25.94 kB / 419.6 MB, free: 4.227 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.6344, allocations: 12.58 kB / 419.6 MB, free: 4.219 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001657/0.6361, allocations: 0.6031 MB / 420.2 MB, free: 4.113 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.6362, allocations: 3.875 kB / 420.2 MB, free: 4.113 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006567/0.6368, allocations: 147.7 kB / 420.3 MB, free: 4.074 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006616/0.6375, allocations: 89.8 kB / 420.4 MB, free: 4.055 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004411/0.6419, allocations: 3.474 MB / 423.9 MB, free: 1.211 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008047/0.6428, allocations: 74.44 kB / 424 MB, free: 1.176 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.234e-05/0.6429, allocations: 23.31 kB / 424 MB, free: 1.176 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n2.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.000604/0.6435, allocations: 313.2 kB / 424.3 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001757/0.6437, allocations: 54.75 kB / 424.3 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001913/0.6439, allocations: 71.47 kB / 424.4 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.026e-06/0.6439, allocations: 7.828 kB / 424.4 MB, free: 0.918 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/0.6439, allocations: 4 kB / 424.4 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.644, allocations: 3.984 kB / 424.4 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003529/0.6475, allocations: 1.458 MB / 425.9 MB, free: 308 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.6476, allocations: 0 / 425.9 MB, free: 308 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005574/0.6481, allocations: 70.39 kB / 426 MB, free: 288 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006345/0.6488, allocations: 136.5 kB / 426.1 MB, free: 248 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.363e-05/0.6489, allocations: 14.14 kB / 426.1 MB, free: 244 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005087/0.654, allocations: 3.317 MB / 429.4 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.654, allocations: 0 / 429.4 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003063/0.6571, allocations: 1.026 MB / 430.4 MB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00049/0.6577, allocations: 197.4 kB / 430.6 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/0.6578, allocations: 17.38 kB / 430.7 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006142/0.6585, allocations: 37.78 kB / 430.7 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002907/0.6588, allocations: 82.5 kB / 430.8 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.637e-05/0.6588, allocations: 16.31 kB / 430.8 MB, free: 13.01 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005825/0.6594, allocations: 318.8 kB / 431.1 MB, free: 12.88 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6594, allocations: 0 / 431.1 MB, free: 12.88 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001748/0.6612, allocations: 322.7 kB / 431.4 MB, free: 12.84 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 20 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003131/0.6616, allocations: 140.6 kB / 431.6 MB, free: 12.74 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0034/0.665, allocations: 1.417 MB / 433 MB, free: 12.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.665, allocations: 0.5625 kB / 433 MB, free: 12.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001317/0.6664, allocations: 0.5748 MB / 433.5 MB, free: 11.79 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009481/0.6674, allocations: 100 kB / 433.6 MB, free: 11.77 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004158/0.6715, allocations: 1.586 MB / 435.2 MB, free: 10.81 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007138/0.6723, allocations: 0.9504 MB / 436.2 MB, free: 9.996 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006384/0.673, allocations: 89.64 kB / 436.3 MB, free: 9.953 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.6732, allocations: 42.3 kB / 436.3 MB, free: 9.941 MB / 330.7 MB Notification: Performance of SimCode: time 1.152e-06/0.6732, allocations: 0 / 436.3 MB, free: 9.941 MB / 330.7 MB Notification: Performance of Templates: time 0.03095/0.7041, allocations: 9.985 MB / 446.3 MB, free: 3.379 MB / 330.7 MB