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_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.RectifierBridge2Pulse.ThyristorBridge2Pulse_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_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_Characteristic") Notification: Performance of loadModel(Modelica): time 2.004/2.004, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003446, allocations: 8 kB / 264.6 MB, free: 12.92 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09166/0.09203, allocations: 44.52 MB / 309.1 MB, free: 344 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic): time 0.00732/0.0994, allocations: 4.221 MB / 313.3 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003822/0.1033, allocations: 1.416 MB / 314.7 MB, free: 10.67 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005668/0.1039, allocations: 11.94 kB / 314.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005231/0.1044, allocations: 119.1 kB / 314.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009259/0.1054, allocations: 263.2 kB / 315.1 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009552/0.1063, allocations: 231.6 kB / 315.3 MB, free: 10.06 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001289/0.1077, allocations: 0.6136 MB / 316 MB, free: 9.441 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007308/0.1084, allocations: 343.8 kB / 316.3 MB, free: 9.086 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004966/0.1089, allocations: 274.8 kB / 316.6 MB, free: 8.816 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005214/0.1095, allocations: 314.5 kB / 316.9 MB, free: 8.508 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000133/0.1096, allocations: 32 kB / 316.9 MB, free: 8.477 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.1098, allocations: 32 kB / 316.9 MB, free: 8.445 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001871/0.11, allocations: 127.4 kB / 317 MB, free: 8.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002218/0.1102, allocations: 165.3 kB / 317.2 MB, free: 8.152 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.1114, allocations: 0.7949 MB / 318 MB, free: 7.355 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.1114, allocations: 0 / 318 MB, free: 7.355 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1114, allocations: 0 / 318 MB, free: 7.355 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.742e-05/0.1114, allocations: 0 / 318 MB, free: 7.355 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002777/0.1142, allocations: 0.9917 MB / 319 MB, free: 6.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.1143, allocations: 12.02 kB / 319 MB, free: 6.309 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002326/0.1145, allocations: 94.88 kB / 319.1 MB, free: 6.215 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.1156, allocations: 498.6 kB / 319.6 MB, free: 5.684 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.363e-05/0.1157, allocations: 54 kB / 319.6 MB, free: 5.633 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/0.1159, allocations: 71.91 kB / 319.7 MB, free: 5.562 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002085/0.118, allocations: 0.7498 MB / 320.5 MB, free: 4.781 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.05e-05/0.118, allocations: 0 / 320.5 MB, free: 4.781 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.1182, allocations: 31.98 kB / 320.5 MB, free: 4.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.18e-05/0.1182, allocations: 20 kB / 320.5 MB, free: 4.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001954/0.1202, allocations: 0.5712 MB / 321.1 MB, free: 4.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006076/0.1263, allocations: 2.651 MB / 323.7 MB, free: 1.391 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002959/0.1293, allocations: 0.6443 MB / 324.4 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.559e-05/0.1294, allocations: 8.562 kB / 324.4 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002001/0.1314, allocations: 405.6 kB / 324.8 MB, free: 320 kB / 266.7 MB Notification: Performance of pre-optimization done (n=61): time 8.215e-06/0.1315, allocations: 0 / 324.8 MB, free: 320 kB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.007161/0.1387, allocations: 1.136 MB / 325.9 MB, free: 15.13 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.1388, allocations: 119.4 kB / 326 MB, free: 14.99 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.1401, allocations: 469.8 kB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001338/0.1403, allocations: 45.7 kB / 326.5 MB, free: 14.47 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003433/0.1406, allocations: 324.3 kB / 326.9 MB, free: 14.15 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002448/0.1409, allocations: 185.3 kB / 327 MB, free: 13.96 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-05/0.1409, allocations: 12 kB / 327 MB, free: 13.95 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.1411, allocations: 370.8 kB / 327.4 MB, free: 13.58 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008222/0.142, allocations: 225.8 kB / 327.6 MB, free: 13.36 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009373/0.1429, allocations: 389 kB / 328 MB, free: 12.92 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008197/0.1438, allocations: 242.1 kB / 328.2 MB, free: 12.68 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.1438, allocations: 0 / 328.2 MB, free: 12.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002312/0.1461, allocations: 0.7461 MB / 329 MB, free: 11.92 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001626/0.1463, allocations: 214.7 kB / 329.2 MB, free: 11.65 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.1463, allocations: 4 kB / 329.2 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007315/0.147, allocations: 149.6 kB / 329.4 MB, free: 11.49 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007246/0.1478, allocations: 103.8 kB / 329.5 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004996/0.1528, allocations: 3.483 MB / 332.9 MB, free: 7.645 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008184/0.1537, allocations: 83.47 kB / 333 MB, free: 7.562 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.136e-05/0.1538, allocations: 27.98 kB / 333 MB, free: 7.535 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.1538, allocations: 5.562 kB / 333 MB, free: 7.531 MB / 282.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002015/0.1558, allocations: 0.6514 MB / 333.7 MB, free: 6.875 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.1558, allocations: 4 kB / 333.7 MB, free: 6.871 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006521/0.1565, allocations: 149.7 kB / 333.9 MB, free: 6.719 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006824/0.1572, allocations: 103.8 kB / 334 MB, free: 6.617 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005207/0.1624, allocations: 3.483 MB / 337.4 MB, free: 2.867 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000782/0.1632, allocations: 75.58 kB / 337.5 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.473e-05/0.1633, allocations: 31.92 kB / 337.5 MB, free: 2.762 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 (70): * Single equations (assignments): 68 * 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.0005947/0.1639, allocations: 308.9 kB / 337.8 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.1641, allocations: 75.17 kB / 337.9 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001887/0.1643, allocations: 65.59 kB / 338 MB, free: 2.309 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.1643, allocations: 7.984 kB / 338 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.1643, allocations: 0 / 338 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003516/0.1647, allocations: 192.2 kB / 338.2 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/0.1648, allocations: 15.94 kB / 338.2 MB, free: 2.078 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005757/0.1654, allocations: 39.97 kB / 338.2 MB, free: 2.039 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00022/0.1657, allocations: 52.47 kB / 338.3 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003115/0.1688, allocations: 0.8089 MB / 339.1 MB, free: 1.168 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002753/0.1716, allocations: 1.021 MB / 340.1 MB, free: 124 kB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007984/0.1724, allocations: 256.4 kB / 340.4 MB, free: 15.87 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005655/0.173, allocations: 322.9 kB / 340.7 MB, free: 15.56 MB / 298.7 MB Notification: Performance of Backend: time 4.739e-06/0.173, allocations: 0 / 340.7 MB, free: 15.56 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003319/0.1763, allocations: 1.337 MB / 342 MB, free: 14.16 MB / 298.7 MB Notification: Performance of SimCode: time 0.003455/0.1798, allocations: 2.014 MB / 344 MB, free: 12.1 MB / 298.7 MB Notification: Performance of Templates: time 0.03071/0.2105, allocations: 10.84 MB / 354.9 MB, free: 1.312 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,Vdi0,Vrms,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.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_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