Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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_R") [: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.00102/0.001021, allocations: 192.1 kB / 8.534 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.193/1.193, allocations: 225.5 MB / 234.4 MB, free: 3.301 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008506/0.0008507, allocations: 86.67 kB / 286.3 MB, free: 5.305 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.502e-06/6.522e-06, allocations: 0 / 343.2 MB, free: 8.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09999/0.1, allocations: 51.48 MB / 394.6 MB, free: 5.145 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2602/0.3602, allocations: 88.46 MB / 483.1 MB, free: 4.719 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/0.3605, allocations: 83.69 kB / 483.2 MB, free: 4.672 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03299/0.3935, allocations: 13.17 MB / 496.3 MB, free: 9.832 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.883e-05/0.3936, allocations: 20 kB / 496.4 MB, free: 9.812 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001409/0.395, allocations: 0.8461 MB / 497.2 MB, free: 8.961 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.3951, allocations: 8.031 kB / 497.2 MB, free: 8.953 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003221/0.3954, allocations: 111 kB / 497.3 MB, free: 8.844 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006753/0.3961, allocations: 483.9 kB / 497.8 MB, free: 8.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.492e-05/0.3961, allocations: 20 kB / 497.8 MB, free: 8.391 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.968e-05/0.3962, allocations: 43.89 kB / 497.9 MB, free: 8.348 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006868/0.3969, allocations: 416.9 kB / 498.3 MB, free: 8.098 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008395/0.3978, allocations: 0.5497 MB / 498.8 MB, free: 7.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.3978, allocations: 0 / 498.8 MB, free: 7.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.85e-05/0.3978, allocations: 0 / 498.8 MB, free: 7.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/0.3979, allocations: 16 kB / 498.8 MB, free: 7.664 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002969/0.4008, allocations: 2.165 MB / 0.4893 GB, free: 5.863 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004624/0.4013, allocations: 373.6 kB / 0.4896 GB, free: 5.605 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004072/0.4017, allocations: 232.4 kB / 0.4898 GB, free: 5.441 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/0.4018, allocations: 7.094 kB / 0.4898 GB, free: 5.438 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000363/0.4022, allocations: 272.7 kB / 0.4901 GB, free: 5.219 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 1.944e-06/0.4022, allocations: 1.219 kB / 0.4901 GB, free: 5.219 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.0007062/0.4029, allocations: 407.3 kB / 0.4905 GB, free: 4.914 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.797e-05/0.403, allocations: 162.2 kB / 0.4906 GB, free: 4.719 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003897/0.4034, allocations: 361.2 kB / 0.491 GB, free: 4.441 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.67e-05/0.4034, allocations: 33.33 kB / 0.491 GB, free: 4.406 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.4036, allocations: 268.4 kB / 0.4913 GB, free: 4.168 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.4037, allocations: 137.2 kB / 0.4914 GB, free: 4.051 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.638e-05/0.4037, allocations: 3.938 kB / 0.4914 GB, free: 4.047 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.4039, allocations: 359.2 kB / 0.4918 GB, free: 3.707 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.4041, allocations: 152.6 kB / 0.4919 GB, free: 3.621 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003124/0.4044, allocations: 304.5 kB / 0.4922 GB, free: 3.328 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/0.4047, allocations: 173.9 kB / 0.4924 GB, free: 3.215 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4047, allocations: 0 / 0.4924 GB, free: 3.215 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008165/0.4055, allocations: 0.5054 MB / 0.4928 GB, free: 2.824 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006139/0.4062, allocations: 1.658 MB / 0.4945 GB, free: 1.066 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.4062, allocations: 4 kB / 0.4945 GB, free: 1.062 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003806/0.4066, allocations: 88.75 kB / 0.4946 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000354/0.4069, allocations: 87.52 kB / 0.4946 GB, free: 0.9141 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/0.4086, allocations: 1.661 MB / 0.4963 GB, free: 15.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004527/0.4091, allocations: 79.61 kB / 0.4963 GB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.955e-05/0.4091, allocations: 20.31 kB / 0.4964 GB, free: 15.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.321e-06/0.4092, allocations: 4 kB / 0.4964 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007288/0.4099, allocations: 441.3 kB / 0.4968 GB, free: 14.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.4099, allocations: 4 kB / 0.4968 GB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002251/0.4101, allocations: 89.91 kB / 0.4969 GB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002932/0.4104, allocations: 83.14 kB / 0.4969 GB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/0.4119, allocations: 1.663 MB / 0.4986 GB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003744/0.4123, allocations: 55.78 kB / 0.4986 GB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.4123, allocations: 26.88 kB / 0.4987 GB, free: 13.12 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 (58): * Single equations (assignments): 57 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001764/0.4125, allocations: 135.4 kB / 0.4988 GB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-05/0.4126, allocations: 51.34 kB / 0.4988 GB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.4127, allocations: 49.52 kB / 0.4989 GB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.4128, allocations: 8 kB / 0.4989 GB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4128, allocations: 7.984 kB / 0.4989 GB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.4128, allocations: 0 / 0.4989 GB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/0.4143, allocations: 1.145 MB / 0.5 GB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.4143, allocations: 7.969 kB / 0.5 GB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002262/0.4146, allocations: 47.28 kB / 0.5001 GB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002325/0.4148, allocations: 81.19 kB / 0.5001 GB, free: 11.87 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/0.4148, allocations: 3.984 kB / 0.5001 GB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001438/0.4163, allocations: 1.644 MB / 0.5018 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.4163, allocations: 4.031 kB / 0.5018 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001007/0.4173, allocations: 0.7265 MB / 0.5025 GB, free: 9.738 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001948/0.4175, allocations: 171.6 kB / 0.5026 GB, free: 9.574 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.582e-05/0.4176, allocations: 0 / 0.5026 GB, free: 9.574 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000343/0.418, allocations: 42.47 kB / 0.5027 GB, free: 9.535 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.282e-05/0.4181, allocations: 37.56 kB / 0.5027 GB, free: 9.504 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-05/0.4181, allocations: 15.11 kB / 0.5027 GB, free: 9.492 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0003231/0.4184, allocations: 268.5 kB / 0.503 GB, free: 9.297 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008271/0.4193, allocations: 263 kB / 0.5032 GB, free: 9.039 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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 (37): * Single equations (assignments): 31 * 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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001769/0.4195, allocations: 137.4 kB / 0.5034 GB, free: 8.902 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001266/0.4207, allocations: 0.8795 MB / 0.5042 GB, free: 8.105 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4207, allocations: 0 / 0.5042 GB, free: 8.105 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004133/0.4212, allocations: 318.4 kB / 0.5045 GB, free: 7.785 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.4216, allocations: 72.59 kB / 0.5046 GB, free: 7.715 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.4232, allocations: 0.7935 MB / 0.5054 GB, free: 6.895 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005546/0.4238, allocations: 0.9691 MB / 0.5063 GB, free: 5.895 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4238, allocations: 0 / 0.5063 GB, free: 5.895 MB / 378.7 MB Notification: Performance of Templates: time 0.01468/0.4385, allocations: 9.089 MB / 0.5152 GB, free: 12.96 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/ThyristorCenterTap2Pulse_R/ThyristorCenterTap2Pulse_R.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches