Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.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,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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV") [: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.001059/0.001058, allocations: 196.1 kB / 8.535 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.198/1.198, allocations: 225.5 MB / 234.4 MB, free: 3.391 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000874/0.0008739, allocations: 90 kB / 286.3 MB, free: 5.258 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.714e-06/7.745e-06, allocations: 0 / 343.2 MB, free: 8.707 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1052, allocations: 51.47 MB / 394.6 MB, free: 5.188 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2586/0.3639, allocations: 89.08 MB / 483.7 MB, free: 4.203 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002072/0.3642, allocations: 78.58 kB / 483.8 MB, free: 4.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03576/0.3999, allocations: 13.8 MB / 497.6 MB, free: 8.809 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.677e-05/0.4, allocations: 23.98 kB / 497.6 MB, free: 8.785 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.001801/0.4018, allocations: 0.8815 MB / 498.5 MB, free: 7.898 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.4019, allocations: 8.031 kB / 498.5 MB, free: 7.891 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004845/0.4024, allocations: 118.9 kB / 498.6 MB, free: 7.777 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008571/0.4032, allocations: 0.4928 MB / 499.1 MB, free: 7.324 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.4033, allocations: 23.81 kB / 499.1 MB, free: 7.305 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.4034, allocations: 40 kB / 499.2 MB, free: 7.266 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007916/0.4042, allocations: 444.5 kB / 499.6 MB, free: 6.996 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009469/0.4052, allocations: 0.5746 MB / 0.4885 GB, free: 6.559 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/0.4052, allocations: 0 / 0.4885 GB, free: 6.559 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.648e-05/0.4053, allocations: 7.891 kB / 0.4885 GB, free: 6.551 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/0.4053, allocations: 16 kB / 0.4885 GB, free: 6.535 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003534/0.4088, allocations: 2.288 MB / 0.4907 GB, free: 4.625 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005276/0.4094, allocations: 376.4 kB / 0.4911 GB, free: 4.375 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004548/0.4098, allocations: 253.2 kB / 0.4913 GB, free: 4.199 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.401e-05/0.4099, allocations: 11.94 kB / 0.4913 GB, free: 4.188 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004023/0.4103, allocations: 280.2 kB / 0.4916 GB, free: 3.961 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 1.833e-06/0.4103, allocations: 0 / 0.4916 GB, free: 3.961 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.0007214/0.411, allocations: 412.3 kB / 0.492 GB, free: 3.648 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.068e-05/0.4111, allocations: 162.1 kB / 0.4921 GB, free: 3.457 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004386/0.4116, allocations: 372.5 kB / 0.4925 GB, free: 3.172 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.993e-05/0.4116, allocations: 37.62 kB / 0.4925 GB, free: 3.129 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.4118, allocations: 270.6 kB / 0.4928 GB, free: 2.887 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.4119, allocations: 149.8 kB / 0.4929 GB, free: 2.758 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.397e-05/0.412, allocations: 0 / 0.4929 GB, free: 2.758 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.4121, allocations: 363.2 kB / 0.4933 GB, free: 2.418 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/0.4124, allocations: 155.5 kB / 0.4934 GB, free: 2.328 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003801/0.4128, allocations: 319.1 kB / 0.4937 GB, free: 2.023 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003139/0.4131, allocations: 180.4 kB / 0.4939 GB, free: 1.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.4131, allocations: 0 / 0.4939 GB, free: 1.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008997/0.414, allocations: 0.5205 MB / 0.4944 GB, free: 1.508 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006279/0.4147, allocations: 1.651 MB / 0.496 GB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.4147, allocations: 7.906 kB / 0.496 GB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000302/0.415, allocations: 83.94 kB / 0.4961 GB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003996/0.4154, allocations: 99.2 kB / 0.4962 GB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001534/0.4169, allocations: 1.55 MB / 0.4977 GB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004845/0.4174, allocations: 83.61 kB / 0.4978 GB, free: 14.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.359e-05/0.4175, allocations: 23.38 kB / 0.4978 GB, free: 13.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.773e-06/0.4175, allocations: 4 kB / 0.4978 GB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007127/0.4182, allocations: 448.9 kB / 0.4983 GB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.4182, allocations: 4 kB / 0.4983 GB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002072/0.4184, allocations: 73.02 kB / 0.4983 GB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003321/0.4188, allocations: 99.2 kB / 0.4984 GB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001359/0.4202, allocations: 1.565 MB / 0.4999 GB, free: 12.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003925/0.4206, allocations: 59.72 kB / 0.5 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.442e-05/0.4206, allocations: 18.19 kB / 0.5 GB, free: 11.93 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 (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.0001611/0.4208, allocations: 127.2 kB / 0.5001 GB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.991e-05/0.4209, allocations: 58.84 kB / 0.5002 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.421, allocations: 59.2 kB / 0.5003 GB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.421, allocations: 4 kB / 0.5003 GB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.421, allocations: 7.906 kB / 0.5003 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.421, allocations: 3.984 kB / 0.5003 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.4227, allocations: 1.195 MB / 0.5014 GB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.4227, allocations: 0 / 0.5014 GB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002724/0.423, allocations: 56.81 kB / 0.5015 GB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002366/0.4233, allocations: 84.23 kB / 0.5016 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.937e-05/0.4233, allocations: 3.188 kB / 0.5016 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001283/0.4246, allocations: 1.532 MB / 0.5031 GB, free: 9.129 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.4246, allocations: 0 / 0.5031 GB, free: 9.129 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009956/0.4256, allocations: 0.7472 MB / 0.5038 GB, free: 8.562 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002012/0.4258, allocations: 179.1 kB / 0.504 GB, free: 8.391 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.031e-05/0.4259, allocations: 7.25 kB / 0.504 GB, free: 8.387 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003628/0.4263, allocations: 39.97 kB / 0.504 GB, free: 8.348 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.648e-05/0.4264, allocations: 38.81 kB / 0.5041 GB, free: 8.316 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.938e-05/0.4264, allocations: 11.12 kB / 0.5041 GB, free: 8.309 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002879/0.4267, allocations: 277 kB / 0.5043 GB, free: 8.094 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008128/0.4275, allocations: 275 kB / 0.5046 GB, free: 7.824 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 (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.0001779/0.4277, allocations: 139 kB / 0.5047 GB, free: 7.684 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001197/0.4289, allocations: 0.8861 MB / 0.5056 GB, free: 6.777 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4289, allocations: 0 / 0.5056 GB, free: 6.777 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004113/0.4293, allocations: 319.3 kB / 0.5059 GB, free: 6.457 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/0.4298, allocations: 71.86 kB / 0.506 GB, free: 6.387 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.4315, allocations: 0.8817 MB / 0.5068 GB, free: 5.473 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005869/0.4321, allocations: 0.9837 MB / 0.5078 GB, free: 4.465 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4321, allocations: 0 / 0.5078 GB, free: 4.465 MB / 378.7 MB Notification: Performance of Templates: time 0.01664/0.4488, allocations: 9.089 MB / 0.5167 GB, free: 11.54 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches