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.0008783/0.0008782, allocations: 171 kB / 17.4 MB, free: 4.422 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.478/1.478, allocations: 223.3 MB / 241.4 MB, free: 11.75 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.0008194/0.0008194, allocations: 93.62 kB / 292.6 MB, free: 10.79 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002918/0.0002918, allocations: 8 kB / 352.4 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2391, allocations: 50.4 MB / 402.8 MB, free: 32.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1137/0.3529, allocations: 88.86 MB / 491.6 MB, free: 7.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003818/0.3533, allocations: 87.94 kB / 491.7 MB, free: 7.395 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05156/0.4049, allocations: 13.79 MB / 0.4937 GB, free: 9.527 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4049, allocations: 0 / 0.4937 GB, free: 9.527 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.639e-05/0.405, allocations: 16 kB / 0.4937 GB, free: 9.512 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.00263/0.4077, allocations: 0.9156 MB / 0.4946 GB, free: 8.535 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.4077, allocations: 8.031 kB / 0.4946 GB, free: 8.527 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002678/0.408, allocations: 87.94 kB / 0.4947 GB, free: 8.441 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00098/0.409, allocations: 499 kB / 0.4951 GB, free: 7.914 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.789e-05/0.4091, allocations: 49.69 kB / 0.4952 GB, free: 7.863 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/0.4092, allocations: 64.31 kB / 0.4952 GB, free: 7.801 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0021/0.4114, allocations: 0.6861 MB / 0.4959 GB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.47e-05/0.4114, allocations: 8.078 kB / 0.4959 GB, free: 7.082 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.4115, allocations: 27.94 kB / 0.4959 GB, free: 7.055 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.528e-05/0.4116, allocations: 23.98 kB / 0.496 GB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/0.4133, allocations: 0.5048 MB / 0.4965 GB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005748/0.419, allocations: 2.368 MB / 0.4988 GB, free: 4.043 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/0.4203, allocations: 451.6 kB / 0.4992 GB, free: 3.594 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008358/0.4211, allocations: 268.7 kB / 0.4995 GB, free: 3.328 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.37e-05/0.4212, allocations: 4 kB / 0.4995 GB, free: 3.324 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008518/0.4221, allocations: 332.2 kB / 0.4998 GB, free: 2.977 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 3.967e-06/0.4221, allocations: 4 kB / 0.4998 GB, free: 2.973 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.0025/0.4246, allocations: 0.7661 MB / 0.5005 GB, free: 2.184 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000154/0.4248, allocations: 170.6 kB / 0.5007 GB, free: 1.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.4259, allocations: 489.7 kB / 0.5012 GB, free: 1.496 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.195e-05/0.426, allocations: 41.7 kB / 0.5012 GB, free: 1.449 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004044/0.4265, allocations: 316.3 kB / 0.5015 GB, free: 1.133 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001966/0.4267, allocations: 150 kB / 0.5016 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.4267, allocations: 11.94 kB / 0.5017 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002166/0.4269, allocations: 366.7 kB / 0.502 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005762/0.4275, allocations: 197 kB / 0.5022 GB, free: 420 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007469/0.4283, allocations: 351.8 kB / 0.5025 GB, free: 8 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2616/0.6899, allocations: 488 kB / 0.503 GB, free: 95.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.374e-05/0.69, allocations: 1.406 kB / 0.503 GB, free: 95.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002197/0.6922, allocations: 0.6304 MB / 0.5036 GB, free: 95.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001782/0.6924, allocations: 214.1 kB / 0.5038 GB, free: 95.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.94e-05/0.6924, allocations: 4.906 kB / 0.5038 GB, free: 95.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004841/0.6929, allocations: 80.75 kB / 0.5039 GB, free: 95.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006366/0.6935, allocations: 99.38 kB / 0.504 GB, free: 95.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002253/0.6958, allocations: 1.737 MB / 0.5057 GB, free: 93.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007529/0.6966, allocations: 96.42 kB / 0.5058 GB, free: 93.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-05/0.6967, allocations: 20.39 kB / 0.5058 GB, free: 93.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.6967, allocations: 6.781 kB / 0.5058 GB, free: 93.79 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001409/0.6981, allocations: 0.5286 MB / 0.5063 GB, free: 93.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.6981, allocations: 3.781 kB / 0.5063 GB, free: 93.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000333/0.6985, allocations: 87.94 kB / 0.5064 GB, free: 93.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004959/0.699, allocations: 91.11 kB / 0.5065 GB, free: 93.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002322/0.7013, allocations: 1.733 MB / 0.5082 GB, free: 92.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006508/0.702, allocations: 74.81 kB / 0.5083 GB, free: 92.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.833e-05/0.7021, allocations: 23.62 kB / 0.5083 GB, free: 92.41 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0005608/0.7026, allocations: 316.2 kB / 0.5086 GB, free: 92.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.7028, allocations: 60.27 kB / 0.5086 GB, free: 92.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001486/0.7029, allocations: 59.5 kB / 0.5087 GB, free: 92.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.7029, allocations: 4.469 kB / 0.5087 GB, free: 92.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.703, allocations: 1.281 kB / 0.5087 GB, free: 92.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.703, allocations: 7.812 kB / 0.5087 GB, free: 92.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002995/0.706, allocations: 1.344 MB / 0.51 GB, free: 91.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.706, allocations: 3.406 kB / 0.51 GB, free: 91.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003423/0.7063, allocations: 56.77 kB / 0.5101 GB, free: 91.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002779/0.7066, allocations: 70.27 kB / 0.5102 GB, free: 91.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.32e-05/0.7067, allocations: 11.09 kB / 0.5102 GB, free: 91.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001738/0.7084, allocations: 1.65 MB / 0.5118 GB, free: 90.51 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.7085, allocations: 7.688 kB / 0.5118 GB, free: 90.51 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.7102, allocations: 0.8234 MB / 0.5126 GB, free: 90.15 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002551/0.7105, allocations: 175.1 kB / 0.5128 GB, free: 90 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.692e-05/0.7106, allocations: 14.91 kB / 0.5128 GB, free: 90 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004879/0.7111, allocations: 46.66 kB / 0.5128 GB, free: 89.99 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/0.7113, allocations: 57.64 kB / 0.5129 GB, free: 89.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-05/0.7113, allocations: 19.17 kB / 0.5129 GB, free: 89.97 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005749/0.7119, allocations: 334.6 kB / 0.5132 GB, free: 89.81 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.7119, allocations: 0 / 0.5132 GB, free: 89.81 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001516/0.7135, allocations: 297.7 kB / 0.5135 GB, free: 89.76 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (41): * Single equations (assignments): 35 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002012/0.7137, allocations: 138.3 kB / 0.5136 GB, free: 89.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002131/0.7158, allocations: 1.011 MB / 0.5146 GB, free: 89.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.7158, allocations: 0 / 0.5146 GB, free: 89.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006242/0.7165, allocations: 374.1 kB / 0.515 GB, free: 88.94 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000927/0.7174, allocations: 97 kB / 0.5151 GB, free: 88.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002677/0.7201, allocations: 1.426 MB / 0.5164 GB, free: 88.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/0.7206, allocations: 0.9183 MB / 0.5173 GB, free: 87.33 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005568/0.7212, allocations: 102.6 kB / 0.5174 GB, free: 87.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.7213, allocations: 40.06 kB / 0.5175 GB, free: 87.31 MB / 378.7 MB Notification: Performance of SimCode: time 4.81e-07/0.7213, allocations: 3.391 kB / 0.5175 GB, free: 87.31 MB / 378.7 MB Notification: Performance of Templates: time 0.01942/0.7408, allocations: 7.559 MB / 0.5249 GB, free: 86.34 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/jenkins1/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