Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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.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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001517/0.001517, allocations: 200.7 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 226.5 MB / 245.4 MB, free: 8.062 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008016/0.0008017, allocations: 106.6 kB / 297.5 MB, free: 6.852 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002683/0.0002686, allocations: 4 kB / 358.1 MB, free: 10.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2257, allocations: 51.29 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1082/0.3339, allocations: 90.35 MB / 499.7 MB, free: 1.141 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/0.3343, allocations: 99.92 kB / 499.8 MB, free: 1.043 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0395/0.3738, allocations: 15.19 MB / 0.503 GB, free: 1.777 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3738, allocations: 0 / 0.503 GB, free: 1.777 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.477e-05/0.3739, allocations: 19.94 kB / 0.503 GB, free: 1.758 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.001922/0.3758, allocations: 0.9978 MB / 0.504 GB, free: 0.7031 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.3759, allocations: 8.031 kB / 0.504 GB, free: 0.6953 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003037/0.3762, allocations: 111.8 kB / 0.5041 GB, free: 0.5859 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008462/0.377, allocations: 0.5345 MB / 0.5046 GB, free: 8 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.1795/0.5565, allocations: 54.62 kB / 0.5046 GB, free: 90.87 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003126/0.5569, allocations: 73.22 kB / 0.5047 GB, free: 90.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001771/0.5587, allocations: 0.7815 MB / 0.5055 GB, free: 90.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.011e-05/0.5587, allocations: 6.188 kB / 0.5055 GB, free: 90.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.391e-05/0.5588, allocations: 33.64 kB / 0.5055 GB, free: 90.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-05/0.5588, allocations: 16.69 kB / 0.5055 GB, free: 90.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/0.56, allocations: 0.5852 MB / 0.5061 GB, free: 90.74 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003806/0.5638, allocations: 2.802 MB / 0.5088 GB, free: 89.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008089/0.5646, allocations: 0.5498 MB / 0.5094 GB, free: 89.76 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000799/0.5655, allocations: 445.1 kB / 0.5098 GB, free: 89.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.058e-05/0.5655, allocations: 12.11 kB / 0.5098 GB, free: 89.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006689/0.5662, allocations: 380.3 kB / 0.5102 GB, free: 89.67 MB / 378.7 MB Notification: Performance of pre-optimization done (n=60): time 2.635e-06/0.5662, allocations: 3.375 kB / 0.5102 GB, free: 89.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=60): time 0.002393/0.5686, allocations: 1.096 MB / 0.5112 GB, free: 89.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.5687, allocations: 143 kB / 0.5114 GB, free: 89.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005456/0.5692, allocations: 0.5141 MB / 0.5119 GB, free: 88.92 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.742e-05/0.5693, allocations: 48.89 kB / 0.5119 GB, free: 88.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.5694, allocations: 332 kB / 0.5122 GB, free: 88.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.5696, allocations: 187 kB / 0.5124 GB, free: 88.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.978e-05/0.5696, allocations: 12 kB / 0.5124 GB, free: 88.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.903e-05/0.5697, allocations: 379 kB / 0.5128 GB, free: 88.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003515/0.57, allocations: 225.6 kB / 0.513 GB, free: 88.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004076/0.5705, allocations: 399.1 kB / 0.5134 GB, free: 87.81 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006404/0.5711, allocations: 0.537 MB / 0.5139 GB, free: 87.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.5711, allocations: 3.938 kB / 0.5139 GB, free: 87.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001103/0.5722, allocations: 0.7741 MB / 0.5147 GB, free: 87.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.524e-05/0.5723, allocations: 205 kB / 0.5149 GB, free: 86.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.5723, allocations: 7.75 kB / 0.5149 GB, free: 86.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004384/0.5728, allocations: 168.4 kB / 0.515 GB, free: 86.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003515/0.5731, allocations: 101.1 kB / 0.5151 GB, free: 86.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002609/0.5758, allocations: 3.605 MB / 0.5187 GB, free: 83.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000445/0.5762, allocations: 100.8 kB / 0.5188 GB, free: 83.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.625e-05/0.5763, allocations: 27.22 kB / 0.5188 GB, free: 83.56 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.761e-06/0.5763, allocations: 3.875 kB / 0.5188 GB, free: 83.56 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009338/0.5772, allocations: 0.6666 MB / 0.5194 GB, free: 83.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.5772, allocations: 3.156 kB / 0.5194 GB, free: 83.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003606/0.5776, allocations: 155.4 kB / 0.5196 GB, free: 83.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000302/0.5779, allocations: 98.58 kB / 0.5197 GB, free: 83.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002469/0.5804, allocations: 3.611 MB / 0.5232 GB, free: 79.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003898/0.5808, allocations: 73.52 kB / 0.5233 GB, free: 79.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.5808, allocations: 37.16 kB / 0.5233 GB, free: 79.93 MB / 378.7 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_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_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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * 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.0003581/0.5812, allocations: 318 kB / 0.5236 GB, free: 79.67 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.942e-05/0.5813, allocations: 64.73 kB / 0.5237 GB, free: 79.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.5814, allocations: 75.2 kB / 0.5237 GB, free: 79.58 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.5814, allocations: 10.33 kB / 0.5238 GB, free: 79.58 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.5815, allocations: 3.75 kB / 0.5238 GB, free: 79.58 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.5815, allocations: 0 / 0.5238 GB, free: 79.58 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00186/0.5833, allocations: 1.507 MB / 0.5252 GB, free: 78.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.5833, allocations: 3.938 kB / 0.5252 GB, free: 78.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002466/0.5836, allocations: 57.94 kB / 0.5253 GB, free: 78.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003554/0.584, allocations: 158.9 kB / 0.5254 GB, free: 78.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.446e-05/0.584, allocations: 11.75 kB / 0.5255 GB, free: 78.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002529/0.5865, allocations: 3.525 MB / 0.5289 GB, free: 75.56 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5866, allocations: 0 / 0.5289 GB, free: 75.56 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/0.588, allocations: 1.03 MB / 0.5299 GB, free: 75.03 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002019/0.5882, allocations: 188.9 kB / 0.5301 GB, free: 74.87 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.687e-05/0.5883, allocations: 18.7 kB / 0.5301 GB, free: 74.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003335/0.5886, allocations: 44.64 kB / 0.5301 GB, free: 74.85 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.5888, allocations: 75.16 kB / 0.5302 GB, free: 74.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.044e-05/0.5888, allocations: 18.56 kB / 0.5302 GB, free: 74.83 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004068/0.5892, allocations: 366.8 kB / 0.5306 GB, free: 74.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5892, allocations: 0 / 0.5306 GB, free: 74.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001167/0.5904, allocations: 362.9 kB / 0.5309 GB, free: 74.57 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: 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_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: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 37 * 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.0001922/0.5906, allocations: 153.5 kB / 0.5311 GB, free: 74.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001778/0.5924, allocations: 1.467 MB / 0.5325 GB, free: 73.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5924, allocations: 0 / 0.5325 GB, free: 73.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005909/0.593, allocations: 0.5733 MB / 0.5331 GB, free: 73.24 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006721/0.5937, allocations: 116.7 kB / 0.5332 GB, free: 73.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.5957, allocations: 1.655 MB / 0.5348 GB, free: 71.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.5961, allocations: 0.9629 MB / 0.5357 GB, free: 70.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003369/0.5964, allocations: 97.05 kB / 0.5358 GB, free: 70.74 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.253e-05/0.5965, allocations: 43.44 kB / 0.5359 GB, free: 70.7 MB / 378.7 MB Notification: Performance of SimCode: time 6.91e-07/0.5965, allocations: 0 / 0.5359 GB, free: 70.7 MB / 378.7 MB Notification: Performance of Templates: time 0.01623/0.6128, allocations: 10.8 MB / 0.5464 GB, free: 62.48 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/ThyristorBridge2Pulse_RLV/ThyristorBridge2Pulse_RLV.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches