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.001459/0.001459, allocations: 176.6 kB / 8.347 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 221.5 MB / 230.3 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008948/0.0008948, allocations: 90.11 kB / 281.2 MB, free: 5.316 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.319e-05/2.312e-05, allocations: 7.984 kB / 337.1 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09366/0.0937, allocations: 50.42 MB / 387.5 MB, free: 7.559 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2927/0.3864, allocations: 87.71 MB / 475.2 MB, free: 7.121 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/0.3867, allocations: 87.95 kB / 475.3 MB, free: 7.035 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0333/0.42, allocations: 13.3 MB / 488.6 MB, free: 9.684 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.42, allocations: 0 / 488.6 MB, free: 9.684 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.101e-05/0.4201, allocations: 19.98 kB / 488.6 MB, free: 9.664 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.001504/0.4216, allocations: 0.8441 MB / 489.4 MB, free: 8.766 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.4217, allocations: 8.031 kB / 489.4 MB, free: 8.758 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.4218, allocations: 75.16 kB / 489.5 MB, free: 8.684 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006999/0.4225, allocations: 476.2 kB / 490 MB, free: 8.176 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.583e-05/0.4226, allocations: 27.98 kB / 490 MB, free: 8.148 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.209e-05/0.4227, allocations: 43.86 kB / 490 MB, free: 8.105 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006998/0.4234, allocations: 414.5 kB / 490.5 MB, free: 7.699 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008805/0.4243, allocations: 0.5426 MB / 491 MB, free: 7.137 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.4243, allocations: 4 kB / 491 MB, free: 7.133 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.375e-05/0.4244, allocations: 7.938 kB / 491 MB, free: 7.125 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.4244, allocations: 16 kB / 491 MB, free: 7.109 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003147/0.4275, allocations: 2.16 MB / 493.2 MB, free: 4.852 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00057/0.4281, allocations: 383.6 kB / 493.6 MB, free: 4.465 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004393/0.4286, allocations: 229.4 kB / 493.8 MB, free: 4.238 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.163e-05/0.4286, allocations: 4 kB / 493.8 MB, free: 4.234 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004429/0.4291, allocations: 308.2 kB / 494.1 MB, free: 3.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 2.435e-06/0.4291, allocations: 0 / 494.1 MB, free: 3.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.0006676/0.4298, allocations: 402.1 kB / 494.5 MB, free: 3.508 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/0.4298, allocations: 170.2 kB / 494.6 MB, free: 3.305 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003568/0.4302, allocations: 353.2 kB / 495 MB, free: 2.953 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.287e-05/0.4303, allocations: 37.69 kB / 495 MB, free: 2.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001974/0.4305, allocations: 316.1 kB / 495.3 MB, free: 2.598 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.617e-05/0.4306, allocations: 130.2 kB / 495.5 MB, free: 2.469 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-05/0.4306, allocations: 4.031 kB / 495.5 MB, free: 2.465 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.4307, allocations: 358.8 kB / 495.8 MB, free: 2.105 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/0.431, allocations: 153 kB / 496 MB, free: 1.953 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000321/0.4313, allocations: 307.8 kB / 496.3 MB, free: 1.586 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/0.4316, allocations: 163.7 kB / 496.4 MB, free: 1.426 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.4316, allocations: 4 kB / 496.4 MB, free: 1.422 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.000709/0.4323, allocations: 0.4971 MB / 496.9 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005977/0.4329, allocations: 1.663 MB / 498.6 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.4329, allocations: 4 kB / 498.6 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003168/0.4333, allocations: 92.75 kB / 498.7 MB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003132/0.4336, allocations: 87.83 kB / 498.8 MB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001759/0.4354, allocations: 1.803 MB / 0.4888 GB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004188/0.4358, allocations: 75.7 kB / 0.4889 GB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.4358, allocations: 23.98 kB / 0.4889 GB, free: 12.92 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/0.4359, allocations: 7.953 kB / 0.4889 GB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006756/0.4365, allocations: 428 kB / 0.4894 GB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.4366, allocations: 4 kB / 0.4894 GB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002132/0.4368, allocations: 89.34 kB / 0.4894 GB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002711/0.4371, allocations: 79.84 kB / 0.4895 GB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001626/0.4387, allocations: 1.807 MB / 0.4913 GB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003476/0.4391, allocations: 59.72 kB / 0.4913 GB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-05/0.4391, allocations: 20 kB / 0.4914 GB, free: 10.31 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.0001621/0.4393, allocations: 139.9 kB / 0.4915 GB, free: 10.17 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.12e-05/0.4394, allocations: 47.44 kB / 0.4915 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001189/0.4395, allocations: 48.97 kB / 0.4916 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.4395, allocations: 11.98 kB / 0.4916 GB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.4395, allocations: 4 kB / 0.4916 GB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.4395, allocations: 4 kB / 0.4916 GB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/0.441, allocations: 1.144 MB / 0.4927 GB, free: 8.859 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.441, allocations: 3.938 kB / 0.4927 GB, free: 8.855 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/0.4412, allocations: 43.97 kB / 0.4928 GB, free: 8.812 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002167/0.4415, allocations: 88.78 kB / 0.4929 GB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-05/0.4415, allocations: 7.938 kB / 0.4929 GB, free: 8.715 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00155/0.4431, allocations: 1.694 MB / 0.4945 GB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.4431, allocations: 0 / 0.4945 GB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009482/0.444, allocations: 0.7261 MB / 0.4952 GB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001904/0.4442, allocations: 168.6 kB / 0.4954 GB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.694e-05/0.4443, allocations: 7.891 kB / 0.4954 GB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003385/0.4447, allocations: 43.97 kB / 0.4954 GB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.4448, allocations: 47.92 kB / 0.4955 GB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.092e-05/0.4448, allocations: 19.98 kB / 0.4955 GB, free: 5.848 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003053/0.4451, allocations: 267 kB / 0.4958 GB, free: 5.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4451, allocations: 0 / 0.4958 GB, free: 5.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009386/0.4461, allocations: 263 kB / 0.496 GB, free: 5.332 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.0002096/0.4463, allocations: 129.4 kB / 0.4961 GB, free: 5.199 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001265/0.4476, allocations: 0.9016 MB / 0.497 GB, free: 4.273 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4476, allocations: 0 / 0.497 GB, free: 4.273 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004203/0.448, allocations: 342.2 kB / 0.4973 GB, free: 3.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004718/0.4485, allocations: 66.77 kB / 0.4974 GB, free: 3.867 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.4499, allocations: 0.7773 MB / 0.4982 GB, free: 3.066 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004603/0.4503, allocations: 0.9304 MB / 0.4991 GB, free: 2.105 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003822/0.4507, allocations: 112.6 kB / 0.4992 GB, free: 1.992 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.676e-05/0.4508, allocations: 35.42 kB / 0.4992 GB, free: 1.957 MB / 378.7 MB Notification: Performance of SimCode: time 1.393e-06/0.4508, allocations: 0 / 0.4992 GB, free: 1.957 MB / 378.7 MB Notification: Performance of Templates: time 0.0121/0.4629, allocations: 7.359 MB / 0.5064 GB, free: 10.72 MB / 394.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/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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches