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_RL.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_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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 180.4 kB / 16.38 MB, free: 5.762 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.432/1.432, allocations: 223.2 MB / 240.3 MB, free: 10.11 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.0009954/0.0009953, allocations: 102.7 kB / 291.5 MB, free: 10.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003382/0.0003383, allocations: 8 kB / 351.1 MB, free: 15.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2469, allocations: 50.41 MB / 401.5 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1114/0.3583, allocations: 88.77 MB / 490.3 MB, free: 7.656 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/0.3587, allocations: 84.89 kB / 490.4 MB, free: 7.574 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03569/0.3944, allocations: 13.79 MB / 0.4923 GB, free: 9.715 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3944, allocations: 0 / 0.4923 GB, free: 9.715 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.061e-05/0.3944, allocations: 12 kB / 0.4924 GB, free: 9.703 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.001874/0.3963, allocations: 0.9271 MB / 0.4933 GB, free: 8.719 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.3964, allocations: 8.031 kB / 0.4933 GB, free: 8.711 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.3966, allocations: 79.06 kB / 0.4933 GB, free: 8.633 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008409/0.3974, allocations: 489.9 kB / 0.4938 GB, free: 8.109 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.168e-05/0.3975, allocations: 57.31 kB / 0.4939 GB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-05/0.3976, allocations: 67.92 kB / 0.4939 GB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.3988, allocations: 0.67 MB / 0.4946 GB, free: 7.293 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.746e-05/0.3988, allocations: 15.83 kB / 0.4946 GB, free: 7.277 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.979e-05/0.3989, allocations: 24 kB / 0.4946 GB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.209e-05/0.3989, allocations: 20 kB / 0.4946 GB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009393/0.3998, allocations: 0.5049 MB / 0.4951 GB, free: 6.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003549/0.4034, allocations: 2.368 MB / 0.4974 GB, free: 4.246 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007303/0.4041, allocations: 450.6 kB / 0.4979 GB, free: 3.801 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.4042, allocations: 4 kB / 0.4979 GB, free: 3.797 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005338/0.4047, allocations: 323.7 kB / 0.4982 GB, free: 3.461 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 2.305e-06/0.4047, allocations: 0 / 0.4982 GB, free: 3.461 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.001643/0.4064, allocations: 0.7702 MB / 0.4989 GB, free: 2.668 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.4065, allocations: 141 kB / 0.4991 GB, free: 2.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005634/0.4071, allocations: 440.8 kB / 0.4995 GB, free: 2.062 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.332e-05/0.4071, allocations: 41.7 kB / 0.4995 GB, free: 2.016 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002547/0.4074, allocations: 312.3 kB / 0.4998 GB, free: 1.707 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.4075, allocations: 150 kB / 0.5 GB, free: 1.559 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/0.4076, allocations: 12 kB / 0.5 GB, free: 1.547 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.4077, allocations: 374.7 kB / 0.5003 GB, free: 1.172 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003537/0.4081, allocations: 181 kB / 0.5005 GB, free: 0.9922 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00044/0.4085, allocations: 352.5 kB / 0.5009 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000356/0.4089, allocations: 204.7 kB / 0.501 GB, free: 392 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.4089, allocations: 4 kB / 0.5011 GB, free: 388 kB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.2148/0.6237, allocations: 0.6181 MB / 0.5017 GB, free: 95.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003906/0.6242, allocations: 1.574 MB / 0.5032 GB, free: 93.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.6242, allocations: 5.188 kB / 0.5032 GB, free: 93.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000363/0.6246, allocations: 80.17 kB / 0.5033 GB, free: 93.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004395/0.625, allocations: 97.58 kB / 0.5034 GB, free: 93.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001917/0.6269, allocations: 1.799 MB / 0.5051 GB, free: 92.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006422/0.6276, allocations: 91.17 kB / 0.5052 GB, free: 92.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.048e-05/0.6277, allocations: 21.59 kB / 0.5052 GB, free: 92.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.6277, allocations: 6.75 kB / 0.5052 GB, free: 92.55 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001079/0.6288, allocations: 0.5229 MB / 0.5057 GB, free: 92.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.6288, allocations: 7.859 kB / 0.5058 GB, free: 92.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002489/0.629, allocations: 79.03 kB / 0.5058 GB, free: 92.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003499/0.6294, allocations: 87.48 kB / 0.5059 GB, free: 92.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/0.631, allocations: 1.803 MB / 0.5077 GB, free: 91.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005139/0.6315, allocations: 75.23 kB / 0.5077 GB, free: 91.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.079e-05/0.6315, allocations: 21.03 kB / 0.5078 GB, free: 91.21 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 (62): * Single equations (assignments): 61 * 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 7} Notification: Performance of prepare postOptimizeDAE: time 0.0005136/0.6321, allocations: 307.9 kB / 0.5081 GB, free: 91.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.6322, allocations: 52.94 kB / 0.5081 GB, free: 91.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001375/0.6323, allocations: 63.94 kB / 0.5082 GB, free: 91.01 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.958e-06/0.6323, allocations: 5.344 kB / 0.5082 GB, free: 91.01 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.6324, allocations: 2.5 kB / 0.5082 GB, free: 91.01 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.6324, allocations: 5.734 kB / 0.5082 GB, free: 91.01 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002008/0.6344, allocations: 1.229 MB / 0.5094 GB, free: 90.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.6344, allocations: 0.875 kB / 0.5094 GB, free: 90.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002659/0.6347, allocations: 50.52 kB / 0.5094 GB, free: 90.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002298/0.6349, allocations: 73.23 kB / 0.5095 GB, free: 90.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.635, allocations: 12.97 kB / 0.5095 GB, free: 90.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001451/0.6364, allocations: 1.799 MB / 0.5113 GB, free: 89.35 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.6364, allocations: 3.953 kB / 0.5113 GB, free: 89.35 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.6375, allocations: 0.7982 MB / 0.5121 GB, free: 89.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001862/0.6377, allocations: 176.8 kB / 0.5122 GB, free: 89.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.435e-05/0.6378, allocations: 7.969 kB / 0.5122 GB, free: 89.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003166/0.6381, allocations: 58.94 kB / 0.5123 GB, free: 89.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.6382, allocations: 48.19 kB / 0.5123 GB, free: 89.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.6382, allocations: 16.97 kB / 0.5124 GB, free: 89.01 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003389/0.6386, allocations: 338.6 kB / 0.5127 GB, free: 88.85 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6386, allocations: 0 / 0.5127 GB, free: 88.85 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009532/0.6396, allocations: 291.1 kB / 0.513 GB, free: 88.8 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * 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 (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 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001874/0.6397, allocations: 136.9 kB / 0.5131 GB, free: 88.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001398/0.6411, allocations: 1.012 MB / 0.5141 GB, free: 88.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.6412, allocations: 3.625 kB / 0.5141 GB, free: 88.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004193/0.6416, allocations: 370.5 kB / 0.5144 GB, free: 87.99 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/0.642, allocations: 92.97 kB / 0.5145 GB, free: 87.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.6438, allocations: 1.419 MB / 0.5159 GB, free: 87.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.6441, allocations: 0.9366 MB / 0.5168 GB, free: 86.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002949/0.6444, allocations: 101.2 kB / 0.5169 GB, free: 86.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.851e-05/0.6445, allocations: 37.41 kB / 0.5169 GB, free: 86.38 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6445, allocations: 0 / 0.5169 GB, free: 86.38 MB / 378.7 MB Notification: Performance of Templates: time 0.01173/0.6563, allocations: 7.52 MB / 0.5243 GB, free: 85.74 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/ThyristorCenterTap2Pulse_RL/ThyristorCenterTap2Pulse_RL.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches