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_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.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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_Characteristic") Notification: Performance of loadModel(Modelica): time 1.822/1.822, allocations: 194.8 MB / 212.3 MB, free: 3.016 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003521, allocations: 11.98 kB / 264.5 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0917/0.09208, allocations: 44.5 MB / 309 MB, free: 1.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4118/0.5039, allocations: 87.97 MB / 397 MB, free: 14.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/0.5043, allocations: 94.53 kB / 397.1 MB, free: 14.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.13/0.6343, allocations: 36.52 MB / 433.6 MB, free: 1.762 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6344, allocations: 0 / 433.6 MB, free: 1.762 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001878/0.6346, allocations: 46.62 kB / 433.6 MB, free: 1.754 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: 450 * Number of variables: 450 Notification: Performance of Generate backend data structure: time 0.006574/0.6412, allocations: 2.177 MB / 435.8 MB, free: 15.83 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.6412, allocations: 12.03 kB / 435.8 MB, free: 15.82 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008988/0.6421, allocations: 233.2 kB / 436 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0079/0.6501, allocations: 2.077 MB / 438.1 MB, free: 14.01 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001766/0.6503, allocations: 143.8 kB / 438.3 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000534/0.6508, allocations: 177.2 kB / 438.4 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006769/0.6576, allocations: 2.448 MB / 440.9 MB, free: 12.1 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.679e-05/0.6578, allocations: 7.906 kB / 440.9 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000289/0.6581, allocations: 81.94 kB / 441 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001266/0.6582, allocations: 78.55 kB / 441 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006284/0.6645, allocations: 2.036 MB / 443.1 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01837/0.6829, allocations: 6.858 MB / 449.9 MB, free: 4.363 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004659/0.6876, allocations: 1.702 MB / 451.6 MB, free: 2.656 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001143/0.6878, allocations: 16.98 kB / 451.7 MB, free: 2.637 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002531/0.6903, allocations: 0.951 MB / 452.6 MB, free: 1.668 MB / 330.7 MB Notification: Performance of pre-optimization done (n=126): time 4.478e-06/0.6903, allocations: 0 / 452.6 MB, free: 1.668 MB / 330.7 MB Notification: Performance of matching and sorting (n=126): time 0.01545/0.7058, allocations: 3.496 MB / 456.1 MB, free: 14.14 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/0.706, allocations: 160.9 kB / 456.3 MB, free: 13.95 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002616/0.7086, allocations: 1.149 MB / 457.4 MB, free: 12.79 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003891/0.709, allocations: 81.67 kB / 457.5 MB, free: 12.7 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009032/0.7099, allocations: 0.7395 MB / 458.2 MB, free: 11.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005821/0.7105, allocations: 373.3 kB / 458.6 MB, free: 11.61 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.7107, allocations: 32 kB / 458.6 MB, free: 11.57 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.7109, allocations: 366.7 kB / 459 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002096/0.713, allocations: 0.7066 MB / 459.7 MB, free: 10.5 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002351/0.7154, allocations: 0.9837 MB / 460.7 MB, free: 9.418 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002165/0.7175, allocations: 0.7441 MB / 461.4 MB, free: 8.68 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.22e-05/0.7176, allocations: 4 kB / 461.4 MB, free: 8.676 MB / 346.7 MB Notification: Performance of matching and sorting (n=171) (initialization): time 0.005418/0.723, allocations: 1.982 MB / 463.4 MB, free: 6.684 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002328/0.7233, allocations: 277.7 kB / 463.7 MB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/0.7233, allocations: 7.984 kB / 463.7 MB, free: 6.312 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001951/0.7253, allocations: 0.491 MB / 464.2 MB, free: 5.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/0.7266, allocations: 183.7 kB / 464.3 MB, free: 5.641 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01199/0.7386, allocations: 5.407 MB / 469.8 MB, free: 96 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001867/0.7405, allocations: 187.1 kB / 469.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001653/0.7407, allocations: 44.12 kB / 470 MB, free: 15.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.7407, allocations: 4.625 kB / 470 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0052/0.746, allocations: 1.902 MB / 471.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/0.746, allocations: 4.438 kB / 471.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001701/0.7477, allocations: 493 kB / 472.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/0.7491, allocations: 175.7 kB / 472.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01189/0.761, allocations: 5.469 MB / 478 MB, free: 7.695 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/0.7624, allocations: 155.5 kB / 478.2 MB, free: 7.543 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/0.7625, allocations: 63.97 kB / 478.2 MB, free: 7.48 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 (138): * Single equations (assignments): 137 * 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.001996/0.7646, allocations: 0.7861 MB / 479 MB, free: 6.676 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004988/0.7651, allocations: 134.4 kB / 479.1 MB, free: 6.543 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005603/0.7656, allocations: 177.3 kB / 479.3 MB, free: 6.367 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/0.7657, allocations: 12 kB / 479.3 MB, free: 6.355 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.7657, allocations: 0 / 479.3 MB, free: 6.355 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.807e-05/0.7657, allocations: 7.969 kB / 479.3 MB, free: 6.348 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009715/0.7754, allocations: 3.687 MB / 483 MB, free: 2.629 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.7755, allocations: 0 / 483 MB, free: 2.629 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009996/0.7765, allocations: 119.8 kB / 483.1 MB, free: 2.512 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001785/0.7783, allocations: 460.7 kB / 483.6 MB, free: 2.059 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001343/0.7785, allocations: 31.98 kB / 483.6 MB, free: 2.027 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01189/0.7904, allocations: 5.361 MB / 489 MB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.7904, allocations: 0 / 489 MB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007618/0.798, allocations: 2.783 MB / 491.8 MB, free: 9.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/0.7992, allocations: 371.2 kB / 492.1 MB, free: 9.348 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000359/0.7996, allocations: 43.94 kB / 492.2 MB, free: 9.305 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/0.801, allocations: 119.9 kB / 492.3 MB, free: 9.188 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007919/0.8018, allocations: 228.6 kB / 492.5 MB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/0.8019, allocations: 39.98 kB / 492.6 MB, free: 8.926 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001796/0.8037, allocations: 0.7839 MB / 493.3 MB, free: 8.133 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.8038, allocations: 4 kB / 493.3 MB, free: 8.129 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003254/0.807, allocations: 0.8605 MB / 494.2 MB, free: 7.266 MB / 378.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: 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_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[1].off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 83 * 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.0005281/0.8076, allocations: 221.5 kB / 494.4 MB, free: 7.039 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008821/0.8164, allocations: 3.201 MB / 497.6 MB, free: 3.812 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/0.8165, allocations: 0.5625 kB / 497.6 MB, free: 3.812 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003081/0.8196, allocations: 1.128 MB / 498.7 MB, free: 2.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002396/0.822, allocations: 322.1 kB / 499.1 MB, free: 2.367 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/0.8323, allocations: 4.181 MB / 0.4914 GB, free: 14.15 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002065/0.8344, allocations: 1.699 MB / 0.4931 GB, free: 12.42 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006283/0.8351, allocations: 87.44 kB / 0.4932 GB, free: 12.33 MB / 394.7 MB Notification: Performance of SimCode: time 1.623e-06/0.8351, allocations: 0 / 0.4932 GB, free: 12.33 MB / 394.7 MB Notification: Performance of Templates: time 0.3199/1.155, allocations: 31.43 MB / 0.5239 GB, free: 120.6 MB / 410.7 MB