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.001723/0.001723, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 225.6 MB / 234.8 MB, free: 3.191 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008132/0.0008133, allocations: 98.33 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.291e-05/2.31e-05, allocations: 4 kB / 343.7 MB, free: 8.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1005, allocations: 51.47 MB / 395.2 MB, free: 4.699 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3185/0.419, allocations: 88.86 MB / 484 MB, free: 4.305 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/0.4193, allocations: 85.73 kB / 484.1 MB, free: 4.258 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03305/0.4524, allocations: 13.76 MB / 497.9 MB, free: 8.891 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4524, allocations: 0 / 497.9 MB, free: 8.891 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.045e-05/0.4525, allocations: 20 kB / 497.9 MB, free: 8.871 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.001386/0.4539, allocations: 0.8655 MB / 498.8 MB, free: 8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.4539, allocations: 8.031 kB / 498.8 MB, free: 7.992 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000305/0.4542, allocations: 110.6 kB / 498.9 MB, free: 7.887 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007758/0.455, allocations: 486.7 kB / 499.4 MB, free: 7.453 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.066e-05/0.455, allocations: 25.86 kB / 499.4 MB, free: 7.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.302e-05/0.4551, allocations: 40 kB / 499.4 MB, free: 7.391 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007223/0.4559, allocations: 427 kB / 499.8 MB, free: 7.137 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009188/0.4568, allocations: 0.5569 MB / 0.4887 GB, free: 6.707 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.4568, allocations: 4 kB / 0.4887 GB, free: 6.703 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.979e-05/0.4569, allocations: 0 / 0.4887 GB, free: 6.703 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.4569, allocations: 19.95 kB / 0.4887 GB, free: 6.684 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003155/0.4601, allocations: 2.256 MB / 0.4909 GB, free: 4.793 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005702/0.4607, allocations: 389.7 kB / 0.4913 GB, free: 4.559 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000406/0.4611, allocations: 240.7 kB / 0.4915 GB, free: 4.395 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.496e-05/0.4611, allocations: 4 kB / 0.4915 GB, free: 4.391 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004415/0.4616, allocations: 302.9 kB / 0.4918 GB, free: 4.141 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 1.593e-06/0.4616, allocations: 0 / 0.4918 GB, free: 4.141 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.0006939/0.4623, allocations: 414.7 kB / 0.4922 GB, free: 3.828 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.378e-05/0.4624, allocations: 162.7 kB / 0.4923 GB, free: 3.633 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003973/0.4628, allocations: 372.3 kB / 0.4927 GB, free: 3.352 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.437e-05/0.4628, allocations: 33.69 kB / 0.4927 GB, free: 3.312 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.4631, allocations: 334.2 kB / 0.4931 GB, free: 3.062 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.4632, allocations: 141.3 kB / 0.4932 GB, free: 2.941 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.227e-05/0.4632, allocations: 0 / 0.4932 GB, free: 2.941 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.4633, allocations: 361.9 kB / 0.4935 GB, free: 2.598 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002235/0.4636, allocations: 153.9 kB / 0.4937 GB, free: 2.512 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003192/0.4639, allocations: 316.9 kB / 0.494 GB, free: 2.211 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002458/0.4641, allocations: 169.9 kB / 0.4941 GB, free: 2.102 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.4642, allocations: 0 / 0.4941 GB, free: 2.102 MB / 362.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000754/0.4649, allocations: 0.519 MB / 0.4946 GB, free: 1.699 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006418/0.4656, allocations: 1.658 MB / 0.4963 GB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.4656, allocations: 4 kB / 0.4963 GB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002803/0.4659, allocations: 81.53 kB / 0.4964 GB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003509/0.4662, allocations: 94.83 kB / 0.4964 GB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001534/0.4678, allocations: 1.695 MB / 0.4981 GB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004156/0.4682, allocations: 75.61 kB / 0.4982 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.871e-05/0.4683, allocations: 22.88 kB / 0.4982 GB, free: 14.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.824e-06/0.4683, allocations: 6.062 kB / 0.4982 GB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006506/0.4689, allocations: 439.5 kB / 0.4986 GB, free: 13.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.469, allocations: 4 kB / 0.4986 GB, free: 13.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001838/0.4691, allocations: 76.81 kB / 0.4987 GB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00032/0.4695, allocations: 95.73 kB / 0.4988 GB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/0.4709, allocations: 1.692 MB / 0.5004 GB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003658/0.4713, allocations: 59.56 kB / 0.5005 GB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.518e-05/0.4713, allocations: 23.44 kB / 0.5005 GB, free: 11.95 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.0001698/0.4715, allocations: 143.5 kB / 0.5007 GB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.902e-05/0.4716, allocations: 47.44 kB / 0.5007 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001352/0.4717, allocations: 58.88 kB / 0.5008 GB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.4717, allocations: 4 kB / 0.5008 GB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4717, allocations: 4 kB / 0.5008 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.4717, allocations: 0 / 0.5008 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/0.4734, allocations: 1.186 MB / 0.5019 GB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.4734, allocations: 0 / 0.5019 GB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002446/0.4736, allocations: 55.47 kB / 0.502 GB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001784/0.4738, allocations: 68.81 kB / 0.502 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.999e-05/0.4738, allocations: 8.031 kB / 0.502 GB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001365/0.4752, allocations: 1.601 MB / 0.5036 GB, free: 8.984 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.4752, allocations: 0 / 0.5036 GB, free: 8.984 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.4763, allocations: 0.7517 MB / 0.5043 GB, free: 8.203 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001829/0.4765, allocations: 168.5 kB / 0.5045 GB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.89e-05/0.4765, allocations: 8.062 kB / 0.5045 GB, free: 8.012 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003258/0.4769, allocations: 35.97 kB / 0.5045 GB, free: 7.977 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.477, allocations: 56.36 kB / 0.5046 GB, free: 7.922 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.767e-05/0.477, allocations: 11.98 kB / 0.5046 GB, free: 7.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002903/0.4773, allocations: 283 kB / 0.5049 GB, free: 7.637 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4773, allocations: 0 / 0.5049 GB, free: 7.637 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008641/0.4782, allocations: 275 kB / 0.5051 GB, free: 7.367 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 (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.0001809/0.4784, allocations: 136.5 kB / 0.5053 GB, free: 7.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001195/0.4796, allocations: 0.8923 MB / 0.5061 GB, free: 6.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4796, allocations: 3.938 kB / 0.5061 GB, free: 6.316 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003919/0.48, allocations: 340.8 kB / 0.5065 GB, free: 5.977 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004636/0.4805, allocations: 71.42 kB / 0.5065 GB, free: 5.906 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.482, allocations: 0.8553 MB / 0.5074 GB, free: 5.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004808/0.4825, allocations: 0.9422 MB / 0.5083 GB, free: 4.047 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003929/0.4829, allocations: 115.4 kB / 0.5084 GB, free: 3.938 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.826e-05/0.483, allocations: 31.44 kB / 0.5084 GB, free: 3.906 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.483, allocations: 0 / 0.5084 GB, free: 3.906 MB / 378.7 MB Notification: Performance of Templates: time 0.01257/0.4955, allocations: 7.293 MB / 0.5156 GB, free: 12.77 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