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.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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") Notification: Performance of loadModel(Modelica): time 2.252/2.252, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003626, allocations: 11.94 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1283, allocations: 44.51 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4912/0.6196, allocations: 85.4 MB / 394.5 MB, free: 15.25 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003316/0.62, allocations: 92.3 kB / 394.6 MB, free: 15.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1137/0.7337, allocations: 28.44 MB / 423 MB, free: 5.695 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.7338, allocations: 0 / 423 MB, free: 5.695 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002076/0.734, allocations: 31 kB / 423 MB, free: 5.695 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: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.00799/0.742, allocations: 1.666 MB / 424.7 MB, free: 4.605 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.672e-05/0.7421, allocations: 7.781 kB / 424.7 MB, free: 4.605 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008852/0.743, allocations: 167.8 kB / 424.9 MB, free: 4.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009226/0.7523, allocations: 1.644 MB / 426.5 MB, free: 3.844 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002205/0.7526, allocations: 107.8 kB / 426.6 MB, free: 3.832 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007086/0.7533, allocations: 136.4 kB / 426.7 MB, free: 3.824 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007729/0.761, allocations: 1.733 MB / 428.5 MB, free: 3.301 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.294e-05/0.7612, allocations: 2.5 kB / 428.5 MB, free: 3.301 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003304/0.7615, allocations: 57.08 kB / 428.5 MB, free: 3.297 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001479/0.7617, allocations: 50.78 kB / 428.6 MB, free: 3.293 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007135/0.7689, allocations: 1.434 MB / 430 MB, free: 3.043 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02041/0.7894, allocations: 4.994 MB / 435 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003729/0.7932, allocations: 1.001 MB / 436 MB, free: 76 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001153/0.7933, allocations: 12.64 kB / 436 MB, free: 64 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002875/0.7962, allocations: 0.6419 MB / 436.7 MB, free: 15.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=84): time 8.085e-06/0.7963, allocations: 0 / 436.7 MB, free: 15.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=84): time 0.01065/0.807, allocations: 1.744 MB / 438.4 MB, free: 14.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001638/0.8072, allocations: 126.3 kB / 438.5 MB, free: 14.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003045/0.8103, allocations: 0.8539 MB / 439.4 MB, free: 13.44 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003816/0.8107, allocations: 61.94 kB / 439.5 MB, free: 13.39 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001147/0.8119, allocations: 0.5864 MB / 440 MB, free: 12.94 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006521/0.8126, allocations: 244 kB / 440.3 MB, free: 12.71 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.8127, allocations: 20 kB / 440.3 MB, free: 12.69 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002614/0.813, allocations: 345.9 kB / 440.6 MB, free: 12.35 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002272/0.8153, allocations: 453.7 kB / 441.1 MB, free: 11.9 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002737/0.8181, allocations: 0.6688 MB / 441.7 MB, free: 11.14 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002121/0.8203, allocations: 482.7 kB / 442.2 MB, free: 10.67 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-05/0.8204, allocations: 0 / 442.2 MB, free: 10.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005564/0.826, allocations: 1.301 MB / 443.5 MB, free: 9.359 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000357/0.8264, allocations: 288.5 kB / 443.8 MB, free: 8.992 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.476e-05/0.8264, allocations: 8 kB / 443.8 MB, free: 8.984 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001187/0.8276, allocations: 220.7 kB / 444 MB, free: 8.766 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/0.8292, allocations: 143.7 kB / 444.2 MB, free: 8.625 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007707/0.8369, allocations: 2.82 MB / 447 MB, free: 5.668 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/0.8388, allocations: 143.2 kB / 447.1 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001966/0.839, allocations: 39.95 kB / 447.2 MB, free: 5.488 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.8391, allocations: 4.719 kB / 447.2 MB, free: 5.484 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004452/0.8436, allocations: 1.172 MB / 448.3 MB, free: 4.309 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.951e-05/0.8436, allocations: 8 kB / 448.3 MB, free: 4.301 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/0.8447, allocations: 221 kB / 448.6 MB, free: 4.082 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/0.8462, allocations: 139.7 kB / 448.7 MB, free: 3.945 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007681/0.8539, allocations: 2.834 MB / 451.5 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00187/0.8558, allocations: 131.3 kB / 451.7 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002835/0.8562, allocations: 36 kB / 451.7 MB, free: 0.8164 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 (107): * Single equations (assignments): 106 * 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.00218/0.8584, allocations: 0.6061 MB / 452.3 MB, free: 212 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004547/0.8588, allocations: 90.88 kB / 452.4 MB, free: 120 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006074/0.8595, allocations: 113.8 kB / 452.5 MB, free: 0 / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.531e-05/0.8595, allocations: 12.17 kB / 452.5 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.8596, allocations: 3.938 kB / 452.5 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.528e-05/0.8596, allocations: 7.938 kB / 452.5 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01073/0.8703, allocations: 2.55 MB / 455.1 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/0.8704, allocations: 0 / 455.1 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/0.8715, allocations: 91.83 kB / 455.2 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001057/0.8726, allocations: 192.7 kB / 455.4 MB, free: 13.1 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001782/0.8728, allocations: 24.05 kB / 455.4 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007376/0.8802, allocations: 2.815 MB / 458.2 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.8803, allocations: 0 / 458.2 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00675/0.887, allocations: 1.796 MB / 460 MB, free: 8.309 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001278/0.8884, allocations: 267.8 kB / 460.2 MB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004357/0.8889, allocations: 27.92 kB / 460.3 MB, free: 8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001478/0.8904, allocations: 87.92 kB / 460.4 MB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007386/0.8911, allocations: 152.4 kB / 460.5 MB, free: 7.766 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001334/0.8913, allocations: 24 kB / 460.5 MB, free: 7.742 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001978/0.8933, allocations: 0.5888 MB / 461.1 MB, free: 7.152 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.42e-07/0.8933, allocations: 0 / 461.1 MB, free: 7.152 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004503/0.8979, allocations: 0.5799 MB / 461.7 MB, free: 6.57 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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[3].off,rectifier.thyristor.idealThyristor[1].off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 62 * 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.0006525/0.8986, allocations: 169 kB / 461.9 MB, free: 6.398 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007984/0.9066, allocations: 2.019 MB / 463.9 MB, free: 4.352 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/0.9066, allocations: 0 / 463.9 MB, free: 4.352 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002803/0.9095, allocations: 0.7561 MB / 464.6 MB, free: 3.582 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002151/0.9117, allocations: 187.8 kB / 464.8 MB, free: 3.395 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/0.9226, allocations: 3.008 MB / 467.8 MB, free: 360 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002488/0.9252, allocations: 1.412 MB / 469.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002239/0.9275, allocations: 307.3 kB / 469.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004489/0.928, allocations: 59.44 kB / 469.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/0.928, allocations: 4 kB / 469.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of Templates: time 0.0643/0.9923, allocations: 15.57 MB / 485.2 MB, free: 15.03 MB / 378.7 MB