Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_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.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulsem.twomPulse.timerNegative.1..entryTime|pulsem.twomPulse.timerNegative.2..entryTime|pulsem.twomPulse.timerNegative.3..entryTime|pulsem.twomPulse.timerPositive.1..entryTime|pulsem.twomPulse.timerPositive.2..entryTime|pulsem.twomPulse.timerPositive.3..entryTime|rectifier.thyristor.idealThyristor.1..off|rectifier.thyristor.idealThyristor.2..off|rectifier.thyristor.idealThyristor.3..off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic") Notification: Performance of loadModel(Modelica): time 2.096/2.096, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004996/0.0004998, allocations: 12 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1743, allocations: 44.5 MB / 309.1 MB, free: 376 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4936/0.668, allocations: 85.62 MB / 394.7 MB, free: 15.42 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004042/0.6684, allocations: 95.53 kB / 394.8 MB, free: 15.42 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1169/0.7854, allocations: 28.56 MB / 423.3 MB, free: 5.762 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.7855, allocations: 0 / 423.3 MB, free: 5.762 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001356/0.7856, allocations: 31.12 kB / 423.4 MB, free: 5.758 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: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.005765/0.7914, allocations: 1.693 MB / 425.1 MB, free: 4.66 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.7915, allocations: 7.375 kB / 425.1 MB, free: 4.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007254/0.7922, allocations: 159.6 kB / 425.2 MB, free: 4.582 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005992/0.7982, allocations: 1.656 MB / 426.9 MB, free: 3.891 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.7984, allocations: 105.1 kB / 427 MB, free: 3.887 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000383/0.7988, allocations: 131.2 kB / 427.1 MB, free: 3.883 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005049/0.8038, allocations: 1.763 MB / 428.9 MB, free: 3.348 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.883e-05/0.804, allocations: 0 / 428.9 MB, free: 3.348 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002038/0.8042, allocations: 53.81 kB / 428.9 MB, free: 3.348 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.148e-05/0.8043, allocations: 60.88 kB / 429 MB, free: 3.336 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005051/0.8093, allocations: 1.46 MB / 430.4 MB, free: 3.086 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01644/0.8258, allocations: 5.014 MB / 435.5 MB, free: 440 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02524/0.8512, allocations: 1.134 MB / 436.6 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001236/0.8513, allocations: 8.656 kB / 436.6 MB, free: 15.65 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002463/0.8538, allocations: 0.6702 MB / 437.3 MB, free: 15.13 MB / 330.7 MB Notification: Performance of pre-optimization done (n=85): time 5.381e-06/0.8539, allocations: 0 / 437.3 MB, free: 15.13 MB / 330.7 MB Notification: Performance of matching and sorting (n=85): time 0.02532/0.8792, allocations: 1.805 MB / 439.1 MB, free: 13.73 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/0.8794, allocations: 119.5 kB / 439.2 MB, free: 13.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002758/0.8822, allocations: 0.8584 MB / 440 MB, free: 12.94 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003366/0.8826, allocations: 55.75 kB / 440.1 MB, free: 12.89 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001047/0.8836, allocations: 0.5894 MB / 440.7 MB, free: 12.35 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005599/0.8842, allocations: 248 kB / 440.9 MB, free: 12.11 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.8843, allocations: 16 kB / 440.9 MB, free: 12.1 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002393/0.8846, allocations: 345.9 kB / 441.3 MB, free: 11.75 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01/0.8946, allocations: 473.7 kB / 441.7 MB, free: 11.29 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00259/0.8973, allocations: 0.6996 MB / 442.4 MB, free: 10.5 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002202/0.8995, allocations: 490.7 kB / 442.9 MB, free: 10.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.939e-05/0.8996, allocations: 4 kB / 442.9 MB, free: 10.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.005825/0.9054, allocations: 1.352 MB / 444.3 MB, free: 8.652 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003682/0.9058, allocations: 280.8 kB / 444.6 MB, free: 8.293 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-05/0.9059, allocations: 4 kB / 444.6 MB, free: 8.289 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001185/0.9071, allocations: 216.7 kB / 444.8 MB, free: 8.074 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/0.9088, allocations: 163.7 kB / 444.9 MB, free: 7.914 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005815/0.9147, allocations: 2.815 MB / 447.7 MB, free: 4.961 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/0.9162, allocations: 151.3 kB / 447.9 MB, free: 4.812 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001437/0.9164, allocations: 43.92 kB / 447.9 MB, free: 4.77 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.9164, allocations: 4 kB / 447.9 MB, free: 4.766 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003649/0.9201, allocations: 1.211 MB / 449.2 MB, free: 3.551 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.706e-05/0.9201, allocations: 4.375 kB / 449.2 MB, free: 3.547 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008236/0.921, allocations: 216.7 kB / 449.4 MB, free: 3.332 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.9222, allocations: 159.8 kB / 449.5 MB, free: 3.176 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005549/0.9278, allocations: 2.835 MB / 452.4 MB, free: 216 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/0.9293, allocations: 135.2 kB / 452.5 MB, free: 80 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001491/0.9295, allocations: 43.94 kB / 452.5 MB, free: 36 kB / 330.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: 48 ($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,$PRE.rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[1].off,$PRE.rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[2].off,$PRE.rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[3].off,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.positiveThreshold[3].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.negativeThreshold[3].y,$PRE.pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[1].entryTime,$PRE.pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,$PRE.pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,$PRE.pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,$PRE.pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,$PRE.pulsem.twomPulse.timerNegative[3].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 107 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.001576/0.9311, allocations: 0.6101 MB / 453.1 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003462/0.9314, allocations: 94.86 kB / 453.2 MB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003985/0.9318, allocations: 109.5 kB / 453.3 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.9319, allocations: 11.94 kB / 453.4 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.9319, allocations: 4 kB / 453.4 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.9319, allocations: 3.984 kB / 453.4 MB, free: 15.19 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007665/0.9396, allocations: 2.564 MB / 455.9 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/0.9396, allocations: 4 kB / 455.9 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000914/0.9406, allocations: 99.81 kB / 456 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008047/0.9414, allocations: 200.7 kB / 456.2 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001527/0.9416, allocations: 19.98 kB / 456.2 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005541/0.9471, allocations: 2.806 MB / 459.1 MB, free: 9.328 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.9472, allocations: 0 / 459.1 MB, free: 9.328 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005776/0.9529, allocations: 1.841 MB / 460.9 MB, free: 7.469 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000983/0.954, allocations: 271.8 kB / 461.2 MB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002661/0.9543, allocations: 31.97 kB / 461.2 MB, free: 7.152 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/0.9554, allocations: 99.91 kB / 461.3 MB, free: 7.055 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005405/0.9559, allocations: 136.8 kB / 461.4 MB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.669e-05/0.956, allocations: 27.98 kB / 461.4 MB, free: 6.891 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001363/0.9574, allocations: 0.581 MB / 462 MB, free: 6.309 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.9574, allocations: 4 kB / 462 MB, free: 6.305 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002622/0.9601, allocations: 0.5875 MB / 462.6 MB, free: 5.715 MB / 346.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: 36 (pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.negativeThreshold[3].y,pulsem.twomPulse.positiveThreshold[3].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.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 6 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[3].off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 63 * 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 {3 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004214/0.9605, allocations: 172.5 kB / 462.8 MB, free: 5.535 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006132/0.9667, allocations: 2.065 MB / 464.9 MB, free: 3.445 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.293e-06/0.9668, allocations: 4 kB / 464.9 MB, free: 3.441 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002106/0.9689, allocations: 0.7187 MB / 465.6 MB, free: 2.715 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001627/0.9705, allocations: 196 kB / 465.8 MB, free: 2.523 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008395/0.979, allocations: 3.009 MB / 468.8 MB, free: 15.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001712/0.9807, allocations: 1.409 MB / 470.2 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001792/0.9826, allocations: 315.2 kB / 470.5 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004102/0.983, allocations: 67.42 kB / 470.6 MB, free: 13.67 MB / 362.7 MB Notification: Performance of SimCode: time 3.376e-06/0.9831, allocations: 3.938 kB / 470.6 MB, free: 13.66 MB / 362.7 MB Notification: Performance of Templates: time 0.05442/1.037, allocations: 15.68 MB / 486.2 MB, free: 14.04 MB / 378.7 MB