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.001005/0.001005, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008199/0.0008199, allocations: 78.72 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.298e-05/1.3e-05, allocations: 7.984 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08751/0.08754, allocations: 47.58 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3476/0.4352, allocations: 87.41 MB / 450.5 MB, free: 8.297 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/0.4354, allocations: 84.38 kB / 450.6 MB, free: 8.25 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03622/0.4717, allocations: 13.81 MB / 464.4 MB, free: 12.77 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4717, allocations: 0 / 464.4 MB, free: 12.77 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.971e-05/0.4718, allocations: 16 kB / 464.4 MB, free: 12.76 MB / 346.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.002093/0.4739, allocations: 0.8871 MB / 465.3 MB, free: 11.86 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/0.4739, allocations: 12.03 kB / 465.3 MB, free: 11.85 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002976/0.4743, allocations: 82.97 kB / 465.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.4753, allocations: 0.4947 MB / 465.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.136e-05/0.4754, allocations: 24 kB / 465.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/0.4756, allocations: 47.42 kB / 466 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001163/0.4767, allocations: 459.8 kB / 466.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0014/0.4781, allocations: 0.5995 MB / 467 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.16e-05/0.4782, allocations: 4 kB / 467 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.49e-05/0.4783, allocations: 0 / 467 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.391e-05/0.4783, allocations: 16 kB / 467 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004479/0.4828, allocations: 2.532 MB / 469.6 MB, free: 8.41 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008889/0.4837, allocations: 0.5414 MB / 470.1 MB, free: 8.062 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000584/0.4843, allocations: 336.4 kB / 470.4 MB, free: 7.824 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.816e-05/0.4844, allocations: 4.438 kB / 470.4 MB, free: 7.82 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004924/0.4849, allocations: 337.2 kB / 470.8 MB, free: 7.559 MB / 346.7 MB Notification: Performance of pre-optimization done (n=57): time 2.384e-06/0.4849, allocations: 0 / 470.8 MB, free: 7.559 MB / 346.7 MB Notification: Performance of matching and sorting (n=57): time 0.0008569/0.4857, allocations: 0.4948 MB / 471.2 MB, free: 7.191 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.495e-05/0.4858, allocations: 115.4 kB / 471.4 MB, free: 7.051 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003977/0.4862, allocations: 367 kB / 471.7 MB, free: 6.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.856e-05/0.4863, allocations: 33.52 kB / 471.8 MB, free: 6.734 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.4865, allocations: 323.8 kB / 472.1 MB, free: 6.488 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.4866, allocations: 158.9 kB / 472.2 MB, free: 6.355 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-05/0.4866, allocations: 0 / 472.2 MB, free: 6.355 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.4868, allocations: 366.5 kB / 472.6 MB, free: 6.012 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.4871, allocations: 180.5 kB / 472.8 MB, free: 5.91 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003571/0.4874, allocations: 330.6 kB / 473.1 MB, free: 5.617 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/0.4877, allocations: 205.2 kB / 473.3 MB, free: 5.484 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.4877, allocations: 4 kB / 473.3 MB, free: 5.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.000946/0.4887, allocations: 0.6196 MB / 473.9 MB, free: 5.016 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005757/0.4893, allocations: 1.575 MB / 475.5 MB, free: 3.344 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.4893, allocations: 4 kB / 475.5 MB, free: 3.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004378/0.4897, allocations: 155.8 kB / 475.6 MB, free: 3.227 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003492/0.4901, allocations: 95.27 kB / 475.7 MB, free: 3.137 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003126/0.4932, allocations: 3.489 MB / 479.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004684/0.4937, allocations: 79.55 kB / 479.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.189e-05/0.4938, allocations: 26.69 kB / 479.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.4938, allocations: 7.953 kB / 479.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008146/0.4946, allocations: 0.5309 MB / 479.9 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.4946, allocations: 4 kB / 479.9 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003557/0.495, allocations: 153.7 kB / 480 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000296/0.4953, allocations: 86.58 kB / 480.1 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002941/0.4982, allocations: 3.51 MB / 483.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000423/0.4987, allocations: 59.64 kB / 483.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.733e-05/0.4987, allocations: 26.81 kB / 483.7 MB, free: 11.85 MB / 362.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 () * 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.0002075/0.4989, allocations: 141.4 kB / 483.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.826e-05/0.4991, allocations: 55.3 kB / 483.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001559/0.4992, allocations: 58.03 kB / 483.9 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.4992, allocations: 4 kB / 483.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.4992, allocations: 4 kB / 484 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.4993, allocations: 3.984 kB / 484 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001874/0.5011, allocations: 1.248 MB / 485.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.5012, allocations: 0 / 485.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002495/0.5014, allocations: 51.97 kB / 485.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003795/0.5018, allocations: 165.5 kB / 485.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/0.5018, allocations: 3.984 kB / 485.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00303/0.5049, allocations: 3.379 MB / 488.8 MB, free: 6.625 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.5049, allocations: 4.125 kB / 488.8 MB, free: 6.621 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.5062, allocations: 0.875 MB / 489.7 MB, free: 5.723 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002199/0.5065, allocations: 180.4 kB / 489.9 MB, free: 5.527 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.394e-05/0.5065, allocations: 7.953 kB / 489.9 MB, free: 5.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003255/0.5069, allocations: 35.97 kB / 489.9 MB, free: 5.484 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.507, allocations: 76.44 kB / 490 MB, free: 5.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/0.5071, allocations: 16 kB / 490 MB, free: 5.395 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003065/0.5074, allocations: 275 kB / 490.3 MB, free: 5.125 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5074, allocations: 0 / 490.3 MB, free: 5.125 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001161/0.5086, allocations: 303.1 kB / 490.5 MB, free: 4.828 MB / 362.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,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) * 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.0002214/0.5088, allocations: 141.4 kB / 490.7 MB, free: 4.676 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001858/0.5107, allocations: 1.294 MB / 492 MB, free: 3.344 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.5107, allocations: 0 / 492 MB, free: 3.344 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000618/0.5113, allocations: 0.4984 MB / 492.5 MB, free: 2.828 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005055/0.5118, allocations: 79.66 kB / 492.6 MB, free: 2.754 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.5137, allocations: 0.9262 MB / 493.5 MB, free: 1.797 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005396/0.5142, allocations: 0.9473 MB / 494.4 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003732/0.5146, allocations: 100.6 kB / 494.5 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.653e-05/0.5147, allocations: 35.42 kB / 494.6 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of SimCode: time 3.51e-07/0.5147, allocations: 0 / 494.6 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of Templates: time 0.01574/0.5304, allocations: 9.757 MB / 0.4925 GB, free: 6.918 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/jenkins/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