Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.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_RL,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_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL,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_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001421/0.001421, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009088/0.0009089, allocations: 90.42 kB / 292.1 MB, free: 5.953 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.815e-05/3.823e-05, allocations: 0 / 350.5 MB, free: 2.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1233, allocations: 51.5 MB / 402 MB, free: 14.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3027/0.4261, allocations: 89.51 MB / 491.6 MB, free: 24 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/0.4264, allocations: 93.06 kB / 491.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0363/0.4627, allocations: 13.89 MB / 0.4937 GB, free: 3.723 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4628, allocations: 0 / 0.4937 GB, free: 3.723 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.802e-05/0.4628, allocations: 20 kB / 0.4937 GB, free: 3.703 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.001365/0.4642, allocations: 0.8614 MB / 0.4946 GB, free: 2.789 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.4642, allocations: 8.031 kB / 0.4946 GB, free: 2.781 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003112/0.4645, allocations: 114.6 kB / 0.4947 GB, free: 2.672 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007016/0.4653, allocations: 485.9 kB / 0.4951 GB, free: 2.156 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.872e-05/0.4653, allocations: 54.23 kB / 0.4952 GB, free: 2.105 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.689e-05/0.4654, allocations: 60 kB / 0.4952 GB, free: 2.047 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.4665, allocations: 0.6427 MB / 0.4959 GB, free: 1.379 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.4665, allocations: 4 kB / 0.4959 GB, free: 1.375 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.267e-05/0.4666, allocations: 28 kB / 0.4959 GB, free: 1.348 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.4666, allocations: 12 kB / 0.4959 GB, free: 1.336 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007692/0.4674, allocations: 465 kB / 0.4964 GB, free: 0.8789 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003323/0.4707, allocations: 2.375 MB / 0.4987 GB, free: 14.39 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000631/0.4713, allocations: 427.1 kB / 0.4991 GB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004561/0.4718, allocations: 259 kB / 0.4993 GB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.568e-05/0.4719, allocations: 8 kB / 0.4993 GB, free: 13.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004655/0.4723, allocations: 309.1 kB / 0.4996 GB, free: 13.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 1.974e-06/0.4723, allocations: 0 / 0.4996 GB, free: 13.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.0007537/0.4731, allocations: 456.2 kB / 0.5001 GB, free: 12.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.876e-05/0.4732, allocations: 166.7 kB / 0.5002 GB, free: 12.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004735/0.4737, allocations: 427.8 kB / 0.5006 GB, free: 12.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.747e-05/0.4737, allocations: 45.64 kB / 0.5007 GB, free: 12.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002482/0.474, allocations: 324.2 kB / 0.501 GB, free: 11.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.4741, allocations: 142 kB / 0.5011 GB, free: 11.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.677e-05/0.4741, allocations: 12 kB / 0.5011 GB, free: 11.78 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.4743, allocations: 366.8 kB / 0.5015 GB, free: 11.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002715/0.4746, allocations: 169.1 kB / 0.5016 GB, free: 11.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003628/0.4749, allocations: 318.5 kB / 0.5019 GB, free: 10.87 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002915/0.4752, allocations: 185.5 kB / 0.5021 GB, free: 10.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.4752, allocations: 4 kB / 0.5021 GB, free: 10.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008537/0.4761, allocations: 0.5707 MB / 0.5027 GB, free: 10.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005484/0.4767, allocations: 1.663 MB / 0.5043 GB, free: 8.309 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.4767, allocations: 4 kB / 0.5043 GB, free: 8.305 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002933/0.477, allocations: 84.8 kB / 0.5044 GB, free: 8.219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003593/0.4773, allocations: 95.83 kB / 0.5045 GB, free: 8.125 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001687/0.479, allocations: 1.737 MB / 0.5062 GB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004722/0.4795, allocations: 91.55 kB / 0.5063 GB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-05/0.4796, allocations: 24.06 kB / 0.5063 GB, free: 6.145 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.113e-06/0.4796, allocations: 1.719 kB / 0.5063 GB, free: 6.145 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007732/0.4804, allocations: 0.4991 MB / 0.5068 GB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.4804, allocations: 7.953 kB / 0.5068 GB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002053/0.4806, allocations: 80.77 kB / 0.5069 GB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003152/0.4809, allocations: 91.83 kB / 0.507 GB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/0.4826, allocations: 1.728 MB / 0.5086 GB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003961/0.4831, allocations: 75.66 kB / 0.5087 GB, free: 3.523 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.634e-05/0.4831, allocations: 20 kB / 0.5087 GB, free: 3.504 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 (63): * Single equations (assignments): 62 * 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.0001954/0.4833, allocations: 151.9 kB / 0.5089 GB, free: 3.352 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.4834, allocations: 67.36 kB / 0.5089 GB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001746/0.4836, allocations: 61.3 kB / 0.509 GB, free: 3.223 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.4836, allocations: 4 kB / 0.509 GB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4836, allocations: 0.75 kB / 0.509 GB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.4836, allocations: 3.984 kB / 0.509 GB, free: 3.215 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001939/0.4856, allocations: 1.315 MB / 0.5103 GB, free: 1.836 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.4856, allocations: 8.016 kB / 0.5103 GB, free: 1.828 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002642/0.4859, allocations: 51.91 kB / 0.5103 GB, free: 1.777 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001957/0.4861, allocations: 76.77 kB / 0.5104 GB, free: 1.699 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.379e-05/0.4861, allocations: 11.98 kB / 0.5104 GB, free: 1.688 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001445/0.4876, allocations: 1.649 MB / 0.512 GB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4876, allocations: 4.062 kB / 0.512 GB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.4887, allocations: 0.7869 MB / 0.5128 GB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002126/0.4889, allocations: 172.4 kB / 0.513 GB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.113e-05/0.489, allocations: 15.98 kB / 0.513 GB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000342/0.4894, allocations: 47.97 kB / 0.513 GB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.4895, allocations: 60.25 kB / 0.5131 GB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-05/0.4895, allocations: 15.98 kB / 0.5131 GB, free: 14.77 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004118/0.49, allocations: 321.6 kB / 0.5134 GB, free: 14.45 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.49, allocations: 4 kB / 0.5134 GB, free: 14.45 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008928/0.4909, allocations: 311 kB / 0.5137 GB, free: 14.14 MB / 394.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 (41): * Single equations (assignments): 35 * 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.0002287/0.4911, allocations: 134.2 kB / 0.5138 GB, free: 14 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.4925, allocations: 0.9603 MB / 0.5148 GB, free: 13.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4925, allocations: 0 / 0.5148 GB, free: 13.02 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004315/0.493, allocations: 354.2 kB / 0.5151 GB, free: 12.66 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004597/0.4934, allocations: 90.8 kB / 0.5152 GB, free: 12.58 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.495, allocations: 0.8805 MB / 0.5161 GB, free: 11.68 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004655/0.4955, allocations: 0.9504 MB / 0.517 GB, free: 10.69 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004258/0.496, allocations: 124.5 kB / 0.5171 GB, free: 10.57 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.229e-05/0.496, allocations: 31.44 kB / 0.5171 GB, free: 10.54 MB / 394.7 MB Notification: Performance of SimCode: time 3.5e-07/0.4961, allocations: 0 / 0.5171 GB, free: 10.54 MB / 394.7 MB Notification: Performance of Templates: time 0.01371/0.5098, allocations: 8.191 MB / 0.5251 GB, free: 2.52 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2Pulse/ThyristorCenterTap2Pulse_RL/ThyristorCenterTap2Pulse_RL.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches