Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.776/1.776, allocations: 194.8 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003582/0.0003581, allocations: 8 kB / 264 MB, free: 13.56 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08053/0.08091, allocations: 44.5 MB / 308.5 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3388/0.4198, allocations: 87.44 MB / 395.9 MB, free: 18.69 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.4201, allocations: 90.31 kB / 396 MB, free: 18.69 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1203/0.5404, allocations: 36.05 MB / 432 MB, free: 5.773 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.112e-06/0.5405, allocations: 3.938 kB / 432 MB, free: 5.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001558/0.5407, allocations: 50.75 kB / 432.1 MB, free: 5.762 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.005439/0.5461, allocations: 2.156 MB / 434.3 MB, free: 4.398 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.5462, allocations: 11.62 kB / 434.3 MB, free: 4.398 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000766/0.547, allocations: 222.2 kB / 434.5 MB, free: 4.285 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006342/0.5533, allocations: 2.079 MB / 436.6 MB, free: 2.836 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/0.5535, allocations: 136.8 kB / 436.7 MB, free: 2.758 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003686/0.5539, allocations: 173.7 kB / 436.9 MB, free: 2.645 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005402/0.5593, allocations: 2.415 MB / 439.3 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.52e-05/0.5594, allocations: 7.938 kB / 439.3 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00025/0.5596, allocations: 79.2 kB / 439.4 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.442e-05/0.5597, allocations: 75.44 kB / 439.4 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005071/0.5648, allocations: 2.004 MB / 441.4 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01642/0.5813, allocations: 6.835 MB / 448.3 MB, free: 9.609 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004316/0.5856, allocations: 1.725 MB / 450 MB, free: 7.875 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001028/0.5858, allocations: 13 kB / 450 MB, free: 7.863 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002154/0.588, allocations: 0.9074 MB / 450.9 MB, free: 6.934 MB / 330.7 MB Notification: Performance of pre-optimization done (n=123): time 5.585e-06/0.588, allocations: 0 / 450.9 MB, free: 6.934 MB / 330.7 MB Notification: Performance of matching and sorting (n=123): time 0.01141/0.5994, allocations: 3.402 MB / 454.3 MB, free: 3.504 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/0.5996, allocations: 149.5 kB / 454.5 MB, free: 3.328 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002459/0.6021, allocations: 1.066 MB / 455.5 MB, free: 2.246 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003059/0.6024, allocations: 77.67 kB / 455.6 MB, free: 2.164 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009144/0.6033, allocations: 0.74 MB / 456.3 MB, free: 1.414 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005878/0.604, allocations: 370.9 kB / 456.7 MB, free: 1.047 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.6041, allocations: 31.94 kB / 456.7 MB, free: 1.016 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002424/0.6043, allocations: 366.9 kB / 457.1 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001683/0.606, allocations: 0.6871 MB / 457.8 MB, free: 15.96 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002064/0.6081, allocations: 0.9525 MB / 458.7 MB, free: 14.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001789/0.6099, allocations: 0.7246 MB / 459.5 MB, free: 14.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.364e-05/0.61, allocations: 4 kB / 459.5 MB, free: 14.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.004783/0.6148, allocations: 1.935 MB / 461.4 MB, free: 12.23 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001436/0.6163, allocations: 2.451 MB / 463.9 MB, free: 9.598 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.519e-05/0.6163, allocations: 11.95 kB / 463.9 MB, free: 9.586 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001703/0.618, allocations: 497.8 kB / 464.4 MB, free: 9.098 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000974/0.619, allocations: 179.7 kB / 464.5 MB, free: 8.922 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01059/0.6296, allocations: 5.374 MB / 469.9 MB, free: 3.402 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/0.6312, allocations: 191 kB / 470.1 MB, free: 3.215 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/0.6314, allocations: 51.95 kB / 470.1 MB, free: 3.164 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.6314, allocations: 4 kB / 470.1 MB, free: 3.16 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0043/0.6357, allocations: 1.855 MB / 472 MB, free: 1.301 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.581e-05/0.6358, allocations: 8 kB / 472 MB, free: 1.293 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001474/0.6373, allocations: 496.5 kB / 472.5 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008985/0.6382, allocations: 163.7 kB / 472.7 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01045/0.6487, allocations: 5.443 MB / 478.1 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.6497, allocations: 159.2 kB / 478.2 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/0.6499, allocations: 55.98 kB / 478.3 MB, free: 10.86 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.001783/0.6517, allocations: 0.7862 MB / 479.1 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004039/0.6521, allocations: 130.4 kB / 479.2 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004408/0.6526, allocations: 168.5 kB / 479.4 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.6526, allocations: 16 kB / 479.4 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.6526, allocations: 3.953 kB / 479.4 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.878e-05/0.6526, allocations: 7.969 kB / 479.4 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008272/0.6609, allocations: 3.599 MB / 483 MB, free: 6.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.661, allocations: 3.953 kB / 483 MB, free: 6.066 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/0.6621, allocations: 103.8 kB / 483.1 MB, free: 5.965 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002469/0.6646, allocations: 468.6 kB / 483.6 MB, free: 5.504 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002867/0.6649, allocations: 27.98 kB / 483.6 MB, free: 5.477 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01663/0.6815, allocations: 5.356 MB / 489 MB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.86e-06/0.6816, allocations: 0 / 489 MB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009401/0.691, allocations: 2.662 MB / 491.6 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/0.6921, allocations: 367.2 kB / 492 MB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002788/0.6924, allocations: 47.97 kB / 492 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009792/0.6934, allocations: 108 kB / 492.1 MB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000634/0.694, allocations: 228.7 kB / 492.4 MB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/0.6941, allocations: 27.98 kB / 492.4 MB, free: 12.52 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001793/0.696, allocations: 0.8151 MB / 493.2 MB, free: 11.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.61e-07/0.696, allocations: 4 kB / 493.2 MB, free: 11.69 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003221/0.6992, allocations: 0.8528 MB / 494 MB, free: 10.84 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_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 80 * 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.0004/0.6996, allocations: 189.4 kB / 494.2 MB, free: 10.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007023/0.7067, allocations: 3.128 MB / 497.4 MB, free: 7.484 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.529e-06/0.7067, allocations: 0.5625 kB / 497.4 MB, free: 7.484 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002417/0.7092, allocations: 1.081 MB / 498.4 MB, free: 6.395 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001827/0.711, allocations: 320.2 kB / 498.8 MB, free: 6.082 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009281/0.7203, allocations: 4.12 MB / 0.4911 GB, free: 1.926 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002117/0.7225, allocations: 1.695 MB / 0.4927 GB, free: 204 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004722/0.723, allocations: 91.42 kB / 0.4928 GB, free: 116 kB / 378.7 MB Notification: Performance of SimCode: time 1.723e-06/0.723, allocations: 4 kB / 0.4928 GB, free: 112 kB / 378.7 MB Notification: Performance of Templates: time 0.05499/0.778, allocations: 31.1 MB / 0.5232 GB, free: 0.9844 MB / 410.7 MB