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.001101/0.001101, allocations: 180.2 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008781/0.0008782, allocations: 95.56 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002446/0.0002447, allocations: 4 kB / 351.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.2994, allocations: 50.4 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1678/0.4673, allocations: 89.26 MB / 490.8 MB, free: 7.223 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004473/0.4678, allocations: 87.94 kB / 490.9 MB, free: 7.137 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05267/0.5205, allocations: 14.75 MB / 0.4938 GB, free: 8.297 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.5205, allocations: 0 / 0.4938 GB, free: 8.297 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.632e-05/0.5206, allocations: 15.98 kB / 0.4938 GB, free: 8.281 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.0032/0.5239, allocations: 0.9816 MB / 0.4947 GB, free: 7.242 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.5239, allocations: 8.031 kB / 0.4947 GB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004116/0.5243, allocations: 90.88 kB / 0.4948 GB, free: 7.145 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00151/0.5259, allocations: 0.5103 MB / 0.4953 GB, free: 6.594 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.765e-05/0.526, allocations: 50 kB / 0.4954 GB, free: 6.543 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002336/0.5262, allocations: 79.89 kB / 0.4955 GB, free: 6.465 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002279/0.5285, allocations: 0.7585 MB / 0.4962 GB, free: 5.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.946e-05/0.5286, allocations: 7.875 kB / 0.4962 GB, free: 5.672 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001347/0.5287, allocations: 31.98 kB / 0.4962 GB, free: 5.641 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-05/0.5288, allocations: 16 kB / 0.4962 GB, free: 5.625 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/0.5305, allocations: 0.5673 MB / 0.4968 GB, free: 5.059 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006483/0.537, allocations: 2.733 MB / 0.4995 GB, free: 2.207 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/0.5385, allocations: 0.5477 MB / 0.5 GB, free: 1.652 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.679e-05/0.5386, allocations: 8.438 kB / 0.5 GB, free: 1.645 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009139/0.5395, allocations: 378.1 kB / 0.5004 GB, free: 1.258 MB / 378.7 MB Notification: Performance of pre-optimization done (n=59): time 9.889e-06/0.5395, allocations: 3.984 kB / 0.5004 GB, free: 1.254 MB / 378.7 MB Notification: Performance of matching and sorting (n=59): time 0.003343/0.5429, allocations: 1.007 MB / 0.5014 GB, free: 204 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.543, allocations: 141.1 kB / 0.5015 GB, free: 32 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2208/0.7639, allocations: 453.5 kB / 0.5019 GB, free: 95.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001948/0.7641, allocations: 42.22 kB / 0.502 GB, free: 95.56 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004318/0.7646, allocations: 329.2 kB / 0.5023 GB, free: 95.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003101/0.7649, allocations: 178.3 kB / 0.5024 GB, free: 95.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.943e-05/0.765, allocations: 13.44 kB / 0.5025 GB, free: 95.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.7651, allocations: 371.2 kB / 0.5028 GB, free: 95.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005648/0.7657, allocations: 220.1 kB / 0.503 GB, free: 95.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006695/0.7664, allocations: 385.2 kB / 0.5034 GB, free: 94.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005798/0.767, allocations: 236.8 kB / 0.5036 GB, free: 94.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.767, allocations: 4.25 kB / 0.5036 GB, free: 94.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001536/0.7686, allocations: 0.7355 MB / 0.5043 GB, free: 94.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004196/0.769, allocations: 1.578 MB / 0.5059 GB, free: 93.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.769, allocations: 5.203 kB / 0.5059 GB, free: 93.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000555/0.7696, allocations: 151.9 kB / 0.506 GB, free: 93.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004029/0.77, allocations: 96.03 kB / 0.5061 GB, free: 93.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003111/0.7731, allocations: 3.481 MB / 0.5095 GB, free: 90.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005952/0.7737, allocations: 93.64 kB / 0.5096 GB, free: 90.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.555e-05/0.7738, allocations: 22.31 kB / 0.5096 GB, free: 90.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.7738, allocations: 3.938 kB / 0.5096 GB, free: 90.48 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001274/0.7751, allocations: 0.6345 MB / 0.5103 GB, free: 90.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.7751, allocations: 5.656 kB / 0.5103 GB, free: 90.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003656/0.7755, allocations: 146.3 kB / 0.5104 GB, free: 90.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003234/0.7758, allocations: 92.16 kB / 0.5105 GB, free: 90.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002679/0.7785, allocations: 3.485 MB / 0.5139 GB, free: 87.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00059/0.7791, allocations: 73.5 kB / 0.514 GB, free: 87.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.786e-05/0.7792, allocations: 30.91 kB / 0.514 GB, free: 87.55 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 (69): * Single equations (assignments): 67 * 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.0005708/0.7798, allocations: 321.5 kB / 0.5143 GB, free: 87.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002475/0.78, allocations: 71.59 kB / 0.5144 GB, free: 87.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002462/0.7803, allocations: 68.12 kB / 0.5144 GB, free: 87.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.7803, allocations: 12.94 kB / 0.5144 GB, free: 87.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.617e-06/0.7803, allocations: 0 / 0.5144 GB, free: 87.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.7804, allocations: 3.422 kB / 0.5144 GB, free: 87.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003096/0.7835, allocations: 1.452 MB / 0.5159 GB, free: 86.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.7835, allocations: 0 / 0.5159 GB, free: 86.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002685/0.7838, allocations: 56.7 kB / 0.5159 GB, free: 86.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003502/0.7841, allocations: 134.5 kB / 0.516 GB, free: 86.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-05/0.7842, allocations: 15 kB / 0.5161 GB, free: 86.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002441/0.7866, allocations: 3.316 MB / 0.5193 GB, free: 83.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.7866, allocations: 3.938 kB / 0.5193 GB, free: 83.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/0.7881, allocations: 0.9836 MB / 0.5203 GB, free: 82.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002729/0.7883, allocations: 192.7 kB / 0.5204 GB, free: 82.72 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.7884, allocations: 15.81 kB / 0.5205 GB, free: 82.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003816/0.7888, allocations: 45.91 kB / 0.5205 GB, free: 82.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/0.789, allocations: 78.56 kB / 0.5206 GB, free: 82.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.684e-05/0.7891, allocations: 22.81 kB / 0.5206 GB, free: 82.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004402/0.7895, allocations: 347.4 kB / 0.5209 GB, free: 82.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.7895, allocations: 4 kB / 0.5209 GB, free: 82.51 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001294/0.7908, allocations: 354.7 kB / 0.5213 GB, free: 82.43 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 (45): * 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: 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.0002131/0.791, allocations: 141.8 kB / 0.5214 GB, free: 82.33 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002029/0.7931, allocations: 1.419 MB / 0.5228 GB, free: 81.49 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.7931, allocations: 0 / 0.5228 GB, free: 81.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005732/0.7937, allocations: 0.543 MB / 0.5233 GB, free: 81.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005463/0.7942, allocations: 104.4 kB / 0.5234 GB, free: 81.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002433/0.7967, allocations: 1.603 MB / 0.525 GB, free: 80.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004825/0.7972, allocations: 0.9609 MB / 0.5259 GB, free: 79.44 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003542/0.7975, allocations: 102.6 kB / 0.526 GB, free: 79.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.7976, allocations: 44.64 kB / 0.5261 GB, free: 79.42 MB / 378.7 MB Notification: Performance of SimCode: time 8.91e-07/0.7977, allocations: 0 / 0.5261 GB, free: 79.42 MB / 378.7 MB Notification: Performance of Templates: time 0.01649/0.8142, allocations: 10.27 MB / 0.5361 GB, free: 74.45 MB / 378.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