Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001433/0.001433, allocations: 205.3 kB / 18.11 MB, free: 3.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 226.5 MB / 245.4 MB, free: 6.469 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007817/0.000782, allocations: 100.6 kB / 297.5 MB, free: 6.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002691/0.0002691, allocations: 8 kB / 358.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2445, allocations: 51.29 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1045/0.3491, allocations: 89.24 MB / 498.6 MB, free: 2.25 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/0.3493, allocations: 88.7 kB / 498.7 MB, free: 2.164 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03602/0.3854, allocations: 13.57 MB / 0.5003 GB, free: 4.535 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3854, allocations: 0 / 0.5003 GB, free: 4.535 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.658e-05/0.3855, allocations: 20 kB / 0.5003 GB, free: 4.516 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001967/0.3875, allocations: 0.9145 MB / 0.5012 GB, free: 3.539 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.3875, allocations: 8.031 kB / 0.5012 GB, free: 3.531 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004009/0.3879, allocations: 108 kB / 0.5013 GB, free: 3.426 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008463/0.3888, allocations: 498.9 kB / 0.5018 GB, free: 2.898 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.184e-05/0.3889, allocations: 49.69 kB / 0.5018 GB, free: 2.852 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.389, allocations: 60.38 kB / 0.5019 GB, free: 2.793 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/0.3902, allocations: 0.6666 MB / 0.5025 GB, free: 2.102 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/0.3903, allocations: 192 / 0.5025 GB, free: 2.102 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.815e-05/0.3903, allocations: 23.94 kB / 0.5026 GB, free: 2.078 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.3903, allocations: 16 kB / 0.5026 GB, free: 2.062 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009709/0.3913, allocations: 0.497 MB / 0.5031 GB, free: 1.566 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2364/0.6277, allocations: 2.302 MB / 0.5053 GB, free: 90.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00086/0.6286, allocations: 441 kB / 0.5057 GB, free: 90.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005686/0.6292, allocations: 256.4 kB / 0.506 GB, free: 90.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.628e-05/0.6292, allocations: 7.312 kB / 0.506 GB, free: 90.87 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006353/0.6299, allocations: 322.5 kB / 0.5063 GB, free: 90.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=46): time 2.905e-06/0.6299, allocations: 0.9688 kB / 0.5063 GB, free: 90.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=46): time 0.002022/0.6319, allocations: 0.7944 MB / 0.5071 GB, free: 90.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.01e-05/0.632, allocations: 171.5 kB / 0.5072 GB, free: 90.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006973/0.6327, allocations: 488.5 kB / 0.5077 GB, free: 90.35 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.702e-05/0.6328, allocations: 40.89 kB / 0.5077 GB, free: 90.32 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002303/0.633, allocations: 316 kB / 0.508 GB, free: 90.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.6332, allocations: 138.4 kB / 0.5082 GB, free: 90.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-05/0.6332, allocations: 10.72 kB / 0.5082 GB, free: 90.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.6333, allocations: 365.3 kB / 0.5085 GB, free: 89.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000353/0.6337, allocations: 187.3 kB / 0.5087 GB, free: 89.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004585/0.6341, allocations: 354.5 kB / 0.509 GB, free: 89.65 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007296/0.6349, allocations: 476.5 kB / 0.5095 GB, free: 89.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.6349, allocations: 1.281 kB / 0.5095 GB, free: 89.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001325/0.6362, allocations: 0.6195 MB / 0.5101 GB, free: 89.42 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001182/0.6364, allocations: 215.7 kB / 0.5103 GB, free: 89.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.6364, allocations: 5.297 kB / 0.5103 GB, free: 89.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003953/0.6368, allocations: 96.84 kB / 0.5104 GB, free: 89.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000376/0.6372, allocations: 87.95 kB / 0.5105 GB, free: 89.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001714/0.6389, allocations: 1.853 MB / 0.5123 GB, free: 87.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000489/0.6394, allocations: 85.22 kB / 0.5124 GB, free: 87.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.639e-05/0.6395, allocations: 22.31 kB / 0.5124 GB, free: 87.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.866e-06/0.6395, allocations: 6.812 kB / 0.5124 GB, free: 87.82 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007974/0.6403, allocations: 0.5198 MB / 0.5129 GB, free: 87.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.6403, allocations: 7.875 kB / 0.5129 GB, free: 87.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002077/0.6405, allocations: 95.39 kB / 0.513 GB, free: 87.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002513/0.6408, allocations: 78.84 kB / 0.5131 GB, free: 87.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/0.6422, allocations: 1.859 MB / 0.5149 GB, free: 86.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003847/0.6426, allocations: 66.17 kB / 0.515 GB, free: 86.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.014e-05/0.6426, allocations: 25.62 kB / 0.515 GB, free: 86.02 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_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$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 (58): * Single equations (assignments): 57 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0003974/0.643, allocations: 308.6 kB / 0.5153 GB, free: 85.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.435e-05/0.6431, allocations: 56.19 kB / 0.5153 GB, free: 85.74 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.856e-05/0.6432, allocations: 61.62 kB / 0.5154 GB, free: 85.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.6432, allocations: 3.312 kB / 0.5154 GB, free: 85.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.6432, allocations: 3.969 kB / 0.5154 GB, free: 85.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.6432, allocations: 3.938 kB / 0.5154 GB, free: 85.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/0.6448, allocations: 1.317 MB / 0.5167 GB, free: 84.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.6449, allocations: 0 / 0.5167 GB, free: 84.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/0.6451, allocations: 49.45 kB / 0.5167 GB, free: 84.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002152/0.6453, allocations: 80.98 kB / 0.5168 GB, free: 84.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.943e-05/0.6453, allocations: 15.62 kB / 0.5168 GB, free: 84.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001359/0.6467, allocations: 1.761 MB / 0.5186 GB, free: 83.37 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.6467, allocations: 0 / 0.5186 GB, free: 83.37 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.6477, allocations: 0.8097 MB / 0.5193 GB, free: 82.94 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/0.6479, allocations: 174.3 kB / 0.5195 GB, free: 82.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.228e-05/0.648, allocations: 11.72 kB / 0.5195 GB, free: 82.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003028/0.6483, allocations: 48.22 kB / 0.5196 GB, free: 82.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.6484, allocations: 49.48 kB / 0.5196 GB, free: 82.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.546e-05/0.6484, allocations: 19.69 kB / 0.5196 GB, free: 82.76 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003561/0.6488, allocations: 337.8 kB / 0.52 GB, free: 82.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6488, allocations: 0 / 0.52 GB, free: 82.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009235/0.6497, allocations: 296.3 kB / 0.5202 GB, free: 82.53 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,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 (37): * Single equations (assignments): 31 * 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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.000198/0.6499, allocations: 140.5 kB / 0.5204 GB, free: 82.42 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001478/0.6514, allocations: 1.006 MB / 0.5214 GB, free: 81.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.6514, allocations: 0.5 kB / 0.5214 GB, free: 81.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004661/0.6519, allocations: 395.7 kB / 0.5217 GB, free: 81.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005832/0.6525, allocations: 96.39 kB / 0.5218 GB, free: 81.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/0.6542, allocations: 1.317 MB / 0.5231 GB, free: 80.87 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.6546, allocations: 0.9207 MB / 0.524 GB, free: 80.15 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003087/0.6549, allocations: 100.9 kB / 0.5241 GB, free: 80.13 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.602e-05/0.655, allocations: 35.12 kB / 0.5241 GB, free: 80.12 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.655, allocations: 3.938 kB / 0.5241 GB, free: 80.12 MB / 378.7 MB Notification: Performance of Templates: time 0.01194/0.6669, allocations: 7.824 MB / 0.5318 GB, free: 77.91 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/ThyristorCenterTap2Pulse_R/ThyristorCenterTap2Pulse_R.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches