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.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.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_RLV,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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV") Notification: Performance of loadModel(Modelica): time 2.064/2.064, allocations: 194.8 MB / 212.3 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003561/0.0003564, allocations: 12 kB / 264.5 MB, free: 13.6 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1053, allocations: 44.5 MB / 309 MB, free: 1.027 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4344/0.5398, allocations: 82.66 MB / 391.7 MB, free: 14.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003076/0.5401, allocations: 93.34 kB / 391.7 MB, free: 14.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04944/0.5896, allocations: 13.7 MB / 405.4 MB, free: 11.9 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5897, allocations: 0 / 405.4 MB, free: 11.9 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.307e-05/0.5897, allocations: 15.5 kB / 405.5 MB, free: 11.9 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.002268/0.592, allocations: 0.9759 MB / 406.4 MB, free: 11.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.5921, allocations: 7.875 kB / 406.4 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001883/0.5923, allocations: 89.53 kB / 406.5 MB, free: 11.14 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009572/0.5932, allocations: 0.5088 MB / 407 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.091e-05/0.5933, allocations: 51.19 kB / 407.1 MB, free: 10.79 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.5934, allocations: 68.44 kB / 407.2 MB, free: 10.79 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/0.5951, allocations: 0.7439 MB / 407.9 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.289e-05/0.5952, allocations: 3.906 kB / 407.9 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.656e-05/0.5953, allocations: 29.33 kB / 407.9 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.5953, allocations: 19.5 kB / 408 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001524/0.5969, allocations: 0.5448 MB / 408.5 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004987/0.6019, allocations: 2.656 MB / 411.2 MB, free: 8.949 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/0.6032, allocations: 0.5604 MB / 411.7 MB, free: 8.855 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.483e-05/0.6033, allocations: 16.06 kB / 411.7 MB, free: 8.852 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008903/0.6042, allocations: 384.5 kB / 412.1 MB, free: 8.695 MB / 314.7 MB Notification: Performance of pre-optimization done (n=60): time 3.727e-06/0.6042, allocations: 0 / 412.1 MB, free: 8.695 MB / 314.7 MB Notification: Performance of matching and sorting (n=60): time 0.0035/0.6077, allocations: 1.052 MB / 413.2 MB, free: 8.293 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.6e-05/0.6078, allocations: 126.4 kB / 413.3 MB, free: 8.156 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006743/0.6085, allocations: 469.1 kB / 413.7 MB, free: 7.973 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.44e-05/0.6086, allocations: 43.97 kB / 413.8 MB, free: 7.938 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000211/0.6088, allocations: 351.8 kB / 414.1 MB, free: 7.691 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/0.609, allocations: 184 kB / 414.3 MB, free: 7.566 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.673e-05/0.609, allocations: 14.31 kB / 414.3 MB, free: 7.566 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.6091, allocations: 336.4 kB / 414.6 MB, free: 7.246 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006066/0.6098, allocations: 215.3 kB / 414.9 MB, free: 7.215 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007087/0.6105, allocations: 370.3 kB / 415.2 MB, free: 7.008 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006246/0.6111, allocations: 228.1 kB / 415.4 MB, free: 6.98 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.6111, allocations: 0 / 415.4 MB, free: 6.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001713/0.6129, allocations: 0.6847 MB / 416.1 MB, free: 6.82 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.613, allocations: 218 kB / 416.3 MB, free: 6.578 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.613, allocations: 3.938 kB / 416.3 MB, free: 6.578 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006828/0.6137, allocations: 139.2 kB / 416.5 MB, free: 6.543 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006169/0.6143, allocations: 99.86 kB / 416.6 MB, free: 6.523 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003951/0.6183, allocations: 3.483 MB / 420.1 MB, free: 3.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007314/0.619, allocations: 77.22 kB / 420.1 MB, free: 3.629 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.749e-05/0.6191, allocations: 22.81 kB / 420.2 MB, free: 3.629 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.165e-06/0.6191, allocations: 3.781 kB / 420.2 MB, free: 3.629 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001489/0.6206, allocations: 0.6078 MB / 420.8 MB, free: 3.523 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.6207, allocations: 7.828 kB / 420.8 MB, free: 3.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005598/0.6212, allocations: 152.7 kB / 420.9 MB, free: 3.477 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005505/0.6218, allocations: 89.45 kB / 421 MB, free: 3.457 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003789/0.6256, allocations: 3.464 MB / 424.5 MB, free: 0.625 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005111/0.6261, allocations: 56.95 kB / 424.5 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.034e-05/0.6262, allocations: 22.97 kB / 424.6 MB, free: 0.6055 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 (68): * Single equations (assignments): 66 * 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.0005724/0.6268, allocations: 324.4 kB / 424.9 MB, free: 396 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/0.627, allocations: 58.5 kB / 424.9 MB, free: 364 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001694/0.6271, allocations: 70.64 kB / 425 MB, free: 348 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.6272, allocations: 3.875 kB / 425 MB, free: 348 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.6272, allocations: 0 / 425 MB, free: 348 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.6272, allocations: 3.984 kB / 425 MB, free: 344 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003198/0.6304, allocations: 1.467 MB / 426.5 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.6304, allocations: 3.938 kB / 426.5 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00052/0.6309, allocations: 64.89 kB / 426.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005982/0.6316, allocations: 140.4 kB / 426.7 MB, free: 15.67 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.553e-05/0.6316, allocations: 22.61 kB / 426.7 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004283/0.6359, allocations: 3.322 MB / 430 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.636, allocations: 0 / 430 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002749/0.6387, allocations: 1.027 MB / 431.1 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003492/0.6391, allocations: 188.9 kB / 431.2 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/0.6392, allocations: 13.62 kB / 431.2 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005954/0.6398, allocations: 45.5 kB / 431.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002551/0.6401, allocations: 88.8 kB / 431.4 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.052e-05/0.6402, allocations: 14.69 kB / 431.4 MB, free: 12.44 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000525/0.6407, allocations: 319.5 kB / 431.7 MB, free: 12.31 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.6407, allocations: 4 kB / 431.7 MB, free: 12.31 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001472/0.6422, allocations: 345.2 kB / 432 MB, free: 12.25 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 (46): * Single equations (assignments): 39 * 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.0002439/0.6425, allocations: 137.4 kB / 432.2 MB, free: 12.16 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002953/0.6454, allocations: 1.412 MB / 433.6 MB, free: 11.52 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.6455, allocations: 7.875 kB / 433.6 MB, free: 11.51 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.6466, allocations: 0.5685 MB / 434.2 MB, free: 11.22 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007476/0.6474, allocations: 107.7 kB / 434.3 MB, free: 11.19 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00366/0.6511, allocations: 1.658 MB / 435.9 MB, free: 10.18 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005979/0.6517, allocations: 0.9494 MB / 436.9 MB, free: 9.363 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002063/0.6519, allocations: 42.03 kB / 436.9 MB, free: 9.355 MB / 330.7 MB Notification: Performance of SimCode: time 1.413e-06/0.6519, allocations: 0 / 436.9 MB, free: 9.355 MB / 330.7 MB Notification: Performance of Templates: time 0.02369/0.6756, allocations: 13.66 MB / 450.6 MB, free: 15.6 MB / 346.7 MB