Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.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_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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_Characteristic") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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_Characteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001177/0.001177, allocations: 202.8 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.361/1.361, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008047/0.0008048, allocations: 91.5 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.372e-05/1.389e-05, allocations: 4 kB / 343.7 MB, free: 8.246 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09248/0.09251, allocations: 51.48 MB / 395.2 MB, free: 4.727 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3868/0.4793, allocations: 89.35 MB / 484.5 MB, free: 3.887 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/0.4797, allocations: 89.45 kB / 484.6 MB, free: 3.836 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04439/0.5241, allocations: 14.18 MB / 498.8 MB, free: 8.098 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.5242, allocations: 0 / 498.8 MB, free: 8.098 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.093e-05/0.5242, allocations: 12 kB / 498.8 MB, free: 8.086 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001745/0.526, allocations: 0.8992 MB / 499.7 MB, free: 7.184 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.526, allocations: 12.03 kB / 499.7 MB, free: 7.172 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004104/0.5265, allocations: 114.5 kB / 499.9 MB, free: 7.062 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008013/0.5273, allocations: 0.4883 MB / 0.4886 GB, free: 6.617 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.637e-05/0.5273, allocations: 27.06 kB / 0.4886 GB, free: 6.594 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.5274, allocations: 40 kB / 0.4887 GB, free: 6.555 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007686/0.5282, allocations: 441.3 kB / 0.4891 GB, free: 6.289 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009257/0.5292, allocations: 0.575 MB / 0.4897 GB, free: 5.852 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.5292, allocations: 0 / 0.4897 GB, free: 5.852 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.933e-05/0.5292, allocations: 0 / 0.4897 GB, free: 5.852 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.5293, allocations: 20.34 kB / 0.4897 GB, free: 5.832 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00325/0.5325, allocations: 2.299 MB / 0.4919 GB, free: 3.902 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009231/0.5335, allocations: 0.5122 MB / 0.4924 GB, free: 3.555 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004743/0.5339, allocations: 256.1 kB / 0.4927 GB, free: 3.375 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.545e-05/0.534, allocations: 13.12 kB / 0.4927 GB, free: 3.363 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000449/0.5345, allocations: 317.6 kB / 0.493 GB, free: 3.113 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 2.064e-06/0.5345, allocations: 4 kB / 0.493 GB, free: 3.109 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.0007188/0.5352, allocations: 446.5 kB / 0.4934 GB, free: 2.773 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.964e-05/0.5353, allocations: 173.8 kB / 0.4936 GB, free: 2.566 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003637/0.5357, allocations: 355.7 kB / 0.4939 GB, free: 2.293 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.17e-05/0.5357, allocations: 32.95 kB / 0.4939 GB, free: 2.258 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000187/0.5359, allocations: 327.1 kB / 0.4943 GB, free: 2.012 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.536, allocations: 148 kB / 0.4944 GB, free: 1.887 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.338e-05/0.5361, allocations: 0 / 0.4944 GB, free: 1.887 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.5362, allocations: 370.5 kB / 0.4948 GB, free: 1.539 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002324/0.5364, allocations: 157.3 kB / 0.4949 GB, free: 1.449 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003163/0.5368, allocations: 321.1 kB / 0.4952 GB, free: 1.148 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/0.537, allocations: 174 kB / 0.4954 GB, free: 1.043 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.537, allocations: 0 / 0.4954 GB, free: 1.043 MB / 362.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007551/0.5378, allocations: 0.5262 MB / 0.4959 GB, free: 0.6328 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005334/0.5383, allocations: 1.663 MB / 0.4975 GB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.5384, allocations: 4 kB / 0.4975 GB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000271/0.5386, allocations: 75.84 kB / 0.4976 GB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003966/0.539, allocations: 111.6 kB / 0.4977 GB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001432/0.5405, allocations: 1.696 MB / 0.4994 GB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004245/0.5409, allocations: 71.62 kB / 0.4994 GB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.006e-05/0.541, allocations: 19.88 kB / 0.4994 GB, free: 13.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.394e-06/0.541, allocations: 4 kB / 0.4994 GB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000657/0.5417, allocations: 448.3 kB / 0.4999 GB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.5417, allocations: 8 kB / 0.4999 GB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001903/0.5419, allocations: 82 kB / 0.5 GB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003578/0.5422, allocations: 99.02 kB / 0.5001 GB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/0.5436, allocations: 1.702 MB / 0.5017 GB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000386/0.544, allocations: 55.66 kB / 0.5018 GB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.885e-05/0.544, allocations: 19.31 kB / 0.5018 GB, free: 10.85 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 (65): * Single equations (assignments): 64 * 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.0001574/0.5442, allocations: 147.2 kB / 0.5019 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.011e-05/0.5443, allocations: 51.34 kB / 0.502 GB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.5444, allocations: 58.86 kB / 0.502 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.5444, allocations: 8.062 kB / 0.502 GB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.5444, allocations: 4 kB / 0.502 GB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/0.5445, allocations: 3.984 kB / 0.502 GB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001649/0.5461, allocations: 1.216 MB / 0.5032 GB, free: 9.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.5461, allocations: 7.891 kB / 0.5032 GB, free: 9.492 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003359/0.5465, allocations: 71.89 kB / 0.5033 GB, free: 9.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001887/0.5467, allocations: 76.84 kB / 0.5034 GB, free: 9.344 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.588e-05/0.5467, allocations: 4 kB / 0.5034 GB, free: 9.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001335/0.5481, allocations: 1.592 MB / 0.5049 GB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.5481, allocations: 0 / 0.5049 GB, free: 7.633 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.5491, allocations: 0.7836 MB / 0.5057 GB, free: 6.812 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002055/0.5493, allocations: 176.3 kB / 0.5059 GB, free: 6.621 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.807e-05/0.5494, allocations: 8 kB / 0.5059 GB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003632/0.5498, allocations: 48.02 kB / 0.5059 GB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.5499, allocations: 58.03 kB / 0.506 GB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.077e-05/0.55, allocations: 12 kB / 0.506 GB, free: 6.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002717/0.5502, allocations: 282.9 kB / 0.5063 GB, free: 6.227 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5502, allocations: 0 / 0.5063 GB, free: 6.227 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009215/0.5512, allocations: 279 kB / 0.5065 GB, free: 5.953 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 (45): * Single equations (assignments): 39 * 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.0002131/0.5514, allocations: 133.4 kB / 0.5067 GB, free: 5.812 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001313/0.5527, allocations: 0.9244 MB / 0.5076 GB, free: 4.867 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/0.5527, allocations: 8 kB / 0.5076 GB, free: 4.859 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004206/0.5532, allocations: 349 kB / 0.5079 GB, free: 4.512 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004482/0.5536, allocations: 81.06 kB / 0.508 GB, free: 4.441 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.5554, allocations: 0.9157 MB / 0.5089 GB, free: 3.496 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000507/0.5559, allocations: 0.9539 MB / 0.5098 GB, free: 2.516 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004326/0.5563, allocations: 116.3 kB / 0.5099 GB, free: 2.402 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.845e-05/0.5564, allocations: 35.42 kB / 0.51 GB, free: 2.367 MB / 378.7 MB Notification: Performance of SimCode: time 7.62e-07/0.5565, allocations: 0 / 0.51 GB, free: 2.367 MB / 378.7 MB Notification: Performance of Templates: time 0.01378/0.5702, allocations: 7.558 MB / 0.5173 GB, free: 10.97 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic_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_Characteristic/ThyristorCenterTap2Pulse_RLV_Characteristic.csv","../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches