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_RLV.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_RLV,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_RLV") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,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_RLV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 177.2 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.33/1.33, allocations: 223.3 MB / 241.4 MB, free: 9.98 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.0007234/0.0007234, allocations: 96.77 kB / 292.6 MB, free: 10.59 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003123/0.0003123, allocations: 19.94 kB / 352.4 MB, free: 14.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.244, allocations: 50.39 MB / 402.8 MB, free: 32.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.107/0.3511, allocations: 89.16 MB / 491.9 MB, free: 7.152 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/0.3513, allocations: 87.95 kB / 492 MB, free: 7.066 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03712/0.3885, allocations: 14.09 MB / 0.4942 GB, free: 8.906 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3885, allocations: 0 / 0.4942 GB, free: 8.906 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.925e-05/0.3886, allocations: 16 kB / 0.4942 GB, free: 8.891 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.002618/0.3912, allocations: 0.9393 MB / 0.4952 GB, free: 7.891 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.979e-05/0.3913, allocations: 8.031 kB / 0.4952 GB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005283/0.3918, allocations: 87.91 kB / 0.4953 GB, free: 7.797 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/0.3934, allocations: 0.495 MB / 0.4957 GB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.041e-05/0.3935, allocations: 53.69 kB / 0.4958 GB, free: 7.207 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002129/0.3937, allocations: 68.38 kB / 0.4959 GB, free: 7.141 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.3954, allocations: 0.6978 MB / 0.4965 GB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.52e-05/0.3954, allocations: 8.094 kB / 0.4965 GB, free: 6.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-05/0.3955, allocations: 31.94 kB / 0.4966 GB, free: 6.379 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-05/0.3955, allocations: 19.98 kB / 0.4966 GB, free: 6.359 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0013/0.3968, allocations: 0.5165 MB / 0.4971 GB, free: 5.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004269/0.4011, allocations: 2.419 MB / 0.4995 GB, free: 3.309 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000789/0.4019, allocations: 460.1 kB / 0.4999 GB, free: 2.852 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005202/0.4025, allocations: 264.7 kB / 0.5002 GB, free: 2.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.24e-05/0.4025, allocations: 8 kB / 0.5002 GB, free: 2.582 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006019/0.4031, allocations: 336.3 kB / 0.5005 GB, free: 2.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=49): time 3.546e-06/0.4032, allocations: 4 kB / 0.5005 GB, free: 2.227 MB / 378.7 MB Notification: Performance of matching and sorting (n=49): time 0.001788/0.405, allocations: 0.7775 MB / 0.5012 GB, free: 1.426 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.4051, allocations: 166.7 kB / 0.5014 GB, free: 1.227 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007422/0.4058, allocations: 0.494 MB / 0.5019 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.541e-05/0.4059, allocations: 41.7 kB / 0.5019 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002597/0.4062, allocations: 324.3 kB / 0.5022 GB, free: 364 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.4063, allocations: 149.9 kB / 0.5024 GB, free: 212 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.4064, allocations: 16 kB / 0.5024 GB, free: 196 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.1854/0.5917, allocations: 363.4 kB / 0.5027 GB, free: 95.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006488/0.5924, allocations: 191.1 kB / 0.5029 GB, free: 95.33 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006275/0.5931, allocations: 358.2 kB / 0.5033 GB, free: 95.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008965/0.594, allocations: 494.6 kB / 0.5037 GB, free: 95.01 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.594, allocations: 0.7812 kB / 0.5037 GB, free: 95.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001454/0.5954, allocations: 0.6382 MB / 0.5044 GB, free: 94.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.405e-05/0.5955, allocations: 214.8 kB / 0.5046 GB, free: 94.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.5956, allocations: 8.844 kB / 0.5046 GB, free: 94.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003078/0.5959, allocations: 83.31 kB / 0.5046 GB, free: 94.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003769/0.5963, allocations: 98.05 kB / 0.5047 GB, free: 94.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001565/0.5978, allocations: 1.735 MB / 0.5064 GB, free: 93.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000549/0.5984, allocations: 90.94 kB / 0.5065 GB, free: 93.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-05/0.5985, allocations: 25.77 kB / 0.5065 GB, free: 93.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.5985, allocations: 4.094 kB / 0.5066 GB, free: 93.41 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001075/0.5996, allocations: 0.5362 MB / 0.5071 GB, free: 93.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.5996, allocations: 5 kB / 0.5071 GB, free: 93.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002249/0.5998, allocations: 81.91 kB / 0.5072 GB, free: 93.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003361/0.6002, allocations: 90.52 kB / 0.5072 GB, free: 93.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001626/0.6018, allocations: 1.74 MB / 0.5089 GB, free: 92.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005481/0.6024, allocations: 77.95 kB / 0.509 GB, free: 92.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.235e-05/0.6024, allocations: 22.69 kB / 0.509 GB, free: 92.02 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 (64): * Single equations (assignments): 63 * 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.0005115/0.6029, allocations: 309.8 kB / 0.5093 GB, free: 91.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.997e-05/0.6031, allocations: 63.94 kB / 0.5094 GB, free: 91.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/0.6032, allocations: 63.56 kB / 0.5095 GB, free: 91.81 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.6032, allocations: 5.438 kB / 0.5095 GB, free: 91.81 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.6032, allocations: 0 / 0.5095 GB, free: 91.81 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.6032, allocations: 3.5 kB / 0.5095 GB, free: 91.81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001785/0.605, allocations: 1.36 MB / 0.5108 GB, free: 91.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.605, allocations: 2.812 kB / 0.5108 GB, free: 91.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002268/0.6053, allocations: 55.77 kB / 0.5108 GB, free: 91.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001922/0.6055, allocations: 73.59 kB / 0.5109 GB, free: 91.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.175e-05/0.6055, allocations: 15.48 kB / 0.5109 GB, free: 91.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001203/0.6067, allocations: 1.65 MB / 0.5125 GB, free: 90.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.6067, allocations: 3.562 kB / 0.5125 GB, free: 90.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.6079, allocations: 0.8316 MB / 0.5134 GB, free: 89.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001839/0.6081, allocations: 184.5 kB / 0.5135 GB, free: 89.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.396e-05/0.6081, allocations: 10.66 kB / 0.5135 GB, free: 89.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003051/0.6084, allocations: 37.92 kB / 0.5136 GB, free: 89.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.6086, allocations: 57.8 kB / 0.5136 GB, free: 89.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/0.6086, allocations: 18.22 kB / 0.5137 GB, free: 89.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003709/0.609, allocations: 354.8 kB / 0.514 GB, free: 89.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.609, allocations: 3.531 kB / 0.514 GB, free: 89.26 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009928/0.61, allocations: 295.2 kB / 0.5143 GB, free: 89.21 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 (42): * Single equations (assignments): 36 * 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.0001811/0.6102, allocations: 139 kB / 0.5144 GB, free: 89.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001388/0.6116, allocations: 1.015 MB / 0.5154 GB, free: 88.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.6116, allocations: 1.188 kB / 0.5154 GB, free: 88.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004041/0.612, allocations: 383 kB / 0.5158 GB, free: 88.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005762/0.6126, allocations: 89.61 kB / 0.5159 GB, free: 88.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.6145, allocations: 1.468 MB / 0.5173 GB, free: 87.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.6148, allocations: 0.9237 MB / 0.5182 GB, free: 86.76 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003339/0.6152, allocations: 103.5 kB / 0.5183 GB, free: 86.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.077e-05/0.6153, allocations: 43.33 kB / 0.5183 GB, free: 86.74 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6153, allocations: 0 / 0.5183 GB, free: 86.74 MB / 378.7 MB Notification: Performance of Templates: time 0.0115/0.6268, allocations: 7.65 MB / 0.5258 GB, free: 85.5 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/ThyristorCenterTap2Pulse_RLV/ThyristorCenterTap2Pulse_RLV.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches