Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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.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_3.2.3_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_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009581/0.0009579, allocations: 183.8 kB / 18.04 MB, free: 3.781 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.42/1.42, allocations: 205.4 MB / 224.2 MB, free: 9.027 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.0007576/0.0007576, allocations: 92.28 kB / 272.5 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002984/0.0002985, allocations: 12 kB / 329.5 MB, free: 15.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1973, allocations: 47.57 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09363/0.291, allocations: 87.59 MB / 464.6 MB, free: 8.934 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.2913, allocations: 95.31 kB / 464.7 MB, free: 8.844 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03466/0.326, allocations: 12.99 MB / 477.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.326, allocations: 0 / 477.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.235e-05/0.326, allocations: 12 kB / 477.7 MB, free: 11.79 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001755/0.3278, allocations: 0.8995 MB / 478.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.3279, allocations: 8.031 kB / 478.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002066/0.3281, allocations: 83.94 kB / 478.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008929/0.329, allocations: 495 kB / 479.2 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.532e-05/0.329, allocations: 45.69 kB / 479.2 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.3292, allocations: 56.38 kB / 479.3 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.3304, allocations: 0.6501 MB / 479.9 MB, free: 9.438 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.3305, allocations: 192 / 479.9 MB, free: 9.438 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.14e-05/0.3305, allocations: 31.92 kB / 480 MB, free: 9.406 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.554e-05/0.3306, allocations: 16 kB / 480 MB, free: 9.391 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009684/0.3315, allocations: 488.9 kB / 480.5 MB, free: 8.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003496/0.3351, allocations: 2.295 MB / 482.8 MB, free: 6.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009331/0.336, allocations: 485.8 kB / 483.2 MB, free: 6.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005243/0.3365, allocations: 260.6 kB / 483.5 MB, free: 5.762 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.087e-05/0.3366, allocations: 4.469 kB / 483.5 MB, free: 5.758 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005826/0.3372, allocations: 332.6 kB / 483.8 MB, free: 5.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 2.164e-06/0.3372, allocations: 0 / 483.8 MB, free: 5.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.00169/0.3389, allocations: 0.7339 MB / 484.6 MB, free: 4.648 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.004e-05/0.339, allocations: 140.5 kB / 484.7 MB, free: 4.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006785/0.3397, allocations: 481.7 kB / 485.2 MB, free: 4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.037e-05/0.3397, allocations: 41.69 kB / 485.2 MB, free: 3.953 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002135/0.34, allocations: 304.4 kB / 485.5 MB, free: 3.652 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.3401, allocations: 138.1 kB / 485.6 MB, free: 3.516 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.626e-05/0.3401, allocations: 12 kB / 485.6 MB, free: 3.504 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.3403, allocations: 366.8 kB / 486 MB, free: 3.137 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003394/0.3406, allocations: 177 kB / 486.2 MB, free: 2.961 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004601/0.3411, allocations: 355.4 kB / 486.5 MB, free: 2.551 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006863/0.3418, allocations: 452.1 kB / 487 MB, free: 2.051 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.3418, allocations: 8 kB / 487 MB, free: 2.043 MB / 362.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001039/0.3429, allocations: 0.5985 MB / 487.6 MB, free: 1.434 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001317/0.343, allocations: 216.6 kB / 487.8 MB, free: 1.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.343, allocations: 4 kB / 487.8 MB, free: 1.156 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003014/0.3433, allocations: 80.81 kB / 487.9 MB, free: 1.074 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003194/0.3437, allocations: 95.83 kB / 488 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001705/0.3454, allocations: 1.729 MB / 489.7 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004108/0.3458, allocations: 87.66 kB / 489.8 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.772e-05/0.3459, allocations: 23.98 kB / 489.8 MB, free: 15.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.983e-06/0.3459, allocations: 4 kB / 489.8 MB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008764/0.3467, allocations: 0.5077 MB / 490.3 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.3468, allocations: 4 kB / 490.3 MB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002164/0.347, allocations: 81.34 kB / 490.4 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002967/0.3473, allocations: 83.84 kB / 490.5 MB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001666/0.349, allocations: 1.745 MB / 492.2 MB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003786/0.3494, allocations: 75.61 kB / 492.3 MB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.3494, allocations: 28 kB / 492.3 MB, free: 12.35 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,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_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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * 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.0003235/0.3497, allocations: 300.9 kB / 492.6 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.482e-05/0.3498, allocations: 51.38 kB / 492.7 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.35, allocations: 61.05 kB / 492.7 MB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.35, allocations: 8.031 kB / 492.7 MB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.35, allocations: 0 / 492.7 MB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.35, allocations: 3.984 kB / 492.7 MB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001782/0.3518, allocations: 1.279 MB / 494 MB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3518, allocations: 0 / 494 MB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.352, allocations: 55.78 kB / 494.1 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002072/0.3523, allocations: 72.81 kB / 494.1 MB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.3e-05/0.3523, allocations: 8 kB / 494.2 MB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001666/0.354, allocations: 1.648 MB / 495.8 MB, free: 8.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.354, allocations: 0 / 495.8 MB, free: 8.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.3553, allocations: 0.787 MB / 496.6 MB, free: 7.852 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002862/0.3556, allocations: 180.3 kB / 496.8 MB, free: 7.656 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.001e-05/0.3557, allocations: 15.94 kB / 496.8 MB, free: 7.641 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003147/0.356, allocations: 35.97 kB / 496.8 MB, free: 7.605 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001303/0.3561, allocations: 59.84 kB / 496.9 MB, free: 7.547 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.14e-05/0.3562, allocations: 23.98 kB / 496.9 MB, free: 7.523 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004222/0.3566, allocations: 323.1 kB / 497.2 MB, free: 7.207 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.3566, allocations: 0 / 497.2 MB, free: 7.207 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009041/0.3575, allocations: 283.2 kB / 497.5 MB, free: 6.93 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,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: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.off,rectifier.thyristor_p.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * 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.0001796/0.3577, allocations: 125.4 kB / 497.6 MB, free: 6.801 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001508/0.3592, allocations: 0.9714 MB / 498.6 MB, free: 5.805 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3593, allocations: 3.938 kB / 498.6 MB, free: 5.801 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004921/0.3598, allocations: 367.2 kB / 498.9 MB, free: 5.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005858/0.3603, allocations: 86.58 kB / 499 MB, free: 5.348 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.3624, allocations: 1.384 MB / 0.4887 GB, free: 3.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004966/0.3629, allocations: 0.9028 MB / 0.4896 GB, free: 3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003382/0.3633, allocations: 92.48 kB / 0.4897 GB, free: 2.906 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.785e-05/0.3634, allocations: 39.44 kB / 0.4897 GB, free: 2.867 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3634, allocations: 3.938 kB / 0.4897 GB, free: 2.863 MB / 378.7 MB Notification: Performance of Templates: time 0.1624/0.5258, allocations: 7.28 MB / 0.4968 GB, free: 105.7 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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/RectifierCenterTap2Pulse/ThyristorCenterTap2Pulse_RL/ThyristorCenterTap2Pulse_RL.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches