Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.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_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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001443/0.001443, allocations: 196.4 kB / 18.1 MB, free: 3.605 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 226.5 MB / 245.4 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008878/0.0008878, allocations: 96.91 kB / 297.5 MB, free: 6.695 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002532/0.0002533, allocations: 8 kB / 358.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.233, allocations: 51.29 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.113/0.346, allocations: 89.87 MB / 499.3 MB, free: 1.625 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003333/0.3464, allocations: 91.94 kB / 499.3 MB, free: 1.535 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03887/0.3853, allocations: 14.19 MB / 0.5015 GB, free: 3.273 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3854, allocations: 4 kB / 0.5015 GB, free: 3.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.945e-05/0.3854, allocations: 16 kB / 0.5015 GB, free: 3.254 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.002361/0.3878, allocations: 0.9548 MB / 0.5025 GB, free: 2.238 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.3879, allocations: 8.031 kB / 0.5025 GB, free: 2.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004826/0.3884, allocations: 111.9 kB / 0.5026 GB, free: 2.121 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009929/0.3894, allocations: 0.5066 MB / 0.5031 GB, free: 1.574 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.702e-05/0.3895, allocations: 49.69 kB / 0.5031 GB, free: 1.523 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.3896, allocations: 68.38 kB / 0.5032 GB, free: 1.457 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.3911, allocations: 0.6978 MB / 0.5039 GB, free: 0.7344 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.521e-05/0.3912, allocations: 4.172 kB / 0.5039 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.296e-05/0.3913, allocations: 31.94 kB / 0.5039 GB, free: 0.6992 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.3913, allocations: 20 kB / 0.5039 GB, free: 0.6797 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/0.3925, allocations: 0.5126 MB / 0.5044 GB, free: 172 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2374/0.6299, allocations: 2.43 MB / 0.5068 GB, free: 90.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009196/0.6308, allocations: 452.8 kB / 0.5072 GB, free: 90.64 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005292/0.6314, allocations: 277 kB / 0.5075 GB, free: 90.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.474e-05/0.6314, allocations: 4.734 kB / 0.5075 GB, free: 90.63 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006027/0.632, allocations: 335.3 kB / 0.5078 GB, free: 90.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=49): time 3.918e-06/0.6321, allocations: 0 / 0.5078 GB, free: 90.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=49): time 0.001687/0.6338, allocations: 0.7848 MB / 0.5086 GB, free: 90.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.378e-05/0.6338, allocations: 167.3 kB / 0.5087 GB, free: 90.19 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006777/0.6345, allocations: 0.4976 MB / 0.5092 GB, free: 90.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.02e-05/0.6346, allocations: 39.36 kB / 0.5093 GB, free: 90.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/0.6348, allocations: 340.4 kB / 0.5096 GB, free: 89.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.6349, allocations: 145.5 kB / 0.5097 GB, free: 89.83 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/0.6349, allocations: 12.94 kB / 0.5097 GB, free: 89.83 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.635, allocations: 369.1 kB / 0.5101 GB, free: 89.51 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004459/0.6355, allocations: 194.7 kB / 0.5103 GB, free: 89.51 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000523/0.636, allocations: 362.3 kB / 0.5106 GB, free: 89.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008543/0.6369, allocations: 499.8 kB / 0.5111 GB, free: 89.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.6369, allocations: 1.375 kB / 0.5111 GB, free: 89.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001229/0.6381, allocations: 0.6366 MB / 0.5117 GB, free: 88.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001617/0.6383, allocations: 218 kB / 0.5119 GB, free: 88.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.6383, allocations: 9.062 kB / 0.5119 GB, free: 88.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003435/0.6387, allocations: 88.36 kB / 0.512 GB, free: 88.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003588/0.6391, allocations: 96.98 kB / 0.5121 GB, free: 88.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001391/0.6405, allocations: 1.733 MB / 0.5138 GB, free: 87.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000452/0.6409, allocations: 96.67 kB / 0.5139 GB, free: 87.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.467e-05/0.641, allocations: 24.84 kB / 0.5139 GB, free: 87.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.382e-06/0.641, allocations: 3.344 kB / 0.5139 GB, free: 87.08 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007666/0.6418, allocations: 0.5326 MB / 0.5144 GB, free: 86.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.6418, allocations: 11.16 kB / 0.5145 GB, free: 86.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001845/0.642, allocations: 78.42 kB / 0.5145 GB, free: 86.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002814/0.6423, allocations: 92.36 kB / 0.5146 GB, free: 86.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/0.6435, allocations: 1.741 MB / 0.5163 GB, free: 85.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003731/0.6439, allocations: 84.11 kB / 0.5164 GB, free: 85.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.995e-05/0.644, allocations: 23.55 kB / 0.5164 GB, free: 85.21 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 (64): * Single equations (assignments): 63 * 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.0004167/0.6444, allocations: 308 kB / 0.5167 GB, free: 84.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.942e-05/0.6445, allocations: 58.22 kB / 0.5168 GB, free: 84.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.6446, allocations: 68 kB / 0.5168 GB, free: 84.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.6446, allocations: 7.938 kB / 0.5168 GB, free: 84.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.918e-06/0.6446, allocations: 3.938 kB / 0.5168 GB, free: 84.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.6446, allocations: 7.281 kB / 0.5169 GB, free: 84.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001803/0.6464, allocations: 1.353 MB / 0.5182 GB, free: 84.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.6465, allocations: 2.938 kB / 0.5182 GB, free: 84.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002362/0.6467, allocations: 50.61 kB / 0.5182 GB, free: 84.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001859/0.6469, allocations: 76.12 kB / 0.5183 GB, free: 84.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.247e-05/0.6469, allocations: 15.47 kB / 0.5183 GB, free: 84.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001215/0.6482, allocations: 1.656 MB / 0.5199 GB, free: 82.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.6482, allocations: 0 / 0.5199 GB, free: 82.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.6492, allocations: 0.8294 MB / 0.5207 GB, free: 82.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/0.6494, allocations: 174.4 kB / 0.5209 GB, free: 82.01 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.555e-05/0.6495, allocations: 13.72 kB / 0.5209 GB, free: 82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003052/0.6498, allocations: 53.73 kB / 0.521 GB, free: 81.99 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.6499, allocations: 48.77 kB / 0.521 GB, free: 81.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.607e-05/0.65, allocations: 14.86 kB / 0.521 GB, free: 81.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003804/0.6504, allocations: 355.1 kB / 0.5214 GB, free: 81.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6504, allocations: 0 / 0.5214 GB, free: 81.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009094/0.6513, allocations: 297.5 kB / 0.5217 GB, free: 81.75 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_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 (42): * Single equations (assignments): 36 * 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.0002184/0.6515, allocations: 152.8 kB / 0.5218 GB, free: 81.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001466/0.653, allocations: 1.015 MB / 0.5228 GB, free: 81.13 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.653, allocations: 7.656 kB / 0.5228 GB, free: 81.13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004212/0.6534, allocations: 381 kB / 0.5232 GB, free: 80.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005947/0.654, allocations: 99.72 kB / 0.5233 GB, free: 80.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.656, allocations: 1.472 MB / 0.5247 GB, free: 79.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.6564, allocations: 0.932 MB / 0.5256 GB, free: 79.26 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003289/0.6567, allocations: 99.52 kB / 0.5257 GB, free: 79.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.444e-05/0.6568, allocations: 44.08 kB / 0.5257 GB, free: 79.24 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.6568, allocations: 0 / 0.5257 GB, free: 79.24 MB / 378.7 MB Notification: Performance of Templates: time 0.01278/0.6696, allocations: 7.721 MB / 0.5333 GB, free: 76.35 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/ThyristorCenterTap2Pulse_RLV/ThyristorCenterTap2Pulse_RLV.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches