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_RL.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_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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 189.5 kB / 8.138 MB, free: 2.207 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.193/1.193, allocations: 221.4 MB / 229.9 MB, free: 3.008 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.001029/0.001029, allocations: 103.2 kB / 280.8 MB, free: 1.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.923e-06/7.033e-06, allocations: 4 kB / 336.5 MB, free: 9.504 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1805, allocations: 50.4 MB / 386.9 MB, free: 38.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08832/0.2689, allocations: 87.96 MB / 474.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.2691, allocations: 87.92 kB / 475 MB, free: 14.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.03575/0.3049, allocations: 13.4 MB / 488.4 MB, free: 1.398 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.61e-05/0.305, allocations: 16 kB / 488.4 MB, free: 1.383 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.00139/0.3063, allocations: 0.8613 MB / 489.3 MB, free: 480 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.3064, allocations: 8.031 kB / 489.3 MB, free: 472 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.3065, allocations: 79.06 kB / 489.3 MB, free: 392 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007383/0.3073, allocations: 493.8 kB / 489.8 MB, free: 15.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.327e-05/0.3073, allocations: 28 kB / 489.9 MB, free: 15.83 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.681e-05/0.3074, allocations: 43.94 kB / 489.9 MB, free: 15.79 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007717/0.3082, allocations: 426.5 kB / 490.3 MB, free: 15.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009059/0.3091, allocations: 0.5582 MB / 490.9 MB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.3091, allocations: 0 / 490.9 MB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.219e-05/0.3092, allocations: 4 kB / 490.9 MB, free: 14.78 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.3092, allocations: 16 kB / 490.9 MB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003319/0.3125, allocations: 2.249 MB / 493.1 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005159/0.3131, allocations: 381.3 kB / 493.5 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004405/0.3135, allocations: 248.3 kB / 493.8 MB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.224e-05/0.3136, allocations: 4 kB / 493.8 MB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003905/0.314, allocations: 276 kB / 494 MB, free: 11.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 3.116e-06/0.314, allocations: 0 / 494 MB, free: 11.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.0007117/0.3147, allocations: 407.4 kB / 494.4 MB, free: 11.1 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.917e-05/0.3148, allocations: 170.7 kB / 494.6 MB, free: 10.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004122/0.3152, allocations: 361 kB / 494.9 MB, free: 10.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.562e-05/0.3153, allocations: 33.69 kB / 495 MB, free: 10.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.3154, allocations: 264.2 kB / 495.2 MB, free: 10.24 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.3155, allocations: 138 kB / 495.4 MB, free: 10.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.267e-05/0.3156, allocations: 0 / 495.4 MB, free: 10.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.3157, allocations: 358.8 kB / 495.7 MB, free: 9.742 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.316, allocations: 153.3 kB / 495.9 MB, free: 9.594 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003425/0.3163, allocations: 321 kB / 496.2 MB, free: 9.211 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002692/0.3166, allocations: 164.7 kB / 496.3 MB, free: 9.047 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3166, allocations: 7.938 kB / 496.3 MB, free: 9.039 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008275/0.3174, allocations: 0.5187 MB / 496.9 MB, free: 8.512 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004966/0.3179, allocations: 1.653 MB / 498.5 MB, free: 6.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.3179, allocations: 4 kB / 498.5 MB, free: 6.727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003038/0.3183, allocations: 84.8 kB / 498.6 MB, free: 6.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004021/0.3187, allocations: 99.83 kB / 498.7 MB, free: 6.543 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/0.3201, allocations: 1.553 MB / 0.4885 GB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000467/0.3206, allocations: 83.69 kB / 0.4886 GB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-05/0.3206, allocations: 23.98 kB / 0.4886 GB, free: 4.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.982e-06/0.3207, allocations: 8 kB / 0.4886 GB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007127/0.3214, allocations: 430 kB / 0.4891 GB, free: 4.336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3214, allocations: 4.531 kB / 0.4891 GB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002099/0.3216, allocations: 76.83 kB / 0.4891 GB, free: 4.254 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003261/0.322, allocations: 91.83 kB / 0.4892 GB, free: 4.164 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/0.3233, allocations: 1.565 MB / 0.4907 GB, free: 2.484 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004222/0.3237, allocations: 59.72 kB / 0.4908 GB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.735e-05/0.3238, allocations: 20 kB / 0.4908 GB, free: 2.406 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.0001583/0.3239, allocations: 139.9 kB / 0.491 GB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.761e-05/0.324, allocations: 55.42 kB / 0.491 GB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.3241, allocations: 48.97 kB / 0.4911 GB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.3242, allocations: 4 kB / 0.4911 GB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3242, allocations: 4.062 kB / 0.4911 GB, free: 2.156 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.3242, allocations: 7.891 kB / 0.4911 GB, free: 2.148 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00166/0.3258, allocations: 1.186 MB / 0.4922 GB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3259, allocations: 0 / 0.4922 GB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/0.3261, allocations: 52 kB / 0.4923 GB, free: 0.8555 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002158/0.3264, allocations: 72.77 kB / 0.4923 GB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/0.3264, allocations: 3.984 kB / 0.4924 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09958/0.426, allocations: 1.525 MB / 0.4938 GB, free: 132.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.426, allocations: 3.438 kB / 0.4938 GB, free: 132.9 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009464/0.427, allocations: 0.7497 MB / 0.4946 GB, free: 132.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001813/0.4272, allocations: 169.3 kB / 0.4947 GB, free: 132.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.024e-05/0.4273, allocations: 7.406 kB / 0.4947 GB, free: 132.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003841/0.4277, allocations: 39.67 kB / 0.4948 GB, free: 132.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.468e-05/0.4278, allocations: 39.98 kB / 0.4948 GB, free: 132.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-05/0.4278, allocations: 19.98 kB / 0.4948 GB, free: 132.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002462/0.428, allocations: 268.5 kB / 0.4951 GB, free: 132.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007144/0.4288, allocations: 262.8 kB / 0.4953 GB, free: 132.5 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.0001522/0.4289, allocations: 127.2 kB / 0.4955 GB, free: 132.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001001/0.4299, allocations: 0.8694 MB / 0.4963 GB, free: 132.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.43, allocations: 0 / 0.4963 GB, free: 132.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003219/0.4303, allocations: 327.9 kB / 0.4966 GB, free: 132.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004166/0.4307, allocations: 61.8 kB / 0.4967 GB, free: 132.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.4323, allocations: 0.8644 MB / 0.4975 GB, free: 131.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000385/0.4327, allocations: 0.9749 MB / 0.4985 GB, free: 131.2 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4327, allocations: 2.969 kB / 0.4985 GB, free: 131.2 MB / 378.7 MB Notification: Performance of Templates: time 0.01302/0.4457, allocations: 8.91 MB / 0.5072 GB, free: 130.9 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches