Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009355/0.0009355, allocations: 175.7 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 223.3 MB / 241.4 MB, free: 9.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00078/0.00078, allocations: 96.03 kB / 292.6 MB, free: 10.54 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003161/0.0003163, allocations: 15.94 kB / 352.4 MB, free: 14.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2221, allocations: 50.39 MB / 402.8 MB, free: 32.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1062/0.3283, allocations: 88.53 MB / 491.3 MB, free: 7.766 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.3286, allocations: 91.92 kB / 491.4 MB, free: 7.676 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03506/0.3637, allocations: 13.45 MB / 0.493 GB, free: 10.17 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3637, allocations: 3.938 kB / 0.493 GB, free: 10.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.93e-05/0.3638, allocations: 16 kB / 0.493 GB, free: 10.15 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002488/0.3663, allocations: 0.9068 MB / 0.4939 GB, free: 9.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.916e-05/0.3664, allocations: 12.03 kB / 0.4939 GB, free: 9.168 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003357/0.3667, allocations: 76.09 kB / 0.494 GB, free: 9.094 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009966/0.3677, allocations: 491 kB / 0.4944 GB, free: 8.574 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.462e-05/0.3678, allocations: 45.69 kB / 0.4945 GB, free: 8.531 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/0.368, allocations: 68.31 kB / 0.4946 GB, free: 8.465 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/0.3693, allocations: 0.6666 MB / 0.4952 GB, free: 7.773 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.805e-05/0.3694, allocations: 12.03 kB / 0.4952 GB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.397e-05/0.3694, allocations: 27.94 kB / 0.4952 GB, free: 7.734 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.3695, allocations: 16 kB / 0.4953 GB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009875/0.3705, allocations: 0.497 MB / 0.4957 GB, free: 7.219 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003723/0.3742, allocations: 2.291 MB / 0.498 GB, free: 4.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007551/0.375, allocations: 430 kB / 0.4984 GB, free: 4.395 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005219/0.3755, allocations: 259.9 kB / 0.4986 GB, free: 4.141 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.415e-05/0.3755, allocations: 7.984 kB / 0.4986 GB, free: 4.133 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005644/0.3761, allocations: 336.7 kB / 0.499 GB, free: 3.781 MB / 378.7 MB Notification: Performance of pre-optimization done (n=46): time 2.364e-06/0.3761, allocations: 0 / 0.499 GB, free: 3.781 MB / 378.7 MB Notification: Performance of matching and sorting (n=46): time 0.001899/0.378, allocations: 0.7875 MB / 0.4997 GB, free: 2.965 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.3782, allocations: 170.2 kB / 0.4999 GB, free: 2.762 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006431/0.3788, allocations: 477.7 kB / 0.5004 GB, free: 2.285 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.421e-05/0.3789, allocations: 41.7 kB / 0.5004 GB, free: 2.238 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002443/0.3791, allocations: 304.4 kB / 0.5007 GB, free: 1.938 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.3793, allocations: 146 kB / 0.5008 GB, free: 1.793 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/0.3793, allocations: 8 kB / 0.5008 GB, free: 1.785 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.3795, allocations: 366.8 kB / 0.5012 GB, free: 1.418 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003837/0.3799, allocations: 185 kB / 0.5014 GB, free: 1.234 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005042/0.3804, allocations: 352.3 kB / 0.5017 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007831/0.3812, allocations: 473.2 kB / 0.5021 GB, free: 316 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.3812, allocations: 0 / 0.5021 GB, free: 316 kB / 378.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.2033/0.5845, allocations: 0.6141 MB / 0.5027 GB, free: 95.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001573/0.5847, allocations: 211.6 kB / 0.5029 GB, free: 95.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.5847, allocations: 5.422 kB / 0.503 GB, free: 95.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004563/0.5852, allocations: 90.27 kB / 0.503 GB, free: 95.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004076/0.5856, allocations: 92.55 kB / 0.5031 GB, free: 95.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002135/0.5877, allocations: 1.851 MB / 0.5049 GB, free: 94.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005892/0.5883, allocations: 92.75 kB / 0.505 GB, free: 94.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.615e-05/0.5884, allocations: 21.27 kB / 0.505 GB, free: 94.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.5884, allocations: 7.406 kB / 0.5051 GB, free: 94.04 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001045/0.5895, allocations: 0.5189 MB / 0.5056 GB, free: 94.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.5895, allocations: 4.125 kB / 0.5056 GB, free: 94.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000246/0.5897, allocations: 97.89 kB / 0.5057 GB, free: 94.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003171/0.5901, allocations: 79.5 kB / 0.5057 GB, free: 94.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001761/0.5918, allocations: 1.85 MB / 0.5075 GB, free: 92.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005512/0.5924, allocations: 72.64 kB / 0.5076 GB, free: 92.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-05/0.5925, allocations: 23.66 kB / 0.5076 GB, free: 92.7 MB / 378.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_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_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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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.0005626/0.593, allocations: 311.4 kB / 0.5079 GB, free: 92.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.5932, allocations: 55.2 kB / 0.508 GB, free: 92.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.5933, allocations: 58.53 kB / 0.508 GB, free: 92.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.5933, allocations: 7.469 kB / 0.508 GB, free: 92.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.5933, allocations: 3.875 kB / 0.508 GB, free: 92.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.5933, allocations: 2.25 kB / 0.508 GB, free: 92.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002066/0.5954, allocations: 1.312 MB / 0.5093 GB, free: 92.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.5954, allocations: 0.5 kB / 0.5093 GB, free: 92.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/0.5957, allocations: 52.42 kB / 0.5094 GB, free: 92.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002398/0.5959, allocations: 87.02 kB / 0.5095 GB, free: 92.08 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.004e-05/0.596, allocations: 9.125 kB / 0.5095 GB, free: 92.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001462/0.5974, allocations: 1.759 MB / 0.5112 GB, free: 90.81 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5975, allocations: 3.531 kB / 0.5112 GB, free: 90.81 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.5985, allocations: 0.8122 MB / 0.512 GB, free: 90.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001909/0.5987, allocations: 167.5 kB / 0.5121 GB, free: 90.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.549e-05/0.5988, allocations: 12.77 kB / 0.5122 GB, free: 90.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003047/0.5991, allocations: 50.95 kB / 0.5122 GB, free: 90.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.5993, allocations: 52.02 kB / 0.5123 GB, free: 90.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/0.5993, allocations: 14.81 kB / 0.5123 GB, free: 90.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003948/0.5997, allocations: 334 kB / 0.5126 GB, free: 90.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5997, allocations: 2.969 kB / 0.5126 GB, free: 90.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001001/0.6007, allocations: 289 kB / 0.5129 GB, free: 90.15 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: 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_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_n.off,rectifier.thyristor_p.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * 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.0001788/0.6009, allocations: 137.4 kB / 0.513 GB, free: 90.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001486/0.6024, allocations: 1.013 MB / 0.514 GB, free: 89.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6024, allocations: 3.875 kB / 0.514 GB, free: 89.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004377/0.6029, allocations: 375.9 kB / 0.5144 GB, free: 89.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005749/0.6035, allocations: 90.34 kB / 0.5144 GB, free: 89.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.6052, allocations: 1.313 MB / 0.5157 GB, free: 88.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.6056, allocations: 0.9201 MB / 0.5166 GB, free: 87.81 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00032/0.6059, allocations: 93.42 kB / 0.5167 GB, free: 87.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.53e-05/0.606, allocations: 35.91 kB / 0.5167 GB, free: 87.8 MB / 378.7 MB Notification: Performance of SimCode: time 5.01e-07/0.606, allocations: 0 / 0.5167 GB, free: 87.8 MB / 378.7 MB Notification: Performance of Templates: time 0.01243/0.6184, allocations: 7.754 MB / 0.5243 GB, free: 86.93 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/ThyristorCenterTap2Pulse_R/ThyristorCenterTap2Pulse_R.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches