Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV") Notification: Performance of loadModel(Modelica): time 1.847/1.847, allocations: 194.8 MB / 212.3 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004641/0.0004643, allocations: 8 kB / 264.5 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09316/0.09365, allocations: 44.51 MB / 309 MB, free: 1.031 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4056/0.4993, allocations: 85.39 MB / 394.4 MB, free: 14.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/0.4996, allocations: 93.39 kB / 394.5 MB, free: 14.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1046/0.6042, allocations: 28.43 MB / 422.9 MB, free: 5.516 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.6043, allocations: 3.938 kB / 422.9 MB, free: 5.512 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001028/0.6044, allocations: 26.38 kB / 422.9 MB, free: 5.512 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.005134/0.6096, allocations: 1.67 MB / 424.6 MB, free: 4.418 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.6096, allocations: 11.5 kB / 424.6 MB, free: 4.418 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007461/0.6104, allocations: 163.6 kB / 424.8 MB, free: 4.336 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005828/0.6162, allocations: 1.648 MB / 426.4 MB, free: 3.656 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.6164, allocations: 101.7 kB / 426.5 MB, free: 3.652 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003393/0.6167, allocations: 140.5 kB / 426.7 MB, free: 3.645 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004435/0.6212, allocations: 1.745 MB / 428.4 MB, free: 3.117 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.103e-05/0.6213, allocations: 0 / 428.4 MB, free: 3.117 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001841/0.6215, allocations: 50.56 kB / 428.5 MB, free: 3.117 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.681e-05/0.6216, allocations: 59.83 kB / 428.5 MB, free: 3.109 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003661/0.6252, allocations: 1.416 MB / 429.9 MB, free: 2.871 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01189/0.6372, allocations: 4.999 MB / 434.9 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002256/0.6395, allocations: 1.007 MB / 435.9 MB, free: 428 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.661e-05/0.6396, allocations: 8.312 kB / 435.9 MB, free: 428 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00155/0.6411, allocations: 0.6389 MB / 436.6 MB, free: 4 kB / 314.7 MB Notification: Performance of pre-optimization done (n=84): time 3.907e-06/0.6412, allocations: 0 / 436.6 MB, free: 4 kB / 314.7 MB Notification: Performance of matching and sorting (n=84): time 0.006029/0.6472, allocations: 1.758 MB / 438.3 MB, free: 14.65 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.561e-05/0.6474, allocations: 117.9 kB / 438.5 MB, free: 14.52 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001812/0.6492, allocations: 0.8607 MB / 439.3 MB, free: 13.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001863/0.6494, allocations: 63.25 kB / 439.4 MB, free: 13.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006222/0.65, allocations: 0.5894 MB / 440 MB, free: 13.34 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003624/0.6504, allocations: 243.4 kB / 440.2 MB, free: 13.11 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.932e-05/0.6505, allocations: 20 kB / 440.2 MB, free: 13.09 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.6507, allocations: 350.8 kB / 440.6 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/0.652, allocations: 453.7 kB / 441 MB, free: 12.3 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001685/0.6537, allocations: 0.6727 MB / 441.7 MB, free: 11.53 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001536/0.6553, allocations: 478.7 kB / 442.2 MB, free: 11.07 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/0.6554, allocations: 4 kB / 442.2 MB, free: 11.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003627/0.659, allocations: 1.247 MB / 443.4 MB, free: 9.805 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002309/0.6593, allocations: 272.5 kB / 443.7 MB, free: 9.453 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.6593, allocations: 12 kB / 443.7 MB, free: 9.441 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008891/0.6602, allocations: 225.1 kB / 443.9 MB, free: 9.219 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/0.6614, allocations: 151.7 kB / 444.1 MB, free: 9.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00526/0.6667, allocations: 2.827 MB / 446.9 MB, free: 6.105 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.6681, allocations: 135.3 kB / 447 MB, free: 5.973 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.6682, allocations: 39.95 kB / 447.1 MB, free: 5.934 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.6682, allocations: 4 kB / 447.1 MB, free: 5.93 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003078/0.6713, allocations: 1.172 MB / 448.2 MB, free: 4.754 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.6713, allocations: 4 kB / 448.2 MB, free: 4.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007319/0.6721, allocations: 220.8 kB / 448.4 MB, free: 4.531 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009448/0.673, allocations: 139.7 kB / 448.6 MB, free: 4.395 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005357/0.6784, allocations: 2.861 MB / 451.4 MB, free: 1.398 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.6795, allocations: 119.5 kB / 451.6 MB, free: 1.281 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/0.6796, allocations: 36 kB / 451.6 MB, free: 1.246 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.00155/0.6812, allocations: 0.6178 MB / 452.2 MB, free: 0.625 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003421/0.6815, allocations: 90.88 kB / 452.3 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003944/0.6819, allocations: 113.2 kB / 452.4 MB, free: 428 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/0.682, allocations: 8 kB / 452.4 MB, free: 420 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.682, allocations: 3.938 kB / 452.4 MB, free: 416 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/0.682, allocations: 11.98 kB / 452.4 MB, free: 404 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007142/0.6892, allocations: 2.551 MB / 455 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.6892, allocations: 0 / 455 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000781/0.69, allocations: 91.81 kB / 455.1 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007761/0.6908, allocations: 194 kB / 455.3 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.814e-05/0.6909, allocations: 16 kB / 455.3 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005085/0.696, allocations: 2.815 MB / 458.1 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.6961, allocations: 0 / 458.1 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005264/0.7013, allocations: 1.8 MB / 459.9 MB, free: 8.734 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008287/0.7022, allocations: 271.8 kB / 460.2 MB, free: 8.449 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002777/0.7025, allocations: 27.88 kB / 460.2 MB, free: 8.422 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/0.7036, allocations: 91.91 kB / 460.3 MB, free: 8.332 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005171/0.7041, allocations: 144.4 kB / 460.4 MB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.547e-05/0.7042, allocations: 27.98 kB / 460.4 MB, free: 8.16 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001354/0.7056, allocations: 0.5849 MB / 461 MB, free: 7.57 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.7056, allocations: 0 / 461 MB, free: 7.57 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002455/0.7081, allocations: 0.5837 MB / 461.6 MB, free: 6.984 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.0003782/0.7085, allocations: 168.6 kB / 461.8 MB, free: 6.809 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005287/0.7138, allocations: 2.009 MB / 463.8 MB, free: 4.773 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.749e-06/0.7139, allocations: 1.875 kB / 463.8 MB, free: 4.773 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001935/0.7158, allocations: 0.7482 MB / 464.5 MB, free: 4.016 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/0.7173, allocations: 187.4 kB / 464.7 MB, free: 3.836 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007724/0.7251, allocations: 3.016 MB / 467.7 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001471/0.7266, allocations: 1.382 MB / 469.1 MB, free: 15.37 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004789/0.7271, allocations: 67.42 kB / 469.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of SimCode: time 1.292e-06/0.7271, allocations: 0 / 469.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of Templates: time 0.04662/0.7738, allocations: 21.78 MB / 491 MB, free: 9.52 MB / 378.7 MB