Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.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_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_trunk_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_trunk_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 trunk/package.mo): time 0.001045/0.001045, allocations: 203.4 kB / 8.542 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.163/1.163, allocations: 225.5 MB / 234.4 MB, free: 14.96 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009229/0.0009229, allocations: 98.19 kB / 286.4 MB, free: 12.64 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.164e-06/7.354e-06, allocations: 0 / 343.2 MB, free: 3.828 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2297, allocations: 51.46 MB / 394.6 MB, free: 33.22 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1077/0.3374, allocations: 89.29 MB / 483.9 MB, free: 7.789 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/0.3377, allocations: 91.86 kB / 484 MB, free: 7.699 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.03826/0.376, allocations: 13.95 MB / 497.9 MB, free: 9.727 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.476e-05/0.376, allocations: 16 kB / 498 MB, free: 9.711 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001864/0.3779, allocations: 0.9097 MB / 498.9 MB, free: 8.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.378, allocations: 8.031 kB / 498.9 MB, free: 8.742 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004509/0.3784, allocations: 114.9 kB / 499 MB, free: 8.629 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009858/0.3794, allocations: 0.4939 MB / 499.5 MB, free: 8.094 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.051e-05/0.3795, allocations: 24 kB / 499.5 MB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.3796, allocations: 43.98 kB / 499.5 MB, free: 8.027 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009038/0.3805, allocations: 450.4 kB / 500 MB, free: 7.586 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.3816, allocations: 0.5777 MB / 0.4888 GB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/0.3816, allocations: 0 / 0.4888 GB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.418e-05/0.3817, allocations: 0 / 0.4888 GB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/0.3817, allocations: 19.98 kB / 0.4889 GB, free: 6.965 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003635/0.3853, allocations: 2.288 MB / 0.4911 GB, free: 4.574 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.3864, allocations: 0.5005 MB / 0.4916 GB, free: 4.066 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005005/0.3869, allocations: 274 kB / 0.4918 GB, free: 3.797 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.028e-05/0.3869, allocations: 4.438 kB / 0.4918 GB, free: 3.793 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004421/0.3874, allocations: 299.8 kB / 0.4921 GB, free: 3.477 MB / 378.7 MB Notification: Performance of pre-optimization done (n=52): time 3.266e-06/0.3874, allocations: 3.984 kB / 0.4921 GB, free: 3.473 MB / 378.7 MB Notification: Performance of matching and sorting (n=52): time 0.0008073/0.3882, allocations: 435.3 kB / 0.4925 GB, free: 3.035 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.338e-05/0.3883, allocations: 170.6 kB / 0.4927 GB, free: 2.832 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004764/0.3888, allocations: 349.1 kB / 0.493 GB, free: 2.484 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.099e-05/0.3889, allocations: 37.69 kB / 0.4931 GB, free: 2.441 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.3891, allocations: 264 kB / 0.4933 GB, free: 2.176 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.3892, allocations: 161.8 kB / 0.4935 GB, free: 2.016 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/0.3892, allocations: 0 / 0.4935 GB, free: 2.016 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3894, allocations: 358.8 kB / 0.4938 GB, free: 1.656 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002848/0.3897, allocations: 161.3 kB / 0.494 GB, free: 1.496 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000364/0.39, allocations: 321 kB / 0.4943 GB, free: 1.117 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003017/0.3904, allocations: 176.7 kB / 0.4945 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.3904, allocations: 4 kB / 0.4945 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008914/0.3913, allocations: 0.5225 MB / 0.495 GB, free: 416 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.1207/0.512, allocations: 1.657 MB / 0.4966 GB, free: 128.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.5121, allocations: 10.69 kB / 0.4966 GB, free: 128.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003424/0.5124, allocations: 75 kB / 0.4967 GB, free: 128.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004971/0.5129, allocations: 111.6 kB / 0.4968 GB, free: 128.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001188/0.5141, allocations: 1.557 MB / 0.4983 GB, free: 127 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004822/0.5146, allocations: 73 kB / 0.4984 GB, free: 127 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.719e-05/0.5147, allocations: 25.86 kB / 0.4984 GB, free: 127 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.019e-06/0.5147, allocations: 3.656 kB / 0.4984 GB, free: 127 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006285/0.5153, allocations: 450.8 kB / 0.4988 GB, free: 127 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.5153, allocations: 10.78 kB / 0.4988 GB, free: 127 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001878/0.5155, allocations: 71.81 kB / 0.4989 GB, free: 127 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003572/0.5159, allocations: 105.4 kB / 0.499 GB, free: 127 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001057/0.5169, allocations: 1.557 MB / 0.5005 GB, free: 125.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003932/0.5173, allocations: 62.42 kB / 0.5006 GB, free: 125.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/0.5174, allocations: 20.06 kB / 0.5006 GB, free: 125.8 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.0001466/0.5175, allocations: 141.6 kB / 0.5007 GB, free: 125.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.594e-05/0.5176, allocations: 57.16 kB / 0.5008 GB, free: 125.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.5178, allocations: 54.92 kB / 0.5008 GB, free: 125.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.5178, allocations: 10.61 kB / 0.5009 GB, free: 125.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.5178, allocations: 3.438 kB / 0.5009 GB, free: 125.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.5178, allocations: 0 / 0.5009 GB, free: 125.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.5192, allocations: 1.217 MB / 0.502 GB, free: 125.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.5192, allocations: 2.625 kB / 0.502 GB, free: 125.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003468/0.5196, allocations: 79.83 kB / 0.5021 GB, free: 125.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000186/0.5197, allocations: 69.64 kB / 0.5022 GB, free: 125.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.347e-05/0.5198, allocations: 5 kB / 0.5022 GB, free: 125.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/0.5208, allocations: 1.544 MB / 0.5037 GB, free: 124.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.5208, allocations: 0.9375 kB / 0.5037 GB, free: 124.1 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009055/0.5217, allocations: 0.7889 MB / 0.5045 GB, free: 123.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001765/0.5219, allocations: 172.6 kB / 0.5046 GB, free: 123.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.09e-05/0.522, allocations: 5.25 kB / 0.5046 GB, free: 123.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003856/0.5224, allocations: 49.88 kB / 0.5047 GB, free: 123.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.5225, allocations: 39.28 kB / 0.5047 GB, free: 123.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.283e-05/0.5226, allocations: 19.22 kB / 0.5047 GB, free: 123.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002446/0.5228, allocations: 268.4 kB / 0.505 GB, free: 123.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007971/0.5236, allocations: 281.7 kB / 0.5053 GB, free: 123.7 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.0001716/0.5238, allocations: 134 kB / 0.5054 GB, free: 123.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001121/0.5249, allocations: 0.9046 MB / 0.5063 GB, free: 123.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5249, allocations: 0 / 0.5063 GB, free: 123.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003449/0.5253, allocations: 343.3 kB / 0.5066 GB, free: 123.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004412/0.5257, allocations: 70.11 kB / 0.5067 GB, free: 123.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.5275, allocations: 0.9135 MB / 0.5076 GB, free: 123 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004171/0.5279, allocations: 0.9929 MB / 0.5085 GB, free: 122.3 MB / 378.7 MB Notification: Performance of SimCode: time 2.9e-07/0.5279, allocations: 0 / 0.5085 GB, free: 122.3 MB / 378.7 MB Notification: Performance of Templates: time 0.01589/0.5438, allocations: 9.376 MB / 0.5177 GB, free: 122 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches