Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.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.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R,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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R,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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 171.6 kB / 14.1 MB, free: 1.219 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.496/1.496, allocations: 205.2 MB / 219.8 MB, free: 14.28 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.0009504/0.0009504, allocations: 90.64 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.767e-05/2.769e-05, allocations: 0 / 322.5 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09239/0.09243, allocations: 47.58 MB / 370 MB, free: 1.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3291/0.4216, allocations: 87.07 MB / 457.1 MB, free: 6.309 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/0.4219, allocations: 89.84 kB / 457.2 MB, free: 6.258 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03269/0.4546, allocations: 12.65 MB / 469.8 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4546, allocations: 0 / 469.8 MB, free: 11.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.76e-05/0.4547, allocations: 12 kB / 469.9 MB, free: 11 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001383/0.4561, allocations: 0.8126 MB / 470.7 MB, free: 10.14 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.4561, allocations: 8.031 kB / 470.7 MB, free: 10.13 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.4563, allocations: 83.06 kB / 470.8 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006865/0.4569, allocations: 477.9 kB / 471.2 MB, free: 9.539 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.668e-05/0.457, allocations: 45.31 kB / 471.3 MB, free: 9.496 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.467e-05/0.4571, allocations: 56 kB / 471.3 MB, free: 9.441 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009444/0.458, allocations: 0.5795 MB / 471.9 MB, free: 8.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.4581, allocations: 11.92 kB / 471.9 MB, free: 8.828 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.757e-05/0.4581, allocations: 28 kB / 471.9 MB, free: 8.801 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.4582, allocations: 12 kB / 472 MB, free: 8.789 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007076/0.4589, allocations: 413.1 kB / 472.4 MB, free: 8.383 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003278/0.4622, allocations: 2.221 MB / 474.6 MB, free: 6.047 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008714/0.4631, allocations: 448.6 kB / 475 MB, free: 5.598 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004225/0.4635, allocations: 229.8 kB / 475.2 MB, free: 5.371 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.784e-05/0.4636, allocations: 12.31 kB / 475.3 MB, free: 5.359 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004473/0.464, allocations: 294 kB / 475.5 MB, free: 5.051 MB / 346.7 MB Notification: Performance of pre-optimization done (n=44): time 2.695e-06/0.464, allocations: 0 / 475.5 MB, free: 5.051 MB / 346.7 MB Notification: Performance of matching and sorting (n=44): time 0.000769/0.4648, allocations: 417.7 kB / 476 MB, free: 4.633 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.619e-05/0.4649, allocations: 140.5 kB / 476.1 MB, free: 4.465 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004923/0.4654, allocations: 407 kB / 476.5 MB, free: 4.066 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.505e-05/0.4655, allocations: 41.69 kB / 476.5 MB, free: 4.02 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002018/0.4657, allocations: 296.5 kB / 476.8 MB, free: 3.723 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.891e-05/0.4658, allocations: 130.2 kB / 476.9 MB, free: 3.594 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.4658, allocations: 8 kB / 477 MB, free: 3.586 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.466, allocations: 362.8 kB / 477.3 MB, free: 3.223 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002493/0.4662, allocations: 153.1 kB / 477.5 MB, free: 3.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003601/0.4666, allocations: 296.2 kB / 477.7 MB, free: 2.715 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002659/0.4669, allocations: 156.2 kB / 477.9 MB, free: 2.562 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4669, allocations: 3.938 kB / 477.9 MB, free: 2.559 MB / 346.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0008215/0.4677, allocations: 0.548 MB / 478.4 MB, free: 2 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006388/0.4684, allocations: 1.652 MB / 480.1 MB, free: 224 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.4684, allocations: 8 kB / 480.1 MB, free: 216 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003404/0.4687, allocations: 92.75 kB / 480.2 MB, free: 120 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003074/0.469, allocations: 83.84 kB / 480.3 MB, free: 36 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001961/0.471, allocations: 1.858 MB / 482.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004431/0.4715, allocations: 83.56 kB / 482.2 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.911e-05/0.4715, allocations: 31.98 kB / 482.3 MB, free: 13.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.344e-06/0.4715, allocations: 4 kB / 482.3 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007395/0.4723, allocations: 464.2 kB / 482.7 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.4723, allocations: 7.984 kB / 482.7 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002353/0.4726, allocations: 89.3 kB / 482.8 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.4728, allocations: 83.83 kB / 482.9 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/0.4747, allocations: 1.839 MB / 484.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003811/0.4751, allocations: 67.64 kB / 484.8 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.091e-05/0.4751, allocations: 24.06 kB / 484.8 MB, free: 11.23 MB / 362.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,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_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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 55 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001647/0.4753, allocations: 144 kB / 485 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.034e-05/0.4754, allocations: 47.44 kB / 485 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001467/0.4755, allocations: 61.19 kB / 485.1 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.4755, allocations: 4 kB / 485.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4755, allocations: 3.953 kB / 485.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.4756, allocations: 3.984 kB / 485.1 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001693/0.4773, allocations: 1.229 MB / 486.3 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.4773, allocations: 7.984 kB / 486.3 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.4775, allocations: 31.98 kB / 486.3 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000239/0.4777, allocations: 88.78 kB / 486.4 MB, free: 9.535 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.965e-05/0.4778, allocations: 12 kB / 486.4 MB, free: 9.523 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001777/0.4795, allocations: 1.759 MB / 488.2 MB, free: 7.633 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4796, allocations: 0 / 488.2 MB, free: 7.633 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.4806, allocations: 0.7329 MB / 488.9 MB, free: 6.875 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001952/0.4808, allocations: 164.5 kB / 489.1 MB, free: 6.695 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.523e-05/0.4809, allocations: 11.94 kB / 489.1 MB, free: 6.684 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003236/0.4812, allocations: 47.95 kB / 489.1 MB, free: 6.637 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.4814, allocations: 55.88 kB / 489.2 MB, free: 6.582 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/0.4814, allocations: 15.94 kB / 489.2 MB, free: 6.566 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003695/0.4818, allocations: 309.2 kB / 489.5 MB, free: 6.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4818, allocations: 0 / 489.5 MB, free: 6.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008898/0.4827, allocations: 275.1 kB / 489.8 MB, free: 6 MB / 362.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: 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,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_n.off,rectifier.thyristor_p.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * 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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001878/0.4829, allocations: 134.5 kB / 489.9 MB, free: 5.863 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001425/0.4843, allocations: 0.9222 MB / 490.8 MB, free: 4.914 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4844, allocations: 0 / 490.8 MB, free: 4.914 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004705/0.4848, allocations: 352 kB / 491.2 MB, free: 4.559 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004617/0.4853, allocations: 86.8 kB / 491.3 MB, free: 4.473 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.4868, allocations: 0.7555 MB / 492 MB, free: 3.688 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005092/0.4873, allocations: 0.9263 MB / 493 MB, free: 2.734 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003815/0.4877, allocations: 100.3 kB / 493.1 MB, free: 2.637 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.789e-05/0.4878, allocations: 35.42 kB / 493.1 MB, free: 2.602 MB / 362.7 MB Notification: Performance of SimCode: time 4.1e-07/0.4878, allocations: 0 / 493.1 MB, free: 2.602 MB / 362.7 MB Notification: Performance of Templates: time 0.01438/0.5022, allocations: 8.006 MB / 0.4893 GB, free: 10.59 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/ThyristorCenterTap2Pulse_R/ThyristorCenterTap2Pulse_R.csv","../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches