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.001134/0.001135, allocations: 174.8 kB / 13.63 MB, free: 1.684 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.334/1.334, allocations: 221.3 MB / 235.5 MB, free: 2.859 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007957/0.0007957, allocations: 91.48 kB / 286.5 MB, free: 156 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.219e-05/2.23e-05, allocations: 4 kB / 343.8 MB, free: 4.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09395/0.09398, allocations: 50.41 MB / 394.3 MB, free: 1.809 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2831/0.3771, allocations: 88.99 MB / 483.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.3774, allocations: 87.78 kB / 483.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03526/0.4127, allocations: 14.06 MB / 497.4 MB, free: 264 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4127, allocations: 4 kB / 497.4 MB, free: 260 kB / 362.7 MB Notification: Performance of Transformations before backend: time 3.736e-05/0.4128, allocations: 16 kB / 497.4 MB, free: 244 kB / 362.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.00133/0.4141, allocations: 0.8689 MB / 498.3 MB, free: 15.31 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.4141, allocations: 8.031 kB / 498.3 MB, free: 15.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001329/0.4143, allocations: 90.95 kB / 498.4 MB, free: 15.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006897/0.415, allocations: 494.2 kB / 498.9 MB, free: 14.69 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.845e-05/0.415, allocations: 57.3 kB / 498.9 MB, free: 14.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.343e-05/0.4151, allocations: 64 kB / 499 MB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009846/0.4161, allocations: 0.6544 MB / 499.6 MB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.4162, allocations: 4 kB / 499.6 MB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.003e-05/0.4162, allocations: 27.98 kB / 499.7 MB, free: 13.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.4163, allocations: 20 kB / 499.7 MB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00073/0.417, allocations: 469.1 kB / 0.4884 GB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003146/0.4201, allocations: 2.419 MB / 0.4908 GB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006512/0.4208, allocations: 435.5 kB / 0.4912 GB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004409/0.4213, allocations: 256.8 kB / 0.4914 GB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.4213, allocations: 7.984 kB / 0.4915 GB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000454/0.4218, allocations: 312.7 kB / 0.4917 GB, free: 9.832 MB / 378.7 MB Notification: Performance of pre-optimization done (n=49): time 2.245e-06/0.4218, allocations: 0 / 0.4917 GB, free: 9.832 MB / 378.7 MB Notification: Performance of matching and sorting (n=49): time 0.0007416/0.4225, allocations: 452.3 kB / 0.4922 GB, free: 9.379 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.817e-05/0.4226, allocations: 170.6 kB / 0.4923 GB, free: 9.176 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004668/0.4231, allocations: 435.8 kB / 0.4928 GB, free: 8.742 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.925e-05/0.4232, allocations: 45.69 kB / 0.4928 GB, free: 8.691 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001978/0.4234, allocations: 324.3 kB / 0.4931 GB, free: 8.367 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.4235, allocations: 146 kB / 0.4933 GB, free: 8.223 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.931e-05/0.4235, allocations: 15.94 kB / 0.4933 GB, free: 8.207 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.4236, allocations: 370.7 kB / 0.4936 GB, free: 7.836 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/0.4239, allocations: 165.5 kB / 0.4938 GB, free: 7.676 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003449/0.4243, allocations: 323.7 kB / 0.4941 GB, free: 7.289 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002861/0.4246, allocations: 189.5 kB / 0.4943 GB, free: 7.105 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.4246, allocations: 3.938 kB / 0.4943 GB, free: 7.102 MB / 378.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008297/0.4254, allocations: 0.5741 MB / 0.4948 GB, free: 6.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004955/0.4259, allocations: 1.659 MB / 0.4965 GB, free: 4.723 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.4259, allocations: 4 kB / 0.4965 GB, free: 4.719 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002804/0.4262, allocations: 88.66 kB / 0.4965 GB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003525/0.4266, allocations: 99.83 kB / 0.4966 GB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00152/0.4281, allocations: 1.733 MB / 0.4983 GB, free: 2.664 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004554/0.4286, allocations: 95.55 kB / 0.4984 GB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.775e-05/0.4286, allocations: 20 kB / 0.4984 GB, free: 2.551 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.073e-06/0.4286, allocations: 4 kB / 0.4984 GB, free: 2.547 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007368/0.4294, allocations: 0.4994 MB / 0.4989 GB, free: 2.047 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.4294, allocations: 12 kB / 0.4989 GB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001914/0.4296, allocations: 72.83 kB / 0.499 GB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003093/0.4299, allocations: 91.83 kB / 0.4991 GB, free: 1.871 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/0.4313, allocations: 1.733 MB / 0.5008 GB, free: 4 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003819/0.4317, allocations: 79.56 kB / 0.5009 GB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.204e-05/0.4317, allocations: 23.94 kB / 0.5009 GB, free: 15.9 MB / 394.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 () * 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.0001464/0.4319, allocations: 156 kB / 0.501 GB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.912e-05/0.432, allocations: 59.3 kB / 0.5011 GB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001321/0.4321, allocations: 61.36 kB / 0.5012 GB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.4321, allocations: 12 kB / 0.5012 GB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.4321, allocations: 0 / 0.5012 GB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.4322, allocations: 0 / 0.5012 GB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/0.4338, allocations: 1.331 MB / 0.5025 GB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.4339, allocations: 4.094 kB / 0.5025 GB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002447/0.4341, allocations: 51.97 kB / 0.5025 GB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001934/0.4343, allocations: 72.75 kB / 0.5026 GB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-05/0.4344, allocations: 19.94 kB / 0.5026 GB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001305/0.4357, allocations: 1.637 MB / 0.5042 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4357, allocations: 3.938 kB / 0.5042 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.4368, allocations: 0.7947 MB / 0.505 GB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002064/0.437, allocations: 172.4 kB / 0.5051 GB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.993e-05/0.4371, allocations: 12 kB / 0.5052 GB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003412/0.4374, allocations: 47.95 kB / 0.5052 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.4375, allocations: 56.36 kB / 0.5053 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/0.4376, allocations: 15.98 kB / 0.5053 GB, free: 11.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000388/0.438, allocations: 329.6 kB / 0.5056 GB, free: 10.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.438, allocations: 0 / 0.5056 GB, free: 10.84 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008723/0.4389, allocations: 307.1 kB / 0.5059 GB, free: 10.54 MB / 394.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) * 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.0001972/0.4391, allocations: 146.4 kB / 0.506 GB, free: 10.38 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001342/0.4404, allocations: 0.9654 MB / 0.507 GB, free: 9.395 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4404, allocations: 0 / 0.507 GB, free: 9.395 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000484/0.4409, allocations: 364.9 kB / 0.5073 GB, free: 9.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004449/0.4414, allocations: 88.77 kB / 0.5074 GB, free: 8.938 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.443, allocations: 0.9054 MB / 0.5083 GB, free: 8.004 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005333/0.4435, allocations: 0.9424 MB / 0.5092 GB, free: 7.031 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004449/0.444, allocations: 128.6 kB / 0.5093 GB, free: 6.906 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.841e-05/0.4441, allocations: 39.42 kB / 0.5094 GB, free: 6.867 MB / 394.7 MB Notification: Performance of SimCode: time 6.61e-07/0.4441, allocations: 0 / 0.5094 GB, free: 6.867 MB / 394.7 MB Notification: Performance of Templates: time 0.01431/0.4584, allocations: 8.2 MB / 0.5174 GB, free: 14.79 MB / 410.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/jenkins/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