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.RectifierBridge2mPulse.ThyristorBridge2mPulse_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.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|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_n.1..u|rectifier.pre_n.2..u|rectifier.pre_n.3..u|rectifier.pre_p.1..u|rectifier.pre_p.2..u|rectifier.pre_p.3..u|rectifier.thyristor_n.idealThyristor.1..off|rectifier.thyristor_n.idealThyristor.2..off|rectifier.thyristor_n.idealThyristor.3..off|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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV") Notification: Performance of loadModel(Modelica): time 2.265/2.265, allocations: 194.8 MB / 211.7 MB, free: 2.871 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003622/0.0003622, allocations: 11.98 kB / 264.6 MB, free: 12.88 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1098, allocations: 44.5 MB / 309.1 MB, free: 312 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5237/0.6336, allocations: 87.42 MB / 396.5 MB, free: 15.46 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000348/0.634, allocations: 98.28 kB / 396.6 MB, free: 15.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1359/0.7699, allocations: 36.06 MB / 432.6 MB, free: 2.371 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.486e-06/0.77, allocations: 0 / 432.6 MB, free: 2.371 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002477/0.7703, allocations: 48 kB / 432.7 MB, free: 2.324 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: 448 * Number of variables: 448 Notification: Performance of Generate backend data structure: time 0.007878/0.7782, allocations: 2.147 MB / 434.8 MB, free: 276 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.7782, allocations: 12.03 kB / 434.9 MB, free: 264 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.7793, allocations: 232.2 kB / 435.1 MB, free: 32 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01135/0.7907, allocations: 2.079 MB / 437.2 MB, free: 14.45 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003784/0.7912, allocations: 138.9 kB / 437.3 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001164/0.7923, allocations: 174.5 kB / 437.5 MB, free: 14.26 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01094/0.8033, allocations: 2.415 MB / 439.9 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.132e-05/0.8035, allocations: 0 / 439.9 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003571/0.8038, allocations: 84.52 kB / 440 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001953/0.804, allocations: 71.45 kB / 440 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007314/0.8114, allocations: 2.005 MB / 442 MB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02076/0.8322, allocations: 6.833 MB / 448.9 MB, free: 4.922 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004187/0.8364, allocations: 1.577 MB / 450.4 MB, free: 3.336 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001319/0.8366, allocations: 13 kB / 450.5 MB, free: 3.324 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002697/0.8393, allocations: 0.9266 MB / 451.4 MB, free: 2.379 MB / 330.7 MB Notification: Performance of pre-optimization done (n=125): time 1.405e-05/0.8394, allocations: 0 / 451.4 MB, free: 2.379 MB / 330.7 MB Notification: Performance of matching and sorting (n=125): time 0.0155/0.8549, allocations: 3.437 MB / 454.8 MB, free: 14.91 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001389/0.8551, allocations: 149.5 kB / 455 MB, free: 14.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002857/0.858, allocations: 1.153 MB / 456.1 MB, free: 13.56 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000404/0.8584, allocations: 73.67 kB / 456.2 MB, free: 13.48 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001124/0.8596, allocations: 0.7489 MB / 456.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007326/0.8603, allocations: 377 kB / 457.3 MB, free: 12.38 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.8605, allocations: 32 kB / 457.3 MB, free: 12.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.8607, allocations: 354.1 kB / 457.7 MB, free: 11.99 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002095/0.8628, allocations: 0.687 MB / 458.4 MB, free: 11.3 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002512/0.8654, allocations: 0.9564 MB / 459.3 MB, free: 10.25 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002286/0.8677, allocations: 0.7285 MB / 460.1 MB, free: 9.527 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.336e-05/0.8677, allocations: 0 / 460.1 MB, free: 9.527 MB / 346.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.0062/0.874, allocations: 2.024 MB / 462.1 MB, free: 7.492 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002575/0.8743, allocations: 281.5 kB / 462.4 MB, free: 7.125 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.095e-05/0.8743, allocations: 8 kB / 462.4 MB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002072/0.8764, allocations: 494.8 kB / 462.9 MB, free: 6.633 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/0.8778, allocations: 175.7 kB / 463 MB, free: 6.461 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01509/0.893, allocations: 5.41 MB / 468.4 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002693/0.8957, allocations: 175 kB / 468.6 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004522/0.8962, allocations: 48 kB / 468.7 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.8963, allocations: 8 kB / 468.7 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008812/0.9051, allocations: 1.855 MB / 470.5 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.093e-05/0.9052, allocations: 8.656 kB / 470.5 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002796/0.908, allocations: 493 kB / 471 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/0.9095, allocations: 171.7 kB / 471.2 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01283/0.9223, allocations: 5.409 MB / 476.6 MB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001911/0.9243, allocations: 163.2 kB / 476.7 MB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002053/0.9245, allocations: 44 kB / 476.8 MB, free: 8.422 MB / 362.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: 69 ($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,$PRE.rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off,$PRE.rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[2].off,$PRE.rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[3].off,$PRE.rectifier.pre_p[1].u,rectifier.pre_p[1].u,rectifier.pre_p[1].y,$PRE.rectifier.pre_p[2].u,rectifier.pre_p[2].u,rectifier.pre_p[2].y,$PRE.rectifier.pre_p[3].u,rectifier.pre_p[3].u,rectifier.pre_p[3].y,$PRE.rectifier.pre_n[1].u,rectifier.pre_n[1].u,rectifier.pre_n[1].y,$PRE.rectifier.pre_n[2].u,rectifier.pre_n[2].u,rectifier.pre_n[2].y,$PRE.rectifier.pre_n[3].u,rectifier.pre_n[3].u,rectifier.pre_n[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 (137): * Single equations (assignments): 136 * 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 28} Notification: Performance of prepare postOptimizeDAE: time 0.002146/0.9267, allocations: 0.794 MB / 477.6 MB, free: 7.609 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004921/0.9272, allocations: 126.5 kB / 477.7 MB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006358/0.9279, allocations: 173.2 kB / 477.9 MB, free: 7.312 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/0.9279, allocations: 12 kB / 477.9 MB, free: 7.301 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.9279, allocations: 0 / 477.9 MB, free: 7.301 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-05/0.9279, allocations: 3.984 kB / 477.9 MB, free: 7.297 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0115/0.9395, allocations: 3.685 MB / 481.6 MB, free: 3.574 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/0.9395, allocations: 7.938 kB / 481.6 MB, free: 3.566 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/0.9406, allocations: 107.8 kB / 481.7 MB, free: 3.461 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001994/0.9426, allocations: 468.8 kB / 482.1 MB, free: 3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003407/0.943, allocations: 23.98 kB / 482.2 MB, free: 2.977 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.013/0.956, allocations: 5.372 MB / 487.5 MB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.9561, allocations: 3.953 kB / 487.5 MB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007868/0.964, allocations: 2.729 MB / 490.3 MB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/0.9653, allocations: 371.3 kB / 490.6 MB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005323/0.9659, allocations: 47.97 kB / 490.7 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001565/0.9675, allocations: 111.8 kB / 490.8 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009104/0.9684, allocations: 228.6 kB / 491 MB, free: 9.949 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002182/0.9687, allocations: 35.98 kB / 491 MB, free: 9.914 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00254/0.9713, allocations: 0.7876 MB / 491.8 MB, free: 9.117 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.42e-07/0.9713, allocations: 0 / 491.8 MB, free: 9.117 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003609/0.9749, allocations: 0.8605 MB / 492.7 MB, free: 8.254 MB / 378.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: 48 (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.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.pre_p[1].u,rectifier.pre_p[1].y,rectifier.pre_p[2].u,rectifier.pre_p[2].y,rectifier.pre_p[3].u,rectifier.pre_p[3].y,rectifier.pre_n[1].u,rectifier.pre_n[1].y,rectifier.pre_n[2].u,rectifier.pre_n[2].y,rectifier.pre_n[3].u,rectifier.pre_n[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: 15 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.pre_n[3].u,rectifier.pre_n[2].u,rectifier.pre_n[1].u,rectifier.pre_p[3].u,rectifier.pre_p[2].u,rectifier.pre_p[1].u,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 82 * 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 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004827/0.9755, allocations: 197.5 kB / 492.9 MB, free: 8.055 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008636/0.9841, allocations: 3.156 MB / 496 MB, free: 4.871 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.828e-06/0.9842, allocations: 3.047 kB / 496 MB, free: 4.871 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003513/0.9877, allocations: 1.18 MB / 497.2 MB, free: 3.684 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002509/0.9903, allocations: 312.9 kB / 497.5 MB, free: 3.375 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/1.001, allocations: 4.182 MB / 0.49 GB, free: 15.15 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002336/1.004, allocations: 1.726 MB / 0.4916 GB, free: 13.39 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0022/1.006, allocations: 438.4 kB / 0.4921 GB, free: 12.96 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004346/1.007, allocations: 83.42 kB / 0.4921 GB, free: 12.88 MB / 394.7 MB Notification: Performance of SimCode: time 1.112e-06/1.007, allocations: 0 / 0.4921 GB, free: 12.88 MB / 394.7 MB Notification: Performance of Templates: time 0.07821/1.085, allocations: 27.19 MB / 0.5187 GB, free: 1.723 MB / 410.7 MB