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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") Notification: Performance of loadModel(Modelica): time 2.083/2.083, allocations: 194.8 MB / 211.7 MB, free: 3.016 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003479, allocations: 8 kB / 264.6 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09237/0.09275, allocations: 44.5 MB / 309.1 MB, free: 360 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R): time 0.006606/0.09941, allocations: 3.769 MB / 312.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003098/0.1026, allocations: 1.263 MB / 314.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003561/0.1029, allocations: 15.94 kB / 314.1 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004449/0.1034, allocations: 103.2 kB / 314.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006873/0.1041, allocations: 219.3 kB / 314.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007535/0.1049, allocations: 199.6 kB / 314.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008492/0.1057, allocations: 0.508 MB / 315.1 MB, free: 10.26 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005955/0.1064, allocations: 294.6 kB / 315.4 MB, free: 9.965 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000347/0.1067, allocations: 215.1 kB / 315.6 MB, free: 9.754 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003939/0.1071, allocations: 246.7 kB / 315.9 MB, free: 9.512 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.749e-05/0.1072, allocations: 24 kB / 315.9 MB, free: 9.488 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.1074, allocations: 31.94 kB / 315.9 MB, free: 9.457 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00017/0.1075, allocations: 111.5 kB / 316 MB, free: 9.348 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001766/0.1077, allocations: 145.3 kB / 316.2 MB, free: 9.199 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008978/0.1086, allocations: 0.6586 MB / 316.8 MB, free: 8.539 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.1087, allocations: 0 / 316.8 MB, free: 8.539 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1087, allocations: 0 / 316.8 MB, free: 8.539 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.1087, allocations: 0 / 316.8 MB, free: 8.539 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002252/0.1109, allocations: 0.8768 MB / 317.7 MB, free: 7.613 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.111, allocations: 8.031 kB / 317.7 MB, free: 7.605 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000183/0.1112, allocations: 79.06 kB / 317.8 MB, free: 7.527 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009672/0.1122, allocations: 450.1 kB / 318.2 MB, free: 7.047 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.217e-05/0.1123, allocations: 45.31 kB / 318.3 MB, free: 7 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/0.1124, allocations: 56 kB / 318.3 MB, free: 6.945 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/0.114, allocations: 0.6105 MB / 319 MB, free: 6.312 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/0.1141, allocations: 0 / 319 MB, free: 6.312 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.98e-05/0.1142, allocations: 31.98 kB / 319 MB, free: 6.281 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/0.1142, allocations: 12 kB / 319 MB, free: 6.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001484/0.1157, allocations: 468.9 kB / 319.5 MB, free: 5.812 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004821/0.1206, allocations: 2.158 MB / 321.6 MB, free: 3.547 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.1218, allocations: 423.5 kB / 322 MB, free: 3.125 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.675e-05/0.1219, allocations: 4 kB / 322 MB, free: 3.121 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008757/0.1227, allocations: 324 kB / 322.4 MB, free: 2.785 MB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 3.296e-06/0.1228, allocations: 0 / 322.4 MB, free: 2.785 MB / 266.7 MB Notification: Performance of matching and sorting (n=46): time 0.003151/0.1259, allocations: 0.8153 MB / 323.2 MB, free: 1.941 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.883e-05/0.126, allocations: 110.8 kB / 323.3 MB, free: 1.809 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000737/0.1268, allocations: 429.9 kB / 323.7 MB, free: 1.379 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.264e-05/0.1269, allocations: 41.7 kB / 323.7 MB, free: 1.332 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003019/0.1272, allocations: 300.5 kB / 324 MB, free: 1.035 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000165/0.1273, allocations: 134.1 kB / 324.2 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.032e-05/0.1274, allocations: 12 kB / 324.2 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.1276, allocations: 362.8 kB / 324.5 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005694/0.1282, allocations: 161 kB / 324.7 MB, free: 380 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007321/0.1289, allocations: 332 kB / 325 MB, free: 15.98 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006073/0.1296, allocations: 183.8 kB / 325.2 MB, free: 15.8 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.1296, allocations: 0 / 325.2 MB, free: 15.8 MB / 282.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001673/0.1313, allocations: 0.5876 MB / 325.8 MB, free: 15.2 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001666/0.1314, allocations: 216.4 kB / 326 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.1315, allocations: 7.953 kB / 326 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004895/0.132, allocations: 92.8 kB / 326.1 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005556/0.1325, allocations: 83.84 kB / 326.2 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002913/0.1355, allocations: 1.85 MB / 328 MB, free: 12.76 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006056/0.1361, allocations: 71.52 kB / 328.1 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.235e-05/0.1362, allocations: 24.06 kB / 328.1 MB, free: 12.67 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.836e-06/0.1362, allocations: 4 kB / 328.1 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001427/0.1376, allocations: 0.4892 MB / 328.6 MB, free: 12.17 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.1376, allocations: 4 kB / 328.6 MB, free: 12.17 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003851/0.138, allocations: 92.88 kB / 328.7 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005005/0.1385, allocations: 79.8 kB / 328.8 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002784/0.1413, allocations: 1.851 MB / 330.6 MB, free: 10.01 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005488/0.1419, allocations: 55.58 kB / 330.7 MB, free: 9.957 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.156e-05/0.142, allocations: 24 kB / 330.7 MB, free: 9.934 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: 25 ($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_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.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 (57): * Single equations (assignments): 56 * 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 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0004898/0.1425, allocations: 301 kB / 331 MB, free: 9.633 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.1426, allocations: 51.34 kB / 331 MB, free: 9.582 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000154/0.1428, allocations: 64.89 kB / 331.1 MB, free: 9.516 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.1428, allocations: 0 / 331.1 MB, free: 9.516 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.1428, allocations: 3.984 kB / 331.1 MB, free: 9.512 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002765/0.1431, allocations: 164.4 kB / 331.3 MB, free: 9.332 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.1432, allocations: 11.98 kB / 331.3 MB, free: 9.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004905/0.1437, allocations: 35.98 kB / 331.3 MB, free: 9.285 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.1439, allocations: 35.94 kB / 331.4 MB, free: 9.25 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002177/0.1461, allocations: 0.5984 MB / 332 MB, free: 8.641 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002055/0.1481, allocations: 0.8398 MB / 332.8 MB, free: 7.785 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006028/0.1488, allocations: 191.9 kB / 333 MB, free: 7.598 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005295/0.1493, allocations: 295.1 kB / 333.3 MB, free: 7.305 MB / 282.7 MB Notification: Performance of Backend: time 8.22e-07/0.1493, allocations: 0 / 333.3 MB, free: 7.305 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002472/0.1518, allocations: 0.914 MB / 334.2 MB, free: 6.359 MB / 282.7 MB Notification: Performance of SimCode: time 0.002815/0.1546, allocations: 1.7 MB / 335.9 MB, free: 4.609 MB / 282.7 MB Notification: Performance of Templates: time 0.02475/0.1794, allocations: 8.058 MB / 343.9 MB, free: 12.59 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_n.off,rectifier.thyristor_p.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_n,rectifier.offStart_p,rectifier.thyristor_n.Goff,rectifier.thyristor_n.Ron,rectifier.thyristor_n.T,rectifier.thyristor_n.T_heatPort,rectifier.thyristor_n.Vknee,rectifier.thyristor_n.off,rectifier.thyristor_p.Goff,rectifier.thyristor_p.Ron,rectifier.thyristor_p.T,rectifier.thyristor_p.T_heatPort,rectifier.thyristor_p.Vknee,rectifier.thyristor_p.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_n.V,sinevoltage_n.freqHz,sinevoltage_n.offset,sinevoltage_n.phase,sinevoltage_n.signalSource.amplitude,sinevoltage_n.signalSource.freqHz,sinevoltage_n.signalSource.offset,sinevoltage_n.signalSource.phase,sinevoltage_n.signalSource.startTime,sinevoltage_n.startTime,sinevoltage_p.V,sinevoltage_p.freqHz,sinevoltage_p.offset,sinevoltage_p.phase,sinevoltage_p.signalSource.amplitude,sinevoltage_p.signalSource.freqHz,sinevoltage_p.signalSource.offset,sinevoltage_p.signalSource.phase,sinevoltage_p.signalSource.startTime,sinevoltage_p.startTime,time