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_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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV") Notification: Performance of loadModel(Modelica): time 2.244/2.244, allocations: 194.8 MB / 211.7 MB, free: 2.883 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003552, allocations: 8 kB / 264.6 MB, free: 12.89 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1074, allocations: 44.5 MB / 309.1 MB, free: 332 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.467/0.5744, allocations: 82.67 MB / 391.7 MB, free: 15.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003271/0.5748, allocations: 91.39 kB / 391.8 MB, free: 15.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05594/0.6308, allocations: 13.71 MB / 405.5 MB, free: 12.21 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.6309, allocations: 0 / 405.5 MB, free: 12.21 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001011/0.631, allocations: 15.56 kB / 405.6 MB, free: 12.21 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.004021/0.635, allocations: 0.9694 MB / 406.5 MB, free: 11.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/0.6351, allocations: 11.75 kB / 406.5 MB, free: 11.49 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000534/0.6356, allocations: 89.59 kB / 406.6 MB, free: 11.45 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001933/0.6376, allocations: 0.5024 MB / 407.1 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.6378, allocations: 49.69 kB / 407.2 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002817/0.6381, allocations: 70.09 kB / 407.2 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002977/0.6411, allocations: 0.7389 MB / 408 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.679e-05/0.6412, allocations: 3.906 kB / 408 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/0.6413, allocations: 27.83 kB / 408 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/0.6414, allocations: 19.41 kB / 408 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002278/0.6437, allocations: 0.554 MB / 408.6 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01942/0.6631, allocations: 2.65 MB / 411.2 MB, free: 9.262 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001888/0.6651, allocations: 0.5679 MB / 411.8 MB, free: 9.164 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.868e-05/0.6652, allocations: 8.312 kB / 411.8 MB, free: 9.164 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008819/0.674, allocations: 380.5 kB / 412.2 MB, free: 9.012 MB / 314.7 MB Notification: Performance of pre-optimization done (n=60): time 7.244e-06/0.6741, allocations: 0 / 412.2 MB, free: 9.012 MB / 314.7 MB Notification: Performance of matching and sorting (n=60): time 0.008749/0.6829, allocations: 1.058 MB / 413.2 MB, free: 8.605 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.149e-05/0.683, allocations: 115.1 kB / 413.4 MB, free: 8.477 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.6841, allocations: 474.1 kB / 413.8 MB, free: 8.293 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001776/0.6843, allocations: 44.38 kB / 413.9 MB, free: 8.258 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003705/0.6847, allocations: 318.6 kB / 414.2 MB, free: 8.066 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002918/0.685, allocations: 183.7 kB / 414.3 MB, free: 7.941 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.302e-05/0.6851, allocations: 12.84 kB / 414.4 MB, free: 7.941 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.6853, allocations: 366.8 kB / 414.7 MB, free: 7.609 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009599/0.6863, allocations: 215.5 kB / 414.9 MB, free: 7.582 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01129/0.6976, allocations: 373.6 kB / 415.3 MB, free: 7.367 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.6987, allocations: 222 kB / 415.5 MB, free: 7.344 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.154e-05/0.6987, allocations: 0 / 415.5 MB, free: 7.344 MB / 314.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004816/0.7035, allocations: 0.7223 MB / 416.2 MB, free: 7.16 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001419/0.7037, allocations: 210.2 kB / 416.4 MB, free: 6.926 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.7037, allocations: 3.844 kB / 416.4 MB, free: 6.926 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009343/0.7047, allocations: 160 kB / 416.6 MB, free: 6.875 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008549/0.7056, allocations: 97.11 kB / 416.7 MB, free: 6.855 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005625/0.7112, allocations: 3.474 MB / 420.2 MB, free: 4.004 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.7123, allocations: 72.97 kB / 420.2 MB, free: 3.973 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.08e-05/0.7124, allocations: 24.31 kB / 420.3 MB, free: 3.973 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.7125, allocations: 3.938 kB / 420.3 MB, free: 3.973 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001986/0.7145, allocations: 0.6079 MB / 420.9 MB, free: 3.867 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.7145, allocations: 3.906 kB / 420.9 MB, free: 3.867 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006504/0.7151, allocations: 156.3 kB / 421 MB, free: 3.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006005/0.7158, allocations: 90.05 kB / 421.1 MB, free: 3.801 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003991/0.7198, allocations: 3.478 MB / 424.6 MB, free: 0.957 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000777/0.7206, allocations: 69.81 kB / 424.7 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-05/0.7207, allocations: 23.03 kB / 424.7 MB, free: 0.9258 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.0006024/0.7213, allocations: 324.8 kB / 425 MB, free: 0.707 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.7214, allocations: 58.5 kB / 425.1 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000175/0.7216, allocations: 67.22 kB / 425.1 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.7216, allocations: 3.875 kB / 425.1 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.7216, allocations: 0.5 kB / 425.1 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/0.7217, allocations: 3.984 kB / 425.1 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00315/0.7248, allocations: 1.475 MB / 426.6 MB, free: 52 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.7249, allocations: 3.984 kB / 426.6 MB, free: 48 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005301/0.7254, allocations: 61.78 kB / 426.7 MB, free: 36 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006103/0.726, allocations: 131.6 kB / 426.8 MB, free: 0 / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/0.7262, allocations: 23 kB / 426.8 MB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004868/0.731, allocations: 3.309 MB / 430.1 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.782e-06/0.7311, allocations: 11.94 kB / 430.1 MB, free: 13.28 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002861/0.734, allocations: 1.028 MB / 431.2 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004017/0.7344, allocations: 196.7 kB / 431.4 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/0.7346, allocations: 13.69 kB / 431.4 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006126/0.7352, allocations: 52.2 kB / 431.4 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002749/0.7355, allocations: 76.3 kB / 431.5 MB, free: 12.76 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.575e-05/0.7356, allocations: 17.05 kB / 431.5 MB, free: 12.75 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005706/0.7361, allocations: 327.4 kB / 431.8 MB, free: 12.62 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7362, allocations: 0 / 431.8 MB, free: 12.62 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001698/0.7379, allocations: 343.1 kB / 432.2 MB, free: 12.57 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.0003021/0.7382, allocations: 140.4 kB / 432.3 MB, free: 12.47 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003245/0.7415, allocations: 1.411 MB / 433.7 MB, free: 11.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/0.7415, allocations: 3.875 kB / 433.7 MB, free: 11.84 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001224/0.7427, allocations: 0.5775 MB / 434.3 MB, free: 11.53 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008719/0.7436, allocations: 105.6 kB / 434.4 MB, free: 11.51 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004043/0.7477, allocations: 1.616 MB / 436 MB, free: 10.54 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007392/0.7485, allocations: 0.9562 MB / 437 MB, free: 9.727 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006428/0.7492, allocations: 94.23 kB / 437.1 MB, free: 9.684 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.7493, allocations: 37.88 kB / 437.1 MB, free: 9.676 MB / 330.7 MB Notification: Performance of SimCode: time 1.102e-06/0.7493, allocations: 0 / 437.1 MB, free: 9.676 MB / 330.7 MB Notification: Performance of Templates: time 0.0312/0.7806, allocations: 10.05 MB / 447.2 MB, free: 2.605 MB / 330.7 MB