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.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_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.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL,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.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.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL") Notification: Performance of loadModel(Modelica): time 2.275/2.275, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003494, allocations: 8 kB / 264.6 MB, free: 12.91 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1368, allocations: 44.51 MB / 309.1 MB, free: 344 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4322/0.5691, allocations: 86.43 MB / 395.5 MB, free: 15.31 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003197/0.5695, allocations: 91.72 kB / 395.6 MB, free: 15.31 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1626/0.7321, allocations: 35.73 MB / 431.3 MB, free: 2.586 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.7322, allocations: 0 / 431.3 MB, free: 2.586 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002256/0.7325, allocations: 53.52 kB / 431.4 MB, free: 2.578 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: 440 * Number of variables: 440 Notification: Performance of Generate backend data structure: time 0.007943/0.7404, allocations: 2.185 MB / 433.6 MB, free: 1.16 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.7405, allocations: 11.97 kB / 433.6 MB, free: 1.148 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.7415, allocations: 221.4 kB / 433.8 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007619/0.7492, allocations: 1.997 MB / 435.8 MB, free: 15.39 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002089/0.7494, allocations: 132.6 kB / 435.9 MB, free: 15.32 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007421/0.7502, allocations: 175 kB / 436.1 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007582/0.7578, allocations: 2.416 MB / 438.5 MB, free: 13.51 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-05/0.7579, allocations: 3.984 kB / 438.5 MB, free: 13.51 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002834/0.7582, allocations: 68.31 kB / 438.6 MB, free: 13.49 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001296/0.7583, allocations: 75.14 kB / 438.6 MB, free: 13.42 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007612/0.766, allocations: 2.091 MB / 440.7 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02216/0.7882, allocations: 7.141 MB / 447.9 MB, free: 5.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004601/0.7928, allocations: 1.519 MB / 449.4 MB, free: 4.051 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001649/0.7931, allocations: 13 kB / 449.4 MB, free: 4.039 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003093/0.7962, allocations: 0.9022 MB / 450.3 MB, free: 3.117 MB / 330.7 MB Notification: Performance of pre-optimization done (n=115): time 5.7e-06/0.7962, allocations: 0 / 450.3 MB, free: 3.117 MB / 330.7 MB Notification: Performance of matching and sorting (n=115): time 0.01339/0.8096, allocations: 2.969 MB / 453.3 MB, free: 124 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001592/0.8098, allocations: 127.8 kB / 453.4 MB, free: 15.97 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003152/0.813, allocations: 1.217 MB / 454.6 MB, free: 14.74 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003958/0.8134, allocations: 65.69 kB / 454.7 MB, free: 14.67 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001238/0.8147, allocations: 0.7612 MB / 455.4 MB, free: 13.9 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000727/0.8155, allocations: 346.1 kB / 455.8 MB, free: 13.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.8156, allocations: 24 kB / 455.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002194/0.8159, allocations: 345.9 kB / 456.1 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002238/0.8181, allocations: 0.6545 MB / 456.8 MB, free: 12.55 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002509/0.8207, allocations: 0.8653 MB / 457.7 MB, free: 11.61 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003129/0.8238, allocations: 0.6629 MB / 458.3 MB, free: 10.95 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.395e-05/0.8239, allocations: 4 kB / 458.3 MB, free: 10.94 MB / 346.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.006309/0.8302, allocations: 1.848 MB / 460.2 MB, free: 9.086 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002456/0.8305, allocations: 240 kB / 460.4 MB, free: 8.781 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.8306, allocations: 4 kB / 460.4 MB, free: 8.777 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00174/0.8323, allocations: 435.1 kB / 460.8 MB, free: 8.352 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/0.8339, allocations: 175.6 kB / 461 MB, free: 8.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01059/0.8445, allocations: 4.522 MB / 465.5 MB, free: 3.523 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/0.8464, allocations: 167.1 kB / 465.7 MB, free: 3.359 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002743/0.8467, allocations: 44 kB / 465.7 MB, free: 3.316 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.8468, allocations: 4 kB / 465.7 MB, free: 3.312 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005301/0.8521, allocations: 1.68 MB / 467.4 MB, free: 1.625 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.092e-05/0.8521, allocations: 8 kB / 467.4 MB, free: 1.617 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001635/0.8538, allocations: 433.2 kB / 467.9 MB, free: 1.191 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/0.8553, allocations: 163.7 kB / 468 MB, free: 1.031 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01035/0.8657, allocations: 4.528 MB / 472.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/0.8675, allocations: 147.2 kB / 472.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000213/0.8677, allocations: 40 kB / 472.7 MB, free: 12.19 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 57 ($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,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,rectifier.andCondition_n[1].y,rectifier.andCondition_n[2].y,rectifier.andCondition_n[3].y,$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,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 (121): * Single equations (assignments): 120 * 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 21} Notification: Performance of prepare postOptimizeDAE: time 0.002091/0.8698, allocations: 0.7935 MB / 473.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004989/0.8704, allocations: 134.4 kB / 473.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005983/0.871, allocations: 160.8 kB / 473.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.995e-05/0.871, allocations: 15.95 kB / 473.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.871, allocations: 0 / 473.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.722e-05/0.871, allocations: 7.969 kB / 473.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01132/0.8824, allocations: 3.685 MB / 477.5 MB, free: 7.348 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.8824, allocations: 0 / 477.5 MB, free: 7.348 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001185/0.8836, allocations: 127.9 kB / 477.6 MB, free: 7.223 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001543/0.8852, allocations: 409 kB / 478 MB, free: 6.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002358/0.8855, allocations: 19.98 kB / 478.1 MB, free: 6.801 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01036/0.8958, allocations: 4.502 MB / 482.6 MB, free: 2.164 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.8959, allocations: 7.984 kB / 482.6 MB, free: 2.156 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008156/0.904, allocations: 2.713 MB / 485.3 MB, free: 15.42 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001339/0.9054, allocations: 379.1 kB / 485.7 MB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005312/0.906, allocations: 36.11 kB / 485.7 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/0.9075, allocations: 111.9 kB / 485.8 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008523/0.9083, allocations: 224.6 kB / 486 MB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/0.9085, allocations: 31.98 kB / 486 MB, free: 14.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002135/0.9106, allocations: 0.8395 MB / 486.9 MB, free: 13.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.62e-07/0.9107, allocations: 0 / 486.9 MB, free: 13.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005027/0.9157, allocations: 0.8369 MB / 487.7 MB, free: 12.95 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: 42 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,rectifier.andCondition_n[1].y,rectifier.andCondition_n[2].y,rectifier.andCondition_n[3].y,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,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: 9 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 79 * 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 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009267/0.9167, allocations: 184.3 kB / 487.9 MB, free: 12.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01342/0.9302, allocations: 2.937 MB / 490.8 MB, free: 9.801 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.58e-05/0.9303, allocations: 4 kB / 490.8 MB, free: 9.797 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004851/0.9351, allocations: 1.159 MB / 492 MB, free: 8.629 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003348/0.9385, allocations: 292.9 kB / 492.3 MB, free: 8.344 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01339/0.952, allocations: 4.2 MB / 496.5 MB, free: 4.109 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002384/0.9544, allocations: 1.744 MB / 498.2 MB, free: 2.328 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002115/0.9566, allocations: 414 kB / 498.6 MB, free: 1.922 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004544/0.9571, allocations: 95.36 kB / 498.7 MB, free: 1.828 MB / 378.7 MB Notification: Performance of SimCode: time 1.353e-06/0.9571, allocations: 0 / 498.7 MB, free: 1.828 MB / 378.7 MB Notification: Performance of Templates: time 0.07386/1.031, allocations: 24.93 MB / 0.5114 GB, free: 8.945 MB / 410.7 MB