Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.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.RectifierBridge2Pulse.ThyristorBridge2Pulse_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_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 175.4 kB / 8.349 MB, free: 0.7266 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.32/1.32, allocations: 221.5 MB / 230.3 MB, free: 7.59 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.0008617/0.0008616, allocations: 87.62 kB / 281.2 MB, free: 5.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.945e-05/1.949e-05, allocations: 0 / 337.1 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09786/0.0979, allocations: 50.42 MB / 387.5 MB, free: 7.582 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3976/0.4955, allocations: 88.81 MB / 476.3 MB, free: 6.051 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/0.4959, allocations: 89.77 kB / 476.4 MB, free: 5.965 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03991/0.5358, allocations: 14.9 MB / 491.3 MB, free: 6.988 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.5358, allocations: 0 / 491.3 MB, free: 6.988 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.457e-05/0.5359, allocations: 19.98 kB / 491.3 MB, free: 6.969 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.001514/0.5374, allocations: 0.9135 MB / 492.2 MB, free: 6.004 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.5375, allocations: 12.03 kB / 492.2 MB, free: 5.992 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.5376, allocations: 90.88 kB / 492.3 MB, free: 5.902 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007789/0.5384, allocations: 0.5123 MB / 492.8 MB, free: 5.344 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.139e-05/0.5385, allocations: 28 kB / 492.8 MB, free: 5.316 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.614e-05/0.5386, allocations: 43.98 kB / 492.9 MB, free: 5.273 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008884/0.5395, allocations: 499.9 kB / 493.4 MB, free: 4.785 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.5405, allocations: 0.6427 MB / 494 MB, free: 4.113 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.5406, allocations: 3.984 kB / 494 MB, free: 4.109 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.964e-05/0.5406, allocations: 8 kB / 494 MB, free: 4.102 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.5406, allocations: 16 kB / 494.1 MB, free: 4.086 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00377/0.5444, allocations: 2.643 MB / 496.7 MB, free: 1.332 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007689/0.5452, allocations: 0.5183 MB / 497.2 MB, free: 0.8086 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000667/0.5459, allocations: 384.9 kB / 497.6 MB, free: 444 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.129e-05/0.546, allocations: 12.5 kB / 497.6 MB, free: 432 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005329/0.5465, allocations: 342.3 kB / 497.9 MB, free: 72 kB / 362.7 MB Notification: Performance of pre-optimization done (n=60): time 2.495e-06/0.5465, allocations: 0 / 497.9 MB, free: 72 kB / 362.7 MB Notification: Performance of matching and sorting (n=60): time 0.00096/0.5475, allocations: 0.5275 MB / 498.5 MB, free: 15.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.496e-05/0.5476, allocations: 137.1 kB / 498.6 MB, free: 15.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004587/0.548, allocations: 385 kB / 499 MB, free: 14.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.206e-05/0.5481, allocations: 33.69 kB / 499 MB, free: 14.94 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/0.5483, allocations: 336 kB / 499.3 MB, free: 14.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.5485, allocations: 177.5 kB / 499.5 MB, free: 14.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.677e-05/0.5485, allocations: 0 / 499.5 MB, free: 14.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.5487, allocations: 370.7 kB / 499.9 MB, free: 14.06 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002993/0.549, allocations: 185.5 kB / 0.4883 GB, free: 13.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004212/0.5494, allocations: 349.4 kB / 0.4887 GB, free: 13.47 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003222/0.5497, allocations: 210 kB / 0.4889 GB, free: 13.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.5498, allocations: 4 kB / 0.4889 GB, free: 13.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001043/0.5508, allocations: 0.6448 MB / 0.4895 GB, free: 12.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000668/0.5515, allocations: 1.566 MB / 0.491 GB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.5515, allocations: 8 kB / 0.491 GB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000467/0.552, allocations: 157.6 kB / 0.4912 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003745/0.5524, allocations: 103.8 kB / 0.4913 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003396/0.5558, allocations: 3.504 MB / 0.4947 GB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005112/0.5563, allocations: 75.73 kB / 0.4948 GB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.514e-05/0.5564, allocations: 32 kB / 0.4948 GB, free: 6.801 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.947e-06/0.5564, allocations: 7.938 kB / 0.4948 GB, free: 6.793 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000947/0.5573, allocations: 0.5578 MB / 0.4954 GB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.5574, allocations: 4 kB / 0.4954 GB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003856/0.5577, allocations: 149.6 kB / 0.4955 GB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003398/0.5581, allocations: 91.83 kB / 0.4956 GB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003239/0.5613, allocations: 3.512 MB / 0.499 GB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004818/0.5619, allocations: 55.66 kB / 0.4991 GB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.064e-05/0.5619, allocations: 28.06 kB / 0.4991 GB, free: 2.148 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 29 ($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_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n2.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 (68): * Single equations (assignments): 66 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002419/0.5622, allocations: 142 kB / 0.4992 GB, free: 2.008 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.5623, allocations: 59.25 kB / 0.4993 GB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001723/0.5624, allocations: 57.67 kB / 0.4994 GB, free: 1.895 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.5625, allocations: 8 kB / 0.4994 GB, free: 1.887 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.5625, allocations: 0 / 0.4994 GB, free: 1.887 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.5625, allocations: 3.984 kB / 0.4994 GB, free: 1.883 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002054/0.5645, allocations: 1.34 MB / 0.5007 GB, free: 0.4922 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.5646, allocations: 7.969 kB / 0.5007 GB, free: 496 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002732/0.5648, allocations: 59.91 kB / 0.5007 GB, free: 436 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003952/0.5652, allocations: 145.6 kB / 0.5009 GB, free: 284 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.496e-05/0.5653, allocations: 0 / 0.5009 GB, free: 284 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003643/0.5689, allocations: 3.383 MB / 0.5042 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/0.569, allocations: 0 / 0.5042 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.5706, allocations: 0.9451 MB / 0.5051 GB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004293/0.5711, allocations: 188.4 kB / 0.5053 GB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.505e-05/0.5712, allocations: 4 kB / 0.5053 GB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003709/0.5716, allocations: 39.95 kB / 0.5053 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002248/0.5718, allocations: 80.38 kB / 0.5054 GB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.642e-05/0.5718, allocations: 16 kB / 0.5054 GB, free: 11.36 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003825/0.5722, allocations: 283 kB / 0.5057 GB, free: 11.08 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.533e-06/0.5722, allocations: 0 / 0.5057 GB, free: 11.08 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001231/0.5735, allocations: 334.8 kB / 0.506 GB, free: 10.75 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 20 (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_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.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: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002049/0.5737, allocations: 131 kB / 0.5061 GB, free: 10.62 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001956/0.5756, allocations: 1.334 MB / 0.5074 GB, free: 9.242 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.5757, allocations: 0 / 0.5074 GB, free: 9.242 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006433/0.5763, allocations: 0.5172 MB / 0.5079 GB, free: 8.703 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005499/0.5769, allocations: 93.8 kB / 0.508 GB, free: 8.613 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/0.5789, allocations: 1.004 MB / 0.509 GB, free: 7.582 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005297/0.5794, allocations: 0.967 MB / 0.51 GB, free: 6.59 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004312/0.5799, allocations: 112.7 kB / 0.5101 GB, free: 6.477 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.749e-05/0.58, allocations: 43.42 kB / 0.5101 GB, free: 6.434 MB / 394.7 MB Notification: Performance of SimCode: time 8.21e-07/0.58, allocations: 0 / 0.5101 GB, free: 6.434 MB / 394.7 MB Notification: Performance of Templates: time 0.01716/0.5972, allocations: 10.07 MB / 0.5199 GB, free: 12.54 MB / 410.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/ThyristorBridge2Pulse_RLV/ThyristorBridge2Pulse_RLV.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches