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_Characteristic.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_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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_Characteristic") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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_Characteristic") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009738/0.000974, allocations: 184.8 kB / 8.134 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.157/1.157, allocations: 221.4 MB / 229.9 MB, free: 3.09 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.0009007/0.0009009, allocations: 92.48 kB / 280.8 MB, free: 1.289 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.123e-06/7.243e-06, allocations: 4 kB / 336.5 MB, free: 9.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2023, allocations: 50.39 MB / 386.9 MB, free: 38.09 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09384/0.2962, allocations: 88.46 MB / 475.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002013/0.2964, allocations: 87.88 kB / 475.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.03626/0.3327, allocations: 13.85 MB / 489.3 MB, free: 484 kB / 362.7 MB Notification: Performance of Transformations before backend: time 3.807e-05/0.3327, allocations: 24 kB / 489.3 MB, free: 460 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001488/0.3342, allocations: 0.9009 MB / 490.2 MB, free: 15.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.3343, allocations: 12.03 kB / 490.3 MB, free: 15.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.3344, allocations: 82.97 kB / 490.3 MB, free: 15.4 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007136/0.3352, allocations: 497.8 kB / 490.8 MB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/0.3352, allocations: 20 kB / 490.8 MB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.128e-05/0.3353, allocations: 43.98 kB / 490.9 MB, free: 14.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007878/0.3361, allocations: 446.5 kB / 491.3 MB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009539/0.3371, allocations: 0.5816 MB / 491.9 MB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/0.3371, allocations: 3.938 kB / 491.9 MB, free: 13.76 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.488e-05/0.3372, allocations: 7.969 kB / 491.9 MB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/0.3372, allocations: 23.84 kB / 491.9 MB, free: 13.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003362/0.3405, allocations: 2.265 MB / 494.2 MB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.3416, allocations: 0.4968 MB / 494.7 MB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004921/0.3421, allocations: 274.1 kB / 495 MB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.371e-05/0.3421, allocations: 8.422 kB / 495 MB, free: 10.58 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004548/0.3426, allocations: 288 kB / 495.3 MB, free: 10.28 MB / 378.7 MB Notification: Performance of pre-optimization done (n=52): time 2.355e-06/0.3426, allocations: 0 / 495.3 MB, free: 10.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=52): time 0.0008326/0.3434, allocations: 435.3 kB / 495.7 MB, free: 9.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.987e-05/0.3435, allocations: 170.6 kB / 495.8 MB, free: 9.637 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004317/0.344, allocations: 353 kB / 496.2 MB, free: 9.289 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.406e-05/0.3441, allocations: 33.7 kB / 496.2 MB, free: 9.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001868/0.3442, allocations: 264.2 kB / 496.5 MB, free: 8.984 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/0.3444, allocations: 149.9 kB / 496.6 MB, free: 8.836 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.237e-05/0.3444, allocations: 0 / 496.6 MB, free: 8.836 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.3446, allocations: 362.8 kB / 497 MB, free: 8.473 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002744/0.3449, allocations: 157.3 kB / 497.1 MB, free: 8.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003854/0.3453, allocations: 325 kB / 497.5 MB, free: 7.938 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002806/0.3456, allocations: 176.6 kB / 497.6 MB, free: 7.762 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/0.3456, allocations: 8 kB / 497.6 MB, free: 7.754 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008682/0.3465, allocations: 0.523 MB / 498.2 MB, free: 7.227 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005861/0.347, allocations: 1.657 MB / 499.8 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.3471, allocations: 8 kB / 499.8 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003302/0.3474, allocations: 76.81 kB / 499.9 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004558/0.3479, allocations: 111.8 kB / 0.4883 GB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001635/0.3495, allocations: 1.545 MB / 0.4898 GB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005134/0.35, allocations: 79.55 kB / 0.4899 GB, free: 3.508 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.602e-05/0.3501, allocations: 24 kB / 0.4899 GB, free: 3.484 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.3501, allocations: 7.125 kB / 0.4899 GB, free: 3.48 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007789/0.3509, allocations: 454 kB / 0.4903 GB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.3509, allocations: 4.047 kB / 0.4903 GB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000228/0.3512, allocations: 80.81 kB / 0.4904 GB, free: 2.949 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003836/0.3516, allocations: 108.3 kB / 0.4905 GB, free: 2.844 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001438/0.353, allocations: 1.549 MB / 0.492 GB, free: 1.172 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000461/0.3535, allocations: 63.72 kB / 0.4921 GB, free: 1.109 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.307e-05/0.3535, allocations: 31.98 kB / 0.4921 GB, free: 1.078 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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.0001908/0.3537, allocations: 142.8 kB / 0.4923 GB, free: 0.9375 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.736e-05/0.3538, allocations: 55.28 kB / 0.4923 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001383/0.354, allocations: 56.98 kB / 0.4924 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.354, allocations: 4 kB / 0.4924 GB, free: 0.8242 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.354, allocations: 4 kB / 0.4924 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.354, allocations: 0 / 0.4924 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1114/0.4654, allocations: 1.212 MB / 0.4936 GB, free: 133.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.4655, allocations: 0 / 0.4936 GB, free: 133.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003953/0.4659, allocations: 82.14 kB / 0.4936 GB, free: 133.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002176/0.4661, allocations: 66.5 kB / 0.4937 GB, free: 133.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.554e-05/0.4661, allocations: 6.453 kB / 0.4937 GB, free: 133.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001046/0.4672, allocations: 1.537 MB / 0.4952 GB, free: 132.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.4672, allocations: 0 / 0.4952 GB, free: 132.6 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008966/0.4681, allocations: 0.7799 MB / 0.496 GB, free: 132.4 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001845/0.4683, allocations: 172.9 kB / 0.4961 GB, free: 132.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.311e-05/0.4684, allocations: 13.33 kB / 0.4961 GB, free: 132.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003988/0.4688, allocations: 55.66 kB / 0.4962 GB, free: 132.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.172e-05/0.4689, allocations: 35.91 kB / 0.4962 GB, free: 132.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.199e-05/0.4689, allocations: 15.09 kB / 0.4962 GB, free: 132.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002421/0.4692, allocations: 262 kB / 0.4965 GB, free: 132.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007359/0.4699, allocations: 273.7 kB / 0.4968 GB, free: 132.3 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 39 * 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.0001615/0.4701, allocations: 139.5 kB / 0.4969 GB, free: 132.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001067/0.4712, allocations: 0.8971 MB / 0.4978 GB, free: 132 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4712, allocations: 0 / 0.4978 GB, free: 132 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003634/0.4716, allocations: 335.8 kB / 0.4981 GB, free: 131.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000432/0.472, allocations: 72.8 kB / 0.4982 GB, free: 131.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.4737, allocations: 0.9188 MB / 0.4991 GB, free: 131.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004151/0.4741, allocations: 0.9857 MB / 0.5 GB, free: 130.9 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4742, allocations: 0 / 0.5 GB, free: 130.9 MB / 378.7 MB Notification: Performance of Templates: time 0.01423/0.4884, allocations: 9.27 MB / 0.5091 GB, free: 130.7 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic_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_Characteristic/ThyristorCenterTap2Pulse_RLV_Characteristic.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches