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.0009099/0.0009099, allocations: 183.2 kB / 18.04 MB, free: 3.785 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.294/1.294, allocations: 205.4 MB / 224.2 MB, free: 9.035 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.0007984/0.0007986, allocations: 89.47 kB / 272.5 MB, free: 8.266 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003224/0.0003225, allocations: 12 kB / 329.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2022, allocations: 47.58 MB / 377 MB, free: 45.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0952/0.2975, allocations: 87.83 MB / 464.9 MB, free: 8.707 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/0.2978, allocations: 91.94 kB / 465 MB, free: 8.617 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03478/0.3326, allocations: 13.26 MB / 478.2 MB, free: 11.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3326, allocations: 0 / 478.2 MB, free: 11.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.956e-05/0.3327, allocations: 12 kB / 478.2 MB, free: 11.28 MB / 362.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.001769/0.3345, allocations: 0.9238 MB / 479.2 MB, free: 10.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.3345, allocations: 8.031 kB / 479.2 MB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/0.3347, allocations: 84 kB / 479.3 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007674/0.3355, allocations: 0.4911 MB / 479.7 MB, free: 9.672 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.142e-05/0.3355, allocations: 49.69 kB / 479.8 MB, free: 9.625 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.3357, allocations: 68.36 kB / 479.9 MB, free: 9.559 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.3368, allocations: 0.658 MB / 480.5 MB, free: 8.879 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/0.3368, allocations: 192 / 480.5 MB, free: 8.879 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.186e-05/0.3369, allocations: 35.92 kB / 480.6 MB, free: 8.844 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.3369, allocations: 12 kB / 480.6 MB, free: 8.832 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.338, allocations: 0.4892 MB / 481.1 MB, free: 8.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003468/0.3414, allocations: 2.344 MB / 483.4 MB, free: 5.879 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000888/0.3423, allocations: 482.8 kB / 483.9 MB, free: 5.402 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004929/0.3428, allocations: 257.1 kB / 484.1 MB, free: 5.148 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.3429, allocations: 11.98 kB / 484.1 MB, free: 5.137 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005091/0.3434, allocations: 328.2 kB / 484.5 MB, free: 4.789 MB / 362.7 MB Notification: Performance of pre-optimization done (n=47): time 2.114e-06/0.3434, allocations: 0 / 484.5 MB, free: 4.789 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.001609/0.345, allocations: 0.7475 MB / 485.2 MB, free: 4.016 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.3452, allocations: 140.5 kB / 485.3 MB, free: 3.848 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006065/0.3458, allocations: 497.8 kB / 485.8 MB, free: 3.352 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.23e-05/0.3458, allocations: 49.69 kB / 485.9 MB, free: 3.297 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002139/0.3461, allocations: 316.3 kB / 486.2 MB, free: 2.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.3462, allocations: 134.2 kB / 486.3 MB, free: 2.848 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.571e-05/0.3462, allocations: 8 kB / 486.3 MB, free: 2.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.3463, allocations: 366.7 kB / 486.7 MB, free: 2.473 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003551/0.3467, allocations: 185 kB / 486.9 MB, free: 2.289 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004314/0.3472, allocations: 343.9 kB / 487.2 MB, free: 1.891 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006888/0.3479, allocations: 472.3 kB / 487.7 MB, free: 1.371 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.217e-06/0.3479, allocations: 0 / 487.7 MB, free: 1.371 MB / 362.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001038/0.3489, allocations: 0.6135 MB / 488.3 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001255/0.349, allocations: 218.2 kB / 488.5 MB, free: 480 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.3491, allocations: 4 kB / 488.5 MB, free: 476 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002955/0.3494, allocations: 76.77 kB / 488.6 MB, free: 396 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003261/0.3497, allocations: 99.81 kB / 488.7 MB, free: 296 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001645/0.3514, allocations: 1.741 MB / 490.4 MB, free: 14.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004304/0.3518, allocations: 87.56 kB / 490.5 MB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.953e-05/0.3519, allocations: 27.98 kB / 490.5 MB, free: 14.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.663e-06/0.3519, allocations: 4 kB / 490.5 MB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008552/0.3527, allocations: 0.5066 MB / 491 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.3528, allocations: 7.938 kB / 491 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002044/0.353, allocations: 77.31 kB / 491.1 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003079/0.3533, allocations: 95.83 kB / 491.2 MB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001537/0.3548, allocations: 1.73 MB / 492.9 MB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003867/0.3552, allocations: 83.42 kB / 493 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.775e-05/0.3553, allocations: 24 kB / 493 MB, free: 11.64 MB / 378.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 () * Number of clocked 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.0003617/0.3556, allocations: 309 kB / 493.3 MB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.716e-05/0.3557, allocations: 55.34 kB / 493.4 MB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/0.3559, allocations: 57.2 kB / 493.4 MB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.3559, allocations: 4 kB / 493.4 MB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3559, allocations: 7.938 kB / 493.5 MB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.3559, allocations: 3.984 kB / 493.5 MB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001837/0.3578, allocations: 1.285 MB / 494.7 MB, free: 9.855 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3578, allocations: 0 / 494.7 MB, free: 9.855 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.358, allocations: 51.94 kB / 494.8 MB, free: 9.805 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002005/0.3582, allocations: 76.81 kB / 494.9 MB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.133e-05/0.3583, allocations: 11.98 kB / 494.9 MB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001382/0.3597, allocations: 1.648 MB / 496.5 MB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.3597, allocations: 4 kB / 496.5 MB, free: 7.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.3608, allocations: 0.7871 MB / 497.3 MB, free: 7.121 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002005/0.361, allocations: 172.4 kB / 497.5 MB, free: 6.934 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.054e-05/0.3611, allocations: 12 kB / 497.5 MB, free: 6.922 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003117/0.3614, allocations: 47.91 kB / 497.5 MB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.3616, allocations: 48.02 kB / 497.6 MB, free: 6.828 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/0.3616, allocations: 23.97 kB / 497.6 MB, free: 6.805 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004107/0.362, allocations: 350.8 kB / 498 MB, free: 6.465 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.362, allocations: 0 / 498 MB, free: 6.465 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008996/0.3629, allocations: 287.1 kB / 498.2 MB, free: 6.184 MB / 378.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) * Number of clocked states: 0 () * 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.0002166/0.3631, allocations: 129.4 kB / 498.4 MB, free: 6.051 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001551/0.3647, allocations: 0.9787 MB / 499.3 MB, free: 5.043 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.3647, allocations: 0 / 499.3 MB, free: 5.043 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005166/0.3652, allocations: 359.5 kB / 499.7 MB, free: 4.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000604/0.3659, allocations: 94.72 kB / 499.8 MB, free: 4.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.368, allocations: 1.41 MB / 0.4895 GB, free: 3.152 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005565/0.3686, allocations: 0.9184 MB / 0.4904 GB, free: 2.207 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003522/0.3689, allocations: 96.47 kB / 0.4904 GB, free: 2.113 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.369, allocations: 39.44 kB / 0.4905 GB, free: 2.074 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.369, allocations: 0 / 0.4905 GB, free: 2.074 MB / 378.7 MB Notification: Performance of Templates: time 0.1567/0.5257, allocations: 7.366 MB / 0.4977 GB, free: 105.3 MB / 378.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/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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches