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_RLV_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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic") Notification: Performance of loadModel(Modelica): time 1.944/1.944, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003502/0.0003503, allocations: 12 kB / 264.6 MB, free: 12.91 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09243/0.0928, allocations: 44.5 MB / 309.1 MB, free: 344 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic): time 0.009643/0.1025, allocations: 3.985 MB / 313.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004862/0.1074, allocations: 1.31 MB / 314.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006864/0.1082, allocations: 11.94 kB / 314.4 MB, free: 11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006066/0.1088, allocations: 107.2 kB / 314.5 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00121/0.11, allocations: 239.2 kB / 314.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001441/0.1115, allocations: 211.6 kB / 314.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001921/0.1135, allocations: 0.5433 MB / 315.5 MB, free: 9.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009633/0.1145, allocations: 307 kB / 315.8 MB, free: 9.605 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007077/0.1152, allocations: 250.9 kB / 316 MB, free: 9.359 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006128/0.1158, allocations: 262.6 kB / 316.3 MB, free: 9.102 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001929/0.116, allocations: 32 kB / 316.3 MB, free: 9.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001974/0.1162, allocations: 28 kB / 316.3 MB, free: 9.043 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002512/0.1165, allocations: 119.5 kB / 316.5 MB, free: 8.926 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003182/0.1169, allocations: 157.3 kB / 316.6 MB, free: 8.766 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0015/0.1184, allocations: 0.6976 MB / 317.3 MB, free: 8.066 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1184, allocations: 0 / 317.3 MB, free: 8.066 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.1184, allocations: 0 / 317.3 MB, free: 8.066 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.38e-05/0.1185, allocations: 0 / 317.3 MB, free: 8.066 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.003539/0.122, allocations: 0.9404 MB / 318.2 MB, free: 7.078 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.082e-05/0.1221, allocations: 8.031 kB / 318.3 MB, free: 7.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003258/0.1224, allocations: 83.06 kB / 318.3 MB, free: 6.988 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.1239, allocations: 466 kB / 318.8 MB, free: 6.492 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.124, allocations: 53.31 kB / 318.8 MB, free: 6.441 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002194/0.1242, allocations: 71.91 kB / 318.9 MB, free: 6.371 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002717/0.127, allocations: 0.6691 MB / 319.6 MB, free: 5.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.667e-05/0.127, allocations: 0 / 319.6 MB, free: 5.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001499/0.1272, allocations: 27.98 kB / 319.6 MB, free: 5.652 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.149e-05/0.1273, allocations: 20 kB / 319.6 MB, free: 5.633 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002635/0.1299, allocations: 0.5125 MB / 320.1 MB, free: 5.121 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007534/0.1375, allocations: 2.29 MB / 322.4 MB, free: 2.711 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002674/0.1402, allocations: 0.5223 MB / 323 MB, free: 2.184 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.889e-05/0.1403, allocations: 12.36 kB / 323 MB, free: 2.172 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001561/0.1419, allocations: 347.7 kB / 323.3 MB, free: 1.812 MB / 266.7 MB Notification: Performance of pre-optimization done (n=50): time 6.352e-06/0.142, allocations: 0 / 323.3 MB, free: 1.812 MB / 266.7 MB Notification: Performance of matching and sorting (n=50): time 0.005559/0.1475, allocations: 0.8715 MB / 324.2 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/0.1477, allocations: 115.2 kB / 324.3 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/0.1491, allocations: 449.8 kB / 324.7 MB, free: 340 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001916/0.1493, allocations: 37.7 kB / 324.8 MB, free: 296 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005117/0.1499, allocations: 320.4 kB / 325.1 MB, free: 15.97 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003117/0.1502, allocations: 153.9 kB / 325.2 MB, free: 15.82 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.956e-05/0.1503, allocations: 12 kB / 325.2 MB, free: 15.8 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002744/0.1506, allocations: 366.7 kB / 325.6 MB, free: 15.44 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001092/0.1517, allocations: 193.2 kB / 325.8 MB, free: 15.25 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001314/0.153, allocations: 349.5 kB / 326.1 MB, free: 14.84 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.1542, allocations: 216.7 kB / 326.3 MB, free: 14.63 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/0.1542, allocations: 7.938 kB / 326.3 MB, free: 14.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002485/0.1567, allocations: 0.6485 MB / 327 MB, free: 13.96 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002063/0.157, allocations: 210.2 kB / 327.2 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/0.157, allocations: 4 kB / 327.2 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005238/0.1576, allocations: 84.75 kB / 327.3 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.1586, allocations: 103.8 kB / 327.4 MB, free: 13.51 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003919/0.1625, allocations: 1.788 MB / 329.2 MB, free: 11.58 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.1636, allocations: 83.56 kB / 329.3 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.188e-05/0.1637, allocations: 27.98 kB / 329.3 MB, free: 11.47 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.1637, allocations: 4 kB / 329.3 MB, free: 11.47 MB / 282.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002376/0.1661, allocations: 0.55 MB / 329.8 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.1662, allocations: 4.094 kB / 329.8 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005199/0.1667, allocations: 84.73 kB / 329.9 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008886/0.1676, allocations: 99.77 kB / 330 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003874/0.1715, allocations: 1.796 MB / 331.8 MB, free: 8.793 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009588/0.1725, allocations: 79.45 kB / 331.9 MB, free: 8.715 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.698e-05/0.1726, allocations: 27.94 kB / 331.9 MB, free: 8.688 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 (63): * Single equations (assignments): 62 * 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 7} Notification: Performance of prepare postOptimizeDAE: time 0.0007687/0.1734, allocations: 305 kB / 332.2 MB, free: 8.383 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001933/0.1736, allocations: 51.62 kB / 332.3 MB, free: 8.332 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002308/0.1739, allocations: 57.42 kB / 332.3 MB, free: 8.273 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/0.1739, allocations: 3.984 kB / 332.3 MB, free: 8.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.1739, allocations: 4 kB / 332.3 MB, free: 8.266 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004387/0.1744, allocations: 176.3 kB / 332.5 MB, free: 8.074 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.1745, allocations: 12 kB / 332.5 MB, free: 8.062 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007758/0.1753, allocations: 47.95 kB / 332.6 MB, free: 8.016 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002217/0.1756, allocations: 44.36 kB / 332.6 MB, free: 7.973 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003583/0.1792, allocations: 0.6643 MB / 333.3 MB, free: 7.301 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003618/0.1828, allocations: 0.9194 MB / 334.2 MB, free: 6.367 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00109/0.184, allocations: 231.4 kB / 334.4 MB, free: 6.141 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008618/0.1849, allocations: 303.1 kB / 334.7 MB, free: 5.84 MB / 282.7 MB Notification: Performance of Backend: time 1.252e-06/0.1849, allocations: 0 / 334.7 MB, free: 5.84 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003986/0.1889, allocations: 0.9621 MB / 335.7 MB, free: 4.848 MB / 282.7 MB Notification: Performance of SimCode: time 0.004513/0.1935, allocations: 1.852 MB / 337.5 MB, free: 2.953 MB / 282.7 MB Notification: Performance of Templates: time 0.03537/0.2289, allocations: 8.444 MB / 346 MB, free: 10.57 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_n.off,rectifier.thyristor_p.off,rootMeanSquareVoltage.mean.y Variables in the result:L,R,VDC,Vrms,constantVoltage.V,constantVoltage.p.v,constantVoltage.v,f,inductor.L,inductor.i,inductor.n.v,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,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