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.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL.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.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL,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_RL") Notification: Performance of loadModel(Modelica): time 1.87/1.87, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.0003674, allocations: 8 kB / 264 MB, free: 13.55 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08169/0.08209, allocations: 44.5 MB / 308.5 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.342/0.4241, allocations: 85.15 MB / 393.6 MB, free: 18.73 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/0.4245, allocations: 95.2 kB / 393.7 MB, free: 18.73 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1007/0.5252, allocations: 28.16 MB / 421.9 MB, free: 10.15 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.956e-06/0.5253, allocations: 4 kB / 421.9 MB, free: 10.14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001066/0.5254, allocations: 35.06 kB / 421.9 MB, free: 10.14 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.003676/0.5291, allocations: 1.651 MB / 423.6 MB, free: 9.055 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.5292, allocations: 7.562 kB / 423.6 MB, free: 9.055 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003918/0.5296, allocations: 159.4 kB / 423.7 MB, free: 8.977 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004947/0.5345, allocations: 1.651 MB / 425.4 MB, free: 8.285 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/0.5347, allocations: 101.7 kB / 425.5 MB, free: 8.281 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003297/0.535, allocations: 125.8 kB / 425.6 MB, free: 8.277 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003958/0.539, allocations: 1.714 MB / 427.3 MB, free: 7.758 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.424e-05/0.5391, allocations: 7.875 kB / 427.3 MB, free: 7.754 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002023/0.5393, allocations: 55.11 kB / 427.4 MB, free: 7.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.446e-05/0.5394, allocations: 52.2 kB / 427.4 MB, free: 7.746 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003519/0.5429, allocations: 1.412 MB / 428.8 MB, free: 7.504 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009549/0.5525, allocations: 4.95 MB / 433.8 MB, free: 5.273 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002174/0.5547, allocations: 1.079 MB / 434.9 MB, free: 5.031 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.546e-05/0.5548, allocations: 11.95 kB / 434.9 MB, free: 5.027 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001169/0.556, allocations: 0.609 MB / 435.5 MB, free: 4.809 MB / 314.7 MB Notification: Performance of pre-optimization done (n=81): time 4.356e-06/0.556, allocations: 0 / 435.5 MB, free: 4.809 MB / 314.7 MB Notification: Performance of matching and sorting (n=81): time 0.004093/0.5601, allocations: 1.671 MB / 437.2 MB, free: 3.777 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/0.5602, allocations: 123.4 kB / 437.3 MB, free: 3.633 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/0.5616, allocations: 0.7883 MB / 438.1 MB, free: 3.031 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001283/0.5617, allocations: 60.44 kB / 438.1 MB, free: 2.984 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004782/0.5622, allocations: 0.5922 MB / 438.7 MB, free: 2.531 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002422/0.5625, allocations: 231.4 kB / 438.9 MB, free: 2.344 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.569e-05/0.5626, allocations: 19.69 kB / 439 MB, free: 2.34 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.614e-05/0.5627, allocations: 345 kB / 439.3 MB, free: 2.008 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009075/0.5636, allocations: 452.8 kB / 439.7 MB, free: 1.711 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/0.5647, allocations: 0.6638 MB / 440.4 MB, free: 1.125 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009588/0.5656, allocations: 481.6 kB / 440.9 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.923e-06/0.5657, allocations: 4 kB / 440.9 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002739/0.5684, allocations: 1.237 MB / 442.1 MB, free: 15.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001411/0.5699, allocations: 2.441 MB / 444.6 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-05/0.5699, allocations: 11.98 kB / 444.6 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008464/0.5708, allocations: 224.7 kB / 444.8 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008805/0.5717, allocations: 147.7 kB / 444.9 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004952/0.5767, allocations: 2.826 MB / 447.8 MB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.5779, allocations: 155.2 kB / 447.9 MB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001595/0.5781, allocations: 36 kB / 448 MB, free: 9.414 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.5781, allocations: 4 kB / 448 MB, free: 9.41 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002849/0.581, allocations: 1.164 MB / 449.1 MB, free: 8.242 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/0.581, allocations: 8 kB / 449.1 MB, free: 8.234 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006674/0.5817, allocations: 221.2 kB / 449.3 MB, free: 8.016 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007823/0.5825, allocations: 148 kB / 449.5 MB, free: 7.871 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004831/0.5874, allocations: 2.861 MB / 452.3 MB, free: 4.875 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008643/0.5883, allocations: 131.4 kB / 452.5 MB, free: 4.746 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.5884, allocations: 36 kB / 452.5 MB, free: 4.711 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 (106): * Single equations (assignments): 105 * 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.001458/0.5899, allocations: 0.6061 MB / 453.1 MB, free: 4.098 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003134/0.5902, allocations: 90.92 kB / 453.2 MB, free: 4.008 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003413/0.5906, allocations: 113.1 kB / 453.3 MB, free: 3.887 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-05/0.5906, allocations: 8 kB / 453.3 MB, free: 3.879 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.799e-06/0.5906, allocations: 0 / 453.3 MB, free: 3.879 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.498e-05/0.5907, allocations: 3.984 kB / 453.3 MB, free: 3.875 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006078/0.5967, allocations: 2.455 MB / 455.8 MB, free: 1.371 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.332e-06/0.5968, allocations: 4 kB / 455.8 MB, free: 1.367 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005308/0.5973, allocations: 79.83 kB / 455.9 MB, free: 1.289 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006718/0.598, allocations: 196.8 kB / 456.1 MB, free: 1.094 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/0.5982, allocations: 23.98 kB / 456.1 MB, free: 1.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004802/0.603, allocations: 2.803 MB / 458.9 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.867e-06/0.603, allocations: 0 / 458.9 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004031/0.6071, allocations: 1.69 MB / 460.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007644/0.6078, allocations: 271.8 kB / 460.8 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000289/0.6082, allocations: 23.98 kB / 460.9 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008707/0.609, allocations: 91.91 kB / 461 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004416/0.6095, allocations: 136.4 kB / 461.1 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.56e-05/0.6096, allocations: 28 kB / 461.1 MB, free: 11.87 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001376/0.611, allocations: 0.5966 MB / 461.7 MB, free: 11.28 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.51e-07/0.611, allocations: 0 / 461.7 MB, free: 11.28 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002596/0.6136, allocations: 0.58 MB / 462.3 MB, free: 10.7 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[3].off,rectifier.thyristor.idealThyristor[1].off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 59 * 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.0003597/0.614, allocations: 168.3 kB / 462.5 MB, free: 10.52 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004582/0.6186, allocations: 1.973 MB / 464.4 MB, free: 8.52 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.6e-06/0.6187, allocations: 0.8125 kB / 464.4 MB, free: 8.52 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001606/0.6203, allocations: 0.6751 MB / 465.1 MB, free: 7.828 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.6216, allocations: 184.1 kB / 465.3 MB, free: 7.648 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006885/0.6285, allocations: 2.942 MB / 468.2 MB, free: 4.68 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00172/0.6303, allocations: 1.374 MB / 469.6 MB, free: 3.277 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003925/0.6307, allocations: 63.44 kB / 469.7 MB, free: 3.215 MB / 346.7 MB Notification: Performance of SimCode: time 1.694e-06/0.6307, allocations: 0 / 469.7 MB, free: 3.215 MB / 346.7 MB Notification: Performance of Templates: time 0.0413/0.6721, allocations: 21.56 MB / 491.2 MB, free: 13.67 MB / 378.7 MB