Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001064/0.001064, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008594/0.0008594, allocations: 94.31 kB / 286.7 MB, free: 5.238 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.758e-05/1.753e-05, allocations: 3.984 kB / 343.7 MB, free: 8.273 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08881/0.08885, allocations: 51.48 MB / 395.2 MB, free: 4.754 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.297/0.3859, allocations: 89.01 MB / 484.2 MB, free: 4.246 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001857/0.3862, allocations: 85.61 kB / 484.3 MB, free: 4.199 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.034/0.4202, allocations: 14.42 MB / 498.7 MB, free: 8.297 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4202, allocations: 0 / 498.7 MB, free: 8.297 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.048e-05/0.4203, allocations: 16 kB / 498.7 MB, free: 8.281 MB / 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.001621/0.4219, allocations: 0.8902 MB / 499.6 MB, free: 7.387 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.4219, allocations: 8.031 kB / 499.6 MB, free: 7.379 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003001/0.4222, allocations: 98.95 kB / 499.7 MB, free: 7.281 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007518/0.423, allocations: 0.5049 MB / 0.4885 GB, free: 6.828 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/0.423, allocations: 20 kB / 0.4885 GB, free: 6.809 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-05/0.4231, allocations: 43.94 kB / 0.4885 GB, free: 6.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007984/0.424, allocations: 479.1 kB / 0.489 GB, free: 6.488 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009804/0.4249, allocations: 0.6099 MB / 0.4896 GB, free: 6.016 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.425, allocations: 0 / 0.4896 GB, free: 6.016 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.339e-05/0.425, allocations: 4 kB / 0.4896 GB, free: 6.012 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.4251, allocations: 16 kB / 0.4896 GB, free: 5.996 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003427/0.4285, allocations: 2.559 MB / 0.4921 GB, free: 3.895 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007498/0.4292, allocations: 0.5107 MB / 0.4926 GB, free: 3.586 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003283/0.4296, allocations: 261.4 kB / 0.4929 GB, free: 3.422 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.708e-05/0.4296, allocations: 11.34 kB / 0.4929 GB, free: 3.414 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004654/0.4301, allocations: 330.3 kB / 0.4932 GB, free: 3.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=57): time 1.743e-06/0.4301, allocations: 0 / 0.4932 GB, free: 3.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.0007946/0.4309, allocations: 0.4945 MB / 0.4937 GB, free: 2.793 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.774e-05/0.431, allocations: 144.4 kB / 0.4938 GB, free: 2.621 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003982/0.4314, allocations: 380.4 kB / 0.4942 GB, free: 2.332 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.016e-05/0.4315, allocations: 37.06 kB / 0.4942 GB, free: 2.293 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/0.4317, allocations: 324.5 kB / 0.4945 GB, free: 2.047 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.4318, allocations: 161.4 kB / 0.4947 GB, free: 1.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/0.4319, allocations: 0 / 0.4947 GB, free: 1.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.432, allocations: 367 kB / 0.495 GB, free: 1.566 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/0.4323, allocations: 180.7 kB / 0.4952 GB, free: 1.461 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003844/0.4326, allocations: 340.8 kB / 0.4955 GB, free: 1.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002895/0.4329, allocations: 190 kB / 0.4957 GB, free: 1.043 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.433, allocations: 0 / 0.4957 GB, free: 1.043 MB / 362.7 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0008733/0.4338, allocations: 0.6231 MB / 0.4963 GB, free: 0.5781 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005546/0.4344, allocations: 1.566 MB / 0.4978 GB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.4344, allocations: 4 kB / 0.4978 GB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004265/0.4349, allocations: 150.6 kB / 0.498 GB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003338/0.4352, allocations: 91.77 kB / 0.4981 GB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00238/0.4376, allocations: 2.288 MB / 0.5003 GB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004303/0.438, allocations: 75.59 kB / 0.5004 GB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.923e-05/0.4381, allocations: 20 kB / 0.5004 GB, free: 12.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.775e-06/0.4381, allocations: 4 kB / 0.5004 GB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008208/0.4389, allocations: 0.5218 MB / 0.5009 GB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.4389, allocations: 4 kB / 0.5009 GB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003576/0.4393, allocations: 148.7 kB / 0.5011 GB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/0.4396, allocations: 83.84 kB / 0.5011 GB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002387/0.442, allocations: 2.285 MB / 0.5034 GB, free: 9.461 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000365/0.4424, allocations: 62.84 kB / 0.5034 GB, free: 9.402 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.124e-05/0.4424, allocations: 27.95 kB / 0.5035 GB, free: 9.375 MB / 378.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.0001588/0.4426, allocations: 142.2 kB / 0.5036 GB, free: 9.234 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.043e-05/0.4427, allocations: 59.33 kB / 0.5037 GB, free: 9.176 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.4428, allocations: 57.67 kB / 0.5037 GB, free: 9.117 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.4428, allocations: 4 kB / 0.5037 GB, free: 9.113 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.4428, allocations: 0 / 0.5037 GB, free: 9.113 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.4429, allocations: 11.98 kB / 0.5037 GB, free: 9.102 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/0.4445, allocations: 1.234 MB / 0.5049 GB, free: 7.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.4446, allocations: 0 / 0.5049 GB, free: 7.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.4448, allocations: 51.84 kB / 0.505 GB, free: 7.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003547/0.4452, allocations: 142.8 kB / 0.5051 GB, free: 7.629 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.451e-05/0.4452, allocations: 11.94 kB / 0.5051 GB, free: 7.617 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002275/0.4475, allocations: 2.153 MB / 0.5072 GB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.4475, allocations: 0 / 0.5072 GB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.4487, allocations: 0.8625 MB / 0.5081 GB, free: 4.465 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002087/0.4489, allocations: 184.3 kB / 0.5082 GB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.75e-05/0.449, allocations: 8 kB / 0.5083 GB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003356/0.4494, allocations: 43.95 kB / 0.5083 GB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.4495, allocations: 72.45 kB / 0.5084 GB, free: 4.145 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-05/0.4496, allocations: 19.98 kB / 0.5084 GB, free: 4.125 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002982/0.4499, allocations: 279 kB / 0.5086 GB, free: 3.852 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4499, allocations: 0 / 0.5086 GB, free: 3.852 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009077/0.4508, allocations: 307 kB / 0.5089 GB, free: 3.551 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001934/0.451, allocations: 142.1 kB / 0.5091 GB, free: 3.402 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001572/0.4526, allocations: 1.118 MB / 0.5102 GB, free: 2.273 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4526, allocations: 0 / 0.5102 GB, free: 2.273 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005668/0.4532, allocations: 424.4 kB / 0.5106 GB, free: 1.848 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004667/0.4536, allocations: 94.36 kB / 0.5107 GB, free: 1.762 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.4553, allocations: 0.8877 MB / 0.5115 GB, free: 0.8516 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005301/0.4559, allocations: 0.9668 MB / 0.5125 GB, free: 15.86 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003992/0.4563, allocations: 108.6 kB / 0.5126 GB, free: 15.75 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.183e-05/0.4564, allocations: 39.42 kB / 0.5126 GB, free: 15.71 MB / 394.7 MB Notification: Performance of SimCode: time 1.563e-06/0.4564, allocations: 0 / 0.5126 GB, free: 15.71 MB / 394.7 MB Notification: Performance of Templates: time 0.01623/0.4726, allocations: 9.895 MB / 0.5223 GB, free: 6.031 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches