Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 179.5 kB / 16.39 MB, free: 5.766 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.513/1.513, allocations: 223.2 MB / 240.3 MB, free: 10.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000878/0.0008779, allocations: 92.67 kB / 291.5 MB, free: 10.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002528/0.0002527, allocations: 12 kB / 351.1 MB, free: 15.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2428, allocations: 50.4 MB / 401.5 MB, free: 32.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1138/0.3567, allocations: 88.44 MB / 489.9 MB, free: 7.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/0.357, allocations: 95.94 kB / 490 MB, free: 7.887 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03651/0.3935, allocations: 13.44 MB / 0.4917 GB, free: 10.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.3936, allocations: 0 / 0.4917 GB, free: 10.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.555e-05/0.3937, allocations: 16 kB / 0.4917 GB, free: 10.37 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002379/0.396, allocations: 0.9104 MB / 0.4926 GB, free: 9.398 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.3961, allocations: 12.03 kB / 0.4926 GB, free: 9.387 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002411/0.3964, allocations: 75.16 kB / 0.4927 GB, free: 9.312 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009754/0.3973, allocations: 486 kB / 0.4931 GB, free: 8.797 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.362e-05/0.3974, allocations: 49.3 kB / 0.4932 GB, free: 8.746 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.3975, allocations: 59.95 kB / 0.4932 GB, free: 8.688 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.3988, allocations: 0.6582 MB / 0.4939 GB, free: 8.004 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/0.3988, allocations: 7.844 kB / 0.4939 GB, free: 7.996 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.63e-05/0.3989, allocations: 31.98 kB / 0.4939 GB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.3989, allocations: 12 kB / 0.4939 GB, free: 7.953 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009659/0.3999, allocations: 0.497 MB / 0.4944 GB, free: 7.457 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003601/0.4035, allocations: 2.295 MB / 0.4967 GB, free: 5.059 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007492/0.4043, allocations: 422.2 kB / 0.4971 GB, free: 4.637 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.562e-05/0.4044, allocations: 8.641 kB / 0.4971 GB, free: 4.629 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005534/0.4049, allocations: 323.9 kB / 0.4974 GB, free: 4.293 MB / 378.7 MB Notification: Performance of pre-optimization done (n=46): time 2.424e-06/0.4049, allocations: 0 / 0.4974 GB, free: 4.293 MB / 378.7 MB Notification: Performance of matching and sorting (n=46): time 0.001692/0.4066, allocations: 0.7652 MB / 0.4981 GB, free: 3.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.302e-05/0.4067, allocations: 140.5 kB / 0.4983 GB, free: 3.332 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005676/0.4073, allocations: 428.9 kB / 0.4987 GB, free: 2.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.574e-05/0.4074, allocations: 41.69 kB / 0.4987 GB, free: 2.863 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.4076, allocations: 304.4 kB / 0.499 GB, free: 2.559 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.4077, allocations: 146 kB / 0.4991 GB, free: 2.414 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/0.4078, allocations: 12 kB / 0.4991 GB, free: 2.402 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.4079, allocations: 366.8 kB / 0.4995 GB, free: 2.035 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003797/0.4083, allocations: 177 kB / 0.4997 GB, free: 1.859 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004548/0.4088, allocations: 347.2 kB / 0.5 GB, free: 1.465 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003893/0.4092, allocations: 204 kB / 0.5002 GB, free: 1.266 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.4092, allocations: 4 kB / 0.5002 GB, free: 1.262 MB / 378.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001063/0.4103, allocations: 0.6102 MB / 0.5008 GB, free: 0.6406 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.222/0.6323, allocations: 1.567 MB / 0.5023 GB, free: 94.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.234e-05/0.6324, allocations: 4.844 kB / 0.5023 GB, free: 94.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005907/0.633, allocations: 90.44 kB / 0.5024 GB, free: 94.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005379/0.6335, allocations: 87.42 kB / 0.5025 GB, free: 94.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002494/0.636, allocations: 1.859 MB / 0.5043 GB, free: 93.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008546/0.6369, allocations: 89.14 kB / 0.5044 GB, free: 93.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001423/0.6371, allocations: 21.42 kB / 0.5044 GB, free: 93.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.6371, allocations: 6.281 kB / 0.5044 GB, free: 93.36 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001438/0.6386, allocations: 0.5069 MB / 0.5049 GB, free: 93.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.005e-05/0.6386, allocations: 7.781 kB / 0.5049 GB, free: 93.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000274/0.6389, allocations: 89.44 kB / 0.505 GB, free: 93.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003523/0.6392, allocations: 80.14 kB / 0.5051 GB, free: 93.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002943/0.6422, allocations: 1.847 MB / 0.5069 GB, free: 92.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005733/0.6428, allocations: 76.69 kB / 0.507 GB, free: 92.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.478e-05/0.6429, allocations: 23.02 kB / 0.507 GB, free: 92.03 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: 25 ($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_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 (58): * Single equations (assignments): 57 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0006252/0.6435, allocations: 307.3 kB / 0.5073 GB, free: 91.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000198/0.6437, allocations: 53.06 kB / 0.5073 GB, free: 91.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001879/0.6439, allocations: 54.75 kB / 0.5074 GB, free: 91.83 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/0.644, allocations: 7.75 kB / 0.5074 GB, free: 91.83 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.644, allocations: 9.188 kB / 0.5074 GB, free: 91.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.644, allocations: 2.016 kB / 0.5074 GB, free: 91.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002905/0.6469, allocations: 1.218 MB / 0.5086 GB, free: 91.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.79e-06/0.6469, allocations: 0.5312 kB / 0.5086 GB, free: 91.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003672/0.6473, allocations: 39.69 kB / 0.5086 GB, free: 91.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003229/0.6476, allocations: 90.56 kB / 0.5087 GB, free: 91.49 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.025e-05/0.6477, allocations: 8.781 kB / 0.5087 GB, free: 91.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002183/0.6499, allocations: 1.761 MB / 0.5104 GB, free: 90.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.6499, allocations: 3.656 kB / 0.5104 GB, free: 90.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.651, allocations: 0.783 MB / 0.5112 GB, free: 90.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003316/0.6514, allocations: 179.5 kB / 0.5114 GB, free: 89.92 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.6515, allocations: 7.312 kB / 0.5114 GB, free: 89.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003754/0.6519, allocations: 47.67 kB / 0.5114 GB, free: 89.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/0.6521, allocations: 55.12 kB / 0.5115 GB, free: 89.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.718e-05/0.6521, allocations: 16.89 kB / 0.5115 GB, free: 89.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004257/0.6525, allocations: 329.8 kB / 0.5118 GB, free: 89.74 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6526, allocations: 0 / 0.5118 GB, free: 89.74 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001166/0.6537, allocations: 288.1 kB / 0.5121 GB, free: 89.69 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: 18 (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_p.off,rectifier.thyristor_n.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: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.off,rectifier.thyristor_p.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * 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 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001974/0.6539, allocations: 135.6 kB / 0.5122 GB, free: 89.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001811/0.6558, allocations: 1.014 MB / 0.5132 GB, free: 89.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.6558, allocations: 4 kB / 0.5132 GB, free: 89.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004973/0.6563, allocations: 371 kB / 0.5136 GB, free: 88.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005017/0.6568, allocations: 89 kB / 0.5137 GB, free: 88.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.6588, allocations: 1.307 MB / 0.5149 GB, free: 88.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.6592, allocations: 0.9293 MB / 0.5158 GB, free: 87.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003108/0.6595, allocations: 97.58 kB / 0.5159 GB, free: 87.37 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.336e-05/0.6596, allocations: 39.25 kB / 0.516 GB, free: 87.36 MB / 378.7 MB Notification: Performance of SimCode: time 6.92e-07/0.6596, allocations: 0 / 0.516 GB, free: 87.36 MB / 378.7 MB Notification: Performance of Templates: time 0.0139/0.6735, allocations: 7.641 MB / 0.5234 GB, free: 86.57 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/ThyristorCenterTap2Pulse_R/ThyristorCenterTap2Pulse_R.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches