Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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.RectifierBridge2Pulse.ThyristorBridge2Pulse_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_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002124/0.002124, allocations: 179.2 kB / 8.363 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.06/2.06, allocations: 205.3 MB / 214.1 MB, free: 14.15 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.001113/0.001113, allocations: 91.81 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.002e-05/2.011e-05, allocations: 0 / 314.8 MB, free: 9.145 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3284, allocations: 47.57 MB / 362.4 MB, free: 45.86 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1382/0.4667, allocations: 87.43 MB / 449.8 MB, free: 14.87 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003376/0.4671, allocations: 83.95 kB / 449.9 MB, free: 14.79 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05894/0.5261, allocations: 14.07 MB / 463.9 MB, free: 0.7344 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5261, allocations: 0 / 463.9 MB, free: 0.7344 MB / 347.1 MB Notification: Performance of Transformations before backend: time 7.038e-05/0.5262, allocations: 27.94 kB / 464 MB, free: 0.707 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002562/0.5288, allocations: 0.8972 MB / 464.9 MB, free: 15.75 MB / 363.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/0.5288, allocations: 11.97 kB / 464.9 MB, free: 15.74 MB / 363.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003115/0.5292, allocations: 90.92 kB / 465 MB, free: 15.65 MB / 363.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/0.5305, allocations: 0.4969 MB / 465.5 MB, free: 15.11 MB / 363.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.89e-05/0.5306, allocations: 20 kB / 465.5 MB, free: 15.09 MB / 363.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/0.5308, allocations: 51.94 kB / 465.5 MB, free: 15.04 MB / 363.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001499/0.5323, allocations: 471.9 kB / 466 MB, free: 14.58 MB / 363.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001633/0.534, allocations: 0.6171 MB / 466.6 MB, free: 13.94 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/0.534, allocations: 3.906 kB / 466.6 MB, free: 13.94 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.473e-05/0.5341, allocations: 0 / 466.6 MB, free: 13.94 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.55e-05/0.5342, allocations: 16 kB / 466.6 MB, free: 13.92 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006457/0.5406, allocations: 2.565 MB / 469.2 MB, free: 11.25 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/0.5423, allocations: 0.5573 MB / 469.7 MB, free: 10.69 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001106/0.5435, allocations: 369.9 kB / 470.1 MB, free: 10.32 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.514e-05/0.5435, allocations: 4.438 kB / 470.1 MB, free: 10.32 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008384/0.5444, allocations: 332.6 kB / 470.4 MB, free: 9.973 MB / 363.1 MB Notification: Performance of pre-optimization done (n=58): time 3.146e-06/0.5444, allocations: 0 / 470.4 MB, free: 9.973 MB / 363.1 MB Notification: Performance of matching and sorting (n=58): time 0.001494/0.5459, allocations: 0.4962 MB / 470.9 MB, free: 9.465 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.032e-05/0.546, allocations: 115.4 kB / 471 MB, free: 9.328 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007251/0.5468, allocations: 369.1 kB / 471.4 MB, free: 8.961 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 8.846e-05/0.5469, allocations: 37.69 kB / 471.4 MB, free: 8.918 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003499/0.5472, allocations: 367 kB / 471.8 MB, free: 8.559 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002601/0.5475, allocations: 177.5 kB / 472 MB, free: 8.383 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/0.5476, allocations: 3.938 kB / 472 MB, free: 8.379 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.5477, allocations: 342.8 kB / 472.3 MB, free: 8.035 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005106/0.5483, allocations: 177.5 kB / 472.5 MB, free: 7.859 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006772/0.549, allocations: 331.9 kB / 472.8 MB, free: 7.477 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005351/0.5495, allocations: 194.1 kB / 473 MB, free: 7.285 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.5495, allocations: 4 kB / 473 MB, free: 7.281 MB / 363.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001701/0.5512, allocations: 0.5939 MB / 473.6 MB, free: 6.676 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008115/0.5521, allocations: 1.579 MB / 475.2 MB, free: 4.973 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/0.5521, allocations: 11.94 kB / 475.2 MB, free: 4.961 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008333/0.553, allocations: 161.7 kB / 475.3 MB, free: 4.797 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007605/0.5537, allocations: 95.83 kB / 475.4 MB, free: 4.703 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005461/0.5592, allocations: 3.501 MB / 478.9 MB, free: 0.9688 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009239/0.5602, allocations: 71.61 kB / 479 MB, free: 0.8984 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.37e-05/0.5603, allocations: 24 kB / 479 MB, free: 0.875 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.5603, allocations: 4 kB / 479 MB, free: 0.8711 MB / 363.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001562/0.5619, allocations: 0.5339 MB / 479.6 MB, free: 340 kB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.5619, allocations: 4.125 kB / 479.6 MB, free: 336 kB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006564/0.5626, allocations: 162.2 kB / 479.7 MB, free: 168 kB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000635/0.5632, allocations: 95.78 kB / 479.8 MB, free: 72 kB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005166/0.5684, allocations: 3.472 MB / 483.3 MB, free: 12.37 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006338/0.5691, allocations: 55.72 kB / 483.4 MB, free: 12.31 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.207e-05/0.5692, allocations: 24 kB / 483.4 MB, free: 12.29 MB / 379.1 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,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_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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * 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 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002799/0.5695, allocations: 146.1 kB / 483.5 MB, free: 12.14 MB / 379.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000195/0.5697, allocations: 55.34 kB / 483.6 MB, free: 12.09 MB / 379.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002099/0.5699, allocations: 65.61 kB / 483.6 MB, free: 12.02 MB / 379.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/0.5699, allocations: 8 kB / 483.6 MB, free: 12.02 MB / 379.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.57, allocations: 0 / 483.6 MB, free: 12.02 MB / 379.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.57, allocations: 3.984 kB / 483.7 MB, free: 12.01 MB / 379.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003254/0.5732, allocations: 1.289 MB / 484.9 MB, free: 10.67 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.5733, allocations: 0 / 484.9 MB, free: 10.67 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004828/0.5738, allocations: 43.97 kB / 485 MB, free: 10.63 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006759/0.5745, allocations: 149.6 kB / 485.1 MB, free: 10.48 MB / 379.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.215e-05/0.5746, allocations: 8 kB / 485.1 MB, free: 10.47 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005051/0.5796, allocations: 3.379 MB / 488.5 MB, free: 6.863 MB / 379.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/0.5797, allocations: 3.953 kB / 488.5 MB, free: 6.859 MB / 379.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002328/0.582, allocations: 0.8868 MB / 489.4 MB, free: 5.953 MB / 379.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004221/0.5825, allocations: 188.2 kB / 489.6 MB, free: 5.75 MB / 379.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.5826, allocations: 8 kB / 489.6 MB, free: 5.742 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006038/0.5832, allocations: 27.97 kB / 489.6 MB, free: 5.715 MB / 379.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003059/0.5836, allocations: 80.44 kB / 489.7 MB, free: 5.633 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.411e-05/0.5836, allocations: 16 kB / 489.7 MB, free: 5.617 MB / 379.1 MB Notification: Performance of sorting global known variables: time 0.000517/0.5842, allocations: 279 kB / 490 MB, free: 5.344 MB / 379.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5842, allocations: 0 / 490 MB, free: 5.344 MB / 379.1 MB Notification: Performance of remove unused functions: time 0.001786/0.586, allocations: 307 kB / 490.3 MB, free: 5.043 MB / 379.1 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,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: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 35 * 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 8,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003065/0.5863, allocations: 133.3 kB / 490.4 MB, free: 4.898 MB / 379.1 MB Notification: Performance of simCode: created initialization part: time 0.002997/0.5893, allocations: 1.285 MB / 491.7 MB, free: 3.578 MB / 379.1 MB Notification: Performance of simCode: created event and clocks part: time 1.291e-05/0.5894, allocations: 12.11 kB / 491.7 MB, free: 3.566 MB / 379.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.5904, allocations: 0.5014 MB / 492.2 MB, free: 3.047 MB / 379.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008558/0.5913, allocations: 81.38 kB / 492.3 MB, free: 2.969 MB / 379.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003142/0.5945, allocations: 0.9707 MB / 493.3 MB, free: 1.965 MB / 379.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007634/0.5953, allocations: 0.9584 MB / 494.2 MB, free: 0.9766 MB / 379.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002739/0.5956, allocations: 39.44 kB / 494.3 MB, free: 0.9375 MB / 379.1 MB Notification: Performance of SimCode: time 1.012e-06/0.5956, allocations: 0 / 494.3 MB, free: 0.9375 MB / 379.1 MB Notification: Performance of Templates: time 0.02771/0.6233, allocations: 13.41 MB / 0.4958 GB, free: 3.547 MB / 395.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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/RectifierBridge2Pulse/ThyristorBridge2Pulse_RLV/ThyristorBridge2Pulse_RLV.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches