Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_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.0009545/0.0009549, allocations: 202.9 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.25/1.25, allocations: 226.5 MB / 245.3 MB, free: 6.527 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007414/0.0007414, allocations: 102.5 kB / 297.4 MB, free: 6.699 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002784/0.0002785, allocations: 4 kB / 357.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1927, allocations: 51.3 MB / 408.7 MB, free: 27.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1026/0.2954, allocations: 90.08 MB / 498.8 MB, free: 1.527 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/0.2957, allocations: 89.88 kB / 498.8 MB, free: 1.441 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03661/0.3323, allocations: 14.33 MB / 0.5011 GB, free: 3.047 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3324, allocations: 0 / 0.5011 GB, free: 3.047 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.531e-05/0.3324, allocations: 23.92 kB / 0.5012 GB, free: 3.023 MB / 378.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.001681/0.3341, allocations: 0.9784 MB / 0.5021 GB, free: 1.984 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.3341, allocations: 8.031 kB / 0.5021 GB, free: 1.977 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003121/0.3345, allocations: 107.9 kB / 0.5022 GB, free: 1.871 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007381/0.3352, allocations: 0.5065 MB / 0.5027 GB, free: 1.324 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.833e-05/0.3353, allocations: 53.69 kB / 0.5028 GB, free: 1.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.3354, allocations: 76.34 kB / 0.5029 GB, free: 1.195 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.3367, allocations: 0.7174 MB / 0.5036 GB, free: 464 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.3367, allocations: 4.125 kB / 0.5036 GB, free: 460 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.165e-05/0.3368, allocations: 35.92 kB / 0.5036 GB, free: 424 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.3368, allocations: 16 kB / 0.5036 GB, free: 408 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.161/0.4978, allocations: 0.5461 MB / 0.5041 GB, free: 91.44 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00374/0.5016, allocations: 2.423 MB / 0.5065 GB, free: 90.63 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/0.5028, allocations: 0.6082 MB / 0.5071 GB, free: 90.6 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006059/0.5034, allocations: 312.9 kB / 0.5074 GB, free: 90.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.956e-05/0.5035, allocations: 8.609 kB / 0.5074 GB, free: 90.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006144/0.5041, allocations: 385.6 kB / 0.5078 GB, free: 90.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=52): time 2.395e-06/0.5041, allocations: 1.406 kB / 0.5078 GB, free: 90.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=52): time 0.001972/0.5061, allocations: 0.9052 MB / 0.5087 GB, free: 90.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.5062, allocations: 175.2 kB / 0.5088 GB, free: 90.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005654/0.5067, allocations: 477.6 kB / 0.5093 GB, free: 90.03 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.137e-05/0.5068, allocations: 39.64 kB / 0.5093 GB, free: 90 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/0.507, allocations: 327 kB / 0.5096 GB, free: 89.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.5071, allocations: 160.2 kB / 0.5098 GB, free: 89.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.5072, allocations: 12.25 kB / 0.5098 GB, free: 89.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.345e-05/0.5072, allocations: 367.7 kB / 0.5101 GB, free: 89.47 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004244/0.5077, allocations: 213.1 kB / 0.5104 GB, free: 89.47 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004775/0.5082, allocations: 384.5 kB / 0.5107 GB, free: 89.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000778/0.5089, allocations: 0.5411 MB / 0.5112 GB, free: 89.13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.509, allocations: 0 / 0.5112 GB, free: 89.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001016/0.51, allocations: 0.6789 MB / 0.5119 GB, free: 88.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.655e-05/0.5101, allocations: 224.6 kB / 0.5121 GB, free: 88.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.5101, allocations: 3 kB / 0.5121 GB, free: 88.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002521/0.5103, allocations: 80.34 kB / 0.5122 GB, free: 88.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003527/0.5107, allocations: 107 kB / 0.5123 GB, free: 88.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/0.5119, allocations: 1.735 MB / 0.514 GB, free: 86.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004136/0.5123, allocations: 94.52 kB / 0.5141 GB, free: 86.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/0.5124, allocations: 20.56 kB / 0.5141 GB, free: 86.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.901e-06/0.5124, allocations: 10.47 kB / 0.5141 GB, free: 86.96 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000845/0.5133, allocations: 0.5708 MB / 0.5147 GB, free: 86.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.5133, allocations: 5.984 kB / 0.5147 GB, free: 86.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001845/0.5135, allocations: 82.58 kB / 0.5148 GB, free: 86.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/0.5138, allocations: 104.4 kB / 0.5149 GB, free: 86.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001105/0.5149, allocations: 1.741 MB / 0.5166 GB, free: 85.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003635/0.5153, allocations: 74.88 kB / 0.5166 GB, free: 85.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.5153, allocations: 27.34 kB / 0.5167 GB, free: 85.08 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 () * Number of clocked 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.0003255/0.5156, allocations: 318.8 kB / 0.517 GB, free: 84.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.701e-05/0.5157, allocations: 57.89 kB / 0.517 GB, free: 84.79 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.5158, allocations: 64.28 kB / 0.5171 GB, free: 84.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.5158, allocations: 7.625 kB / 0.5171 GB, free: 84.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.5158, allocations: 4 kB / 0.5171 GB, free: 84.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.5159, allocations: 6.922 kB / 0.5171 GB, free: 84.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/0.5176, allocations: 1.437 MB / 0.5185 GB, free: 83.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.5176, allocations: 7.969 kB / 0.5185 GB, free: 83.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002944/0.5179, allocations: 70.27 kB / 0.5186 GB, free: 83.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001831/0.5181, allocations: 72.02 kB / 0.5186 GB, free: 83.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.5181, allocations: 15.7 kB / 0.5187 GB, free: 83.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/0.5192, allocations: 1.646 MB / 0.5203 GB, free: 82.44 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5192, allocations: 3.844 kB / 0.5203 GB, free: 82.44 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.5206, allocations: 0.9552 MB / 0.5212 GB, free: 81.97 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001662/0.5207, allocations: 180.7 kB / 0.5214 GB, free: 81.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.758e-05/0.5208, allocations: 9.625 kB / 0.5214 GB, free: 81.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003385/0.5212, allocations: 60.09 kB / 0.5214 GB, free: 81.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.5213, allocations: 57.3 kB / 0.5215 GB, free: 81.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.983e-05/0.5213, allocations: 21.98 kB / 0.5215 GB, free: 81.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002827/0.5216, allocations: 325.2 kB / 0.5218 GB, free: 81.63 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5216, allocations: 0 / 0.5218 GB, free: 81.63 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008054/0.5224, allocations: 311.4 kB / 0.5221 GB, free: 81.55 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) * Number of clocked states: 0 () * 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.0001544/0.5226, allocations: 150.1 kB / 0.5223 GB, free: 81.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001543/0.5241, allocations: 1.093 MB / 0.5233 GB, free: 80.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.5242, allocations: 2.469 kB / 0.5233 GB, free: 80.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005155/0.5247, allocations: 430.7 kB / 0.5237 GB, free: 80.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005687/0.5253, allocations: 93.7 kB / 0.5238 GB, free: 80.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.5271, allocations: 1.557 MB / 0.5254 GB, free: 79.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.5274, allocations: 0.9236 MB / 0.5263 GB, free: 79.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.5275, allocations: 49.05 kB / 0.5263 GB, free: 79 MB / 378.7 MB Notification: Performance of SimCode: time 4.71e-07/0.5275, allocations: 0 / 0.5263 GB, free: 79 MB / 378.7 MB Notification: Performance of Templates: time 0.01044/0.538, allocations: 10.8 MB / 0.5369 GB, free: 72.07 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.sim & ./Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches