Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.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_RLV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|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_RLV") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|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_RLV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001921/0.001922, allocations: 202.1 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.304/1.304, allocations: 225.6 MB / 234.8 MB, free: 3.227 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008295/0.0008295, allocations: 96.97 kB / 286.7 MB, free: 5.289 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.424e-05/1.423e-05, allocations: 4 kB / 343.7 MB, free: 8.277 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09619/0.09622, allocations: 51.48 MB / 395.2 MB, free: 4.758 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3331/0.4294, allocations: 89.15 MB / 484.3 MB, free: 4.113 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/0.4296, allocations: 87.88 kB / 484.4 MB, free: 4.062 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0345/0.4641, allocations: 14.05 MB / 498.5 MB, free: 8.457 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.4642, allocations: 0 / 498.5 MB, free: 8.457 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.55e-05/0.4643, allocations: 16 kB / 498.5 MB, free: 8.441 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: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.001862/0.4661, allocations: 0.878 MB / 499.4 MB, free: 7.559 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.4662, allocations: 9.719 kB / 499.4 MB, free: 7.551 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004734/0.4667, allocations: 114.5 kB / 499.5 MB, free: 7.441 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008016/0.4675, allocations: 498.4 kB / 500 MB, free: 7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.577e-05/0.4675, allocations: 24 kB / 500 MB, free: 6.977 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.62e-05/0.4676, allocations: 43.91 kB / 0.4883 GB, free: 6.934 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007133/0.4683, allocations: 433.4 kB / 0.4887 GB, free: 6.676 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008838/0.4692, allocations: 0.5661 MB / 0.4893 GB, free: 6.242 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.434e-05/0.4692, allocations: 4 kB / 0.4893 GB, free: 6.238 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.091e-05/0.4693, allocations: 3.984 kB / 0.4893 GB, free: 6.234 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.4693, allocations: 20.34 kB / 0.4893 GB, free: 6.215 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003145/0.4725, allocations: 2.301 MB / 0.4916 GB, free: 4.293 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005405/0.473, allocations: 401.6 kB / 0.4919 GB, free: 4.051 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003934/0.4734, allocations: 243.5 kB / 0.4922 GB, free: 3.883 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.577e-05/0.4735, allocations: 7.984 kB / 0.4922 GB, free: 3.875 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004065/0.4739, allocations: 307.7 kB / 0.4925 GB, free: 3.629 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 1.854e-06/0.4739, allocations: 0 / 0.4925 GB, free: 3.629 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.0006503/0.4746, allocations: 427.3 kB / 0.4929 GB, free: 3.305 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.397e-05/0.4747, allocations: 162.7 kB / 0.493 GB, free: 3.109 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003833/0.475, allocations: 385.4 kB / 0.4934 GB, free: 2.816 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.327e-05/0.4751, allocations: 29.69 kB / 0.4934 GB, free: 2.781 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000184/0.4753, allocations: 327.8 kB / 0.4937 GB, free: 2.535 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.4754, allocations: 148.4 kB / 0.4939 GB, free: 2.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.263e-05/0.4754, allocations: 0 / 0.4939 GB, free: 2.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.4756, allocations: 358.5 kB / 0.4942 GB, free: 2.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/0.4758, allocations: 155.8 kB / 0.4944 GB, free: 1.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003092/0.4761, allocations: 313.7 kB / 0.4947 GB, free: 1.684 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002429/0.4763, allocations: 181.8 kB / 0.4948 GB, free: 1.566 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.4764, allocations: 0 / 0.4948 GB, free: 1.566 MB / 362.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.000727/0.4771, allocations: 0.5168 MB / 0.4954 GB, free: 1.164 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004997/0.4776, allocations: 1.66 MB / 0.497 GB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.4776, allocations: 4 kB / 0.497 GB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002687/0.4779, allocations: 80.38 kB / 0.4971 GB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003491/0.4782, allocations: 95.27 kB / 0.4971 GB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/0.4797, allocations: 1.687 MB / 0.4988 GB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004089/0.4801, allocations: 79.61 kB / 0.4989 GB, free: 13.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.449e-05/0.4801, allocations: 19.5 kB / 0.4989 GB, free: 13.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.063e-06/0.4802, allocations: 4 kB / 0.4989 GB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006324/0.4808, allocations: 446.2 kB / 0.4993 GB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.4808, allocations: 7.125 kB / 0.4993 GB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001836/0.481, allocations: 78.81 kB / 0.4994 GB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003053/0.4813, allocations: 95.53 kB / 0.4995 GB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.4826, allocations: 1.694 MB / 0.5011 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003428/0.483, allocations: 59.72 kB / 0.5012 GB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.643e-05/0.483, allocations: 23.94 kB / 0.5012 GB, free: 11.4 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 (64): * Single equations (assignments): 63 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001472/0.4832, allocations: 138.4 kB / 0.5014 GB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.376e-05/0.4833, allocations: 55.3 kB / 0.5014 GB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.4834, allocations: 52.22 kB / 0.5015 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.4834, allocations: 9.906 kB / 0.5015 GB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4834, allocations: 4 kB / 0.5015 GB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.4834, allocations: 3.984 kB / 0.5015 GB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/0.4849, allocations: 1.201 MB / 0.5026 GB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.485, allocations: 0 / 0.5026 GB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/0.4852, allocations: 63.88 kB / 0.5027 GB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001785/0.4854, allocations: 64.83 kB / 0.5028 GB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.989e-05/0.4854, allocations: 8.047 kB / 0.5028 GB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001317/0.4868, allocations: 1.602 MB / 0.5043 GB, free: 8.312 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4868, allocations: 0 / 0.5043 GB, free: 8.312 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009517/0.4877, allocations: 0.748 MB / 0.5051 GB, free: 7.539 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001892/0.4879, allocations: 176.4 kB / 0.5052 GB, free: 7.348 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.941e-05/0.488, allocations: 4 kB / 0.5052 GB, free: 7.344 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003291/0.4884, allocations: 35.95 kB / 0.5053 GB, free: 7.309 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.4885, allocations: 56.36 kB / 0.5053 GB, free: 7.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.15e-05/0.4885, allocations: 16 kB / 0.5053 GB, free: 7.234 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002849/0.4888, allocations: 279 kB / 0.5056 GB, free: 6.965 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4888, allocations: 4 kB / 0.5056 GB, free: 6.961 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008787/0.4897, allocations: 271 kB / 0.5059 GB, free: 6.695 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * 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 (42): * Single equations (assignments): 36 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001868/0.4899, allocations: 134.9 kB / 0.506 GB, free: 6.551 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001313/0.4912, allocations: 0.9103 MB / 0.5069 GB, free: 5.625 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4912, allocations: 0 / 0.5069 GB, free: 5.625 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004074/0.4917, allocations: 339.1 kB / 0.5072 GB, free: 5.281 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004577/0.4921, allocations: 77.77 kB / 0.5073 GB, free: 5.207 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.4937, allocations: 0.8744 MB / 0.5081 GB, free: 4.305 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005155/0.4943, allocations: 0.9497 MB / 0.5091 GB, free: 3.328 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004293/0.4947, allocations: 120.3 kB / 0.5092 GB, free: 3.211 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.56e-05/0.4948, allocations: 31.44 kB / 0.5092 GB, free: 3.18 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4948, allocations: 0 / 0.5092 GB, free: 3.18 MB / 378.7 MB Notification: Performance of Templates: time 0.01312/0.5079, allocations: 7.336 MB / 0.5164 GB, free: 12 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/ThyristorCenterTap2Pulse_RLV/ThyristorCenterTap2Pulse_RLV.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches