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_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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001495/0.001495, 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 1.938/1.938, 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.001146/0.001145, allocations: 98.47 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.079e-05/2.076e-05, allocations: 0 / 314.8 MB, free: 9.141 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.325, allocations: 47.56 MB / 362.4 MB, free: 45.86 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.139/0.464, allocations: 86.73 MB / 449.1 MB, free: 15.56 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003482/0.4644, allocations: 87.94 kB / 449.2 MB, free: 15.47 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05652/0.521, allocations: 12.84 MB / 462 MB, free: 2.668 MB / 347.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.521, allocations: 0 / 462 MB, free: 2.668 MB / 347.1 MB Notification: Performance of Transformations before backend: time 5.929e-05/0.5211, allocations: 12 kB / 462 MB, free: 2.656 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002391/0.5235, allocations: 0.8429 MB / 462.9 MB, free: 1.762 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.5236, allocations: 12.02 kB / 462.9 MB, free: 1.75 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002933/0.5239, allocations: 83.02 kB / 463 MB, free: 1.668 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/0.5251, allocations: 472.3 kB / 463.4 MB, free: 1.16 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.157e-05/0.5252, allocations: 23.98 kB / 463.4 MB, free: 1.137 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.5253, allocations: 40 kB / 463.5 MB, free: 1.098 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001264/0.5266, allocations: 394.5 kB / 463.9 MB, free: 0.7148 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.5281, allocations: 0.5297 MB / 464.4 MB, free: 172 kB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.311e-05/0.5281, allocations: 3.906 kB / 464.4 MB, free: 168 kB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.743e-05/0.5282, allocations: 3.984 kB / 464.4 MB, free: 164 kB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.894e-05/0.5283, allocations: 19.95 kB / 464.4 MB, free: 144 kB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0057/0.534, allocations: 2.167 MB / 466.6 MB, free: 13.87 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/0.5355, allocations: 437.3 kB / 467 MB, free: 13.43 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006899/0.5362, allocations: 221.1 kB / 467.2 MB, free: 13.22 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.949e-05/0.5363, allocations: 11.98 kB / 467.2 MB, free: 13.21 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007049/0.537, allocations: 296.4 kB / 467.5 MB, free: 12.89 MB / 363.1 MB Notification: Performance of pre-optimization done (n=46): time 3.437e-06/0.537, allocations: 0 / 467.5 MB, free: 12.89 MB / 363.1 MB Notification: Performance of matching and sorting (n=46): time 0.001237/0.5383, allocations: 393.8 kB / 467.9 MB, free: 12.5 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.491e-05/0.5384, allocations: 140.5 kB / 468.1 MB, free: 12.33 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007048/0.5391, allocations: 361.1 kB / 468.4 MB, free: 11.97 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.5392, allocations: 25.7 kB / 468.4 MB, free: 11.94 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003345/0.5396, allocations: 354.6 kB / 468.8 MB, free: 11.59 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/0.5398, allocations: 134.1 kB / 468.9 MB, free: 11.46 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/0.5398, allocations: 0 / 468.9 MB, free: 11.46 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.54, allocations: 334.8 kB / 469.2 MB, free: 11.12 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003931/0.5404, allocations: 141.1 kB / 469.4 MB, free: 10.98 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005445/0.541, allocations: 295.1 kB / 469.7 MB, free: 10.63 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004374/0.5414, allocations: 155.6 kB / 469.8 MB, free: 10.48 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.5414, allocations: 0 / 469.8 MB, free: 10.48 MB / 363.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00131/0.5428, allocations: 477.5 kB / 470.3 MB, free: 10 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007588/0.5436, allocations: 1.659 MB / 471.9 MB, free: 8.215 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.5436, allocations: 4 kB / 471.9 MB, free: 8.211 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004968/0.5441, allocations: 76.83 kB / 472 MB, free: 8.133 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006895/0.5448, allocations: 95.81 kB / 472.1 MB, free: 8.039 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002518/0.5473, allocations: 1.686 MB / 473.8 MB, free: 6.23 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008417/0.5482, allocations: 75.48 kB / 473.9 MB, free: 6.156 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.945e-05/0.5483, allocations: 27.94 kB / 473.9 MB, free: 6.129 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.5483, allocations: 4 kB / 473.9 MB, free: 6.125 MB / 363.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001151/0.5495, allocations: 412.9 kB / 474.3 MB, free: 5.719 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.5495, allocations: 8.531 kB / 474.3 MB, free: 5.711 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003469/0.5499, allocations: 72.83 kB / 474.4 MB, free: 5.637 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006316/0.5506, allocations: 87.83 kB / 474.5 MB, free: 5.551 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002404/0.553, allocations: 1.691 MB / 476.2 MB, free: 3.75 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000592/0.5536, allocations: 59.72 kB / 476.2 MB, free: 3.691 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-05/0.5537, allocations: 20 kB / 476.2 MB, free: 3.672 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 (61): * Single equations (assignments): 60 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002639/0.554, allocations: 132 kB / 476.4 MB, free: 3.535 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002137/0.5542, allocations: 47.44 kB / 476.4 MB, free: 3.488 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001764/0.5544, allocations: 48.97 kB / 476.5 MB, free: 3.438 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.5544, allocations: 4 kB / 476.5 MB, free: 3.434 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.5544, allocations: 7.938 kB / 476.5 MB, free: 3.426 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.5544, allocations: 4 kB / 476.5 MB, free: 3.422 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002746/0.5572, allocations: 1.116 MB / 477.6 MB, free: 2.254 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.5573, allocations: 3.953 kB / 477.6 MB, free: 2.25 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004909/0.5578, allocations: 52.69 kB / 477.6 MB, free: 2.199 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004461/0.5582, allocations: 72.81 kB / 477.7 MB, free: 2.125 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.269e-05/0.5583, allocations: 4 kB / 477.7 MB, free: 2.121 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002295/0.5606, allocations: 1.592 MB / 479.3 MB, free: 424 kB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/0.5607, allocations: 4.031 kB / 479.3 MB, free: 420 kB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001892/0.5626, allocations: 0.7144 MB / 480 MB, free: 15.67 MB / 379.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003959/0.563, allocations: 168.3 kB / 480.2 MB, free: 15.48 MB / 379.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.5632, allocations: 4 kB / 480.2 MB, free: 15.48 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005937/0.5638, allocations: 39.95 kB / 480.2 MB, free: 15.44 MB / 379.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000217/0.564, allocations: 59.81 kB / 480.3 MB, free: 15.38 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.054e-05/0.5641, allocations: 16 kB / 480.3 MB, free: 15.37 MB / 379.1 MB Notification: Performance of sorting global known variables: time 0.000502/0.5646, allocations: 263 kB / 480.6 MB, free: 15.11 MB / 379.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5646, allocations: 0 / 480.6 MB, free: 15.11 MB / 379.1 MB Notification: Performance of remove unused functions: time 0.001516/0.5661, allocations: 255.1 kB / 480.8 MB, free: 14.86 MB / 379.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * 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 (39): * Single equations (assignments): 33 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002909/0.5664, allocations: 125.4 kB / 480.9 MB, free: 14.73 MB / 379.1 MB Notification: Performance of simCode: created initialization part: time 0.002126/0.5686, allocations: 0.8445 MB / 481.8 MB, free: 13.87 MB / 379.1 MB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/0.5686, allocations: 4 kB / 481.8 MB, free: 13.86 MB / 379.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007323/0.5694, allocations: 325.4 kB / 482.1 MB, free: 13.54 MB / 379.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008555/0.5703, allocations: 62.08 kB / 482.2 MB, free: 13.48 MB / 379.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002592/0.5729, allocations: 0.8282 MB / 483 MB, free: 12.61 MB / 379.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006785/0.5736, allocations: 0.9218 MB / 483.9 MB, free: 11.66 MB / 379.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000249/0.5739, allocations: 35.44 kB / 484 MB, free: 11.62 MB / 379.1 MB Notification: Performance of SimCode: time 1.012e-06/0.5739, allocations: 0 / 484 MB, free: 11.62 MB / 379.1 MB Notification: Performance of Templates: time 0.02165/0.5956, allocations: 9.322 MB / 493.3 MB, free: 2.32 MB / 379.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_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_RL/ThyristorCenterTap2Pulse_RL.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches