Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001453/0.001453, allocations: 186.5 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.006/2.006, allocations: 205.4 MB / 222.5 MB, free: 9.145 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001133/0.001132, allocations: 101.4 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003841/0.0003842, allocations: 8 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3304, allocations: 47.57 MB / 374.6 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1411/0.4716, allocations: 87.72 MB / 462.3 MB, free: 9.039 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003442/0.472, allocations: 83.95 kB / 462.4 MB, free: 8.957 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04583/0.5178, allocations: 10.92 MB / 473.3 MB, free: 13.97 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.5179, allocations: 0 / 473.3 MB, free: 13.97 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.798e-05/0.5179, allocations: 16 kB / 473.3 MB, free: 13.96 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.002484/0.5204, allocations: 0.946 MB / 474.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.5205, allocations: 8.031 kB / 474.3 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002455/0.5208, allocations: 79.06 kB / 474.3 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.5219, allocations: 0.4939 MB / 474.8 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.449e-05/0.522, allocations: 49.31 kB / 474.9 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/0.5221, allocations: 64 kB / 474.9 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/0.5241, allocations: 0.6825 MB / 475.6 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.998e-05/0.5242, allocations: 7.984 kB / 475.6 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.5243, allocations: 24 kB / 475.6 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.168e-05/0.5244, allocations: 16 kB / 475.7 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001798/0.5262, allocations: 0.5243 MB / 476.2 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005992/0.5322, allocations: 2.593 MB / 478.8 MB, free: 8.234 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001919/0.5342, allocations: 0.574 MB / 479.4 MB, free: 7.648 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.31e-05/0.5343, allocations: 4.438 kB / 479.4 MB, free: 7.645 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008813/0.5351, allocations: 349.6 kB / 479.7 MB, free: 7.285 MB / 362.7 MB Notification: Performance of pre-optimization done (n=55): time 3.086e-06/0.5352, allocations: 0 / 479.7 MB, free: 7.285 MB / 362.7 MB Notification: Performance of matching and sorting (n=55): time 0.004362/0.5395, allocations: 0.9808 MB / 480.7 MB, free: 6.277 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.939e-05/0.5397, allocations: 115.4 kB / 480.8 MB, free: 6.141 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009256/0.5406, allocations: 441 kB / 481.2 MB, free: 5.703 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.5407, allocations: 49.69 kB / 481.3 MB, free: 5.648 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002986/0.541, allocations: 343.5 kB / 481.6 MB, free: 5.312 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002083/0.5413, allocations: 169.6 kB / 481.8 MB, free: 5.145 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.401e-05/0.5413, allocations: 16 kB / 481.8 MB, free: 5.129 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.5415, allocations: 334.8 kB / 482.1 MB, free: 4.793 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006685/0.5422, allocations: 201.2 kB / 482.3 MB, free: 4.594 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008233/0.543, allocations: 348.1 kB / 482.7 MB, free: 4.195 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007031/0.5437, allocations: 218.1 kB / 482.9 MB, free: 3.984 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.5437, allocations: 3.938 kB / 482.9 MB, free: 3.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001926/0.5457, allocations: 0.6515 MB / 483.5 MB, free: 3.316 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006102/0.5463, allocations: 1.579 MB / 485.1 MB, free: 1.617 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.5463, allocations: 4 kB / 485.1 MB, free: 1.613 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007821/0.5471, allocations: 153.7 kB / 485.3 MB, free: 1.461 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005922/0.5477, allocations: 87.83 kB / 485.3 MB, free: 1.375 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004326/0.5521, allocations: 2.365 MB / 487.7 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008338/0.5529, allocations: 87.5 kB / 487.8 MB, free: 14.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.725e-05/0.553, allocations: 20 kB / 487.8 MB, free: 14.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.553, allocations: 4 kB / 487.8 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001695/0.5547, allocations: 0.5804 MB / 488.4 MB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.5548, allocations: 4 kB / 488.4 MB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006362/0.5554, allocations: 157.6 kB / 488.6 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005124/0.5559, allocations: 75.89 kB / 488.6 MB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004138/0.5601, allocations: 2.355 MB / 491 MB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005902/0.5607, allocations: 71.61 kB / 491.1 MB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-05/0.5608, allocations: 20 kB / 491.1 MB, free: 11.37 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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$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 (59): * Single equations (assignments): 58 * 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.0005822/0.5614, allocations: 316.9 kB / 491.4 MB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.5616, allocations: 55.34 kB / 491.4 MB, free: 10.99 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001743/0.5617, allocations: 61.59 kB / 491.5 MB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.5618, allocations: 4 kB / 491.5 MB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.5618, allocations: 3.984 kB / 491.5 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.5618, allocations: 3.953 kB / 491.5 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003048/0.5649, allocations: 1.331 MB / 492.8 MB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.5649, allocations: 3.953 kB / 492.8 MB, free: 9.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004061/0.5653, allocations: 47.91 kB / 492.9 MB, free: 9.473 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000691/0.566, allocations: 143.2 kB / 493 MB, free: 9.332 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.687e-05/0.5661, allocations: 15.98 kB / 493 MB, free: 9.316 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00434/0.5704, allocations: 2.376 MB / 495.4 MB, free: 6.816 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.5705, allocations: 4 kB / 495.4 MB, free: 6.812 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002427/0.5729, allocations: 0.8896 MB / 496.3 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000398/0.5734, allocations: 184.3 kB / 496.5 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.5735, allocations: 16 kB / 496.5 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005986/0.5741, allocations: 43.91 kB / 496.6 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002419/0.5744, allocations: 60.47 kB / 496.6 MB, free: 5.586 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.103e-05/0.5745, allocations: 19.95 kB / 496.6 MB, free: 5.566 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000745/0.5752, allocations: 346.9 kB / 497 MB, free: 5.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5752, allocations: 0 / 497 MB, free: 5.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001502/0.5767, allocations: 323.2 kB / 497.3 MB, free: 4.914 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,rootMeanSquareVoltage.mean.y,meanCurrent.y,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 (38): * Single equations (assignments): 32 * 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.0002687/0.577, allocations: 129.4 kB / 497.4 MB, free: 4.777 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003161/0.5802, allocations: 1.184 MB / 498.6 MB, free: 3.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.5802, allocations: 0.875 kB / 498.6 MB, free: 3.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001113/0.5814, allocations: 454.8 kB / 499 MB, free: 3.113 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008879/0.5823, allocations: 107.1 kB / 499.1 MB, free: 3.008 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003431/0.5857, allocations: 1.446 MB / 0.4889 GB, free: 1.539 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000656/0.5864, allocations: 0.9427 MB / 0.4898 GB, free: 0.5664 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/0.5866, allocations: 39.44 kB / 0.4898 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of SimCode: time 1.022e-06/0.5867, allocations: 0 / 0.4898 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of Templates: time 0.2804/0.867, allocations: 10.5 MB / 0.5001 GB, free: 104.5 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2Pulse/HalfControlledBridge2Pulse/HalfControlledBridge2Pulse.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches