Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00169/0.00169, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 221.5 MB / 230.3 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008528/0.0008528, allocations: 103.9 kB / 281.2 MB, free: 5.312 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.421e-05/1.422e-05, allocations: 4 kB / 337.1 MB, free: 10 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08367/0.0837, allocations: 50.42 MB / 387.5 MB, free: 7.539 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.32/0.4037, allocations: 88.52 MB / 476 MB, free: 6.301 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/0.404, allocations: 83.94 kB / 476.1 MB, free: 6.219 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03713/0.4412, allocations: 14.62 MB / 490.7 MB, free: 7.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.4412, allocations: 0 / 490.7 MB, free: 7.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.027e-05/0.4413, allocations: 16 kB / 490.7 MB, free: 7.504 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.001528/0.4428, allocations: 0.8969 MB / 491.6 MB, free: 6.555 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.4428, allocations: 8.031 kB / 491.6 MB, free: 6.547 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.443, allocations: 86.97 kB / 491.7 MB, free: 6.461 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007848/0.4438, allocations: 0.5045 MB / 492.2 MB, free: 5.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.372e-05/0.4438, allocations: 24 kB / 492.2 MB, free: 5.887 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.302e-05/0.4439, allocations: 51.94 kB / 492.3 MB, free: 5.836 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008611/0.4448, allocations: 491.9 kB / 492.8 MB, free: 5.355 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009994/0.4458, allocations: 0.6336 MB / 493.4 MB, free: 4.691 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.4458, allocations: 0 / 493.4 MB, free: 4.691 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.434e-05/0.4459, allocations: 4 kB / 493.4 MB, free: 4.688 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.4459, allocations: 20 kB / 493.4 MB, free: 4.668 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003549/0.4495, allocations: 2.591 MB / 496 MB, free: 1.973 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007114/0.4502, allocations: 0.5013 MB / 496.5 MB, free: 1.461 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006105/0.4508, allocations: 350.5 kB / 496.9 MB, free: 1.117 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.93e-05/0.4509, allocations: 12.42 kB / 496.9 MB, free: 1.105 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005097/0.4514, allocations: 356.4 kB / 497.2 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of pre-optimization done (n=59): time 2.204e-06/0.4514, allocations: 0 / 497.2 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of matching and sorting (n=59): time 0.0008706/0.4523, allocations: 0.5118 MB / 497.7 MB, free: 216 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.627e-05/0.4524, allocations: 141.1 kB / 497.9 MB, free: 44 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00045/0.4529, allocations: 377.1 kB / 498.2 MB, free: 15.67 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.251e-05/0.4529, allocations: 37.69 kB / 498.3 MB, free: 15.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002063/0.4531, allocations: 324 kB / 498.6 MB, free: 15.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.4533, allocations: 177.5 kB / 498.8 MB, free: 15.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/0.4533, allocations: 0 / 498.8 MB, free: 15.13 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.4535, allocations: 366.7 kB / 499.1 MB, free: 14.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000292/0.4538, allocations: 189.5 kB / 499.3 MB, free: 14.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003843/0.4542, allocations: 341.4 kB / 499.6 MB, free: 14.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003121/0.4545, allocations: 206 kB / 499.8 MB, free: 13.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.4545, allocations: 4 kB / 499.8 MB, free: 13.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001038/0.4555, allocations: 0.6486 MB / 0.4888 GB, free: 13.31 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005643/0.4561, allocations: 1.566 MB / 0.4903 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.4561, allocations: 4 kB / 0.4903 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004527/0.4566, allocations: 161.6 kB / 0.4905 GB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003733/0.457, allocations: 95.83 kB / 0.4905 GB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003345/0.4603, allocations: 3.512 MB / 0.494 GB, free: 7.605 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005207/0.4609, allocations: 79.55 kB / 0.4941 GB, free: 7.527 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.072e-05/0.4609, allocations: 24 kB / 0.4941 GB, free: 7.504 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.461, allocations: 5.406 kB / 0.4941 GB, free: 7.5 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009062/0.4619, allocations: 0.5577 MB / 0.4946 GB, free: 6.938 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.4619, allocations: 11.98 kB / 0.4946 GB, free: 6.926 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003718/0.4623, allocations: 145.7 kB / 0.4948 GB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003434/0.4626, allocations: 95.81 kB / 0.4949 GB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0034/0.466, allocations: 3.501 MB / 0.4983 GB, free: 2.949 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006075/0.4667, allocations: 63.5 kB / 0.4983 GB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.242e-05/0.4667, allocations: 23.98 kB / 0.4984 GB, free: 2.863 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * 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.0002466/0.467, allocations: 146.2 kB / 0.4985 GB, free: 2.719 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.4671, allocations: 55.3 kB / 0.4986 GB, free: 2.664 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001898/0.4673, allocations: 61.61 kB / 0.4986 GB, free: 2.602 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.4673, allocations: 8 kB / 0.4986 GB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4673, allocations: 0 / 0.4986 GB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.4673, allocations: 0 / 0.4986 GB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00191/0.4692, allocations: 1.312 MB / 0.4999 GB, free: 1.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.4693, allocations: 0 / 0.4999 GB, free: 1.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002714/0.4695, allocations: 51.91 kB / 0.5 GB, free: 1.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003673/0.4699, allocations: 149.6 kB / 0.5001 GB, free: 1.027 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.027e-05/0.47, allocations: 15.94 kB / 0.5001 GB, free: 1.012 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003147/0.4731, allocations: 3.383 MB / 0.5034 GB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.4731, allocations: 4 kB / 0.5034 GB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.4745, allocations: 0.9101 MB / 0.5043 GB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002717/0.4748, allocations: 180.3 kB / 0.5045 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.07e-05/0.4749, allocations: 15.94 kB / 0.5045 GB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003425/0.4752, allocations: 27.97 kB / 0.5045 GB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/0.4754, allocations: 80.45 kB / 0.5046 GB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.633e-05/0.4755, allocations: 19.98 kB / 0.5046 GB, free: 12.13 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003312/0.4758, allocations: 275 kB / 0.5049 GB, free: 11.86 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4758, allocations: 0 / 0.5049 GB, free: 11.86 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001178/0.477, allocations: 326.9 kB / 0.5052 GB, free: 11.54 MB / 394.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 36 * 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.0001912/0.4772, allocations: 137.4 kB / 0.5053 GB, free: 11.39 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00179/0.479, allocations: 1.325 MB / 0.5066 GB, free: 10.03 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.479, allocations: 0 / 0.5066 GB, free: 10.03 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005877/0.4796, allocations: 0.5129 MB / 0.5071 GB, free: 9.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004807/0.4801, allocations: 84.66 kB / 0.5072 GB, free: 9.414 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.4819, allocations: 0.9693 MB / 0.5081 GB, free: 8.418 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004886/0.4824, allocations: 0.967 MB / 0.5091 GB, free: 7.426 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004234/0.4829, allocations: 112.7 kB / 0.5092 GB, free: 7.312 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.209e-05/0.4829, allocations: 39.38 kB / 0.5092 GB, free: 7.273 MB / 394.7 MB Notification: Performance of SimCode: time 3.91e-07/0.483, allocations: 0 / 0.5092 GB, free: 7.273 MB / 394.7 MB Notification: Performance of Templates: time 0.01588/0.4988, allocations: 10.03 MB / 0.519 GB, free: 13.39 MB / 410.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/ThyristorBridge2Pulse_RL/ThyristorBridge2Pulse_RL.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches