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.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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL") Notification: Performance of loadModel(Modelica): time 1.945/1.945, allocations: 194.9 MB / 212.3 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003613, allocations: 8 kB / 264.5 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.102, allocations: 44.51 MB / 309 MB, free: 1.031 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5239/0.626, allocations: 86.41 MB / 395.4 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003128/0.6263, allocations: 97.36 kB / 395.5 MB, free: 14.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1325/0.7588, allocations: 35.74 MB / 431.2 MB, free: 2.484 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.015e-06/0.7589, allocations: 0 / 431.2 MB, free: 2.484 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002019/0.7591, allocations: 50.28 kB / 431.3 MB, free: 2.477 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.007742/0.7668, allocations: 2.182 MB / 433.5 MB, free: 1.133 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.7669, allocations: 7.75 kB / 433.5 MB, free: 1.133 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00113/0.768, allocations: 226.2 kB / 433.7 MB, free: 1.02 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007353/0.7754, allocations: 1.987 MB / 435.7 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002089/0.7757, allocations: 140.5 kB / 435.8 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000753/0.7765, allocations: 166.8 kB / 436 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007939/0.7844, allocations: 2.432 MB / 438.4 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.255e-05/0.7845, allocations: 3.938 kB / 438.4 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002997/0.7848, allocations: 75.02 kB / 438.5 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001278/0.785, allocations: 75.33 kB / 438.6 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007192/0.7922, allocations: 2.085 MB / 440.7 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02153/0.8138, allocations: 7.143 MB / 447.8 MB, free: 6.008 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004143/0.818, allocations: 1.52 MB / 449.3 MB, free: 4.488 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001315/0.8181, allocations: 13 kB / 449.3 MB, free: 4.473 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002594/0.8207, allocations: 0.9064 MB / 450.2 MB, free: 3.547 MB / 330.7 MB Notification: Performance of pre-optimization done (n=115): time 4.679e-06/0.8208, allocations: 0 / 450.2 MB, free: 3.547 MB / 330.7 MB Notification: Performance of matching and sorting (n=115): time 0.01337/0.8342, allocations: 2.969 MB / 453.2 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001744/0.8344, allocations: 127.3 kB / 453.3 MB, free: 412 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003152/0.8376, allocations: 1.221 MB / 454.6 MB, free: 15.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003922/0.838, allocations: 65.69 kB / 454.6 MB, free: 15.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001086/0.8391, allocations: 0.7355 MB / 455.4 MB, free: 14.36 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007079/0.8399, allocations: 353.6 kB / 455.7 MB, free: 14.02 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.84, allocations: 20 kB / 455.7 MB, free: 14 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000207/0.8402, allocations: 358.8 kB / 456.1 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0021/0.8423, allocations: 0.6544 MB / 456.7 MB, free: 12.99 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002422/0.8448, allocations: 0.8616 MB / 457.6 MB, free: 12.05 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002157/0.847, allocations: 0.6667 MB / 458.2 MB, free: 11.38 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/0.847, allocations: 0 / 458.2 MB, free: 11.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.005584/0.8526, allocations: 1.764 MB / 460 MB, free: 9.609 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002572/0.8529, allocations: 242.9 kB / 460.3 MB, free: 9.305 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.363e-05/0.853, allocations: 8 kB / 460.3 MB, free: 9.297 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00175/0.8547, allocations: 431.1 kB / 460.7 MB, free: 8.875 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/0.8563, allocations: 171.7 kB / 460.8 MB, free: 8.707 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/0.8666, allocations: 4.518 MB / 465.4 MB, free: 4.051 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/0.8684, allocations: 167.1 kB / 465.5 MB, free: 3.887 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001869/0.8686, allocations: 47.98 kB / 465.6 MB, free: 3.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.8686, allocations: 4 kB / 465.6 MB, free: 3.836 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004962/0.8736, allocations: 1.684 MB / 467.3 MB, free: 2.148 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/0.8736, allocations: 4 kB / 467.3 MB, free: 2.145 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001454/0.8751, allocations: 421.1 kB / 467.7 MB, free: 1.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/0.8765, allocations: 171.7 kB / 467.8 MB, free: 1.562 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009978/0.8865, allocations: 4.586 MB / 472.4 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/0.8878, allocations: 147.3 kB / 472.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.888, allocations: 40.05 kB / 472.6 MB, free: 12.66 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.002112/0.8901, allocations: 0.7896 MB / 473.4 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004912/0.8906, allocations: 130.4 kB / 473.5 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005841/0.8912, allocations: 168.8 kB / 473.7 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.815e-05/0.8912, allocations: 15.95 kB / 473.7 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.8913, allocations: 0 / 473.7 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.65e-05/0.8913, allocations: 11.91 kB / 473.7 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01067/0.902, allocations: 3.693 MB / 477.4 MB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.902, allocations: 4 kB / 477.4 MB, free: 7.809 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001163/0.9032, allocations: 123.8 kB / 477.5 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001546/0.9047, allocations: 409 kB / 477.9 MB, free: 7.285 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002262/0.905, allocations: 19.98 kB / 478 MB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009788/0.9148, allocations: 4.498 MB / 482.5 MB, free: 2.629 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.9148, allocations: 3.938 kB / 482.5 MB, free: 2.625 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007709/0.9225, allocations: 2.719 MB / 485.2 MB, free: 15.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001252/0.9238, allocations: 367.2 kB / 485.5 MB, free: 15.51 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004545/0.9243, allocations: 35.98 kB / 485.6 MB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/0.9257, allocations: 111.9 kB / 485.7 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000805/0.9266, allocations: 232.6 kB / 485.9 MB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/0.9267, allocations: 31.98 kB / 485.9 MB, free: 15.1 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001968/0.9287, allocations: 0.8395 MB / 486.8 MB, free: 14.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.9287, allocations: 0 / 486.8 MB, free: 14.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003398/0.9321, allocations: 0.8291 MB / 487.6 MB, free: 13.42 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.00045/0.9326, allocations: 176.5 kB / 487.8 MB, free: 13.24 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008692/0.9413, allocations: 2.943 MB / 490.7 MB, free: 10.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.348e-05/0.9414, allocations: 0.6562 kB / 490.7 MB, free: 10.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003467/0.9449, allocations: 1.133 MB / 491.9 MB, free: 9.133 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002475/0.9474, allocations: 285 kB / 492.1 MB, free: 8.855 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/0.9589, allocations: 4.209 MB / 496.3 MB, free: 4.609 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002363/0.9613, allocations: 1.72 MB / 498.1 MB, free: 2.855 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006539/0.962, allocations: 87.36 kB / 498.2 MB, free: 2.77 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/0.9621, allocations: 0 / 498.2 MB, free: 2.77 MB / 378.7 MB Notification: Performance of Templates: time 0.06552/1.028, allocations: 30.91 MB / 0.5167 GB, free: 3.824 MB / 410.7 MB