Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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.RectifierBridge2Pulse.ThyristorBridge2Pulse_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_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001064/0.001064, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.235/1.235, allocations: 227.2 MB / 245 MB, free: 7.598 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008187/0.0008187, allocations: 104.3 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002574/0.0002574, allocations: 4 kB / 357.9 MB, free: 9.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2177, allocations: 51.48 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1009/0.3187, allocations: 90.81 MB / 0.4885 GB, free: 15.8 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/0.319, allocations: 87.95 kB / 0.4886 GB, free: 15.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03997/0.359, allocations: 15.42 MB / 0.5037 GB, free: 216 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.359, allocations: 4 kB / 0.5037 GB, free: 212 kB / 378.7 MB Notification: Performance of Transformations before backend: time 8.75e-05/0.3591, allocations: 20 kB / 0.5037 GB, free: 192 kB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.176/0.5352, allocations: 1.025 MB / 0.5047 GB, free: 89.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.5352, allocations: 9.562 kB / 0.5047 GB, free: 89.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004875/0.5357, allocations: 109.3 kB / 0.5048 GB, free: 89.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.5369, allocations: 0.5163 MB / 0.5053 GB, free: 89.6 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.864e-05/0.537, allocations: 61.78 kB / 0.5054 GB, free: 89.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/0.5372, allocations: 73.41 kB / 0.5054 GB, free: 89.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/0.5389, allocations: 0.804 MB / 0.5062 GB, free: 89.47 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.003e-05/0.5389, allocations: 3.625 kB / 0.5062 GB, free: 89.47 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.168e-05/0.539, allocations: 29.97 kB / 0.5062 GB, free: 89.47 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/0.539, allocations: 21.45 kB / 0.5063 GB, free: 89.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0013/0.5403, allocations: 0.618 MB / 0.5069 GB, free: 89.46 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00417/0.5445, allocations: 2.776 MB / 0.5096 GB, free: 88.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/0.546, allocations: 0.7424 MB / 0.5103 GB, free: 88.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.303e-05/0.546, allocations: 6.219 kB / 0.5103 GB, free: 88.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007719/0.5468, allocations: 420.7 kB / 0.5107 GB, free: 88.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 2.825e-06/0.5468, allocations: 0 / 0.5107 GB, free: 88.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=63): time 0.002236/0.5491, allocations: 1.156 MB / 0.5118 GB, free: 87.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.5491, allocations: 147.6 kB / 0.512 GB, free: 87.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004365/0.5496, allocations: 428.5 kB / 0.5124 GB, free: 87.53 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.238e-05/0.5496, allocations: 49.14 kB / 0.5124 GB, free: 87.49 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.5498, allocations: 338.9 kB / 0.5128 GB, free: 87.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.5499, allocations: 186.4 kB / 0.5129 GB, free: 87.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.839e-05/0.55, allocations: 15.97 kB / 0.5129 GB, free: 87.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.671e-05/0.55, allocations: 373.1 kB / 0.5133 GB, free: 86.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003878/0.5504, allocations: 246.9 kB / 0.5135 GB, free: 86.65 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004336/0.5509, allocations: 411.6 kB / 0.5139 GB, free: 86.37 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000412/0.5513, allocations: 268.1 kB / 0.5142 GB, free: 86.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.5513, allocations: 0 / 0.5142 GB, free: 86.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00114/0.5525, allocations: 0.7866 MB / 0.515 GB, free: 85.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00024/0.5527, allocations: 1.566 MB / 0.5165 GB, free: 84.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.5527, allocations: 3.844 kB / 0.5165 GB, free: 84.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000411/0.5531, allocations: 154.1 kB / 0.5166 GB, free: 84.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003845/0.5535, allocations: 113.8 kB / 0.5167 GB, free: 84.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002303/0.5559, allocations: 3.472 MB / 0.5201 GB, free: 81.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000474/0.5563, allocations: 96.66 kB / 0.5202 GB, free: 80.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.901e-05/0.5564, allocations: 24.41 kB / 0.5202 GB, free: 80.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.283e-06/0.5564, allocations: 2.188 kB / 0.5203 GB, free: 80.99 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009594/0.5574, allocations: 0.6777 MB / 0.5209 GB, free: 80.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.5574, allocations: 7.5 kB / 0.5209 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003188/0.5577, allocations: 148.8 kB / 0.5211 GB, free: 80.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003419/0.5581, allocations: 103.7 kB / 0.5212 GB, free: 80.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002215/0.5603, allocations: 3.484 MB / 0.5246 GB, free: 77.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004808/0.5608, allocations: 83.95 kB / 0.5246 GB, free: 77.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.748e-05/0.5608, allocations: 26.67 kB / 0.5247 GB, free: 77.43 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 69 * 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 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004231/0.5613, allocations: 329.1 kB / 0.525 GB, free: 77.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.5614, allocations: 65.19 kB / 0.525 GB, free: 77.13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001454/0.5616, allocations: 74.81 kB / 0.5251 GB, free: 77.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.5616, allocations: 7.938 kB / 0.5251 GB, free: 77.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.5616, allocations: 0 / 0.5251 GB, free: 77.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.5616, allocations: 7.656 kB / 0.5251 GB, free: 77.06 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001993/0.5636, allocations: 1.525 MB / 0.5266 GB, free: 76.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.5636, allocations: 0 / 0.5266 GB, free: 76.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000334/0.5639, allocations: 82.42 kB / 0.5267 GB, free: 76.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003135/0.5643, allocations: 136.1 kB / 0.5268 GB, free: 76.22 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4e-05/0.5643, allocations: 11.66 kB / 0.5268 GB, free: 76.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002091/0.5664, allocations: 3.319 MB / 0.5301 GB, free: 73.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5664, allocations: 0 / 0.5301 GB, free: 73.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001451/0.5679, allocations: 1.092 MB / 0.5311 GB, free: 72.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002402/0.5681, allocations: 196.5 kB / 0.5313 GB, free: 72.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.518e-05/0.5682, allocations: 15.61 kB / 0.5313 GB, free: 72.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003894/0.5686, allocations: 56.69 kB / 0.5314 GB, free: 72.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/0.5688, allocations: 80.97 kB / 0.5315 GB, free: 72.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.836e-05/0.5689, allocations: 20.88 kB / 0.5315 GB, free: 72.49 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003229/0.5692, allocations: 335.8 kB / 0.5318 GB, free: 72.33 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5692, allocations: 4 kB / 0.5318 GB, free: 72.33 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001136/0.5703, allocations: 369.2 kB / 0.5322 GB, free: 72.24 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: 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 42 * 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 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001927/0.5705, allocations: 142.4 kB / 0.5323 GB, free: 72.13 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002054/0.5726, allocations: 1.51 MB / 0.5338 GB, free: 71.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.5726, allocations: 0 / 0.5338 GB, free: 71.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006433/0.5733, allocations: 0.5942 MB / 0.5344 GB, free: 70.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005002/0.5738, allocations: 106.2 kB / 0.5345 GB, free: 70.67 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002312/0.5761, allocations: 1.711 MB / 0.5361 GB, free: 69.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.5765, allocations: 0.9832 MB / 0.5371 GB, free: 68.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000333/0.5768, allocations: 98.12 kB / 0.5372 GB, free: 68.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.5769, allocations: 46.72 kB / 0.5372 GB, free: 68.11 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5769, allocations: 0 / 0.5372 GB, free: 68.11 MB / 378.7 MB Notification: Performance of Templates: time 0.01546/0.5924, allocations: 10.61 MB / 0.5476 GB, free: 59.89 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic_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_Characteristic/ThyristorBridge2Pulse_RLV_Characteristic.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches