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.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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV") Notification: Performance of loadModel(Modelica): time 1.822/1.822, allocations: 194.8 MB / 212.3 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003475, allocations: 12 kB / 264.5 MB, free: 13.59 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09202/0.09239, allocations: 44.49 MB / 309 MB, free: 1.035 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4094/0.5019, allocations: 87.43 MB / 396.4 MB, free: 14.75 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000311/0.5022, allocations: 95.31 kB / 396.5 MB, free: 14.74 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1258/0.628, allocations: 36.04 MB / 432.6 MB, free: 1.965 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.6281, allocations: 0 / 432.6 MB, free: 1.965 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000156/0.6282, allocations: 54.16 kB / 432.6 MB, free: 1.957 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.006413/0.6347, allocations: 2.151 MB / 434.8 MB, free: 0.625 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.6347, allocations: 5.719 kB / 434.8 MB, free: 0.625 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007452/0.6355, allocations: 233.3 kB / 435 MB, free: 404 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007531/0.643, allocations: 2.088 MB / 437.1 MB, free: 14.81 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000159/0.6432, allocations: 132.5 kB / 437.2 MB, free: 14.74 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000454/0.6437, allocations: 176.9 kB / 437.4 MB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006322/0.65, allocations: 2.43 MB / 439.8 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.24e-05/0.6502, allocations: 0 / 439.8 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002584/0.6504, allocations: 74.33 kB / 439.9 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001199/0.6506, allocations: 82.64 kB / 440 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005959/0.6565, allocations: 1.997 MB / 442 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01805/0.6746, allocations: 6.838 MB / 448.8 MB, free: 5.355 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003772/0.6784, allocations: 1.577 MB / 450.4 MB, free: 3.773 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/0.6786, allocations: 9 kB / 450.4 MB, free: 3.762 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002355/0.6809, allocations: 0.9229 MB / 451.3 MB, free: 2.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=125): time 6.713e-06/0.681, allocations: 7.938 kB / 451.3 MB, free: 2.812 MB / 330.7 MB Notification: Performance of matching and sorting (n=125): time 0.01485/0.6958, allocations: 3.434 MB / 454.8 MB, free: 15.34 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.696, allocations: 149.5 kB / 454.9 MB, free: 15.17 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002622/0.6986, allocations: 1.153 MB / 456 MB, free: 14 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003115/0.699, allocations: 77.67 kB / 456.1 MB, free: 13.91 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008565/0.6998, allocations: 0.739 MB / 456.9 MB, free: 13.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005474/0.7004, allocations: 366.5 kB / 457.2 MB, free: 12.83 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.7005, allocations: 32 kB / 457.3 MB, free: 12.8 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.7007, allocations: 362.9 kB / 457.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001955/0.7027, allocations: 0.6831 MB / 458.3 MB, free: 11.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002178/0.7049, allocations: 0.9642 MB / 459.3 MB, free: 10.69 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001962/0.7069, allocations: 0.7246 MB / 460 MB, free: 9.969 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/0.7069, allocations: 4 kB / 460 MB, free: 9.965 MB / 346.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.005156/0.7121, allocations: 1.947 MB / 461.9 MB, free: 8.008 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002301/0.7123, allocations: 277.5 kB / 462.2 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-05/0.7124, allocations: 8 kB / 462.2 MB, free: 7.637 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001928/0.7143, allocations: 0.4908 MB / 462.7 MB, free: 7.145 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/0.7156, allocations: 175.7 kB / 462.9 MB, free: 6.973 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01187/0.7275, allocations: 5.403 MB / 468.3 MB, free: 1.438 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/0.7293, allocations: 183 kB / 468.5 MB, free: 1.258 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/0.7295, allocations: 48 kB / 468.5 MB, free: 1.211 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.7295, allocations: 0 / 468.5 MB, free: 1.211 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004843/0.7344, allocations: 1.863 MB / 470.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.7344, allocations: 4 kB / 470.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001699/0.7361, allocations: 497.6 kB / 470.9 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.7373, allocations: 163.7 kB / 471 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01174/0.7491, allocations: 5.471 MB / 476.5 MB, free: 9.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.7505, allocations: 155.3 kB / 476.6 MB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/0.7506, allocations: 51.98 kB / 476.7 MB, free: 8.887 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.001957/0.7526, allocations: 0.794 MB / 477.5 MB, free: 8.074 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004311/0.753, allocations: 122.5 kB / 477.6 MB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005011/0.7535, allocations: 173.2 kB / 477.8 MB, free: 7.781 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/0.7536, allocations: 12 kB / 477.8 MB, free: 7.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.7536, allocations: 0 / 477.8 MB, free: 7.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.638e-05/0.7536, allocations: 11.98 kB / 477.8 MB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009461/0.7631, allocations: 3.683 MB / 481.5 MB, free: 4.035 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/0.7631, allocations: 7.875 kB / 481.5 MB, free: 4.027 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009237/0.7641, allocations: 107.8 kB / 481.6 MB, free: 3.922 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00179/0.7659, allocations: 468.7 kB / 482 MB, free: 3.461 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001265/0.766, allocations: 20 kB / 482.1 MB, free: 3.441 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01179/0.7778, allocations: 5.369 MB / 487.4 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.7778, allocations: 3.953 kB / 487.4 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007165/0.785, allocations: 2.74 MB / 490.2 MB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/0.7861, allocations: 371.2 kB / 490.5 MB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003859/0.7865, allocations: 39.98 kB / 490.6 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/0.7878, allocations: 107.9 kB / 490.7 MB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007783/0.7886, allocations: 240.5 kB / 490.9 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/0.7887, allocations: 35.98 kB / 491 MB, free: 10.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001829/0.7906, allocations: 0.7837 MB / 491.7 MB, free: 9.582 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7906, allocations: 0 / 491.7 MB, free: 9.582 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003159/0.7938, allocations: 0.8489 MB / 492.6 MB, free: 8.73 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.0004414/0.7943, allocations: 205.5 kB / 492.8 MB, free: 8.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008363/0.8026, allocations: 3.147 MB / 495.9 MB, free: 5.344 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.487e-06/0.8027, allocations: 0.5625 kB / 495.9 MB, free: 5.344 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003112/0.8058, allocations: 1.16 MB / 497.1 MB, free: 4.176 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00236/0.8082, allocations: 308.8 kB / 497.4 MB, free: 3.875 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/0.8182, allocations: 4.183 MB / 0.4898 GB, free: 15.65 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002021/0.8203, allocations: 1.699 MB / 0.4915 GB, free: 13.92 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005989/0.8209, allocations: 87.44 kB / 0.4916 GB, free: 13.84 MB / 394.7 MB Notification: Performance of SimCode: time 4.068e-06/0.8209, allocations: 0 / 0.4916 GB, free: 13.84 MB / 394.7 MB Notification: Performance of Templates: time 0.3194/1.14, allocations: 31.1 MB / 0.5219 GB, free: 121 MB / 410.7 MB