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_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_cpp_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_cpp_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.002135/0.002136, allocations: 181.6 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.102/2.102, allocations: 205.2 MB / 219.4 MB, free: 14.28 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 94.62 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.132e-05/3.152e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09614/0.0962, allocations: 47.58 MB / 369.1 MB, free: 2.195 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4143/0.5106, allocations: 87.62 MB / 456.7 MB, free: 5.625 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003361/0.511, allocations: 89.94 kB / 456.8 MB, free: 5.574 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05673/0.5677, allocations: 13.24 MB / 470.1 MB, free: 10.2 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5678, allocations: 0 / 470.1 MB, free: 10.2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.422e-05/0.5679, allocations: 15.98 kB / 470.1 MB, free: 10.18 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.002377/0.5703, allocations: 0.8495 MB / 470.9 MB, free: 9.281 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.5703, allocations: 12.03 kB / 470.9 MB, free: 9.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003282/0.5707, allocations: 87.34 kB / 471 MB, free: 9.184 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.5719, allocations: 489.9 kB / 471.5 MB, free: 8.664 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.706e-05/0.572, allocations: 45.31 kB / 471.5 MB, free: 8.617 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/0.5722, allocations: 64 kB / 471.6 MB, free: 8.555 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00173/0.5739, allocations: 0.6223 MB / 472.2 MB, free: 7.91 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/0.574, allocations: 7.984 kB / 472.2 MB, free: 7.902 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.687e-05/0.5741, allocations: 27.94 kB / 472.3 MB, free: 7.875 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.81e-05/0.5741, allocations: 16 kB / 472.3 MB, free: 7.859 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.5755, allocations: 445.1 kB / 472.7 MB, free: 7.422 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00577/0.5813, allocations: 2.34 MB / 475 MB, free: 4.965 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.5828, allocations: 466.7 kB / 475.5 MB, free: 4.496 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007534/0.5836, allocations: 241.3 kB / 475.7 MB, free: 4.258 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.74e-05/0.5837, allocations: 7.984 kB / 475.7 MB, free: 4.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007775/0.5844, allocations: 304.2 kB / 476 MB, free: 3.926 MB / 346.7 MB Notification: Performance of pre-optimization done (n=47): time 3.286e-06/0.5845, allocations: 0 / 476 MB, free: 3.926 MB / 346.7 MB Notification: Performance of matching and sorting (n=47): time 0.001304/0.5858, allocations: 432.6 kB / 476.5 MB, free: 3.496 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.646e-05/0.5859, allocations: 136.5 kB / 476.6 MB, free: 3.332 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008647/0.5868, allocations: 439.7 kB / 477 MB, free: 2.898 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.176e-05/0.5869, allocations: 37.7 kB / 477.1 MB, free: 2.855 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003206/0.5872, allocations: 354.8 kB / 477.4 MB, free: 2.508 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/0.5874, allocations: 138.1 kB / 477.5 MB, free: 2.371 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.427e-05/0.5875, allocations: 12 kB / 477.6 MB, free: 2.359 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.5876, allocations: 326.8 kB / 477.9 MB, free: 2.031 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004412/0.5881, allocations: 153.1 kB / 478 MB, free: 1.879 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005776/0.5887, allocations: 312.6 kB / 478.3 MB, free: 1.512 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004769/0.5891, allocations: 177.6 kB / 478.5 MB, free: 1.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.5892, allocations: 0 / 478.5 MB, free: 1.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001383/0.5906, allocations: 0.516 MB / 479 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006845/0.5913, allocations: 1.664 MB / 480.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.5913, allocations: 7.953 kB / 480.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004902/0.5918, allocations: 84.81 kB / 480.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006877/0.5925, allocations: 91.83 kB / 480.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002492/0.595, allocations: 1.737 MB / 482.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008856/0.5959, allocations: 95.41 kB / 482.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.439e-05/0.596, allocations: 20 kB / 482.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.5961, allocations: 8.062 kB / 482.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001317/0.5974, allocations: 482.8 kB / 483.2 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.5974, allocations: 4.531 kB / 483.2 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003581/0.5978, allocations: 76.83 kB / 483.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006034/0.5984, allocations: 91.78 kB / 483.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002359/0.6008, allocations: 1.733 MB / 485.1 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006181/0.6014, allocations: 71.72 kB / 485.2 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.359e-05/0.6015, allocations: 20 kB / 485.2 MB, free: 10.24 MB / 362.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.0002566/0.6018, allocations: 144 kB / 485.3 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/0.602, allocations: 63.28 kB / 485.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001955/0.6022, allocations: 56.98 kB / 485.4 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/0.6022, allocations: 8.031 kB / 485.5 MB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.6022, allocations: 4 kB / 485.5 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.407e-06/0.6023, allocations: 7.984 kB / 485.5 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002788/0.6051, allocations: 1.256 MB / 486.7 MB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.6051, allocations: 4 kB / 486.7 MB, free: 8.633 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000466/0.6056, allocations: 55.94 kB / 486.8 MB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000353/0.6059, allocations: 68.83 kB / 486.8 MB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.925e-05/0.606, allocations: 7.984 kB / 486.9 MB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002292/0.6083, allocations: 1.652 MB / 488.5 MB, free: 6.719 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.6084, allocations: 3.953 kB / 488.5 MB, free: 6.715 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/0.6103, allocations: 0.7459 MB / 489.3 MB, free: 5.941 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00038/0.6107, allocations: 176.3 kB / 489.4 MB, free: 5.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.6108, allocations: 15.98 kB / 489.4 MB, free: 5.734 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005961/0.6114, allocations: 35.97 kB / 489.5 MB, free: 5.699 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002094/0.6117, allocations: 59.92 kB / 489.5 MB, free: 5.641 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.782e-05/0.6117, allocations: 15.98 kB / 489.6 MB, free: 5.625 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006205/0.6124, allocations: 321.5 kB / 489.9 MB, free: 5.312 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6124, allocations: 0 / 489.9 MB, free: 5.312 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001329/0.6137, allocations: 295 kB / 490.2 MB, free: 5.023 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.0002669/0.614, allocations: 133.5 kB / 490.3 MB, free: 4.883 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002198/0.6162, allocations: 0.9159 MB / 491.2 MB, free: 3.941 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/0.6163, allocations: 4.625 kB / 491.2 MB, free: 3.938 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007428/0.617, allocations: 350.2 kB / 491.5 MB, free: 3.582 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007962/0.6178, allocations: 83.52 kB / 491.6 MB, free: 3.504 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002637/0.6205, allocations: 0.8774 MB / 492.5 MB, free: 2.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006247/0.6211, allocations: 0.9223 MB / 493.4 MB, free: 1.637 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002407/0.6214, allocations: 39.44 kB / 493.5 MB, free: 1.598 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6214, allocations: 0 / 493.5 MB, free: 1.598 MB / 362.7 MB Notification: Performance of Templates: time 0.02161/0.643, allocations: 9.818 MB / 0.4915 GB, free: 7.77 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_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_RLV/ThyristorCenterTap2Pulse_RLV.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches