Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00144/0.00144, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.048/2.048, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 98.66 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.23e-05/2.252e-05, allocations: 4 kB / 314.8 MB, free: 9.145 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3269, allocations: 47.56 MB / 362.3 MB, free: 45.88 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1367/0.4637, allocations: 86.42 MB / 448.8 MB, free: 15.89 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003442/0.4641, allocations: 87.94 kB / 448.9 MB, free: 15.8 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05406/0.5182, allocations: 12.53 MB / 461.4 MB, free: 3.309 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5183, allocations: 0 / 461.4 MB, free: 3.309 MB / 347.1 MB Notification: Performance of Transformations before backend: time 5.943e-05/0.5183, allocations: 16 kB / 461.4 MB, free: 3.293 MB / 347.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.002281/0.5206, allocations: 0.8187 MB / 462.2 MB, free: 2.426 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.5207, allocations: 12.03 kB / 462.2 MB, free: 2.414 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00025/0.521, allocations: 75.06 kB / 462.3 MB, free: 2.34 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.5222, allocations: 468.2 kB / 462.8 MB, free: 1.84 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.626e-05/0.5222, allocations: 23.98 kB / 462.8 MB, free: 1.816 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.5224, allocations: 43.98 kB / 462.8 MB, free: 1.773 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001174/0.5236, allocations: 386.5 kB / 463.2 MB, free: 1.395 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.5249, allocations: 0.5027 MB / 463.7 MB, free: 0.8711 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.147e-05/0.525, allocations: 0 / 463.7 MB, free: 0.8711 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.671e-05/0.5251, allocations: 9.719 kB / 463.7 MB, free: 0.8633 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.5251, allocations: 12 kB / 463.7 MB, free: 0.8516 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005386/0.5305, allocations: 2.09 MB / 465.8 MB, free: 14.66 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/0.5319, allocations: 437 kB / 466.2 MB, free: 14.23 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000675/0.5326, allocations: 217.8 kB / 466.5 MB, free: 14.01 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.758e-05/0.5327, allocations: 8.312 kB / 466.5 MB, free: 14 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006803/0.5334, allocations: 282 kB / 466.7 MB, free: 13.71 MB / 363.1 MB Notification: Performance of pre-optimization done (n=44): time 3.236e-06/0.5334, allocations: 0 / 466.7 MB, free: 13.71 MB / 363.1 MB Notification: Performance of matching and sorting (n=44): time 0.001218/0.5347, allocations: 385.8 kB / 467.1 MB, free: 13.32 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.5348, allocations: 140.5 kB / 467.3 MB, free: 13.15 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006982/0.5355, allocations: 353.1 kB / 467.6 MB, free: 12.8 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 7.564e-05/0.5356, allocations: 33.7 kB / 467.6 MB, free: 12.76 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003364/0.5359, allocations: 346.8 kB / 468 MB, free: 12.42 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/0.5361, allocations: 130 kB / 468.1 MB, free: 12.29 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.314e-05/0.5362, allocations: 0 / 468.1 MB, free: 12.29 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.5363, allocations: 326.8 kB / 468.4 MB, free: 11.96 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004033/0.5368, allocations: 141.1 kB / 468.6 MB, free: 11.82 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005388/0.5373, allocations: 286.8 kB / 468.8 MB, free: 11.48 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004208/0.5377, allocations: 155.9 kB / 469 MB, free: 11.33 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.5378, allocations: 0 / 469 MB, free: 11.33 MB / 363.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001281/0.5391, allocations: 470.5 kB / 469.4 MB, free: 10.86 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008685/0.5399, allocations: 1.659 MB / 471.1 MB, free: 9.07 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.54, allocations: 6.734 kB / 471.1 MB, free: 9.066 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005588/0.5406, allocations: 84.81 kB / 471.2 MB, free: 8.98 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006094/0.5412, allocations: 79.84 kB / 471.3 MB, free: 8.902 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002982/0.5442, allocations: 1.804 MB / 473.1 MB, free: 6.977 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008188/0.545, allocations: 71.58 kB / 473.1 MB, free: 6.906 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-05/0.5451, allocations: 20 kB / 473.2 MB, free: 6.887 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.5452, allocations: 8.062 kB / 473.2 MB, free: 6.879 MB / 363.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001173/0.5463, allocations: 412.6 kB / 473.6 MB, free: 6.473 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.5464, allocations: 4.531 kB / 473.6 MB, free: 6.469 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003987/0.5468, allocations: 84.83 kB / 473.7 MB, free: 6.383 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005088/0.5473, allocations: 79.83 kB / 473.7 MB, free: 6.305 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002762/0.5501, allocations: 1.78 MB / 475.5 MB, free: 4.41 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005692/0.5507, allocations: 59.66 kB / 475.6 MB, free: 4.352 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-05/0.5508, allocations: 24.09 kB / 475.6 MB, free: 4.328 MB / 363.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 25 ($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_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.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 (56): * Single equations (assignments): 55 * 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 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002506/0.551, allocations: 131.9 kB / 475.7 MB, free: 4.191 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/0.5512, allocations: 51.42 kB / 475.8 MB, free: 4.141 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000176/0.5514, allocations: 52.91 kB / 475.8 MB, free: 4.09 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.146e-06/0.5514, allocations: 4 kB / 475.8 MB, free: 4.086 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.5514, allocations: 0 / 475.8 MB, free: 4.086 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.5515, allocations: 4.031 kB / 475.8 MB, free: 4.082 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002511/0.554, allocations: 1.112 MB / 477 MB, free: 2.918 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.554, allocations: 0 / 477 MB, free: 2.918 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003769/0.5544, allocations: 47.91 kB / 477 MB, free: 2.871 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000402/0.5548, allocations: 68.83 kB / 477.1 MB, free: 2.801 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.731e-05/0.5549, allocations: 11.98 kB / 477.1 MB, free: 2.789 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002735/0.5577, allocations: 1.686 MB / 478.8 MB, free: 0.9844 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.5577, allocations: 4.062 kB / 478.8 MB, free: 0.9805 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/0.5595, allocations: 0.6877 MB / 479.5 MB, free: 272 kB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003694/0.5599, allocations: 156.5 kB / 479.6 MB, free: 96 kB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.56, allocations: 15.98 kB / 479.6 MB, free: 80 kB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005799/0.5606, allocations: 35.97 kB / 479.7 MB, free: 44 kB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002272/0.5608, allocations: 47.97 kB / 479.7 MB, free: 15.99 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.289e-05/0.5609, allocations: 15.94 kB / 479.7 MB, free: 15.98 MB / 379.1 MB Notification: Performance of sorting global known variables: time 0.0004865/0.5614, allocations: 267.2 kB / 480 MB, free: 15.72 MB / 379.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5614, allocations: 3.938 kB / 480 MB, free: 15.72 MB / 379.1 MB Notification: Performance of remove unused functions: time 0.001475/0.5629, allocations: 255.1 kB / 480.2 MB, free: 15.47 MB / 379.1 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: 18 (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_p.off,rectifier.thyristor_n.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: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.off,rectifier.thyristor_p.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * 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 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002777/0.5632, allocations: 126.4 kB / 480.4 MB, free: 15.34 MB / 379.1 MB Notification: Performance of simCode: created initialization part: time 0.002215/0.5654, allocations: 0.8486 MB / 481.2 MB, free: 14.47 MB / 379.1 MB Notification: Performance of simCode: created event and clocks part: time 7.104e-06/0.5655, allocations: 4 kB / 481.2 MB, free: 14.47 MB / 379.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.5666, allocations: 322.6 kB / 481.5 MB, free: 14.14 MB / 379.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.5678, allocations: 78.05 kB / 481.6 MB, free: 14.07 MB / 379.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003408/0.5712, allocations: 0.746 MB / 482.4 MB, free: 13.29 MB / 379.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/0.5724, allocations: 0.9098 MB / 483.3 MB, free: 12.36 MB / 379.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003123/0.5728, allocations: 43.38 kB / 483.3 MB, free: 12.31 MB / 379.1 MB Notification: Performance of SimCode: time 1.383e-06/0.5728, allocations: 0 / 483.3 MB, free: 12.31 MB / 379.1 MB Notification: Performance of Templates: time 0.02954/0.6023, allocations: 9.088 MB / 492.4 MB, free: 3.25 MB / 379.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/ThyristorCenterTap2Pulse_R/ThyristorCenterTap2Pulse_R.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches