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_RL.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_RL,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_RL") Notification: Performance of loadModel(Modelica): time 2.023/2.023, allocations: 194.8 MB / 211.7 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.000357, allocations: 8 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09139/0.09177, allocations: 44.51 MB / 309.1 MB, free: 356 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL): time 0.007348/0.09917, allocations: 4.088 MB / 313.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003716/0.1029, allocations: 1.373 MB / 314.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006054/0.1036, allocations: 19.88 kB / 314.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000528/0.1041, allocations: 111.2 kB / 314.7 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009766/0.1051, allocations: 251.2 kB / 314.9 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009678/0.1061, allocations: 219.7 kB / 315.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001426/0.1076, allocations: 0.6057 MB / 315.7 MB, free: 9.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007631/0.1084, allocations: 331.8 kB / 316.1 MB, free: 9.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005668/0.109, allocations: 254.9 kB / 316.3 MB, free: 9.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005043/0.1095, allocations: 286.5 kB / 316.6 MB, free: 8.789 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.1096, allocations: 32 kB / 316.6 MB, free: 8.758 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.1098, allocations: 32 kB / 316.7 MB, free: 8.727 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001803/0.11, allocations: 119.5 kB / 316.8 MB, free: 8.609 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002215/0.1102, allocations: 169.2 kB / 316.9 MB, free: 8.438 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.1113, allocations: 0.7674 MB / 317.7 MB, free: 7.668 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1114, allocations: 4 kB / 317.7 MB, free: 7.664 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1114, allocations: 0 / 317.7 MB, free: 7.664 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.1114, allocations: 0 / 317.7 MB, free: 7.664 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.002655/0.1141, allocations: 0.9395 MB / 318.6 MB, free: 6.676 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.1141, allocations: 15.97 kB / 318.7 MB, free: 6.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002294/0.1144, allocations: 82.97 kB / 318.7 MB, free: 6.578 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.1155, allocations: 493.9 kB / 319.2 MB, free: 6.059 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-05/0.1156, allocations: 53.31 kB / 319.3 MB, free: 6.004 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001687/0.1158, allocations: 64 kB / 319.3 MB, free: 5.941 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001934/0.1177, allocations: 0.702 MB / 320 MB, free: 5.211 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.499e-05/0.1178, allocations: 7.984 kB / 320 MB, free: 5.203 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.1179, allocations: 27.98 kB / 320.1 MB, free: 5.176 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.493e-05/0.1179, allocations: 16 kB / 320.1 MB, free: 5.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001693/0.1196, allocations: 0.5243 MB / 320.6 MB, free: 4.637 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006079/0.1257, allocations: 2.592 MB / 323.2 MB, free: 1.926 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/0.1273, allocations: 0.5434 MB / 323.8 MB, free: 1.375 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.392e-05/0.1274, allocations: 4.438 kB / 323.8 MB, free: 1.371 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00103/0.1285, allocations: 377.7 kB / 324.1 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of pre-optimization done (n=59): time 4.318e-06/0.1285, allocations: 0 / 324.1 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of matching and sorting (n=59): time 0.00426/0.1327, allocations: 1.073 MB / 325.2 MB, free: 15.86 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.607e-05/0.1329, allocations: 119.3 kB / 325.3 MB, free: 15.72 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008743/0.1338, allocations: 457.8 kB / 325.8 MB, free: 15.27 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001173/0.1339, allocations: 41.7 kB / 325.8 MB, free: 15.23 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003619/0.1343, allocations: 316.3 kB / 326.1 MB, free: 14.91 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002426/0.1345, allocations: 177.5 kB / 326.3 MB, free: 14.73 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.375e-05/0.1346, allocations: 16 kB / 326.3 MB, free: 14.72 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002149/0.1348, allocations: 370.7 kB / 326.7 MB, free: 14.35 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006861/0.1355, allocations: 205.2 kB / 326.9 MB, free: 14.15 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008361/0.1364, allocations: 365.5 kB / 327.2 MB, free: 13.73 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007271/0.1371, allocations: 218.1 kB / 327.4 MB, free: 13.51 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.585e-05/0.1372, allocations: 4 kB / 327.4 MB, free: 13.51 MB / 282.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002103/0.1393, allocations: 0.7027 MB / 328.1 MB, free: 12.79 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001952/0.1395, allocations: 215.2 kB / 328.3 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/0.1395, allocations: 4 kB / 328.4 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007679/0.1403, allocations: 149.6 kB / 328.5 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007213/0.141, allocations: 95.83 kB / 328.6 MB, free: 12.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00533/0.1464, allocations: 3.471 MB / 332.1 MB, free: 8.527 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007353/0.1472, allocations: 75.58 kB / 332.1 MB, free: 8.453 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-05/0.1473, allocations: 24.48 kB / 332.2 MB, free: 8.43 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.1473, allocations: 7.953 kB / 332.2 MB, free: 8.422 MB / 282.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001786/0.1491, allocations: 0.612 MB / 332.8 MB, free: 7.801 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.1491, allocations: 4 kB / 332.8 MB, free: 7.797 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006782/0.1498, allocations: 149.6 kB / 332.9 MB, free: 7.645 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006226/0.1504, allocations: 100.2 kB / 333 MB, free: 7.547 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005151/0.1556, allocations: 3.471 MB / 336.5 MB, free: 3.809 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000688/0.1564, allocations: 67.42 kB / 336.6 MB, free: 3.742 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.207e-05/0.1564, allocations: 24 kB / 336.6 MB, free: 3.719 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 (68): * Single equations (assignments): 66 * 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.0005945/0.157, allocations: 325.5 kB / 336.9 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/0.1572, allocations: 55.34 kB / 337 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001878/0.1574, allocations: 69.5 kB / 337 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.1574, allocations: 3.953 kB / 337 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.1574, allocations: 4 kB / 337 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000353/0.1578, allocations: 188.2 kB / 337.2 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.158, allocations: 19.94 kB / 337.2 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000523/0.1585, allocations: 35.97 kB / 337.3 MB, free: 3 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001798/0.1587, allocations: 48.48 kB / 337.3 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002822/0.1615, allocations: 0.7388 MB / 338.1 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002425/0.164, allocations: 0.947 MB / 339 MB, free: 1.242 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006949/0.1647, allocations: 240.4 kB / 339.2 MB, free: 1.008 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005841/0.1653, allocations: 311.1 kB / 339.5 MB, free: 0.707 MB / 282.7 MB Notification: Performance of Backend: time 1.312e-06/0.1654, allocations: 0 / 339.5 MB, free: 0.707 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003187/0.1686, allocations: 1.289 MB / 340.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of SimCode: time 0.003571/0.1722, allocations: 1.968 MB / 342.8 MB, free: 13.34 MB / 298.7 MB Notification: Performance of Templates: time 0.03114/0.2033, allocations: 10.51 MB / 353.3 MB, free: 2.871 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,Vrms,constantFiringAngle,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