Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.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_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_trunk_cpp_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_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001152/0.001152, allocations: 198.7 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.241/1.241, allocations: 226.5 MB / 245.4 MB, free: 8.238 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007376/0.0007378, allocations: 109.1 kB / 297.4 MB, free: 6.918 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002247/0.0002247, allocations: 8 kB / 357.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.1928, allocations: 51.29 MB / 408.7 MB, free: 27.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0962/0.2891, allocations: 89.25 MB / 497.9 MB, free: 2.359 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.2893, allocations: 83.95 kB / 498 MB, free: 2.277 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03284/0.3222, allocations: 13.57 MB / 0.4996 GB, free: 4.648 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3222, allocations: 0 / 0.4996 GB, free: 4.648 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.274e-05/0.3222, allocations: 16 kB / 0.4996 GB, free: 4.633 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001402/0.3237, allocations: 0.9145 MB / 0.5005 GB, free: 3.656 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.3237, allocations: 12.03 kB / 0.5005 GB, free: 3.645 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002863/0.324, allocations: 104 kB / 0.5006 GB, free: 3.543 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006311/0.3246, allocations: 0.4911 MB / 0.5011 GB, free: 3.012 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.476e-05/0.3247, allocations: 45.69 kB / 0.5011 GB, free: 2.969 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.852e-05/0.3248, allocations: 60.38 kB / 0.5012 GB, free: 2.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.3258, allocations: 0.6628 MB / 0.5018 GB, free: 2.223 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.771e-05/0.3259, allocations: 192 / 0.5018 GB, free: 2.223 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.14e-05/0.326, allocations: 35.88 kB / 0.5019 GB, free: 2.188 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.326, allocations: 16 kB / 0.5019 GB, free: 2.172 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009002/0.3269, allocations: 0.4931 MB / 0.5024 GB, free: 1.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1516/0.4785, allocations: 2.301 MB / 0.5046 GB, free: 91.08 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007757/0.4793, allocations: 430.9 kB / 0.505 GB, free: 91.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005162/0.4798, allocations: 257.1 kB / 0.5053 GB, free: 91.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.132e-05/0.4798, allocations: 7.781 kB / 0.5053 GB, free: 91.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005331/0.4804, allocations: 324.2 kB / 0.5056 GB, free: 90.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=46): time 2.564e-06/0.4804, allocations: 0 / 0.5056 GB, free: 90.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=46): time 0.001802/0.4822, allocations: 0.7945 MB / 0.5064 GB, free: 90.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.4823, allocations: 168 kB / 0.5065 GB, free: 90.63 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000556/0.4828, allocations: 490.1 kB / 0.507 GB, free: 90.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.373e-05/0.4829, allocations: 41.02 kB / 0.507 GB, free: 90.49 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.4831, allocations: 314.7 kB / 0.5073 GB, free: 90.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.948e-05/0.4832, allocations: 137.8 kB / 0.5075 GB, free: 90.31 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.598e-05/0.4832, allocations: 13.77 kB / 0.5075 GB, free: 90.31 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.422e-05/0.4833, allocations: 368 kB / 0.5078 GB, free: 90 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003421/0.4836, allocations: 190 kB / 0.508 GB, free: 90 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000394/0.484, allocations: 354.9 kB / 0.5083 GB, free: 89.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006342/0.4847, allocations: 475 kB / 0.5088 GB, free: 89.67 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.4847, allocations: 2.438 kB / 0.5088 GB, free: 89.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001107/0.4858, allocations: 0.6211 MB / 0.5094 GB, free: 89.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.4859, allocations: 212.9 kB / 0.5096 GB, free: 89.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.4859, allocations: 4.438 kB / 0.5096 GB, free: 89.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003182/0.4863, allocations: 95.77 kB / 0.5097 GB, free: 89.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003273/0.4866, allocations: 85.59 kB / 0.5098 GB, free: 89.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001693/0.4883, allocations: 1.856 MB / 0.5116 GB, free: 88.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004197/0.4887, allocations: 93 kB / 0.5117 GB, free: 88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-05/0.4888, allocations: 22.69 kB / 0.5117 GB, free: 88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.332e-06/0.4888, allocations: 4.125 kB / 0.5117 GB, free: 88 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000766/0.4896, allocations: 0.5213 MB / 0.5122 GB, free: 87.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.4896, allocations: 7.438 kB / 0.5122 GB, free: 87.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002117/0.4898, allocations: 94.27 kB / 0.5123 GB, free: 87.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002686/0.4901, allocations: 78.25 kB / 0.5124 GB, free: 87.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/0.4915, allocations: 1.848 MB / 0.5142 GB, free: 86.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003502/0.4918, allocations: 70.72 kB / 0.5143 GB, free: 86.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.993e-05/0.4919, allocations: 25.47 kB / 0.5143 GB, free: 86.27 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 (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.0003625/0.4922, allocations: 315.6 kB / 0.5146 GB, free: 86.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.052e-05/0.4923, allocations: 50.34 kB / 0.5146 GB, free: 86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.886e-05/0.4924, allocations: 67.58 kB / 0.5147 GB, free: 85.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.4924, allocations: 3.969 kB / 0.5147 GB, free: 85.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4924, allocations: 2.062 kB / 0.5147 GB, free: 85.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.4924, allocations: 7.125 kB / 0.5147 GB, free: 85.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/0.494, allocations: 1.313 MB / 0.516 GB, free: 85.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.494, allocations: 0 / 0.516 GB, free: 85.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/0.4942, allocations: 45.42 kB / 0.516 GB, free: 85.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002117/0.4944, allocations: 90.14 kB / 0.5161 GB, free: 85.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/0.4945, allocations: 7.938 kB / 0.5161 GB, free: 85.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001306/0.4958, allocations: 1.76 MB / 0.5179 GB, free: 83.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.4958, allocations: 3.938 kB / 0.5179 GB, free: 83.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.4968, allocations: 0.8037 MB / 0.5186 GB, free: 83.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/0.497, allocations: 174.3 kB / 0.5188 GB, free: 83.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.578e-05/0.497, allocations: 15.52 kB / 0.5188 GB, free: 83.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003074/0.4974, allocations: 50.38 kB / 0.5189 GB, free: 83.03 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.4975, allocations: 58.62 kB / 0.5189 GB, free: 83.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/0.4975, allocations: 11.88 kB / 0.5189 GB, free: 83.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000352/0.4979, allocations: 343 kB / 0.5193 GB, free: 82.85 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4979, allocations: 0 / 0.5193 GB, free: 82.85 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008475/0.4987, allocations: 284.9 kB / 0.5195 GB, free: 82.79 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) * Number of clocked states: 0 () * 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.0001672/0.4989, allocations: 135.9 kB / 0.5197 GB, free: 82.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001387/0.5003, allocations: 1.015 MB / 0.5207 GB, free: 82.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.5003, allocations: 5.031 kB / 0.5207 GB, free: 82.17 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004441/0.5008, allocations: 385.5 kB / 0.521 GB, free: 81.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005711/0.5014, allocations: 100 kB / 0.5211 GB, free: 81.92 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.5029, allocations: 1.341 MB / 0.5224 GB, free: 81.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.5032, allocations: 0.917 MB / 0.5233 GB, free: 80.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.5033, allocations: 38.31 kB / 0.5234 GB, free: 80.37 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5033, allocations: 0 / 0.5234 GB, free: 80.37 MB / 378.7 MB Notification: Performance of Templates: time 0.009783/0.5131, allocations: 10.19 MB / 0.5333 GB, free: 75.77 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.sim & ./Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R_res.mat","/var/lib/jenkins1/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_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches