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_R.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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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_R") Notification: Performance of loadModel(Modelica): time 2.221/2.221, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005567/0.0005569, allocations: 11.98 kB / 264.6 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1302, allocations: 44.5 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4318/0.5621, allocations: 84.85 MB / 393.9 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004003/0.5625, allocations: 97.42 kB / 394 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1336/0.6962, allocations: 27.82 MB / 421.8 MB, free: 6.188 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.737e-06/0.6962, allocations: 3.938 kB / 421.8 MB, free: 6.184 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001528/0.6964, allocations: 38.67 kB / 421.9 MB, free: 6.18 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: 318 * Number of variables: 318 Notification: Performance of Generate backend data structure: time 0.005352/0.7018, allocations: 1.626 MB / 423.5 MB, free: 5.109 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.7018, allocations: 11.75 kB / 423.5 MB, free: 5.105 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00061/0.7024, allocations: 165.4 kB / 423.7 MB, free: 5.02 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005827/0.7083, allocations: 1.631 MB / 425.3 MB, free: 4.348 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/0.7084, allocations: 101.7 kB / 425.4 MB, free: 4.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002939/0.7088, allocations: 128 kB / 425.5 MB, free: 4.336 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004486/0.7132, allocations: 1.702 MB / 427.2 MB, free: 3.812 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.657e-05/0.7134, allocations: 0 / 427.2 MB, free: 3.812 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001918/0.7136, allocations: 50.31 kB / 427.3 MB, free: 3.812 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.664e-05/0.7137, allocations: 57.02 kB / 427.3 MB, free: 3.805 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004883/0.7186, allocations: 1.394 MB / 428.7 MB, free: 3.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01174/0.7304, allocations: 4.875 MB / 433.6 MB, free: 1.379 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002177/0.7326, allocations: 0.9635 MB / 434.6 MB, free: 1.199 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.786e-05/0.7327, allocations: 12.06 kB / 434.6 MB, free: 1.199 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001547/0.7343, allocations: 0.6324 MB / 435.2 MB, free: 0.832 MB / 314.7 MB Notification: Performance of pre-optimization done (n=81): time 5.01e-06/0.7343, allocations: 3.938 kB / 435.2 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of matching and sorting (n=81): time 0.005914/0.7402, allocations: 1.728 MB / 436.9 MB, free: 15.49 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/0.7404, allocations: 121 kB / 437.1 MB, free: 15.35 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001829/0.7422, allocations: 0.8336 MB / 437.9 MB, free: 14.72 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002452/0.7425, allocations: 60.48 kB / 438 MB, free: 14.67 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007705/0.7433, allocations: 0.5698 MB / 438.5 MB, free: 14.26 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003992/0.7437, allocations: 230.5 kB / 438.7 MB, free: 14.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.953e-05/0.7438, allocations: 22.5 kB / 438.8 MB, free: 14.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.744, allocations: 348.8 kB / 439.1 MB, free: 13.73 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0014/0.7454, allocations: 447.6 kB / 439.5 MB, free: 13.31 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001563/0.747, allocations: 0.661 MB / 440.2 MB, free: 12.56 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/0.7484, allocations: 478.7 kB / 440.7 MB, free: 12.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/0.7484, allocations: 4 kB / 440.7 MB, free: 12.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.003803/0.7523, allocations: 1.278 MB / 442 MB, free: 10.8 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002702/0.7526, allocations: 280.2 kB / 442.2 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.122e-05/0.7526, allocations: 8 kB / 442.2 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009698/0.7536, allocations: 224.7 kB / 442.5 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.7546, allocations: 143.8 kB / 442.6 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005473/0.7601, allocations: 2.858 MB / 445.5 MB, free: 7.074 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/0.7616, allocations: 139.2 kB / 445.6 MB, free: 6.938 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/0.7618, allocations: 32 kB / 445.6 MB, free: 6.906 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.7618, allocations: 8 kB / 445.6 MB, free: 6.898 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003246/0.7651, allocations: 1.16 MB / 446.8 MB, free: 5.734 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.532e-05/0.7652, allocations: 8 kB / 446.8 MB, free: 5.727 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008634/0.766, allocations: 221.4 kB / 447 MB, free: 5.508 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009831/0.767, allocations: 135.7 kB / 447.1 MB, free: 5.375 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006166/0.7732, allocations: 2.853 MB / 450 MB, free: 2.391 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/0.7749, allocations: 123.4 kB / 450.1 MB, free: 2.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/0.7751, allocations: 36 kB / 450.2 MB, free: 2.234 MB / 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 (102): * Single equations (assignments): 101 * 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 11} Notification: Performance of prepare postOptimizeDAE: time 0.001479/0.7766, allocations: 0.61 MB / 450.8 MB, free: 1.621 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003253/0.7769, allocations: 94.84 kB / 450.9 MB, free: 1.527 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004118/0.7774, allocations: 109 kB / 451 MB, free: 1.414 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/0.7774, allocations: 8 kB / 451 MB, free: 1.406 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.7774, allocations: 0 / 451 MB, free: 1.406 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/0.7774, allocations: 3.984 kB / 451 MB, free: 1.402 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007295/0.7847, allocations: 2.515 MB / 453.5 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.7848, allocations: 4.062 kB / 453.5 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008132/0.7856, allocations: 83.83 kB / 453.6 MB, free: 14.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008723/0.7865, allocations: 204.7 kB / 453.8 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001769/0.7867, allocations: 15.98 kB / 453.8 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005463/0.7922, allocations: 2.734 MB / 456.5 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.7923, allocations: 48 / 456.5 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004953/0.7972, allocations: 1.767 MB / 458.3 MB, free: 9.879 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000876/0.7981, allocations: 267.9 kB / 458.6 MB, free: 9.598 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002774/0.7984, allocations: 27.94 kB / 458.6 MB, free: 9.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.7995, allocations: 87.91 kB / 458.7 MB, free: 9.484 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005251/0.8, allocations: 140.4 kB / 458.8 MB, free: 9.348 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.703e-05/0.8001, allocations: 23.94 kB / 458.8 MB, free: 9.324 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001354/0.8015, allocations: 0.5771 MB / 459.4 MB, free: 8.746 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.226e-06/0.8015, allocations: 0 / 459.4 MB, free: 8.746 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002527/0.8041, allocations: 0.5876 MB / 460 MB, free: 8.156 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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[3].off,rectifier.thyristor.idealThyristor[1].off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 58 * 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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003785/0.8045, allocations: 148.4 kB / 460.1 MB, free: 8 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005697/0.8102, allocations: 2.007 MB / 462.1 MB, free: 5.969 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/0.8102, allocations: 7.75 kB / 462.2 MB, free: 5.965 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002256/0.8125, allocations: 0.7534 MB / 462.9 MB, free: 5.195 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001697/0.8143, allocations: 192.4 kB / 463.1 MB, free: 5.008 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008741/0.823, allocations: 3.046 MB / 466.1 MB, free: 1.926 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001661/0.8247, allocations: 1.393 MB / 467.5 MB, free: 0.5 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001635/0.8264, allocations: 311 kB / 467.8 MB, free: 196 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000335/0.8268, allocations: 59.44 kB / 467.9 MB, free: 136 kB / 346.7 MB Notification: Performance of SimCode: time 1.192e-06/0.8268, allocations: 4 kB / 467.9 MB, free: 132 kB / 346.7 MB Notification: Performance of Templates: time 0.04747/0.8743, allocations: 15.66 MB / 483.6 MB, free: 0.5312 MB / 362.7 MB