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.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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") Notification: Performance of loadModel(Modelica): time 1.931/1.931, allocations: 194.8 MB / 211.7 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003445, allocations: 11.94 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08754/0.08791, allocations: 44.51 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R): time 0.005164/0.09313, allocations: 2.997 MB / 312.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002803/0.09598, allocations: 1.065 MB / 313.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003598/0.09638, allocations: 11.94 kB / 313.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004378/0.09684, allocations: 83.33 kB / 313.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005579/0.09742, allocations: 147.6 kB / 313.4 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000755/0.09819, allocations: 163.7 kB / 313.5 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008075/0.09902, allocations: 359.7 kB / 313.9 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004999/0.09955, allocations: 206 kB / 314.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003323/0.0999, allocations: 155.3 kB / 314.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003007/0.1002, allocations: 167.1 kB / 314.4 MB, free: 11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.02e-05/0.1003, allocations: 20 kB / 314.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.578e-05/0.1004, allocations: 20 kB / 314.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.1005, allocations: 67.73 kB / 314.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.1007, allocations: 113.4 kB / 314.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006462/0.1013, allocations: 459.1 kB / 315.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1014, allocations: 0 / 315.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1014, allocations: 0 / 315.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.1014, allocations: 0 / 315.1 MB, free: 10.32 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001884/0.1033, allocations: 0.7096 MB / 315.8 MB, free: 9.562 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.1033, allocations: 12.03 kB / 315.8 MB, free: 9.551 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/0.1035, allocations: 51.38 kB / 315.8 MB, free: 9.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000737/0.1042, allocations: 375.1 kB / 316.2 MB, free: 9.094 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.788e-05/0.1043, allocations: 29 kB / 316.2 MB, free: 9.066 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.785e-05/0.1044, allocations: 40 kB / 316.3 MB, free: 9.027 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/0.1056, allocations: 447 kB / 316.7 MB, free: 8.578 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/0.1057, allocations: 3.938 kB / 316.7 MB, free: 8.574 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.069e-05/0.1058, allocations: 16 kB / 316.7 MB, free: 8.559 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.1058, allocations: 11.94 kB / 316.7 MB, free: 8.547 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.1068, allocations: 315.8 kB / 317.1 MB, free: 8.234 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003794/0.1107, allocations: 1.567 MB / 318.6 MB, free: 6.57 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008583/0.1116, allocations: 274.8 kB / 318.9 MB, free: 6.293 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.306e-05/0.1116, allocations: 4 kB / 318.9 MB, free: 6.289 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006872/0.1123, allocations: 256.8 kB / 319.1 MB, free: 6.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 3.226e-06/0.1124, allocations: 4 kB / 319.1 MB, free: 6.016 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.001971/0.1143, allocations: 0.5426 MB / 319.7 MB, free: 5.445 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.369e-05/0.1145, allocations: 114.8 kB / 319.8 MB, free: 5.309 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005307/0.115, allocations: 316.5 kB / 320.1 MB, free: 4.992 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.839e-05/0.1151, allocations: 37.7 kB / 320.1 MB, free: 4.949 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002186/0.1153, allocations: 228.2 kB / 320.4 MB, free: 4.719 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.1154, allocations: 94.73 kB / 320.5 MB, free: 4.625 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.72e-05/0.1155, allocations: 8 kB / 320.5 MB, free: 4.617 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1156, allocations: 354.7 kB / 320.8 MB, free: 4.262 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004258/0.1161, allocations: 112.8 kB / 320.9 MB, free: 4.148 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005395/0.1166, allocations: 267.1 kB / 321.2 MB, free: 3.824 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004426/0.1171, allocations: 137.1 kB / 321.3 MB, free: 3.691 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/0.1171, allocations: 4 kB / 321.3 MB, free: 3.688 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001236/0.1184, allocations: 434.8 kB / 321.7 MB, free: 3.254 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001611/0.1185, allocations: 216.8 kB / 322 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/0.1186, allocations: 4 kB / 322 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003208/0.1189, allocations: 48.83 kB / 322 MB, free: 2.926 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004301/0.1193, allocations: 63.91 kB / 322.1 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001807/0.1212, allocations: 1.502 MB / 323.6 MB, free: 1.219 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005046/0.1217, allocations: 55.66 kB / 323.6 MB, free: 1.164 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.009e-05/0.1218, allocations: 16 kB / 323.6 MB, free: 1.148 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.1218, allocations: 4 kB / 323.7 MB, free: 1.145 MB / 266.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009872/0.1228, allocations: 364.6 kB / 324 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.1228, allocations: 8.484 kB / 324 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002398/0.1231, allocations: 53.05 kB / 324.1 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003704/0.1235, allocations: 60.05 kB / 324.1 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001744/0.1252, allocations: 1.51 MB / 325.6 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004605/0.1257, allocations: 43.73 kB / 325.7 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.783e-05/0.1258, allocations: 19.98 kB / 325.7 MB, free: 14.96 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 (46): * Single equations (assignments): 45 * 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.0004132/0.1262, allocations: 275.2 kB / 326 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.294e-05/0.1263, allocations: 31.62 kB / 326 MB, free: 14.65 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.1264, allocations: 39.95 kB / 326 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.1264, allocations: 7.922 kB / 326 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.1264, allocations: 0 / 326 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002085/0.1266, allocations: 132.6 kB / 326.2 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.256e-05/0.1268, allocations: 15.98 kB / 326.2 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003828/0.1271, allocations: 32.11 kB / 326.2 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.1273, allocations: 23.91 kB / 326.2 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001475/0.1288, allocations: 449.5 kB / 326.7 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001445/0.1302, allocations: 0.6275 MB / 327.3 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004011/0.1306, allocations: 135.9 kB / 327.4 MB, free: 13.16 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003436/0.131, allocations: 215.1 kB / 327.7 MB, free: 12.95 MB / 282.7 MB Notification: Performance of Backend: time 8.22e-07/0.131, allocations: 0 / 327.7 MB, free: 12.95 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001748/0.1328, allocations: 0.7039 MB / 328.4 MB, free: 12.21 MB / 282.7 MB Notification: Performance of SimCode: time 0.002056/0.1349, allocations: 1.367 MB / 329.7 MB, free: 10.8 MB / 282.7 MB Notification: Performance of Templates: time 0.01649/0.1514, allocations: 5.199 MB / 334.9 MB, free: 5.609 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,constantFiringAngle,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.constantconstantFiringAngle.k,pulse2.twoPulse.constantconstantFiringAngle.y,pulse2.twoPulse.f,pulse2.twoPulse.fCut,pulse2.twoPulse.firingAngleMax,pulse2.twoPulse.gain.k,pulse2.twoPulse.limiter.limitsAtInit,pulse2.twoPulse.limiter.strict,pulse2.twoPulse.limiter.u,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,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