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_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.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|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_RLV") Notification: Performance of loadModel(Modelica): time 1.97/1.97, allocations: 194.8 MB / 211.7 MB, free: 3.016 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003734, allocations: 8 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08964/0.09004, allocations: 44.51 MB / 309.1 MB, free: 352 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV): time 0.007267/0.09736, allocations: 4.182 MB / 313.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003872/0.1013, allocations: 1.385 MB / 314.6 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008138/0.1022, allocations: 19.88 kB / 314.7 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006178/0.1028, allocations: 111.2 kB / 314.8 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001398/0.1042, allocations: 263.1 kB / 315 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.1054, allocations: 227.6 kB / 315.3 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001572/0.107, allocations: 0.6135 MB / 315.9 MB, free: 9.523 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008425/0.1079, allocations: 339.6 kB / 316.2 MB, free: 9.176 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006038/0.1085, allocations: 258.9 kB / 316.4 MB, free: 8.922 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005473/0.1091, allocations: 302.5 kB / 316.7 MB, free: 8.625 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001387/0.1092, allocations: 32 kB / 316.8 MB, free: 8.594 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/0.1094, allocations: 32 kB / 316.8 MB, free: 8.562 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001955/0.1096, allocations: 123.5 kB / 316.9 MB, free: 8.441 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002379/0.1099, allocations: 169.3 kB / 317.1 MB, free: 8.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001194/0.1111, allocations: 0.7949 MB / 317.9 MB, free: 7.473 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1111, allocations: 3.938 kB / 317.9 MB, free: 7.469 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1111, allocations: 0 / 317.9 MB, free: 7.469 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.081e-05/0.1111, allocations: 0 / 317.9 MB, free: 7.469 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.00274/0.1139, allocations: 0.9566 MB / 318.8 MB, free: 6.469 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.873e-05/0.114, allocations: 12.03 kB / 318.9 MB, free: 6.457 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002613/0.1142, allocations: 90.97 kB / 318.9 MB, free: 6.367 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.1154, allocations: 498.5 kB / 319.4 MB, free: 5.836 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.47e-05/0.1156, allocations: 53.94 kB / 319.5 MB, free: 5.785 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/0.1157, allocations: 72 kB / 319.6 MB, free: 5.715 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002077/0.1178, allocations: 0.7264 MB / 320.3 MB, free: 4.957 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.257e-05/0.1179, allocations: 0 / 320.3 MB, free: 4.957 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.118, allocations: 32 kB / 320.3 MB, free: 4.926 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/0.1181, allocations: 16 kB / 320.3 MB, free: 4.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001806/0.1199, allocations: 0.5399 MB / 320.9 MB, free: 4.371 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006234/0.1261, allocations: 2.635 MB / 323.5 MB, free: 1.617 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.1277, allocations: 0.5606 MB / 324.1 MB, free: 1.051 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.232e-05/0.1278, allocations: 8.562 kB / 324.1 MB, free: 1.043 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001045/0.1289, allocations: 377.8 kB / 324.4 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of pre-optimization done (n=60): time 4.399e-06/0.1289, allocations: 0 / 324.4 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of matching and sorting (n=60): time 0.004319/0.1333, allocations: 1.077 MB / 325.5 MB, free: 15.53 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.722e-05/0.1334, allocations: 111.4 kB / 325.6 MB, free: 15.39 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008902/0.1343, allocations: 481.8 kB / 326.1 MB, free: 14.91 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000147/0.1345, allocations: 45.7 kB / 326.1 MB, free: 14.86 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000368/0.1348, allocations: 320.3 kB / 326.5 MB, free: 14.55 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002703/0.1351, allocations: 181.5 kB / 326.6 MB, free: 14.37 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.446e-05/0.1352, allocations: 16 kB / 326.7 MB, free: 14.35 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002102/0.1354, allocations: 366.8 kB / 327 MB, free: 13.98 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007429/0.1362, allocations: 205.9 kB / 327.2 MB, free: 13.78 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008354/0.137, allocations: 369 kB / 327.6 MB, free: 13.36 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007304/0.1378, allocations: 218.1 kB / 327.8 MB, free: 13.14 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.1378, allocations: 0 / 327.8 MB, free: 13.14 MB / 282.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002321/0.1401, allocations: 0.7149 MB / 328.5 MB, free: 12.41 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002141/0.1404, allocations: 206.7 kB / 328.7 MB, free: 12.15 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.1404, allocations: 8 kB / 328.7 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007704/0.1412, allocations: 145.6 kB / 328.9 MB, free: 11.99 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007166/0.1419, allocations: 103.8 kB / 329 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005235/0.1472, allocations: 3.479 MB / 332.4 MB, free: 8.148 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007535/0.148, allocations: 79.56 kB / 332.5 MB, free: 8.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.068e-05/0.1481, allocations: 20 kB / 332.5 MB, free: 8.051 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.1481, allocations: 5.875 kB / 332.5 MB, free: 8.047 MB / 282.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001785/0.1499, allocations: 0.6158 MB / 333.2 MB, free: 7.426 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.15, allocations: 4 kB / 333.2 MB, free: 7.422 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006673/0.1506, allocations: 150.2 kB / 333.3 MB, free: 7.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006248/0.1513, allocations: 95.77 kB / 333.4 MB, free: 7.176 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005073/0.1564, allocations: 3.48 MB / 336.9 MB, free: 3.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000722/0.1571, allocations: 71.41 kB / 336.9 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.811e-05/0.1572, allocations: 24 kB / 337 MB, free: 3.336 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 (69): * Single equations (assignments): 67 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0006197/0.1579, allocations: 321 kB / 337.3 MB, free: 3.016 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.158, allocations: 63.28 kB / 337.3 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001996/0.1583, allocations: 69.59 kB / 337.4 MB, free: 2.883 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.1583, allocations: 3.984 kB / 337.4 MB, free: 2.879 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.1583, allocations: 0 / 337.4 MB, free: 2.879 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003565/0.1587, allocations: 188.2 kB / 337.6 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/0.1588, allocations: 16 kB / 337.6 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005456/0.1594, allocations: 40.22 kB / 337.7 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/0.1596, allocations: 48.48 kB / 337.7 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002847/0.1624, allocations: 0.7502 MB / 338.5 MB, free: 1.812 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002725/0.1652, allocations: 0.9742 MB / 339.4 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006914/0.1659, allocations: 240.3 kB / 339.7 MB, free: 0.582 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006025/0.1665, allocations: 318.9 kB / 340 MB, free: 280 kB / 282.7 MB Notification: Performance of Backend: time 4.7e-07/0.1665, allocations: 0 / 340 MB, free: 280 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003156/0.1697, allocations: 1.293 MB / 341.3 MB, free: 14.92 MB / 298.7 MB Notification: Performance of SimCode: time 0.003506/0.1732, allocations: 2.005 MB / 343.3 MB, free: 12.87 MB / 298.7 MB Notification: Performance of Templates: time 0.03145/0.2047, allocations: 10.59 MB / 353.9 MB, free: 2.32 MB / 298.7 MB "" Variables in the reference:time,inductor.i,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:L,R,VDC,Vrms,constantFiringAngle,constantVoltage.V,constantVoltage.v,f,inductor.L,inductor.i,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