Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.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_RLV,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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009996/0.0009997, allocations: 177 kB / 8.7 MB, free: 384 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.448/1.448, 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.0008629/0.0008633, allocations: 82.23 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.543e-05/2.598e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09187/0.09192, allocations: 47.58 MB / 363.1 MB, free: 7.062 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3034/0.3954, allocations: 87.2 MB / 450.3 MB, free: 8.496 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.3957, allocations: 86.88 kB / 450.4 MB, free: 8.445 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03228/0.428, allocations: 13.12 MB / 463.5 MB, free: 13.54 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.428, allocations: 0 / 463.5 MB, free: 13.54 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.6e-05/0.4281, allocations: 19.94 kB / 463.5 MB, free: 13.52 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001353/0.4294, allocations: 0.8504 MB / 464.4 MB, free: 12.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.4295, allocations: 8.031 kB / 464.4 MB, free: 12.65 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.4296, allocations: 83.36 kB / 464.5 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007051/0.4303, allocations: 491.5 kB / 464.9 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.213e-05/0.4304, allocations: 23.98 kB / 465 MB, free: 12.1 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.103e-05/0.4305, allocations: 51.75 kB / 465 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006925/0.4312, allocations: 395.2 kB / 465.4 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000862/0.4321, allocations: 0.5419 MB / 465.9 MB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.4321, allocations: 0 / 465.9 MB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.023e-05/0.4321, allocations: 0 / 465.9 MB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.4322, allocations: 16 kB / 465.9 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00309/0.4353, allocations: 2.212 MB / 468.2 MB, free: 9.535 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007343/0.436, allocations: 442.8 kB / 468.6 MB, free: 9.234 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003996/0.4364, allocations: 228.9 kB / 468.8 MB, free: 9.074 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.576e-05/0.4365, allocations: 8 kB / 468.8 MB, free: 9.066 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004083/0.4369, allocations: 289.6 kB / 469.1 MB, free: 8.824 MB / 346.7 MB Notification: Performance of pre-optimization done (n=47): time 1.763e-06/0.4369, allocations: 0 / 469.1 MB, free: 8.824 MB / 346.7 MB Notification: Performance of matching and sorting (n=47): time 0.000655/0.4376, allocations: 393.9 kB / 469.5 MB, free: 8.527 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.547e-05/0.4376, allocations: 143.7 kB / 469.6 MB, free: 8.359 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003843/0.438, allocations: 363.5 kB / 470 MB, free: 8.078 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.762e-05/0.4381, allocations: 37.56 kB / 470 MB, free: 8.039 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002089/0.4383, allocations: 310.2 kB / 470.3 MB, free: 7.809 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.4384, allocations: 139.8 kB / 470.5 MB, free: 7.688 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.227e-05/0.4385, allocations: 3.938 kB / 470.5 MB, free: 7.684 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.4386, allocations: 365.3 kB / 470.8 MB, free: 7.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.4388, allocations: 141.6 kB / 471 MB, free: 7.258 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002947/0.4391, allocations: 297 kB / 471.3 MB, free: 6.977 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002368/0.4394, allocations: 155.5 kB / 471.4 MB, free: 6.883 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.4394, allocations: 0 / 471.4 MB, free: 6.883 MB / 346.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007145/0.4401, allocations: 0.497 MB / 471.9 MB, free: 6.496 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006105/0.4407, allocations: 1.663 MB / 473.6 MB, free: 4.734 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.4408, allocations: 7.984 kB / 473.6 MB, free: 4.727 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002771/0.441, allocations: 74.7 kB / 473.6 MB, free: 4.672 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003349/0.4414, allocations: 98.33 kB / 473.7 MB, free: 4.578 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/0.4429, allocations: 1.699 MB / 475.4 MB, free: 2.953 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003968/0.4433, allocations: 63.66 kB / 475.5 MB, free: 2.891 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.744e-05/0.4434, allocations: 23.92 kB / 475.5 MB, free: 2.871 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.764e-06/0.4434, allocations: 8.062 kB / 475.5 MB, free: 2.863 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006203/0.444, allocations: 418.4 kB / 475.9 MB, free: 2.566 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.444, allocations: 4.531 kB / 475.9 MB, free: 2.562 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001846/0.4442, allocations: 81.3 kB / 476 MB, free: 2.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003039/0.4445, allocations: 91.25 kB / 476.1 MB, free: 2.414 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001467/0.446, allocations: 1.699 MB / 477.8 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003454/0.4464, allocations: 55.84 kB / 477.9 MB, free: 0.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.686e-05/0.4464, allocations: 30.69 kB / 477.9 MB, free: 0.7266 MB / 346.7 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 (62): * Single equations (assignments): 61 * 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.0001654/0.4466, allocations: 135.5 kB / 478 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.354e-05/0.4467, allocations: 47.44 kB / 478.1 MB, free: 0.543 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.4468, allocations: 49.03 kB / 478.1 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.4468, allocations: 7.953 kB / 478.1 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.4468, allocations: 0 / 478.1 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.4468, allocations: 7.984 kB / 478.1 MB, free: 0.5 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/0.4483, allocations: 1.132 MB / 479.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.4483, allocations: 0 / 479.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002419/0.4485, allocations: 51.94 kB / 479.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001803/0.4487, allocations: 76.17 kB / 479.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.4488, allocations: 4 kB / 479.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001229/0.45, allocations: 1.592 MB / 481 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.45, allocations: 0 / 481 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008522/0.4509, allocations: 0.7104 MB / 481.7 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001656/0.4511, allocations: 165.3 kB / 481.9 MB, free: 13.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.678e-05/0.4511, allocations: 8 kB / 481.9 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003088/0.4514, allocations: 35.41 kB / 481.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.4516, allocations: 50.8 kB / 482 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/0.4516, allocations: 19.3 kB / 482 MB, free: 13.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002508/0.4519, allocations: 268.4 kB / 482.2 MB, free: 12.97 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4519, allocations: 0 / 482.2 MB, free: 12.97 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008343/0.4527, allocations: 270.9 kB / 482.5 MB, free: 12.7 MB / 362.7 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 (40): * 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: 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.0001743/0.4529, allocations: 124.4 kB / 482.6 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001125/0.454, allocations: 0.8721 MB / 483.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.454, allocations: 0 / 483.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003786/0.4544, allocations: 325.1 kB / 483.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.4548, allocations: 63.11 kB / 483.9 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.4563, allocations: 0.8324 MB / 484.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004597/0.4568, allocations: 0.931 MB / 485.6 MB, free: 9.879 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003742/0.4571, allocations: 108.3 kB / 485.7 MB, free: 9.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.66e-05/0.4572, allocations: 31.44 kB / 485.8 MB, free: 9.738 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4572, allocations: 0 / 485.8 MB, free: 9.738 MB / 362.7 MB Notification: Performance of Templates: time 0.01194/0.4692, allocations: 6.999 MB / 492.8 MB, free: 2.754 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/ThyristorCenterTap2Pulse_RLV/ThyristorCenterTap2Pulse_RLV.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches