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.Rectifier1Pulse.Thyristor1Pulse_R_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.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|idealthyristor.off|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic") Notification: Performance of loadModel(Modelica): time 2.092/2.092, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003507, allocations: 8 kB / 264.6 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09213/0.0925, allocations: 44.5 MB / 309.1 MB, free: 352 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic): time 0.005304/0.09786, allocations: 3.028 MB / 312.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002505/0.1004, allocations: 1.069 MB / 313.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002675/0.1007, allocations: 11.94 kB / 313.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003982/0.1011, allocations: 79.38 kB / 313.3 MB, free: 12.13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005117/0.1016, allocations: 159.5 kB / 313.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006364/0.1023, allocations: 163.7 kB / 313.6 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006119/0.1029, allocations: 355.8 kB / 313.9 MB, free: 11.47 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004508/0.1034, allocations: 226.4 kB / 314.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002775/0.1037, allocations: 155.3 kB / 314.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002842/0.104, allocations: 171.1 kB / 314.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.294e-05/0.1041, allocations: 20 kB / 314.5 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.52e-05/0.1042, allocations: 20 kB / 314.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.1043, allocations: 79.66 kB / 314.6 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.1044, allocations: 113.5 kB / 314.7 MB, free: 10.69 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006336/0.1051, allocations: 455.1 kB / 315.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1051, allocations: 0 / 315.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1051, allocations: 0 / 315.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.1051, allocations: 0 / 315.1 MB, free: 10.25 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001949/0.1071, allocations: 0.7411 MB / 315.9 MB, free: 9.449 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.1071, allocations: 8.031 kB / 315.9 MB, free: 9.441 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.1073, allocations: 55.34 kB / 315.9 MB, free: 9.387 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007515/0.108, allocations: 371 kB / 316.3 MB, free: 8.984 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.676e-05/0.1081, allocations: 36.92 kB / 316.3 MB, free: 8.949 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.1082, allocations: 44 kB / 316.4 MB, free: 8.906 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.1096, allocations: 471 kB / 316.8 MB, free: 8.434 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.1096, allocations: 0 / 316.8 MB, free: 8.434 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.285e-05/0.1097, allocations: 16 kB / 316.9 MB, free: 8.418 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.1097, allocations: 8 kB / 316.9 MB, free: 8.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/0.111, allocations: 363.7 kB / 317.2 MB, free: 8.051 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003619/0.1146, allocations: 1.575 MB / 318.8 MB, free: 6.375 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001393/0.116, allocations: 355.4 kB / 319.1 MB, free: 6.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.383e-05/0.1161, allocations: 8.219 kB / 319.2 MB, free: 6.012 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007774/0.1169, allocations: 277.1 kB / 319.4 MB, free: 5.723 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 2.926e-06/0.1169, allocations: 0 / 319.4 MB, free: 5.723 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.002236/0.1191, allocations: 0.5934 MB / 320 MB, free: 5.102 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.877e-05/0.1192, allocations: 114.8 kB / 320.1 MB, free: 4.965 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004867/0.1197, allocations: 316.4 kB / 320.4 MB, free: 4.645 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.767e-05/0.1198, allocations: 37.7 kB / 320.5 MB, free: 4.602 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/0.1201, allocations: 244.1 kB / 320.7 MB, free: 4.359 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.1202, allocations: 86.8 kB / 320.8 MB, free: 4.273 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/0.1202, allocations: 8 kB / 320.8 MB, free: 4.266 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.1204, allocations: 346.8 kB / 321.1 MB, free: 3.918 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005246/0.1209, allocations: 136.8 kB / 321.3 MB, free: 3.781 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006642/0.1216, allocations: 282.8 kB / 321.6 MB, free: 3.441 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005522/0.1222, allocations: 155.9 kB / 321.7 MB, free: 3.289 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.353e-06/0.1222, allocations: 4 kB / 321.7 MB, free: 3.285 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001441/0.1237, allocations: 478 kB / 322.2 MB, free: 2.809 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001656/0.1238, allocations: 216.5 kB / 322.4 MB, free: 2.535 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.1239, allocations: 4 kB / 322.4 MB, free: 2.531 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002865/0.1242, allocations: 48.83 kB / 322.4 MB, free: 2.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004885/0.1247, allocations: 75.83 kB / 322.5 MB, free: 2.406 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001856/0.1265, allocations: 1.506 MB / 324 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005042/0.1271, allocations: 63.66 kB / 324.1 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-05/0.1271, allocations: 16.06 kB / 324.1 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.1271, allocations: 9.875 kB / 324.1 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001224/0.1284, allocations: 408.5 kB / 324.5 MB, free: 280 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.1284, allocations: 4 kB / 324.5 MB, free: 276 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001977/0.1286, allocations: 40.84 kB / 324.6 MB, free: 232 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004429/0.1291, allocations: 76.14 kB / 324.6 MB, free: 156 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001759/0.1308, allocations: 1.511 MB / 326.1 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004728/0.1313, allocations: 51.67 kB / 326.2 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/0.1314, allocations: 16 kB / 326.2 MB, free: 14.44 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.fire_n[1],pulse2.fire_p,$PRE.idealthyristor.off,idealthyristor.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004074/0.1318, allocations: 279.2 kB / 326.5 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.382e-05/0.1319, allocations: 39.47 kB / 326.5 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.132, allocations: 39.95 kB / 326.6 MB, free: 14.08 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.132, allocations: 7.984 kB / 326.6 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.132, allocations: 3.938 kB / 326.6 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002042/0.1323, allocations: 128.7 kB / 326.7 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.556e-05/0.1324, allocations: 11.98 kB / 326.7 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004046/0.1328, allocations: 39.97 kB / 326.7 MB, free: 13.87 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.1329, allocations: 27.92 kB / 326.8 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001783/0.1347, allocations: 493.6 kB / 327.2 MB, free: 13.35 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001821/0.1365, allocations: 0.6945 MB / 327.9 MB, free: 12.64 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005253/0.1371, allocations: 155.9 kB / 328.1 MB, free: 12.48 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003321/0.1374, allocations: 215.1 kB / 328.3 MB, free: 12.28 MB / 282.7 MB Notification: Performance of Backend: time 8.31e-07/0.1374, allocations: 4 kB / 328.3 MB, free: 12.27 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001967/0.1394, allocations: 0.7364 MB / 329 MB, free: 11.51 MB / 282.7 MB Notification: Performance of SimCode: time 0.002086/0.1415, allocations: 1.375 MB / 330.4 MB, free: 10.09 MB / 282.7 MB Notification: Performance of Templates: time 0.01663/0.1582, allocations: 5.435 MB / 335.9 MB, free: 4.668 MB / 282.7 MB "" Variables in the reference:time,meanCurrent.x,meanVoltage.x,rootMeanSquareVoltage.mean.x,idealthyristor.off,meanCurrent.y,meanVoltage.y,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,rootMeanSquareVoltage.mean.y Variables in the result:R,Vrms,f,idealthyristor.Goff,idealthyristor.Ron,idealthyristor.T,idealthyristor.T_heatPort,idealthyristor.Vknee,idealthyristor.off,meanCurrent.f,meanCurrent.t0,meanCurrent.x,meanCurrent.x0,meanCurrent.y,meanCurrent.yGreaterOrEqualZero,meanVoltage.f,meanVoltage.t0,meanVoltage.x,meanVoltage.x0,meanVoltage.y,meanVoltage.yGreaterOrEqualZero,pulse2.constantFiringAngle,pulse2.f,pulse2.fCut,pulse2.firingAngleMax,pulse2.twoPulse.constantFiringAngle,pulse2.twoPulse.f,pulse2.twoPulse.fCut,pulse2.twoPulse.firingAngleMax,pulse2.twoPulse.gain.k,pulse2.twoPulse.limiter.limitsAtInit,pulse2.twoPulse.limiter.strict,pulse2.twoPulse.limiter.uMax,pulse2.twoPulse.limiter.uMin,pulse2.twoPulse.m,pulse2.twoPulse.negativeThreshold[1].threshold,pulse2.twoPulse.positiveThreshold[1].threshold,pulse2.twoPulse.replicator.nout,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.useConstantFiringAngle,pulse2.twoPulse.useFilter,pulse2.twoPulse.vStart[1],pulse2.useConstantFiringAngle,pulse2.useFilter,pulse2.vStart,ramp.duration,ramp.height,ramp.offset,ramp.startTime,resistor.R,resistor.T,resistor.T_heatPort,resistor.T_ref,resistor.alpha,rootMeanSquareVoltage.f,rootMeanSquareVoltage.mean.f,rootMeanSquareVoltage.mean.t0,rootMeanSquareVoltage.mean.x,rootMeanSquareVoltage.mean.x0,rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.yGreaterOrEqualZero,rootMeanSquareVoltage.product.significantDigits,rootMeanSquareVoltage.x0,sinevoltage.V,sinevoltage.freqHz,sinevoltage.offset,sinevoltage.phase,sinevoltage.signalSource.amplitude,sinevoltage.signalSource.freqHz,sinevoltage.signalSource.offset,sinevoltage.signalSource.phase,sinevoltage.signalSource.startTime,sinevoltage.startTime,time