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.RectifierBridge2Pulse.ThyristorBridge2Pulse_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.RectifierBridge2Pulse.ThyristorBridge2Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") Notification: Performance of loadModel(Modelica): time 2.094/2.094, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003562, allocations: 15.94 kB / 264.6 MB, free: 12.91 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09318/0.09356, allocations: 44.5 MB / 309.1 MB, free: 348 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R): time 0.006998/0.1006, allocations: 4.003 MB / 313.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00372/0.1044, allocations: 1.35 MB / 314.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007544/0.1052, allocations: 15.94 kB / 314.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005962/0.1058, allocations: 99.22 kB / 314.5 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000964/0.1068, allocations: 255.2 kB / 314.8 MB, free: 10.6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009324/0.1077, allocations: 219.6 kB / 315 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001267/0.109, allocations: 0.5741 MB / 315.6 MB, free: 9.805 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007133/0.1098, allocations: 323 kB / 315.9 MB, free: 9.473 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005212/0.1103, allocations: 243 kB / 316.1 MB, free: 9.234 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004796/0.1108, allocations: 286.5 kB / 316.4 MB, free: 8.953 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.1109, allocations: 28 kB / 316.4 MB, free: 8.926 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.1111, allocations: 32 kB / 316.5 MB, free: 8.895 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001757/0.1113, allocations: 119.5 kB / 316.6 MB, free: 8.777 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002153/0.1115, allocations: 157.3 kB / 316.7 MB, free: 8.617 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.1126, allocations: 0.7482 MB / 317.5 MB, free: 7.867 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1127, allocations: 0 / 317.5 MB, free: 7.867 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1127, allocations: 0 / 317.5 MB, free: 7.867 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.616e-05/0.1127, allocations: 0 / 317.5 MB, free: 7.867 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.002657/0.1154, allocations: 0.9274 MB / 318.4 MB, free: 6.895 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.1154, allocations: 8.031 kB / 318.4 MB, free: 6.887 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002329/0.1157, allocations: 87.06 kB / 318.5 MB, free: 6.801 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.1168, allocations: 485.9 kB / 319 MB, free: 6.285 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.538e-05/0.1169, allocations: 53.3 kB / 319 MB, free: 6.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001454/0.117, allocations: 60 kB / 319.1 MB, free: 6.172 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/0.1189, allocations: 0.6864 MB / 319.8 MB, free: 5.457 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.967e-05/0.1189, allocations: 0 / 319.8 MB, free: 5.457 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.1191, allocations: 28 kB / 319.8 MB, free: 5.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.204e-05/0.1191, allocations: 16 kB / 319.8 MB, free: 5.414 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00167/0.1208, allocations: 0.5126 MB / 320.3 MB, free: 4.902 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005809/0.1266, allocations: 2.545 MB / 322.9 MB, free: 2.242 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/0.1283, allocations: 0.5341 MB / 323.4 MB, free: 1.703 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.201e-05/0.1283, allocations: 12.38 kB / 323.4 MB, free: 1.691 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001001/0.1294, allocations: 369.6 kB / 323.8 MB, free: 1.312 MB / 266.7 MB Notification: Performance of pre-optimization done (n=57): time 3.957e-06/0.1294, allocations: 0 / 323.8 MB, free: 1.312 MB / 266.7 MB Notification: Performance of matching and sorting (n=57): time 0.004816/0.1342, allocations: 1.043 MB / 324.8 MB, free: 248 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.768e-05/0.1343, allocations: 119.4 kB / 325 MB, free: 100 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008769/0.1352, allocations: 457.8 kB / 325.4 MB, free: 15.64 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001114/0.1354, allocations: 37.7 kB / 325.4 MB, free: 15.6 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003305/0.1357, allocations: 316.3 kB / 325.7 MB, free: 15.29 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/0.1359, allocations: 173.5 kB / 325.9 MB, free: 15.11 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.911e-05/0.136, allocations: 8 kB / 325.9 MB, free: 15.11 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.1362, allocations: 366.8 kB / 326.3 MB, free: 14.74 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006624/0.1369, allocations: 193.2 kB / 326.5 MB, free: 14.55 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008107/0.1377, allocations: 357.5 kB / 326.8 MB, free: 14.14 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006863/0.1384, allocations: 222.1 kB / 327 MB, free: 13.92 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.269e-05/0.1384, allocations: 4 kB / 327 MB, free: 13.92 MB / 282.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002101/0.1406, allocations: 0.6902 MB / 327.7 MB, free: 13.22 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001894/0.1408, allocations: 223.2 kB / 327.9 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.1408, allocations: 4 kB / 328 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008099/0.1416, allocations: 158.6 kB / 328.1 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006103/0.1422, allocations: 83.84 kB / 328.2 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004715/0.147, allocations: 2.391 MB / 330.6 MB, free: 10.17 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007216/0.1477, allocations: 67.55 kB / 330.6 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-05/0.1478, allocations: 24 kB / 330.7 MB, free: 10.08 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.1479, allocations: 8 kB / 330.7 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001734/0.1496, allocations: 0.5998 MB / 331.3 MB, free: 9.473 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.1496, allocations: 4 kB / 331.3 MB, free: 9.469 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007131/0.1503, allocations: 158.6 kB / 331.4 MB, free: 9.312 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000557/0.1509, allocations: 91.78 kB / 331.5 MB, free: 9.223 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004566/0.1555, allocations: 2.386 MB / 333.9 MB, free: 6.703 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006854/0.1562, allocations: 67.52 kB / 334 MB, free: 6.637 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.769e-05/0.1563, allocations: 23.94 kB / 334 MB, free: 6.613 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: 29 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n2.off,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.fire_p,pulse2.fire_n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 61 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005746/0.1569, allocations: 316.9 kB / 334.3 MB, free: 6.297 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.157, allocations: 55.34 kB / 334.4 MB, free: 6.242 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001912/0.1572, allocations: 65.55 kB / 334.4 MB, free: 6.18 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.1573, allocations: 7.969 kB / 334.4 MB, free: 6.172 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.1573, allocations: 4 kB / 334.4 MB, free: 6.168 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003397/0.1576, allocations: 184.2 kB / 334.6 MB, free: 5.969 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/0.1578, allocations: 12 kB / 334.6 MB, free: 5.957 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000512/0.1583, allocations: 39.97 kB / 334.7 MB, free: 5.918 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00018/0.1585, allocations: 52.44 kB / 334.7 MB, free: 5.867 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002817/0.1613, allocations: 0.7375 MB / 335.5 MB, free: 5.117 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002776/0.1641, allocations: 0.9314 MB / 336.4 MB, free: 4.172 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001065/0.1653, allocations: 224.4 kB / 336.6 MB, free: 3.949 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006148/0.1659, allocations: 307.1 kB / 336.9 MB, free: 3.645 MB / 282.7 MB Notification: Performance of Backend: time 7.31e-07/0.1659, allocations: 0 / 336.9 MB, free: 3.645 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003104/0.169, allocations: 1.114 MB / 338 MB, free: 2.5 MB / 282.7 MB Notification: Performance of SimCode: time 0.003395/0.1725, allocations: 1.875 MB / 339.9 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of Templates: time 0.04751/0.22, allocations: 10.41 MB / 350.3 MB, free: 6.211 MB / 298.7 MB "" Variables in the reference:time,meanCurrent.x,meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.y,meanVoltage.y,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rootMeanSquareVoltage.mean.y Variables in the result:R,Vrms,constantFiringAngle,f,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,rectifier.GoffThyristor,rectifier.RonThyristor,rectifier.T,rectifier.VkneeThyristor,rectifier.andCondition_n.u2,rectifier.andCondition_p.u2,rectifier.constantEnable,rectifier.enableLogic.booleanReplicator.nout,rectifier.enableLogic.booleanReplicator.u,rectifier.enableLogic.booleanReplicator.y[1],rectifier.enableLogic.constantEnable,rectifier.enableLogic.enableConstantSource.k,rectifier.enableLogic.enableConstantSource.y,rectifier.enableLogic.internalEnable[1],rectifier.enableLogic.m,rectifier.enableLogic.useConstantEnable,rectifier.m,rectifier.offStart_n1,rectifier.offStart_n2,rectifier.offStart_p1,rectifier.offStart_p2,rectifier.thyristor_n1.Goff,rectifier.thyristor_n1.Ron,rectifier.thyristor_n1.T,rectifier.thyristor_n1.T_heatPort,rectifier.thyristor_n1.Vknee,rectifier.thyristor_n1.off,rectifier.thyristor_n2.Goff,rectifier.thyristor_n2.Ron,rectifier.thyristor_n2.T,rectifier.thyristor_n2.T_heatPort,rectifier.thyristor_n2.Vknee,rectifier.thyristor_n2.off,rectifier.thyristor_p1.Goff,rectifier.thyristor_p1.Ron,rectifier.thyristor_p1.T,rectifier.thyristor_p1.T_heatPort,rectifier.thyristor_p1.Vknee,rectifier.thyristor_p1.off,rectifier.thyristor_p2.Goff,rectifier.thyristor_p2.Ron,rectifier.thyristor_p2.T,rectifier.thyristor_p2.T_heatPort,rectifier.thyristor_p2.Vknee,rectifier.thyristor_p2.off,rectifier.useConstantEnable,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