Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.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.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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001148/0.001148, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 225.6 MB / 234.8 MB, free: 3.223 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008106/0.0008107, allocations: 97.64 kB / 286.7 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.839e-05/1.85e-05, allocations: 4 kB / 343.7 MB, free: 8.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1081, allocations: 51.48 MB / 395.2 MB, free: 4.715 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3365/0.4447, allocations: 88.53 MB / 483.7 MB, free: 4.648 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001961/0.4449, allocations: 88.19 kB / 483.8 MB, free: 4.598 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03194/0.4769, allocations: 13.43 MB / 497.2 MB, free: 9.512 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4769, allocations: 0 / 497.2 MB, free: 9.512 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.712e-05/0.477, allocations: 16 kB / 497.2 MB, free: 9.496 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001364/0.4784, allocations: 0.8446 MB / 498.1 MB, free: 8.641 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.4784, allocations: 12.03 kB / 498.1 MB, free: 8.629 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003078/0.4787, allocations: 103.9 kB / 498.2 MB, free: 8.527 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006786/0.4794, allocations: 485.6 kB / 498.7 MB, free: 8.098 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.779e-05/0.4795, allocations: 23.98 kB / 498.7 MB, free: 8.074 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.692e-05/0.4795, allocations: 32 kB / 498.7 MB, free: 8.043 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006752/0.4802, allocations: 420.3 kB / 499.1 MB, free: 7.793 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008989/0.4811, allocations: 0.5408 MB / 499.7 MB, free: 7.379 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.4812, allocations: 0 / 499.7 MB, free: 7.379 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.775e-05/0.4812, allocations: 2.688 kB / 499.7 MB, free: 7.379 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.4812, allocations: 16 kB / 499.7 MB, free: 7.363 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003037/0.4843, allocations: 2.178 MB / 0.4901 GB, free: 5.543 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000543/0.4848, allocations: 390 kB / 0.4905 GB, free: 5.301 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004048/0.4853, allocations: 229.8 kB / 0.4907 GB, free: 5.141 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/0.4853, allocations: 11.09 kB / 0.4907 GB, free: 5.133 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004039/0.4857, allocations: 288.3 kB / 0.491 GB, free: 4.898 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 2.996e-06/0.4857, allocations: 4 kB / 0.491 GB, free: 4.895 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.0006412/0.4864, allocations: 419.5 kB / 0.4914 GB, free: 4.578 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.82e-05/0.4865, allocations: 158.2 kB / 0.4915 GB, free: 4.387 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003749/0.4868, allocations: 370.8 kB / 0.4919 GB, free: 4.102 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/0.4869, allocations: 32.39 kB / 0.4919 GB, free: 4.066 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001859/0.4871, allocations: 311 kB / 0.4922 GB, free: 3.836 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.4872, allocations: 140.6 kB / 0.4924 GB, free: 3.715 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.126e-05/0.4872, allocations: 0 / 0.4924 GB, free: 3.715 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.4874, allocations: 364.9 kB / 0.4927 GB, free: 3.371 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002211/0.4876, allocations: 145.7 kB / 0.4928 GB, free: 3.285 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/0.4879, allocations: 305.6 kB / 0.4931 GB, free: 2.996 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002308/0.4882, allocations: 168.2 kB / 0.4933 GB, free: 2.887 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.4882, allocations: 3.953 kB / 0.4933 GB, free: 2.883 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007084/0.4889, allocations: 0.5047 MB / 0.4938 GB, free: 2.492 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006378/0.4895, allocations: 1.656 MB / 0.4954 GB, free: 0.7383 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.4895, allocations: 4 kB / 0.4954 GB, free: 0.7344 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003138/0.4899, allocations: 92 kB / 0.4955 GB, free: 0.668 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003142/0.4902, allocations: 90.89 kB / 0.4956 GB, free: 0.582 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001667/0.4919, allocations: 1.795 MB / 0.4973 GB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004003/0.4923, allocations: 75.7 kB / 0.4974 GB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/0.4923, allocations: 19.88 kB / 0.4974 GB, free: 14.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.4924, allocations: 5.719 kB / 0.4974 GB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006234/0.493, allocations: 431.2 kB / 0.4978 GB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.493, allocations: 8 kB / 0.4979 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002034/0.4932, allocations: 83.44 kB / 0.4979 GB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/0.4935, allocations: 88.23 kB / 0.498 GB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001559/0.4951, allocations: 1.807 MB / 0.4998 GB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003442/0.4954, allocations: 67.58 kB / 0.4999 GB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.078e-05/0.4955, allocations: 19.75 kB / 0.4999 GB, free: 12.59 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 () * 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.0001405/0.4956, allocations: 127.9 kB / 0.5 GB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.081e-05/0.4957, allocations: 51.42 kB / 0.5 GB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.4958, allocations: 49.52 kB / 0.5001 GB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.4958, allocations: 4 kB / 0.5001 GB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.4958, allocations: 3.938 kB / 0.5001 GB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.4959, allocations: 11.94 kB / 0.5001 GB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/0.4973, allocations: 1.143 MB / 0.5012 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.4973, allocations: 3.938 kB / 0.5012 GB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002093/0.4975, allocations: 43.91 kB / 0.5013 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002075/0.4978, allocations: 92.86 kB / 0.5014 GB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.4978, allocations: 4 kB / 0.5014 GB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001528/0.4993, allocations: 1.694 MB / 0.503 GB, free: 9.621 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.4993, allocations: 3.938 kB / 0.503 GB, free: 9.617 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009318/0.5003, allocations: 0.7304 MB / 0.5037 GB, free: 8.855 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001837/0.5005, allocations: 164.5 kB / 0.5039 GB, free: 8.676 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.64e-05/0.5005, allocations: 8 kB / 0.5039 GB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003157/0.5009, allocations: 35.97 kB / 0.5039 GB, free: 8.633 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.501, allocations: 51.86 kB / 0.504 GB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.501, allocations: 19.98 kB / 0.504 GB, free: 8.562 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002778/0.5013, allocations: 271 kB / 0.5043 GB, free: 8.301 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5013, allocations: 0 / 0.5043 GB, free: 8.301 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008213/0.5022, allocations: 275 kB / 0.5045 GB, free: 8.031 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) * 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.0001734/0.5023, allocations: 129.4 kB / 0.5046 GB, free: 7.898 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001216/0.5036, allocations: 0.897 MB / 0.5055 GB, free: 6.988 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.5036, allocations: 4.125 kB / 0.5055 GB, free: 6.984 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004113/0.504, allocations: 339.8 kB / 0.5058 GB, free: 6.645 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.5044, allocations: 76.23 kB / 0.5059 GB, free: 6.574 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.5058, allocations: 0.779 MB / 0.5067 GB, free: 5.766 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004774/0.5062, allocations: 0.9343 MB / 0.5076 GB, free: 4.801 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003832/0.5066, allocations: 115.8 kB / 0.5077 GB, free: 4.688 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.912e-05/0.5067, allocations: 35.42 kB / 0.5077 GB, free: 4.652 MB / 378.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5067, allocations: 0 / 0.5077 GB, free: 4.652 MB / 378.7 MB Notification: Performance of Templates: time 0.01257/0.5193, allocations: 7.439 MB / 0.515 GB, free: 13.38 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R_res.mat","/var/lib/jenkins/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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches