Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.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.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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001488/0.001488, allocations: 202.7 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.23/1.23, allocations: 227.2 MB / 245 MB, free: 7.594 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008928/0.000893, allocations: 98.5 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001922/0.0001922, allocations: 8 kB / 358 MB, free: 9.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2061, allocations: 51.49 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1001/0.3062, allocations: 89.59 MB / 499 MB, free: 1.012 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.3065, allocations: 87.94 kB / 499.1 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03546/0.342, allocations: 13.9 MB / 0.501 GB, free: 2.953 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.342, allocations: 0 / 0.501 GB, free: 2.953 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.365e-05/0.3421, allocations: 20 kB / 0.501 GB, free: 2.934 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.001555/0.3436, allocations: 0.931 MB / 0.5019 GB, free: 1.945 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.3437, allocations: 12.03 kB / 0.5019 GB, free: 1.934 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003134/0.344, allocations: 114.9 kB / 0.502 GB, free: 1.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007247/0.3448, allocations: 489.9 kB / 0.5025 GB, free: 1.297 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.883e-05/0.3448, allocations: 49.31 kB / 0.5026 GB, free: 1.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.113e-05/0.3449, allocations: 67.98 kB / 0.5026 GB, free: 1.184 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.346, allocations: 0.6739 MB / 0.5033 GB, free: 496 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.3461, allocations: 0 / 0.5033 GB, free: 496 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.012e-05/0.3461, allocations: 28 kB / 0.5033 GB, free: 468 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.3462, allocations: 12 kB / 0.5033 GB, free: 456 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1921/0.5382, allocations: 0.507 MB / 0.5038 GB, free: 90.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005197/0.5435, allocations: 2.383 MB / 0.5061 GB, free: 90.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008135/0.5443, allocations: 451 kB / 0.5066 GB, free: 90.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.843e-05/0.5444, allocations: 4.625 kB / 0.5066 GB, free: 90.08 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006344/0.545, allocations: 321.6 kB / 0.5069 GB, free: 90.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 4.207e-06/0.5451, allocations: 0 / 0.5069 GB, free: 90.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.00183/0.5469, allocations: 0.7743 MB / 0.5076 GB, free: 89.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.547, allocations: 142.9 kB / 0.5078 GB, free: 89.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006256/0.5476, allocations: 447.6 kB / 0.5082 GB, free: 89.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.387e-05/0.5477, allocations: 44.61 kB / 0.5082 GB, free: 89.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.5479, allocations: 319 kB / 0.5085 GB, free: 89.4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.548, allocations: 148.6 kB / 0.5087 GB, free: 89.33 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/0.548, allocations: 8.75 kB / 0.5087 GB, free: 89.33 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.426e-05/0.5481, allocations: 365.5 kB / 0.509 GB, free: 89.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003462/0.5485, allocations: 189.8 kB / 0.5092 GB, free: 89.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005029/0.549, allocations: 356.6 kB / 0.5096 GB, free: 88.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000412/0.5494, allocations: 211.9 kB / 0.5098 GB, free: 88.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.5495, allocations: 1.25 kB / 0.5098 GB, free: 88.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001259/0.5507, allocations: 0.6336 MB / 0.5104 GB, free: 88.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003011/0.551, allocations: 1.575 MB / 0.5119 GB, free: 87.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.5511, allocations: 3.688 kB / 0.5119 GB, free: 87.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003466/0.5514, allocations: 85.56 kB / 0.512 GB, free: 87.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004083/0.5518, allocations: 93.34 kB / 0.5121 GB, free: 87.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001557/0.5534, allocations: 1.795 MB / 0.5139 GB, free: 85.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000494/0.5539, allocations: 90.05 kB / 0.5139 GB, free: 85.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.871e-05/0.5539, allocations: 22.16 kB / 0.514 GB, free: 85.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.706e-06/0.554, allocations: 2.906 kB / 0.514 GB, free: 85.46 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007506/0.5547, allocations: 0.521 MB / 0.5145 GB, free: 85.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.5547, allocations: 7.875 kB / 0.5145 GB, free: 85.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001931/0.5549, allocations: 86.38 kB / 0.5146 GB, free: 85.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002897/0.5552, allocations: 88.88 kB / 0.5146 GB, free: 85.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001296/0.5565, allocations: 1.793 MB / 0.5164 GB, free: 83.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004209/0.557, allocations: 77.41 kB / 0.5165 GB, free: 83.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.34e-05/0.557, allocations: 27.38 kB / 0.5165 GB, free: 83.56 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.0003514/0.5574, allocations: 308.8 kB / 0.5168 GB, free: 83.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.599e-05/0.5575, allocations: 58.22 kB / 0.5168 GB, free: 83.28 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.5576, allocations: 63.81 kB / 0.5169 GB, free: 83.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.5576, allocations: 3.5 kB / 0.5169 GB, free: 83.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.5576, allocations: 4 kB / 0.5169 GB, free: 83.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.882e-06/0.5576, allocations: 5.594 kB / 0.5169 GB, free: 83.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001627/0.5593, allocations: 1.226 MB / 0.5181 GB, free: 82.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.5593, allocations: 0 / 0.5181 GB, free: 82.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002417/0.5595, allocations: 51.2 kB / 0.5182 GB, free: 82.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001927/0.5597, allocations: 71.33 kB / 0.5182 GB, free: 82.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.726e-05/0.5598, allocations: 14.91 kB / 0.5182 GB, free: 82.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001316/0.5611, allocations: 1.803 MB / 0.52 GB, free: 80.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5611, allocations: 4.062 kB / 0.52 GB, free: 80.92 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.5622, allocations: 0.7988 MB / 0.5208 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002279/0.5624, allocations: 177.7 kB / 0.521 GB, free: 80.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.358e-05/0.5625, allocations: 12.64 kB / 0.521 GB, free: 80.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003362/0.5628, allocations: 42.62 kB / 0.521 GB, free: 80.35 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.563, allocations: 57.41 kB / 0.5211 GB, free: 80.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.052e-05/0.563, allocations: 19.42 kB / 0.5211 GB, free: 80.33 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004005/0.5634, allocations: 340.5 kB / 0.5214 GB, free: 80.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.5634, allocations: 0 / 0.5214 GB, free: 80.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008758/0.5643, allocations: 303.7 kB / 0.5217 GB, free: 80.09 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.0001659/0.5645, allocations: 144 kB / 0.5218 GB, free: 79.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001508/0.566, allocations: 1.012 MB / 0.5228 GB, free: 79.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.566, allocations: 0.5 kB / 0.5228 GB, free: 79.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004184/0.5665, allocations: 369.2 kB / 0.5232 GB, free: 79.28 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/0.5669, allocations: 95.06 kB / 0.5233 GB, free: 79.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.5687, allocations: 1.425 MB / 0.5247 GB, free: 78.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.5691, allocations: 0.9417 MB / 0.5256 GB, free: 77.67 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003058/0.5694, allocations: 98.98 kB / 0.5257 GB, free: 77.65 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.047e-05/0.5695, allocations: 42.36 kB / 0.5257 GB, free: 77.64 MB / 378.7 MB Notification: Performance of SimCode: time 4.6e-07/0.5695, allocations: 0 / 0.5257 GB, free: 77.64 MB / 378.7 MB Notification: Performance of Templates: time 0.01078/0.5803, allocations: 7.613 MB / 0.5332 GB, free: 75.05 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches