Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001026/0.001026, allocations: 200.7 kB / 18.1 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 226.5 MB / 245.4 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007922/0.0007922, allocations: 95.62 kB / 297.5 MB, free: 6.637 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002726/0.0002727, allocations: 12 kB / 358.1 MB, free: 10 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2128, allocations: 51.28 MB / 409.4 MB, free: 27.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1074/0.3203, allocations: 89.74 MB / 499.1 MB, free: 1.723 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003301/0.3206, allocations: 87.94 kB / 499.2 MB, free: 1.637 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03802/0.3587, allocations: 14.57 MB / 0.5017 GB, free: 2.988 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3587, allocations: 4 kB / 0.5017 GB, free: 2.984 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.489e-05/0.3588, allocations: 12 kB / 0.5017 GB, free: 2.973 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.00179/0.3606, allocations: 0.972 MB / 0.5027 GB, free: 1.941 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.3606, allocations: 8.031 kB / 0.5027 GB, free: 1.934 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002415/0.3609, allocations: 99.89 kB / 0.5028 GB, free: 1.836 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007233/0.3616, allocations: 0.5105 MB / 0.5033 GB, free: 1.281 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.213e-05/0.3617, allocations: 57.67 kB / 0.5034 GB, free: 1.227 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.914e-05/0.3618, allocations: 76.31 kB / 0.5034 GB, free: 1.152 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.363, allocations: 0.7308 MB / 0.5041 GB, free: 400 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/0.3631, allocations: 8.125 kB / 0.5041 GB, free: 392 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.635e-05/0.3631, allocations: 27.94 kB / 0.5042 GB, free: 364 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.3632, allocations: 16 kB / 0.5042 GB, free: 348 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1901/0.5532, allocations: 0.5543 MB / 0.5047 GB, free: 91.26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004425/0.5577, allocations: 2.703 MB / 0.5074 GB, free: 90.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000898/0.5586, allocations: 0.5346 MB / 0.5079 GB, free: 90.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000568/0.5592, allocations: 337 kB / 0.5082 GB, free: 90.28 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.823e-05/0.5593, allocations: 5.781 kB / 0.5082 GB, free: 90.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006294/0.5599, allocations: 363.1 kB / 0.5086 GB, free: 90.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=57): time 3.587e-06/0.5599, allocations: 1.156 kB / 0.5086 GB, free: 90.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=57): time 0.002465/0.5624, allocations: 1.036 MB / 0.5096 GB, free: 90.03 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.5624, allocations: 144.5 kB / 0.5097 GB, free: 89.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007214/0.5632, allocations: 0.5062 MB / 0.5102 GB, free: 89.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.232e-05/0.5632, allocations: 45.7 kB / 0.5103 GB, free: 89.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/0.5635, allocations: 320.9 kB / 0.5106 GB, free: 89.58 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.5636, allocations: 171.3 kB / 0.5107 GB, free: 89.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-05/0.5636, allocations: 10.72 kB / 0.5107 GB, free: 89.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.44e-05/0.5637, allocations: 374.7 kB / 0.5111 GB, free: 89.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004448/0.5642, allocations: 214.6 kB / 0.5113 GB, free: 89.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000523/0.5647, allocations: 383.5 kB / 0.5117 GB, free: 88.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006608/0.5654, allocations: 0.5098 MB / 0.5122 GB, free: 88.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.5654, allocations: 1.312 kB / 0.5122 GB, free: 88.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001016/0.5664, allocations: 0.717 MB / 0.5129 GB, free: 88.31 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.817e-05/0.5665, allocations: 226.2 kB / 0.5131 GB, free: 88.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.5665, allocations: 7.812 kB / 0.5131 GB, free: 88.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004123/0.567, allocations: 157 kB / 0.5132 GB, free: 88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003024/0.5673, allocations: 85.36 kB / 0.5133 GB, free: 87.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002198/0.5695, allocations: 2.363 MB / 0.5156 GB, free: 86.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004762/0.57, allocations: 91.61 kB / 0.5157 GB, free: 86.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.628e-05/0.57, allocations: 27.09 kB / 0.5157 GB, free: 86.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.321e-06/0.57, allocations: 7.844 kB / 0.5157 GB, free: 86.09 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008511/0.5709, allocations: 0.6067 MB / 0.5163 GB, free: 85.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.5709, allocations: 7.281 kB / 0.5163 GB, free: 85.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003265/0.5712, allocations: 156.1 kB / 0.5165 GB, free: 85.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/0.5715, allocations: 83.67 kB / 0.5166 GB, free: 85.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00206/0.5736, allocations: 2.359 MB / 0.5189 GB, free: 83.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004049/0.574, allocations: 76.72 kB / 0.5189 GB, free: 83.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.133e-05/0.574, allocations: 22.97 kB / 0.519 GB, free: 83.84 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 (63): * Single equations (assignments): 62 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004011/0.5745, allocations: 319 kB / 0.5193 GB, free: 83.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.96e-05/0.5745, allocations: 58.59 kB / 0.5193 GB, free: 83.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001145/0.5747, allocations: 68.53 kB / 0.5194 GB, free: 83.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.5747, allocations: 3.875 kB / 0.5194 GB, free: 83.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.5747, allocations: 6.906 kB / 0.5194 GB, free: 83.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.5747, allocations: 3.797 kB / 0.5194 GB, free: 83.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/0.5764, allocations: 1.421 MB / 0.5208 GB, free: 82.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.5764, allocations: 0 / 0.5208 GB, free: 82.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002471/0.5767, allocations: 44.94 kB / 0.5208 GB, free: 82.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003427/0.5771, allocations: 144.3 kB / 0.521 GB, free: 82.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.524e-05/0.5771, allocations: 17.47 kB / 0.521 GB, free: 82.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00199/0.5791, allocations: 2.266 MB / 0.5232 GB, free: 80.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.5791, allocations: 0 / 0.5232 GB, free: 80.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.5803, allocations: 0.9355 MB / 0.5241 GB, free: 80.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002308/0.5805, allocations: 190.5 kB / 0.5243 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.041e-05/0.5806, allocations: 10.84 kB / 0.5243 GB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003158/0.5809, allocations: 45.77 kB / 0.5244 GB, free: 80.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.5811, allocations: 84.22 kB / 0.5244 GB, free: 80.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.887e-05/0.5811, allocations: 17.7 kB / 0.5245 GB, free: 80.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003737/0.5815, allocations: 355.4 kB / 0.5248 GB, free: 80.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5815, allocations: 0 / 0.5248 GB, free: 80.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009773/0.5825, allocations: 345.8 kB / 0.5251 GB, free: 79.94 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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_n1.off,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n2.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001765/0.5827, allocations: 151.3 kB / 0.5253 GB, free: 79.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001706/0.5844, allocations: 1.233 MB / 0.5265 GB, free: 79.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.5844, allocations: 0 / 0.5265 GB, free: 79.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005714/0.585, allocations: 478.2 kB / 0.5269 GB, free: 78.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006696/0.5857, allocations: 120 kB / 0.527 GB, free: 78.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/0.5878, allocations: 1.491 MB / 0.5285 GB, free: 78.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.5882, allocations: 0.9468 MB / 0.5294 GB, free: 77.33 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003484/0.5885, allocations: 96.14 kB / 0.5295 GB, free: 77.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.893e-05/0.5886, allocations: 39.38 kB / 0.5296 GB, free: 77.31 MB / 378.7 MB Notification: Performance of SimCode: time 7.61e-07/0.5886, allocations: 3.938 kB / 0.5296 GB, free: 77.31 MB / 378.7 MB Notification: Performance of Templates: time 0.01567/0.6043, allocations: 10.55 MB / 0.5399 GB, free: 69.76 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/ThyristorBridge2Pulse_R/ThyristorBridge2Pulse_R.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches