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.001016/0.001016, allocations: 198.7 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.257/1.257, allocations: 227.2 MB / 245 MB, free: 5.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008381/0.0008378, allocations: 98.78 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00021/0.0002103, allocations: 4 kB / 357.9 MB, free: 9.301 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.2011, allocations: 51.48 MB / 409.4 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09963/0.3008, allocations: 89.82 MB / 499.3 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/0.3011, allocations: 91.94 kB / 499.3 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02912/0.3302, allocations: 11.57 MB / 0.4989 GB, free: 5.043 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3302, allocations: 0 / 0.4989 GB, free: 5.043 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.861e-05/0.3303, allocations: 19.98 kB / 0.499 GB, free: 5.023 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.001951/0.3323, allocations: 0.9731 MB / 0.4999 GB, free: 3.988 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.3323, allocations: 8.031 kB / 0.4999 GB, free: 3.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003238/0.3327, allocations: 98.95 kB / 0.5 GB, free: 3.883 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008437/0.3335, allocations: 0.494 MB / 0.5005 GB, free: 3.348 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.761e-05/0.3336, allocations: 53.31 kB / 0.5005 GB, free: 3.297 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.3337, allocations: 71.98 kB / 0.5006 GB, free: 3.227 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.3349, allocations: 0.7263 MB / 0.5013 GB, free: 2.469 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.335, allocations: 0 / 0.5013 GB, free: 2.469 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.736e-05/0.335, allocations: 28 kB / 0.5014 GB, free: 2.441 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.335, allocations: 15.94 kB / 0.5014 GB, free: 2.426 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.3361, allocations: 0.5517 MB / 0.5019 GB, free: 1.871 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1752/0.5113, allocations: 2.672 MB / 0.5045 GB, free: 89.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.5125, allocations: 0.5508 MB / 0.5051 GB, free: 89.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.608e-05/0.5126, allocations: 6.031 kB / 0.5051 GB, free: 89.6 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006901/0.5133, allocations: 360.2 kB / 0.5054 GB, free: 89.53 MB / 378.7 MB Notification: Performance of pre-optimization done (n=57): time 3.437e-06/0.5133, allocations: 1.531 kB / 0.5054 GB, free: 89.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=57): time 0.002675/0.516, allocations: 1.012 MB / 0.5064 GB, free: 89.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.634e-05/0.5161, allocations: 143.1 kB / 0.5065 GB, free: 89.22 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007894/0.5169, allocations: 461.6 kB / 0.507 GB, free: 89.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.174e-05/0.517, allocations: 43.64 kB / 0.507 GB, free: 89.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002669/0.5173, allocations: 322.2 kB / 0.5073 GB, free: 88.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.5174, allocations: 174.8 kB / 0.5075 GB, free: 88.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.261e-05/0.5175, allocations: 13.5 kB / 0.5075 GB, free: 88.87 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.5176, allocations: 371.2 kB / 0.5079 GB, free: 88.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004416/0.518, allocations: 211 kB / 0.5081 GB, free: 88.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000592/0.5186, allocations: 374.4 kB / 0.5084 GB, free: 88.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005529/0.5192, allocations: 234.8 kB / 0.5086 GB, free: 88.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/0.5192, allocations: 1.219 kB / 0.5086 GB, free: 88.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001471/0.5207, allocations: 0.707 MB / 0.5093 GB, free: 88.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004208/0.5211, allocations: 1.571 MB / 0.5109 GB, free: 86.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.5211, allocations: 4.781 kB / 0.5109 GB, free: 86.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005423/0.5217, allocations: 152.6 kB / 0.511 GB, free: 86.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004615/0.5222, allocations: 92.61 kB / 0.5111 GB, free: 86.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002757/0.5249, allocations: 2.372 MB / 0.5134 GB, free: 85.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005099/0.5255, allocations: 93.19 kB / 0.5135 GB, free: 85.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.276e-05/0.5255, allocations: 26.97 kB / 0.5135 GB, free: 85.19 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.5255, allocations: 5.625 kB / 0.5135 GB, free: 85.19 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009108/0.5265, allocations: 0.6051 MB / 0.5141 GB, free: 84.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.5265, allocations: 6.109 kB / 0.5141 GB, free: 84.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003415/0.5268, allocations: 153.3 kB / 0.5143 GB, free: 84.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/0.5271, allocations: 80.44 kB / 0.5144 GB, free: 84.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002018/0.5291, allocations: 2.367 MB / 0.5167 GB, free: 83.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004327/0.5296, allocations: 72.14 kB / 0.5167 GB, free: 83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.935e-05/0.5296, allocations: 25.47 kB / 0.5168 GB, free: 82.99 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.0004206/0.5301, allocations: 323.1 kB / 0.5171 GB, free: 82.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.5302, allocations: 66.11 kB / 0.5171 GB, free: 82.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001328/0.5303, allocations: 68.89 kB / 0.5172 GB, free: 82.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.5303, allocations: 3.719 kB / 0.5172 GB, free: 82.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.5303, allocations: 0 / 0.5172 GB, free: 82.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.5304, allocations: 3.703 kB / 0.5172 GB, free: 82.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001798/0.5322, allocations: 1.409 MB / 0.5186 GB, free: 81.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.5322, allocations: 0 / 0.5186 GB, free: 81.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/0.5324, allocations: 52.08 kB / 0.5186 GB, free: 81.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003293/0.5327, allocations: 146.1 kB / 0.5188 GB, free: 81.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.27e-05/0.5328, allocations: 8 kB / 0.5188 GB, free: 81.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002024/0.5348, allocations: 2.374 MB / 0.5211 GB, free: 79.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5348, allocations: 0 / 0.5211 GB, free: 79.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.536, allocations: 0.9379 MB / 0.522 GB, free: 79.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002094/0.5362, allocations: 189.1 kB / 0.5222 GB, free: 79.31 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.777e-05/0.5363, allocations: 20.81 kB / 0.5222 GB, free: 79.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003326/0.5366, allocations: 43.31 kB / 0.5222 GB, free: 79.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.5367, allocations: 63.86 kB / 0.5223 GB, free: 79.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/0.5368, allocations: 17.98 kB / 0.5223 GB, free: 79.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003473/0.5371, allocations: 361.9 kB / 0.5227 GB, free: 79.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.22e-07/0.5371, allocations: 0 / 0.5227 GB, free: 79.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009502/0.5381, allocations: 345.6 kB / 0.523 GB, free: 79.02 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001762/0.5383, allocations: 139.2 kB / 0.5231 GB, free: 78.92 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001627/0.5399, allocations: 1.219 MB / 0.5243 GB, free: 78.31 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.5399, allocations: 1 kB / 0.5243 GB, free: 78.31 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005018/0.5404, allocations: 470.5 kB / 0.5248 GB, free: 78.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004747/0.5409, allocations: 112.1 kB / 0.5249 GB, free: 78.01 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.5428, allocations: 1.489 MB / 0.5263 GB, free: 77.14 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.5432, allocations: 0.9578 MB / 0.5273 GB, free: 76.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003009/0.5435, allocations: 102 kB / 0.5274 GB, free: 76.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.858e-05/0.5436, allocations: 38.28 kB / 0.5274 GB, free: 76.4 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.5436, allocations: 0 / 0.5274 GB, free: 76.4 MB / 378.7 MB Notification: Performance of Templates: time 0.01411/0.5577, allocations: 10.22 MB / 0.5374 GB, free: 70.49 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/jenkins/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