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_Characteristic.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_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.754/1.754, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003632, allocations: 8 kB / 264 MB, free: 13.55 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0796/0.07999, allocations: 44.5 MB / 308.5 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.342/0.422, allocations: 87.98 MB / 396.4 MB, free: 18.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/0.4223, allocations: 92.22 kB / 396.5 MB, free: 18.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1226/0.5449, allocations: 36.52 MB / 433.1 MB, free: 5.484 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.5449, allocations: 0 / 433.1 MB, free: 5.484 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001353/0.5451, allocations: 50.78 kB / 433.1 MB, free: 5.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: 450 * Number of variables: 450 Notification: Performance of Generate backend data structure: time 0.00487/0.5499, allocations: 2.173 MB / 435.3 MB, free: 3.812 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.55, allocations: 12.03 kB / 435.3 MB, free: 3.801 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007108/0.5507, allocations: 233.2 kB / 435.5 MB, free: 3.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006364/0.5571, allocations: 2.091 MB / 437.6 MB, free: 1.902 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/0.5573, allocations: 139.5 kB / 437.7 MB, free: 1.824 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003777/0.5577, allocations: 176.6 kB / 437.9 MB, free: 1.707 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005404/0.5631, allocations: 2.439 MB / 440.4 MB, free: 0 / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.868e-05/0.5632, allocations: 11.95 kB / 440.4 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002536/0.5635, allocations: 73.12 kB / 440.4 MB, free: 15.97 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001105/0.5636, allocations: 75.42 kB / 440.5 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005446/0.5691, allocations: 2.041 MB / 442.6 MB, free: 14.58 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01536/0.5845, allocations: 6.862 MB / 449.4 MB, free: 8.496 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003903/0.5884, allocations: 1.694 MB / 451.1 MB, free: 6.797 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.112e-05/0.5885, allocations: 16.98 kB / 451.1 MB, free: 6.781 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002256/0.5908, allocations: 0.9426 MB / 452.1 MB, free: 5.816 MB / 330.7 MB Notification: Performance of pre-optimization done (n=126): time 5.359e-06/0.5908, allocations: 0 / 452.1 MB, free: 5.816 MB / 330.7 MB Notification: Performance of matching and sorting (n=126): time 0.01178/0.6026, allocations: 3.499 MB / 455.6 MB, free: 2.285 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/0.6028, allocations: 157.5 kB / 455.7 MB, free: 2.102 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002182/0.605, allocations: 1.03 MB / 456.8 MB, free: 1.055 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002976/0.6053, allocations: 73.67 kB / 456.8 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009462/0.6063, allocations: 0.744 MB / 457.6 MB, free: 228 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005968/0.6069, allocations: 379 kB / 457.9 MB, free: 15.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.607, allocations: 27.94 kB / 458 MB, free: 15.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002356/0.6073, allocations: 370.6 kB / 458.3 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001713/0.609, allocations: 0.7027 MB / 459 MB, free: 14.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002011/0.611, allocations: 0.9798 MB / 460 MB, free: 13.67 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001902/0.6129, allocations: 0.7441 MB / 460.8 MB, free: 12.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.732e-05/0.613, allocations: 4 kB / 460.8 MB, free: 12.92 MB / 346.7 MB Notification: Performance of matching and sorting (n=171) (initialization): time 0.005026/0.618, allocations: 1.985 MB / 462.7 MB, free: 10.93 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001395/0.6194, allocations: 2.446 MB / 465.2 MB, free: 8.293 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/0.6195, allocations: 4 kB / 465.2 MB, free: 8.289 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001668/0.6212, allocations: 0.4949 MB / 465.7 MB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.6222, allocations: 179.7 kB / 465.9 MB, free: 7.617 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01065/0.6329, allocations: 5.411 MB / 471.3 MB, free: 2.059 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/0.6344, allocations: 187.1 kB / 471.5 MB, free: 1.875 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/0.6345, allocations: 44 kB / 471.5 MB, free: 1.832 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.6345, allocations: 4 kB / 471.5 MB, free: 1.828 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004446/0.639, allocations: 1.898 MB / 473.4 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/0.639, allocations: 4 kB / 473.4 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001438/0.6405, allocations: 0.4895 MB / 473.9 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009302/0.6414, allocations: 175.7 kB / 474.1 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01034/0.6518, allocations: 5.462 MB / 479.5 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/0.6529, allocations: 163.2 kB / 479.7 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001561/0.6531, allocations: 51.94 kB / 479.7 MB, free: 9.449 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.001907/0.655, allocations: 0.7902 MB / 480.5 MB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003991/0.6554, allocations: 138.3 kB / 480.7 MB, free: 8.504 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004688/0.6559, allocations: 165.3 kB / 480.8 MB, free: 8.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-05/0.656, allocations: 12 kB / 480.8 MB, free: 8.328 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.656, allocations: 3.984 kB / 480.8 MB, free: 8.324 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.589e-05/0.656, allocations: 3.984 kB / 480.8 MB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008815/0.6648, allocations: 3.689 MB / 484.5 MB, free: 4.574 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.429e-06/0.6649, allocations: 0 / 484.5 MB, free: 4.574 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007355/0.6656, allocations: 119.8 kB / 484.7 MB, free: 4.457 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001567/0.6672, allocations: 464.7 kB / 485.1 MB, free: 4 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001768/0.6674, allocations: 27.98 kB / 485.1 MB, free: 3.973 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01047/0.6779, allocations: 5.358 MB / 490.5 MB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.278e-06/0.6779, allocations: 3.953 kB / 490.5 MB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00693/0.6849, allocations: 2.791 MB / 493.3 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/0.6861, allocations: 375.2 kB / 493.7 MB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003429/0.6864, allocations: 39.98 kB / 493.7 MB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.6875, allocations: 115.9 kB / 493.8 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006971/0.6882, allocations: 228.6 kB / 494 MB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/0.6883, allocations: 39.94 kB / 494.1 MB, free: 10.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001716/0.6901, allocations: 0.7839 MB / 494.9 MB, free: 10.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.07e-07/0.6901, allocations: 7.938 kB / 494.9 MB, free: 10.06 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00316/0.6933, allocations: 0.8683 MB / 495.7 MB, free: 9.188 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.0004636/0.6938, allocations: 217.5 kB / 495.9 MB, free: 8.969 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007541/0.7013, allocations: 3.207 MB / 499.1 MB, free: 5.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.82e-06/0.7014, allocations: 0.625 kB / 499.1 MB, free: 5.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00279/0.7042, allocations: 1.123 MB / 0.4885 GB, free: 4.598 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001916/0.7061, allocations: 318.1 kB / 0.4888 GB, free: 4.285 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01362/0.7198, allocations: 4.181 MB / 0.4929 GB, free: 76 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004165/0.724, allocations: 1.695 MB / 0.4946 GB, free: 14.35 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009578/0.725, allocations: 91.42 kB / 0.4947 GB, free: 14.26 MB / 394.7 MB Notification: Performance of SimCode: time 2.195e-06/0.7251, allocations: 0 / 0.4947 GB, free: 14.26 MB / 394.7 MB Notification: Performance of Templates: time 0.3053/1.03, allocations: 31.43 MB / 0.5254 GB, free: 121.1 MB / 410.7 MB