Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.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_RL,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_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL,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_RL") [: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.001639/0.001639, allocations: 197.1 kB / 8.538 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.228/1.228, 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.001117/0.001117, allocations: 92.19 kB / 286.3 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.895e-06/7.905e-06, allocations: 0 / 343.2 MB, free: 8.727 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09414/0.09416, allocations: 51.47 MB / 394.6 MB, free: 5.207 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.241/0.3352, allocations: 88.78 MB / 483.4 MB, free: 4.477 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/0.3355, allocations: 88.56 kB / 483.5 MB, free: 4.426 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03488/0.3704, allocations: 13.52 MB / 497 MB, free: 9.289 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.07e-05/0.3705, allocations: 16 kB / 497 MB, free: 9.273 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.001868/0.3724, allocations: 0.8735 MB / 497.9 MB, free: 8.395 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.3724, allocations: 9.719 kB / 497.9 MB, free: 8.387 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004296/0.3729, allocations: 110.8 kB / 498 MB, free: 8.281 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009588/0.3738, allocations: 491.3 kB / 498.5 MB, free: 7.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.913e-05/0.3739, allocations: 23.98 kB / 498.5 MB, free: 7.816 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.374, allocations: 39.98 kB / 498.6 MB, free: 7.777 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000921/0.3749, allocations: 425.3 kB / 499 MB, free: 7.523 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.3761, allocations: 0.5709 MB / 499.5 MB, free: 7.086 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/0.3761, allocations: 0 / 499.5 MB, free: 7.086 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.131e-05/0.3762, allocations: 3.984 kB / 499.6 MB, free: 7.082 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/0.3762, allocations: 16 kB / 499.6 MB, free: 7.066 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003916/0.3801, allocations: 2.238 MB / 0.49 GB, free: 5.195 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000499/0.3806, allocations: 383.7 kB / 0.4904 GB, free: 4.938 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004295/0.3811, allocations: 248.9 kB / 0.4906 GB, free: 4.762 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.288e-05/0.3811, allocations: 11.61 kB / 0.4907 GB, free: 4.754 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003808/0.3815, allocations: 275.1 kB / 0.4909 GB, free: 4.531 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 2.053e-06/0.3815, allocations: 0 / 0.4909 GB, free: 4.531 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.000705/0.3822, allocations: 410.2 kB / 0.4913 GB, free: 4.219 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.068e-05/0.3823, allocations: 167.5 kB / 0.4915 GB, free: 4.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003968/0.3827, allocations: 361.4 kB / 0.4918 GB, free: 3.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.712e-05/0.3828, allocations: 33.69 kB / 0.4918 GB, free: 3.711 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.3829, allocations: 270 kB / 0.4921 GB, free: 3.469 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.383, allocations: 139 kB / 0.4922 GB, free: 3.352 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.172e-05/0.3831, allocations: 4.031 kB / 0.4922 GB, free: 3.348 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.3832, allocations: 359.1 kB / 0.4926 GB, free: 3.008 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002438/0.3835, allocations: 153.3 kB / 0.4927 GB, free: 2.918 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003364/0.3838, allocations: 317.8 kB / 0.493 GB, free: 2.617 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/0.3841, allocations: 172.1 kB / 0.4932 GB, free: 2.512 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.3841, allocations: 3.906 kB / 0.4932 GB, free: 2.508 MB / 362.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008483/0.385, allocations: 0.5164 MB / 0.4937 GB, free: 2.105 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005779/0.3856, allocations: 1.662 MB / 0.4953 GB, free: 356 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.3856, allocations: 4 kB / 0.4953 GB, free: 352 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002848/0.3859, allocations: 80.44 kB / 0.4954 GB, free: 292 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000397/0.3863, allocations: 95.08 kB / 0.4955 GB, free: 200 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/0.3877, allocations: 1.548 MB / 0.497 GB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004469/0.3882, allocations: 91.55 kB / 0.4971 GB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-05/0.3882, allocations: 20.75 kB / 0.4971 GB, free: 14.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.034e-06/0.3883, allocations: 5.562 kB / 0.4971 GB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007184/0.389, allocations: 445.2 kB / 0.4975 GB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.389, allocations: 4 kB / 0.4976 GB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002161/0.3892, allocations: 82.23 kB / 0.4976 GB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003186/0.3896, allocations: 87.33 kB / 0.4977 GB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/0.3909, allocations: 1.554 MB / 0.4992 GB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003904/0.3913, allocations: 59.72 kB / 0.4993 GB, free: 12.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.876e-05/0.3914, allocations: 27 kB / 0.4993 GB, free: 12.54 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 (63): * Single equations (assignments): 62 * 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.0001682/0.3915, allocations: 143.4 kB / 0.4995 GB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.904e-05/0.3916, allocations: 47.44 kB / 0.4995 GB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.3917, allocations: 52.8 kB / 0.4995 GB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.3918, allocations: 8 kB / 0.4996 GB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.3918, allocations: 0 / 0.4996 GB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.3918, allocations: 11.89 kB / 0.4996 GB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001612/0.3934, allocations: 1.178 MB / 0.5007 GB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3934, allocations: 0 / 0.5007 GB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002649/0.3937, allocations: 51.91 kB / 0.5008 GB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002055/0.3939, allocations: 72.11 kB / 0.5008 GB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.058e-05/0.3939, allocations: 7.938 kB / 0.5008 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00131/0.3953, allocations: 1.539 MB / 0.5023 GB, free: 9.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.3953, allocations: 4 kB / 0.5023 GB, free: 9.746 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001113/0.3964, allocations: 0.7426 MB / 0.5031 GB, free: 9.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002125/0.3966, allocations: 173 kB / 0.5032 GB, free: 9.016 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.317e-05/0.3967, allocations: 8.062 kB / 0.5032 GB, free: 9.008 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003562/0.3971, allocations: 46.77 kB / 0.5033 GB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.378e-05/0.3972, allocations: 35.09 kB / 0.5033 GB, free: 8.938 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-05/0.3972, allocations: 14.44 kB / 0.5033 GB, free: 8.926 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.000294/0.3975, allocations: 278.6 kB / 0.5036 GB, free: 8.723 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008199/0.3983, allocations: 271 kB / 0.5039 GB, free: 8.457 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 (41): * Single equations (assignments): 35 * 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.0001876/0.3985, allocations: 132.1 kB / 0.504 GB, free: 8.324 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001253/0.3998, allocations: 0.8719 MB / 0.5048 GB, free: 7.539 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.3998, allocations: 4 kB / 0.5048 GB, free: 7.535 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000401/0.4002, allocations: 315.3 kB / 0.5051 GB, free: 7.219 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.4007, allocations: 73.36 kB / 0.5052 GB, free: 7.148 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.4025, allocations: 0.8741 MB / 0.5061 GB, free: 6.246 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006028/0.4031, allocations: 0.9758 MB / 0.507 GB, free: 5.242 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4031, allocations: 0 / 0.507 GB, free: 5.242 MB / 378.7 MB Notification: Performance of Templates: time 0.01578/0.4189, allocations: 8.996 MB / 0.5158 GB, free: 12.41 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/ThyristorCenterTap2Pulse_RL/ThyristorCenterTap2Pulse_RL.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches