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_RL.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_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_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001429/0.00143, allocations: 177.1 kB / 8.35 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.336/1.336, allocations: 221.5 MB / 230.3 MB, free: 7.527 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.0009004/0.0009006, allocations: 88.44 kB / 281.2 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.618e-05/1.62e-05, allocations: 4 kB / 337.1 MB, free: 10 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08943/0.08946, allocations: 50.43 MB / 387.5 MB, free: 7.543 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2938/0.3834, allocations: 88.03 MB / 475.5 MB, free: 6.781 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/0.3837, allocations: 83.94 kB / 475.6 MB, free: 6.699 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03515/0.4188, allocations: 13.65 MB / 489.2 MB, free: 8.992 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.4189, allocations: 0 / 489.2 MB, free: 8.992 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.22e-05/0.4189, allocations: 20 kB / 489.3 MB, free: 8.973 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.001509/0.4204, allocations: 0.8491 MB / 490.1 MB, free: 8.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.4205, allocations: 8.031 kB / 490.1 MB, free: 8.062 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.4206, allocations: 83.06 kB / 490.2 MB, free: 7.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007841/0.4214, allocations: 496 kB / 490.7 MB, free: 7.453 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.615e-05/0.4215, allocations: 24 kB / 490.7 MB, free: 7.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.4216, allocations: 36 kB / 490.7 MB, free: 7.395 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007787/0.4224, allocations: 426.5 kB / 491.2 MB, free: 6.977 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008545/0.4233, allocations: 0.5542 MB / 491.7 MB, free: 6.398 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.4233, allocations: 0 / 491.7 MB, free: 6.398 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.868e-05/0.4234, allocations: 8 kB / 491.7 MB, free: 6.391 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.4234, allocations: 12 kB / 491.7 MB, free: 6.379 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00303/0.4264, allocations: 2.237 MB / 494 MB, free: 4.035 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005973/0.427, allocations: 414.3 kB / 494.4 MB, free: 3.625 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004232/0.4275, allocations: 240.7 kB / 494.6 MB, free: 3.387 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/0.4275, allocations: 7.984 kB / 494.6 MB, free: 3.379 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004289/0.4279, allocations: 300 kB / 494.9 MB, free: 3.066 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 1.753e-06/0.4279, allocations: 0 / 494.9 MB, free: 3.066 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.0007322/0.4287, allocations: 412.3 kB / 495.3 MB, free: 2.652 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.4288, allocations: 166.7 kB / 495.5 MB, free: 2.453 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004162/0.4292, allocations: 369 kB / 495.8 MB, free: 2.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.703e-05/0.4293, allocations: 41.66 kB / 495.9 MB, free: 2.043 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002282/0.4295, allocations: 320.1 kB / 496.2 MB, free: 1.723 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.4296, allocations: 134.1 kB / 496.3 MB, free: 1.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-05/0.4297, allocations: 0 / 496.3 MB, free: 1.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.4298, allocations: 358.8 kB / 496.7 MB, free: 1.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/0.4301, allocations: 153 kB / 496.8 MB, free: 1.078 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003254/0.4304, allocations: 312.3 kB / 497.1 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.4307, allocations: 168.7 kB / 497.3 MB, free: 0.543 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.4307, allocations: 0 / 497.3 MB, free: 0.543 MB / 362.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007842/0.4315, allocations: 0.5199 MB / 497.8 MB, free: 12 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007042/0.4322, allocations: 1.653 MB / 499.5 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.4322, allocations: 8 kB / 499.5 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000288/0.4325, allocations: 80.81 kB / 499.6 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003474/0.4328, allocations: 95.83 kB / 499.6 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/0.4344, allocations: 1.69 MB / 0.4896 GB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004141/0.4349, allocations: 83.55 kB / 0.4897 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/0.4349, allocations: 27.97 kB / 0.4897 GB, free: 12.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.123e-06/0.4349, allocations: 4 kB / 0.4897 GB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006523/0.4356, allocations: 438.8 kB / 0.4901 GB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.4356, allocations: 4 kB / 0.4901 GB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001847/0.4358, allocations: 81.48 kB / 0.4902 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/0.4361, allocations: 91.83 kB / 0.4903 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/0.4375, allocations: 1.686 MB / 0.4919 GB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003381/0.4379, allocations: 63.52 kB / 0.492 GB, free: 9.652 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/0.4379, allocations: 20 kB / 0.492 GB, free: 9.633 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.0001816/0.4381, allocations: 147.5 kB / 0.4922 GB, free: 9.484 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.022e-05/0.4382, allocations: 47.44 kB / 0.4922 GB, free: 9.438 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.4383, allocations: 48.97 kB / 0.4922 GB, free: 9.391 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.4383, allocations: 8 kB / 0.4923 GB, free: 9.383 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4383, allocations: 0 / 0.4923 GB, free: 9.383 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.4384, allocations: 3.984 kB / 0.4923 GB, free: 9.379 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001704/0.4401, allocations: 1.191 MB / 0.4934 GB, free: 8.137 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.4401, allocations: 3.984 kB / 0.4934 GB, free: 8.133 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002511/0.4403, allocations: 51.91 kB / 0.4935 GB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001882/0.4405, allocations: 76.84 kB / 0.4935 GB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.885e-05/0.4406, allocations: 4 kB / 0.4936 GB, free: 8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001334/0.4419, allocations: 1.588 MB / 0.4951 GB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.4419, allocations: 0 / 0.4951 GB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009879/0.4429, allocations: 0.7557 MB / 0.4958 GB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001918/0.4431, allocations: 176.3 kB / 0.496 GB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.918e-05/0.4432, allocations: 11.95 kB / 0.496 GB, free: 5.301 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003347/0.4436, allocations: 39.95 kB / 0.4961 GB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.4437, allocations: 52.36 kB / 0.4961 GB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.039e-05/0.4437, allocations: 16 kB / 0.4961 GB, free: 5.195 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002887/0.444, allocations: 275 kB / 0.4964 GB, free: 4.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.444, allocations: 0 / 0.4964 GB, free: 4.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008203/0.4449, allocations: 271 kB / 0.4966 GB, free: 4.664 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.0001693/0.445, allocations: 125.4 kB / 0.4968 GB, free: 4.535 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.4462, allocations: 0.885 MB / 0.4976 GB, free: 3.625 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4462, allocations: 6.125 kB / 0.4976 GB, free: 3.621 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003707/0.4465, allocations: 331.2 kB / 0.4979 GB, free: 3.289 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.447, allocations: 78.48 kB / 0.498 GB, free: 3.211 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.4484, allocations: 0.851 MB / 0.4989 GB, free: 2.336 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004596/0.4489, allocations: 0.9343 MB / 0.4998 GB, free: 1.371 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003887/0.4493, allocations: 124.3 kB / 0.4999 GB, free: 1.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.655e-05/0.4494, allocations: 35.44 kB / 0.4999 GB, free: 1.215 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4494, allocations: 0 / 0.4999 GB, free: 1.215 MB / 378.7 MB Notification: Performance of Templates: time 0.01171/0.4611, allocations: 7.184 MB / 0.5069 GB, free: 10.14 MB / 394.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches