Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.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.HalfControlledBridge2Pulse,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_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,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_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009806/0.0009807, allocations: 201 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.392/1.392, allocations: 226.5 MB / 245.4 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008984/0.0008983, allocations: 108.2 kB / 297.5 MB, free: 6.66 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002456/0.0002457, allocations: 4 kB / 358.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2189, allocations: 51.29 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1009/0.3198, allocations: 89.81 MB / 499.2 MB, free: 1.672 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003565/0.3203, allocations: 84.7 kB / 499.3 MB, free: 1.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03058/0.3509, allocations: 11.58 MB / 0.4989 GB, free: 5.949 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.011e-06/0.3509, allocations: 0 / 0.4989 GB, free: 5.949 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.399e-05/0.351, allocations: 23.94 kB / 0.4989 GB, free: 5.926 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.002164/0.3532, allocations: 0.9646 MB / 0.4999 GB, free: 4.902 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.3532, allocations: 8.031 kB / 0.4999 GB, free: 4.895 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003795/0.3536, allocations: 99.89 kB / 0.5 GB, free: 4.797 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000913/0.3545, allocations: 0.5106 MB / 0.5005 GB, free: 4.242 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.84e-05/0.3546, allocations: 57.67 kB / 0.5005 GB, free: 4.188 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.3548, allocations: 64.38 kB / 0.5006 GB, free: 4.125 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.3561, allocations: 0.7229 MB / 0.5013 GB, free: 3.371 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.3561, allocations: 4.188 kB / 0.5013 GB, free: 3.367 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.451e-05/0.3562, allocations: 31.92 kB / 0.5013 GB, free: 3.336 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.3562, allocations: 16 kB / 0.5013 GB, free: 3.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.3573, allocations: 0.5517 MB / 0.5019 GB, free: 2.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1847/0.542, allocations: 2.688 MB / 0.5045 GB, free: 91.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.5433, allocations: 0.5352 MB / 0.505 GB, free: 91.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007123/0.5441, allocations: 334.2 kB / 0.5053 GB, free: 91.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.683e-05/0.5441, allocations: 12.11 kB / 0.5053 GB, free: 91.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008799/0.545, allocations: 360.6 kB / 0.5057 GB, free: 91.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=57): time 2.414e-06/0.545, allocations: 0.5938 kB / 0.5057 GB, free: 91.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=57): time 0.003337/0.5484, allocations: 1.027 MB / 0.5067 GB, free: 91.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.657e-05/0.5485, allocations: 145.9 kB / 0.5068 GB, free: 91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008366/0.5493, allocations: 0.5076 MB / 0.5073 GB, free: 90.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.51e-05/0.5494, allocations: 43.06 kB / 0.5074 GB, free: 90.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/0.5496, allocations: 324.9 kB / 0.5077 GB, free: 90.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.5498, allocations: 169.2 kB / 0.5078 GB, free: 90.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.5498, allocations: 13.84 kB / 0.5079 GB, free: 90.67 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.5499, allocations: 367 kB / 0.5082 GB, free: 90.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000384/0.5503, allocations: 209.9 kB / 0.5084 GB, free: 90.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004748/0.5508, allocations: 371.3 kB / 0.5088 GB, free: 90.19 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000752/0.5516, allocations: 0.5069 MB / 0.5093 GB, free: 90.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.5516, allocations: 1.312 kB / 0.5093 GB, free: 90.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001567/0.5532, allocations: 0.7128 MB / 0.51 GB, free: 89.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.5533, allocations: 216.7 kB / 0.5102 GB, free: 89.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.5533, allocations: 4.531 kB / 0.5102 GB, free: 89.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004708/0.5538, allocations: 152.9 kB / 0.5103 GB, free: 89.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003517/0.5541, allocations: 92.55 kB / 0.5104 GB, free: 89.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002267/0.5564, allocations: 2.327 MB / 0.5127 GB, free: 88.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004767/0.5569, allocations: 92.42 kB / 0.5128 GB, free: 88.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/0.5569, allocations: 24.59 kB / 0.5128 GB, free: 88.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.693e-06/0.557, allocations: 6.156 kB / 0.5128 GB, free: 88.13 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008453/0.5578, allocations: 0.6085 MB / 0.5134 GB, free: 87.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.5578, allocations: 7.688 kB / 0.5134 GB, free: 87.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003376/0.5582, allocations: 155.9 kB / 0.5135 GB, free: 87.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002671/0.5584, allocations: 79.48 kB / 0.5136 GB, free: 87.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001995/0.5604, allocations: 2.312 MB / 0.5159 GB, free: 85.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004274/0.5609, allocations: 81.17 kB / 0.5159 GB, free: 85.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.091e-05/0.5609, allocations: 28.59 kB / 0.516 GB, free: 85.95 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: 27 ($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,rectifier.diode_n1.off,rectifier.diode_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 (61): * Single equations (assignments): 60 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003869/0.5613, allocations: 320.7 kB / 0.5163 GB, free: 85.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.161e-05/0.5614, allocations: 61.12 kB / 0.5163 GB, free: 85.65 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/0.5615, allocations: 68.83 kB / 0.5164 GB, free: 85.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.5615, allocations: 6.781 kB / 0.5164 GB, free: 85.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.5615, allocations: 0 / 0.5164 GB, free: 85.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.5616, allocations: 6.984 kB / 0.5164 GB, free: 85.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.5632, allocations: 1.414 MB / 0.5178 GB, free: 84.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.5632, allocations: 0 / 0.5178 GB, free: 84.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/0.5634, allocations: 49.41 kB / 0.5178 GB, free: 84.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003343/0.5638, allocations: 143.2 kB / 0.518 GB, free: 84.78 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.143e-05/0.5638, allocations: 11.67 kB / 0.518 GB, free: 84.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002146/0.566, allocations: 2.317 MB / 0.5203 GB, free: 82.92 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.566, allocations: 2.25 kB / 0.5203 GB, free: 82.92 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.5672, allocations: 0.9477 MB / 0.5212 GB, free: 82.42 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002046/0.5675, allocations: 189.5 kB / 0.5214 GB, free: 82.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.008e-05/0.5675, allocations: 15 kB / 0.5214 GB, free: 82.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003296/0.5679, allocations: 43.45 kB / 0.5214 GB, free: 82.24 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.568, allocations: 61.08 kB / 0.5215 GB, free: 82.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-05/0.568, allocations: 20.23 kB / 0.5215 GB, free: 82.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004029/0.5685, allocations: 368.1 kB / 0.5218 GB, free: 82.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5685, allocations: 0 / 0.5218 GB, free: 82.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001036/0.5695, allocations: 343.3 kB / 0.5222 GB, free: 81.97 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: 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.diode_n1.off,rectifier.diode_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: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.00019/0.5697, allocations: 134.9 kB / 0.5223 GB, free: 81.87 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001664/0.5714, allocations: 1.216 MB / 0.5235 GB, free: 81.26 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5714, allocations: 2.953 kB / 0.5235 GB, free: 81.26 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005286/0.5719, allocations: 480.1 kB / 0.524 GB, free: 80.99 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006674/0.5726, allocations: 119.8 kB / 0.5241 GB, free: 80.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.5745, allocations: 1.482 MB / 0.5255 GB, free: 80.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.5748, allocations: 0.9447 MB / 0.5264 GB, free: 79.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003303/0.5752, allocations: 94.69 kB / 0.5265 GB, free: 79.35 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.517e-05/0.5753, allocations: 38.34 kB / 0.5266 GB, free: 79.34 MB / 378.7 MB Notification: Performance of SimCode: time 4.81e-07/0.5753, allocations: 0 / 0.5266 GB, free: 79.34 MB / 378.7 MB Notification: Performance of Templates: time 0.01508/0.5904, allocations: 10.35 MB / 0.5367 GB, free: 73.05 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/HalfControlledBridge2Pulse/HalfControlledBridge2Pulse.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches