Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.254/1.254, allocations: 221.3 MB / 235.5 MB, free: 2.898 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008793/0.0008795, allocations: 83.88 kB / 286.5 MB, free: 172 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.912e-05/1.916e-05, allocations: 4 kB / 343.9 MB, free: 4.273 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08449/0.08452, allocations: 50.41 MB / 394.3 MB, free: 1.824 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2795/0.364, allocations: 88.85 MB / 483.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.3643, allocations: 87.78 kB / 483.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03758/0.4019, allocations: 14.41 MB / 497.6 MB, free: 80 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.4019, allocations: 4 kB / 497.6 MB, free: 76 kB / 362.7 MB Notification: Performance of Transformations before backend: time 4.608e-05/0.402, allocations: 12 kB / 497.6 MB, free: 64 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001434/0.4034, allocations: 0.8801 MB / 498.5 MB, free: 15.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.4035, allocations: 12.03 kB / 498.5 MB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.4036, allocations: 90.97 kB / 498.6 MB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007332/0.4044, allocations: 0.4938 MB / 499.1 MB, free: 14.49 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.292e-05/0.4045, allocations: 61.23 kB / 499.2 MB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.592e-05/0.4046, allocations: 64 kB / 499.2 MB, free: 14.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.4057, allocations: 0.703 MB / 499.9 MB, free: 13.63 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.4057, allocations: 3.938 kB / 499.9 MB, free: 13.63 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.383e-05/0.4058, allocations: 31.98 kB / 500 MB, free: 13.6 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.4058, allocations: 16 kB / 500 MB, free: 13.58 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008321/0.4066, allocations: 0.5049 MB / 0.4887 GB, free: 13.08 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004791/0.4114, allocations: 2.686 MB / 0.4914 GB, free: 10.28 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008482/0.4123, allocations: 0.5257 MB / 0.4919 GB, free: 9.734 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005533/0.4129, allocations: 324.7 kB / 0.4922 GB, free: 9.418 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.64e-05/0.4129, allocations: 4.438 kB / 0.4922 GB, free: 9.414 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000537/0.4135, allocations: 354 kB / 0.4925 GB, free: 9.051 MB / 378.7 MB Notification: Performance of pre-optimization done (n=57): time 5.65e-06/0.4135, allocations: 0 / 0.4925 GB, free: 9.051 MB / 378.7 MB Notification: Performance of matching and sorting (n=57): time 0.0009095/0.4144, allocations: 0.5382 MB / 0.4931 GB, free: 8.504 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.881e-05/0.4145, allocations: 141.1 kB / 0.4932 GB, free: 8.332 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004921/0.415, allocations: 431.8 kB / 0.4936 GB, free: 7.902 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.439e-05/0.415, allocations: 45.7 kB / 0.4936 GB, free: 7.852 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002123/0.4153, allocations: 328.2 kB / 0.494 GB, free: 7.523 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.4154, allocations: 169.7 kB / 0.4941 GB, free: 7.355 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/0.4154, allocations: 12 kB / 0.4941 GB, free: 7.344 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.4156, allocations: 366.8 kB / 0.4945 GB, free: 6.977 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003099/0.4159, allocations: 189.5 kB / 0.4947 GB, free: 6.789 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000415/0.4163, allocations: 350.9 kB / 0.495 GB, free: 6.383 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003315/0.4167, allocations: 215.2 kB / 0.4952 GB, free: 6.176 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.4167, allocations: 0 / 0.4952 GB, free: 6.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0009978/0.4177, allocations: 0.6712 MB / 0.4959 GB, free: 5.492 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005727/0.4183, allocations: 1.568 MB / 0.4974 GB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.4183, allocations: 4 kB / 0.4974 GB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004522/0.4187, allocations: 164.6 kB / 0.4976 GB, free: 3.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003317/0.4191, allocations: 87.89 kB / 0.4976 GB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002594/0.4217, allocations: 2.35 MB / 0.4999 GB, free: 1.066 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000473/0.4222, allocations: 87.53 kB / 0.5 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.206e-05/0.4222, allocations: 27.95 kB / 0.5 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.225e-06/0.4222, allocations: 8 kB / 0.5 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009135/0.4232, allocations: 0.5915 MB / 0.5006 GB, free: 356 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.4232, allocations: 4.5 kB / 0.5006 GB, free: 352 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003731/0.4236, allocations: 160.9 kB / 0.5008 GB, free: 188 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002837/0.4239, allocations: 83.83 kB / 0.5009 GB, free: 104 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002526/0.4264, allocations: 2.33 MB / 0.5031 GB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003969/0.4268, allocations: 71.66 kB / 0.5032 GB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-05/0.4269, allocations: 23.98 kB / 0.5032 GB, free: 13.54 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$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 () * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001813/0.427, allocations: 164.8 kB / 0.5034 GB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.99e-05/0.4271, allocations: 59.25 kB / 0.5034 GB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001605/0.4273, allocations: 69.58 kB / 0.5035 GB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.4273, allocations: 8.094 kB / 0.5035 GB, free: 13.24 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4273, allocations: 3.984 kB / 0.5035 GB, free: 13.24 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.4273, allocations: 3.984 kB / 0.5035 GB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001995/0.4293, allocations: 1.394 MB / 0.5049 GB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.4294, allocations: 0 / 0.5049 GB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.4296, allocations: 43.91 kB / 0.5049 GB, free: 11.74 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003775/0.43, allocations: 154.2 kB / 0.5051 GB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.96e-05/0.43, allocations: 15.98 kB / 0.5051 GB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002522/0.4326, allocations: 2.237 MB / 0.5073 GB, free: 9.199 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4326, allocations: 0 / 0.5073 GB, free: 9.199 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.4339, allocations: 0.9279 MB / 0.5082 GB, free: 8.242 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002896/0.4342, allocations: 188.3 kB / 0.5084 GB, free: 8.039 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.302e-05/0.4343, allocations: 12 kB / 0.5084 GB, free: 8.027 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000348/0.4346, allocations: 47.97 kB / 0.5084 GB, free: 7.98 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001654/0.4348, allocations: 76.44 kB / 0.5085 GB, free: 7.906 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.323e-05/0.4348, allocations: 16 kB / 0.5085 GB, free: 7.891 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003824/0.4352, allocations: 329.6 kB / 0.5088 GB, free: 7.574 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4352, allocations: 0 / 0.5088 GB, free: 7.574 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009386/0.4362, allocations: 347.1 kB / 0.5092 GB, free: 7.234 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 20 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n1.off,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001917/0.4364, allocations: 140.8 kB / 0.5093 GB, free: 7.094 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001745/0.4381, allocations: 1.194 MB / 0.5105 GB, free: 5.871 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4381, allocations: 0 / 0.5105 GB, free: 5.871 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005965/0.4387, allocations: 458.7 kB / 0.5109 GB, free: 5.414 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005047/0.4393, allocations: 113.7 kB / 0.511 GB, free: 5.309 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.441, allocations: 0.9388 MB / 0.5119 GB, free: 4.336 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004774/0.4415, allocations: 0.9556 MB / 0.5129 GB, free: 3.352 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004093/0.4419, allocations: 120.8 kB / 0.513 GB, free: 3.23 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.881e-05/0.442, allocations: 35.44 kB / 0.513 GB, free: 3.195 MB / 394.7 MB Notification: Performance of SimCode: time 6.31e-07/0.442, allocations: 0 / 0.513 GB, free: 3.195 MB / 394.7 MB Notification: Performance of Templates: time 0.01721/0.4592, allocations: 11 MB / 0.5237 GB, free: 8.352 MB / 410.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/ThyristorBridge2Pulse_R/ThyristorBridge2Pulse_R.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches