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_Characteristic.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_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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_Characteristic") Notification: Performance of loadModel(Modelica): time 2.258/2.258, allocations: 194.9 MB / 211.7 MB, free: 2.875 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005087/0.0005089, allocations: 15.94 kB / 264.6 MB, free: 12.9 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1095, allocations: 44.51 MB / 309.1 MB, free: 324 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5153/0.6249, allocations: 83.11 MB / 392.2 MB, free: 15.51 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003383/0.6253, allocations: 92.94 kB / 392.3 MB, free: 15.51 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05334/0.6787, allocations: 13.93 MB / 406.2 MB, free: 12.12 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.6787, allocations: 0 / 406.2 MB, free: 12.12 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.399e-05/0.6788, allocations: 15.53 kB / 406.2 MB, free: 12.12 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002536/0.6813, allocations: 1.001 MB / 407.2 MB, free: 11.39 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.6814, allocations: 7.875 kB / 407.2 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002384/0.6816, allocations: 97.48 kB / 407.3 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.6826, allocations: 0.5043 MB / 407.8 MB, free: 11 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.273e-05/0.6827, allocations: 50.34 kB / 407.9 MB, free: 11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.6829, allocations: 73.77 kB / 408 MB, free: 10.99 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001888/0.6848, allocations: 0.7621 MB / 408.7 MB, free: 10.74 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.392e-05/0.6848, allocations: 3.906 kB / 408.7 MB, free: 10.74 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.956e-05/0.685, allocations: 28.88 kB / 408.7 MB, free: 10.74 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.685, allocations: 15.34 kB / 408.8 MB, free: 10.74 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001787/0.6868, allocations: 0.5897 MB / 409.3 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005272/0.6921, allocations: 2.681 MB / 412 MB, free: 9.117 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002127/0.6942, allocations: 0.6946 MB / 412.7 MB, free: 8.988 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.225e-05/0.6943, allocations: 8.406 kB / 412.7 MB, free: 8.988 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001016/0.6954, allocations: 402.7 kB / 413.1 MB, free: 8.828 MB / 314.7 MB Notification: Performance of pre-optimization done (n=61): time 3.817e-06/0.6954, allocations: 0 / 413.1 MB, free: 8.828 MB / 314.7 MB Notification: Performance of matching and sorting (n=61): time 0.003934/0.6993, allocations: 1.126 MB / 414.3 MB, free: 8.398 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/0.6994, allocations: 122.5 kB / 414.4 MB, free: 8.266 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007255/0.7002, allocations: 465.2 kB / 414.8 MB, free: 8.086 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.972e-05/0.7003, allocations: 52.31 kB / 414.9 MB, free: 8.047 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002526/0.7005, allocations: 319.5 kB / 415.2 MB, free: 7.852 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001725/0.7007, allocations: 195.9 kB / 415.4 MB, free: 7.719 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/0.7008, allocations: 14.72 kB / 415.4 MB, free: 7.719 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.7009, allocations: 367.1 kB / 415.8 MB, free: 7.387 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007222/0.7016, allocations: 233.6 kB / 416 MB, free: 7.348 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008426/0.7025, allocations: 390.2 kB / 416.4 MB, free: 7.133 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007413/0.7033, allocations: 247.4 kB / 416.6 MB, free: 7.098 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.7033, allocations: 0 / 416.6 MB, free: 7.098 MB / 314.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002065/0.7053, allocations: 0.7587 MB / 417.4 MB, free: 6.906 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.7055, allocations: 210.4 kB / 417.6 MB, free: 6.668 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.7055, allocations: 3.875 kB / 417.6 MB, free: 6.668 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006909/0.7062, allocations: 151.7 kB / 417.7 MB, free: 6.625 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007091/0.7069, allocations: 111.7 kB / 417.8 MB, free: 6.598 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004003/0.7109, allocations: 3.473 MB / 421.3 MB, free: 3.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000888/0.7119, allocations: 87.08 kB / 421.4 MB, free: 3.711 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.174e-05/0.712, allocations: 26.78 kB / 421.4 MB, free: 3.711 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.257e-06/0.712, allocations: 3.844 kB / 421.4 MB, free: 3.711 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001757/0.7137, allocations: 0.648 MB / 422.1 MB, free: 3.594 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/0.7138, allocations: 4.375 kB / 422.1 MB, free: 3.594 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006331/0.7144, allocations: 149.8 kB / 422.2 MB, free: 3.555 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006322/0.7151, allocations: 101.1 kB / 422.3 MB, free: 3.531 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003914/0.719, allocations: 3.476 MB / 425.8 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008401/0.7199, allocations: 72.64 kB / 425.9 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-05/0.72, allocations: 30.12 kB / 425.9 MB, free: 0.6484 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 (69): * Single equations (assignments): 67 * 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.0006166/0.7206, allocations: 314.7 kB / 426.2 MB, free: 452 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.7207, allocations: 66.2 kB / 426.3 MB, free: 416 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001718/0.7209, allocations: 65.91 kB / 426.3 MB, free: 404 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.7209, allocations: 7.75 kB / 426.3 MB, free: 404 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.721, allocations: 4 kB / 426.3 MB, free: 400 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.721, allocations: 3.984 kB / 426.3 MB, free: 396 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003307/0.7243, allocations: 1.476 MB / 427.8 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.7243, allocations: 0 / 427.8 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006189/0.725, allocations: 74.77 kB / 427.9 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006253/0.7256, allocations: 138.6 kB / 428 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-05/0.7257, allocations: 11.5 kB / 428 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004623/0.7303, allocations: 3.316 MB / 431.4 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.7304, allocations: 3.938 kB / 431.4 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002855/0.7332, allocations: 1.048 MB / 432.4 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003899/0.7337, allocations: 194.3 kB / 432.6 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/0.7338, allocations: 11.69 kB / 432.6 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006646/0.7345, allocations: 54.17 kB / 432.7 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002821/0.7348, allocations: 78.97 kB / 432.7 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-05/0.7349, allocations: 15.44 kB / 432.8 MB, free: 12.53 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005383/0.7354, allocations: 317.8 kB / 433.1 MB, free: 12.4 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.7354, allocations: 0 / 433.1 MB, free: 12.4 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001537/0.737, allocations: 354.2 kB / 433.4 MB, free: 12.35 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (47): * Single equations (assignments): 40 * 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.000267/0.7372, allocations: 145.1 kB / 433.6 MB, free: 12.24 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003471/0.7407, allocations: 1.473 MB / 435 MB, free: 11.59 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.7408, allocations: 0 / 435 MB, free: 11.59 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001242/0.742, allocations: 0.5759 MB / 435.6 MB, free: 11.29 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008376/0.7429, allocations: 103.6 kB / 435.7 MB, free: 11.26 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00391/0.7468, allocations: 1.648 MB / 437.3 MB, free: 10.28 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006831/0.7475, allocations: 0.9556 MB / 438.3 MB, free: 9.465 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006278/0.7482, allocations: 95.42 kB / 438.4 MB, free: 9.422 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/0.7484, allocations: 42.5 kB / 438.4 MB, free: 9.414 MB / 330.7 MB Notification: Performance of SimCode: time 1.182e-06/0.7484, allocations: 0 / 438.4 MB, free: 9.414 MB / 330.7 MB Notification: Performance of Templates: time 0.02976/0.7782, allocations: 10.17 MB / 448.6 MB, free: 1.371 MB / 330.7 MB