Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001348/0.001348, allocations: 182.6 kB / 18.04 MB, free: 3.789 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.453/1.453, allocations: 205.4 MB / 224.2 MB, free: 9.051 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008795/0.0008792, allocations: 87.91 kB / 272.5 MB, free: 8.289 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003717, allocations: 8 kB / 329.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.215, allocations: 47.58 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1017/0.3168, allocations: 88.05 MB / 465.1 MB, free: 8.508 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.3171, allocations: 91.08 kB / 465.2 MB, free: 8.422 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0374/0.3545, allocations: 13.96 MB / 479.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.3546, allocations: 0 / 479.1 MB, free: 10.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.626e-05/0.3546, allocations: 20 kB / 479.2 MB, free: 10.37 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: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.002078/0.3567, allocations: 0.9503 MB / 480.1 MB, free: 9.355 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.3568, allocations: 12.03 kB / 480.1 MB, free: 9.344 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002778/0.3571, allocations: 87.91 kB / 480.2 MB, free: 9.258 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.3581, allocations: 0.5106 MB / 480.7 MB, free: 8.707 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.419e-05/0.3582, allocations: 53.69 kB / 480.8 MB, free: 8.652 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.3583, allocations: 72.36 kB / 480.8 MB, free: 8.582 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.3597, allocations: 0.7221 MB / 481.6 MB, free: 7.832 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/0.3597, allocations: 4.094 kB / 481.6 MB, free: 7.828 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.57e-05/0.3598, allocations: 31.94 kB / 481.6 MB, free: 7.797 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.3598, allocations: 16 kB / 481.6 MB, free: 7.781 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.3609, allocations: 0.5438 MB / 482.2 MB, free: 7.234 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003884/0.3648, allocations: 2.655 MB / 484.8 MB, free: 4.465 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.3659, allocations: 0.585 MB / 485.4 MB, free: 3.871 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007706/0.3667, allocations: 401.9 kB / 485.8 MB, free: 3.477 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.947e-05/0.3667, allocations: 4.438 kB / 485.8 MB, free: 3.473 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006246/0.3673, allocations: 365.7 kB / 486.1 MB, free: 3.098 MB / 362.7 MB Notification: Performance of pre-optimization done (n=57): time 3.737e-06/0.3674, allocations: 0 / 486.1 MB, free: 3.098 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.002516/0.3699, allocations: 1.061 MB / 487.2 MB, free: 1.988 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.947e-05/0.37, allocations: 119.4 kB / 487.3 MB, free: 1.848 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008769/0.3709, allocations: 0.4901 MB / 487.8 MB, free: 1.348 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.831e-05/0.371, allocations: 37.7 kB / 487.9 MB, free: 1.305 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003129/0.3713, allocations: 320.3 kB / 488.2 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/0.3715, allocations: 177.6 kB / 488.3 MB, free: 0.8086 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.3715, allocations: 16 kB / 488.4 MB, free: 0.793 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.3717, allocations: 370.7 kB / 488.7 MB, free: 432 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004444/0.3722, allocations: 213.2 kB / 488.9 MB, free: 216 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004786/0.3727, allocations: 372.1 kB / 489.3 MB, free: 15.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007605/0.3734, allocations: 0.5058 MB / 489.8 MB, free: 15.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.3735, allocations: 0 / 489.8 MB, free: 15.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001425/0.3749, allocations: 0.7384 MB / 490.5 MB, free: 14.47 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001868/0.3751, allocations: 209.8 kB / 490.7 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.3751, allocations: 7.938 kB / 490.7 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005584/0.3757, allocations: 157.6 kB / 490.9 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003561/0.376, allocations: 103.8 kB / 491 MB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003874/0.3799, allocations: 3.595 MB / 494.6 MB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00063/0.3806, allocations: 99.48 kB / 494.7 MB, free: 9.973 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.015e-05/0.3807, allocations: 20 kB / 494.7 MB, free: 9.953 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.3807, allocations: 7.938 kB / 494.7 MB, free: 9.945 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001194/0.3819, allocations: 0.6315 MB / 495.4 MB, free: 9.305 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.3819, allocations: 4.125 kB / 495.4 MB, free: 9.301 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004306/0.3824, allocations: 162.1 kB / 495.5 MB, free: 9.137 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003155/0.3827, allocations: 87.92 kB / 495.6 MB, free: 9.051 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003529/0.3862, allocations: 3.619 MB / 499.2 MB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005561/0.3868, allocations: 71.62 kB / 499.3 MB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.987e-05/0.3869, allocations: 20 kB / 499.3 MB, free: 5.078 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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * 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: 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.000543/0.3875, allocations: 321 kB / 499.6 MB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002011/0.3877, allocations: 59.34 kB / 499.7 MB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001664/0.3878, allocations: 73.52 kB / 499.7 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.3879, allocations: 8 kB / 499.8 MB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.3879, allocations: 0 / 499.8 MB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.3879, allocations: 0 / 499.8 MB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002464/0.3903, allocations: 1.426 MB / 0.4894 GB, free: 3.129 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.3904, allocations: 0 / 0.4894 GB, free: 3.129 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002484/0.3906, allocations: 51.91 kB / 0.4895 GB, free: 3.078 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004436/0.3911, allocations: 161.6 kB / 0.4896 GB, free: 2.914 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.234e-05/0.3911, allocations: 8 kB / 0.4896 GB, free: 2.906 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1769/0.568, allocations: 3.519 MB / 0.4931 GB, free: 103.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.568, allocations: 1.469 kB / 0.4931 GB, free: 103.9 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002062/0.5701, allocations: 0.9592 MB / 0.494 GB, free: 103.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002904/0.5704, allocations: 185.2 kB / 0.4942 GB, free: 103.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.5705, allocations: 19.61 kB / 0.4942 GB, free: 103.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003922/0.5709, allocations: 38.25 kB / 0.4943 GB, free: 103.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002151/0.5712, allocations: 81.28 kB / 0.4943 GB, free: 103.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.313e-05/0.5712, allocations: 14.34 kB / 0.4943 GB, free: 103.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006841/0.5719, allocations: 346.1 kB / 0.4947 GB, free: 103.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5719, allocations: 1.188 kB / 0.4947 GB, free: 103.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001778/0.5737, allocations: 341 kB / 0.495 GB, free: 103.6 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: 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,rootMeanSquareVoltage.mean.y,meanCurrent.y,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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 34 * 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.0002813/0.574, allocations: 136.9 kB / 0.4951 GB, free: 103.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0024/0.5764, allocations: 1.425 MB / 0.4965 GB, free: 103 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.5764, allocations: 1.406 kB / 0.4965 GB, free: 103 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007398/0.5772, allocations: 0.5471 MB / 0.4971 GB, free: 102.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006994/0.5779, allocations: 105.3 kB / 0.4972 GB, free: 102.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/0.5803, allocations: 1.573 MB / 0.4987 GB, free: 102.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004358/0.5808, allocations: 0.9339 MB / 0.4996 GB, free: 101.4 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003558/0.5812, allocations: 89.83 kB / 0.4997 GB, free: 101.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.5813, allocations: 40.5 kB / 0.4997 GB, free: 101.3 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.5813, allocations: 1.594 kB / 0.4997 GB, free: 101.3 MB / 378.7 MB Notification: Performance of Templates: time 0.01784/0.5991, allocations: 10.36 MB / 0.5099 GB, free: 100.6 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/ThyristorBridge2Pulse_RL/ThyristorBridge2Pulse_RL.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches