Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.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_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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_RLV_Characteristic") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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_RLV_Characteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001452/0.001452, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.239/1.239, allocations: 227.2 MB / 245 MB, free: 5.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009144/0.0009144, allocations: 104.8 kB / 297.3 MB, free: 5.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002363/0.0002363, allocations: 8 kB / 358 MB, free: 9.301 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2239, allocations: 51.49 MB / 409.4 MB, free: 26.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1051/0.329, allocations: 90.09 MB / 499.5 MB, free: 488 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/0.3293, allocations: 90.27 kB / 499.6 MB, free: 400 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03694/0.3663, allocations: 14.33 MB / 0.5019 GB, free: 1.996 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3663, allocations: 0 / 0.5019 GB, free: 1.996 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.132e-05/0.3664, allocations: 15.98 kB / 0.5019 GB, free: 1.98 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.002113/0.3685, allocations: 0.9822 MB / 0.5029 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.3686, allocations: 8.031 kB / 0.5029 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004364/0.369, allocations: 115.2 kB / 0.503 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009148/0.3699, allocations: 0.4939 MB / 0.5035 GB, free: 288 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.748e-05/0.37, allocations: 49.31 kB / 0.5035 GB, free: 240 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.3701, allocations: 71.94 kB / 0.5036 GB, free: 168 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1741/0.5442, allocations: 0.7075 MB / 0.5043 GB, free: 90.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.224e-05/0.5443, allocations: 2.688 kB / 0.5043 GB, free: 90.62 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/0.5444, allocations: 29.81 kB / 0.5043 GB, free: 90.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.005e-05/0.5445, allocations: 17.66 kB / 0.5043 GB, free: 90.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001484/0.546, allocations: 0.561 MB / 0.5049 GB, free: 90.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004121/0.5501, allocations: 2.42 MB / 0.5072 GB, free: 89.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/0.5514, allocations: 0.6107 MB / 0.5078 GB, free: 89.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.025e-05/0.5515, allocations: 7.109 kB / 0.5078 GB, free: 89.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006587/0.5522, allocations: 377 kB / 0.5082 GB, free: 89.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=52): time 3.908e-06/0.5522, allocations: 3.844 kB / 0.5082 GB, free: 89.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=52): time 0.002154/0.5543, allocations: 0.9062 MB / 0.5091 GB, free: 89.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.5544, allocations: 136.2 kB / 0.5092 GB, free: 89.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007238/0.5551, allocations: 413.2 kB / 0.5096 GB, free: 89.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.897e-05/0.5552, allocations: 47.78 kB / 0.5097 GB, free: 89.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002376/0.5555, allocations: 325.8 kB / 0.51 GB, free: 89.06 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.5556, allocations: 158.5 kB / 0.5101 GB, free: 88.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-05/0.5556, allocations: 13.78 kB / 0.5101 GB, free: 88.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.5558, allocations: 370.3 kB / 0.5105 GB, free: 88.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00044/0.5562, allocations: 214.6 kB / 0.5107 GB, free: 88.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005221/0.5567, allocations: 369.1 kB / 0.511 GB, free: 88.42 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004586/0.5572, allocations: 240.5 kB / 0.5113 GB, free: 88.33 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.5572, allocations: 5.125 kB / 0.5113 GB, free: 88.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001056/0.5583, allocations: 0.6749 MB / 0.5119 GB, free: 88.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002682/0.5586, allocations: 1.571 MB / 0.5135 GB, free: 86.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.5586, allocations: 3.875 kB / 0.5135 GB, free: 86.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002648/0.5588, allocations: 82.64 kB / 0.5136 GB, free: 86.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003606/0.5592, allocations: 107 kB / 0.5137 GB, free: 86.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00139/0.5606, allocations: 1.795 MB / 0.5154 GB, free: 84.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004347/0.5611, allocations: 84.27 kB / 0.5155 GB, free: 84.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/0.5611, allocations: 22.16 kB / 0.5155 GB, free: 84.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.246e-06/0.5611, allocations: 3.312 kB / 0.5155 GB, free: 84.73 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008546/0.562, allocations: 0.5685 MB / 0.5161 GB, free: 84.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.562, allocations: 4.125 kB / 0.5161 GB, free: 84.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002083/0.5622, allocations: 83.44 kB / 0.5161 GB, free: 84.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/0.5625, allocations: 101.5 kB / 0.5162 GB, free: 84.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/0.5638, allocations: 1.794 MB / 0.518 GB, free: 82.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003928/0.5642, allocations: 82.27 kB / 0.5181 GB, free: 82.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.109e-05/0.5642, allocations: 23 kB / 0.5181 GB, free: 82.83 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: 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * 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: 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 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002701/0.5645, allocations: 314.4 kB / 0.5184 GB, free: 82.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.62e-05/0.5646, allocations: 58.48 kB / 0.5185 GB, free: 82.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.5647, allocations: 64.77 kB / 0.5185 GB, free: 82.49 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.5647, allocations: 7.844 kB / 0.5185 GB, free: 82.49 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.5647, allocations: 3.5 kB / 0.5185 GB, free: 82.49 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.5647, allocations: 3.891 kB / 0.5185 GB, free: 82.49 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/0.5664, allocations: 1.335 MB / 0.5198 GB, free: 81.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.5664, allocations: 3.891 kB / 0.5198 GB, free: 81.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002988/0.5667, allocations: 69.36 kB / 0.5199 GB, free: 81.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000179/0.5669, allocations: 74.44 kB / 0.52 GB, free: 81.76 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.317e-05/0.567, allocations: 7.594 kB / 0.52 GB, free: 81.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001227/0.5682, allocations: 1.804 MB / 0.5217 GB, free: 80.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.5682, allocations: 0 / 0.5217 GB, free: 80.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/0.5695, allocations: 0.9382 MB / 0.5227 GB, free: 79.72 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001822/0.5697, allocations: 181.1 kB / 0.5228 GB, free: 79.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.816e-05/0.5698, allocations: 11.47 kB / 0.5228 GB, free: 79.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003493/0.5701, allocations: 50.06 kB / 0.5229 GB, free: 79.55 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.5703, allocations: 63.52 kB / 0.523 GB, free: 79.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.921e-05/0.5703, allocations: 16.08 kB / 0.523 GB, free: 79.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002786/0.5706, allocations: 323 kB / 0.5233 GB, free: 79.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5706, allocations: 3.25 kB / 0.5233 GB, free: 79.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008357/0.5715, allocations: 318 kB / 0.5236 GB, free: 79.29 MB / 378.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: 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 38 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001692/0.5716, allocations: 138.1 kB / 0.5237 GB, free: 79.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001647/0.5733, allocations: 1.112 MB / 0.5248 GB, free: 78.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.5733, allocations: 0 / 0.5248 GB, free: 78.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005424/0.5738, allocations: 412.3 kB / 0.5252 GB, free: 78.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004645/0.5743, allocations: 90.84 kB / 0.5253 GB, free: 78.42 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.5762, allocations: 1.524 MB / 0.5268 GB, free: 77.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.5766, allocations: 0.9512 MB / 0.5277 GB, free: 76.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003252/0.5769, allocations: 104.2 kB / 0.5278 GB, free: 76.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.577, allocations: 36.5 kB / 0.5278 GB, free: 76.78 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.577, allocations: 0 / 0.5278 GB, free: 76.78 MB / 378.7 MB Notification: Performance of Templates: time 0.01127/0.5883, allocations: 7.873 MB / 0.5355 GB, free: 72.67 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/ThyristorCenterTap2Pulse_RLV_Characteristic/ThyristorCenterTap2Pulse_RLV_Characteristic.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches