Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_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.Rectifier1Pulse.Thyristor1Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|idealthyristor.off|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|idealthyristor.off|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009508/0.0009508, allocations: 195.4 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.257/1.257, allocations: 226.5 MB / 245.4 MB, free: 8.25 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007479/0.0007479, allocations: 94.31 kB / 297.4 MB, free: 6.918 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003176/0.0003176, allocations: 8 kB / 357.4 MB, free: 10.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2218, allocations: 51.28 MB / 408.7 MB, free: 27.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09243/0.3142, allocations: 86.65 MB / 495.3 MB, free: 4.953 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002286/0.3145, allocations: 83.95 kB / 495.4 MB, free: 4.871 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02621/0.3407, allocations: 10.55 MB / 0.4941 GB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3408, allocations: 4 kB / 0.4941 GB, free: 10.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.431e-05/0.3408, allocations: 8 kB / 0.4941 GB, free: 10.27 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001141/0.3419, allocations: 0.7545 MB / 0.4948 GB, free: 9.457 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.342, allocations: 12.03 kB / 0.4949 GB, free: 9.445 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001894/0.3422, allocations: 68.27 kB / 0.4949 GB, free: 9.379 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004827/0.3427, allocations: 400.7 kB / 0.4953 GB, free: 8.949 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.796e-05/0.3427, allocations: 37.38 kB / 0.4953 GB, free: 8.914 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.296e-05/0.3428, allocations: 40.38 kB / 0.4954 GB, free: 8.875 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007737/0.3436, allocations: 0.4925 MB / 0.4959 GB, free: 8.367 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.3436, allocations: 8.078 kB / 0.4959 GB, free: 8.359 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.623e-05/0.3436, allocations: 19.94 kB / 0.4959 GB, free: 8.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.557e-06/0.3437, allocations: 11.94 kB / 0.4959 GB, free: 8.328 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006755/0.3443, allocations: 367.8 kB / 0.4963 GB, free: 7.969 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00235/0.3467, allocations: 1.65 MB / 0.4979 GB, free: 6.227 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005424/0.3473, allocations: 293.2 kB / 0.4981 GB, free: 5.934 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001876/0.3475, allocations: 124.7 kB / 0.4983 GB, free: 5.809 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.3475, allocations: 3.984 kB / 0.4983 GB, free: 5.805 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003605/0.3479, allocations: 244.9 kB / 0.4985 GB, free: 5.547 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 1.613e-06/0.3479, allocations: 0 / 0.4985 GB, free: 5.547 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.00106/0.3489, allocations: 0.5384 MB / 0.499 GB, free: 4.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.25e-05/0.349, allocations: 140.5 kB / 0.4992 GB, free: 4.812 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004563/0.3495, allocations: 373.5 kB / 0.4995 GB, free: 4.438 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.385e-05/0.3496, allocations: 41.69 kB / 0.4996 GB, free: 4.391 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.3497, allocations: 251.9 kB / 0.4998 GB, free: 4.141 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.728e-05/0.3498, allocations: 94.8 kB / 0.4999 GB, free: 4.047 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.989e-05/0.3498, allocations: 8 kB / 0.4999 GB, free: 4.039 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.35, allocations: 350.8 kB / 0.5002 GB, free: 3.688 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002538/0.3502, allocations: 136.7 kB / 0.5004 GB, free: 3.551 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003607/0.3506, allocations: 295.7 kB / 0.5006 GB, free: 3.195 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005018/0.3511, allocations: 369 kB / 0.501 GB, free: 2.777 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.3511, allocations: 4 kB / 0.501 GB, free: 2.773 MB / 378.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007587/0.3519, allocations: 486 kB / 0.5015 GB, free: 2.289 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.352, allocations: 208.5 kB / 0.5017 GB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.352, allocations: 7.938 kB / 0.5017 GB, free: 2.016 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002032/0.3522, allocations: 44.83 kB / 0.5017 GB, free: 1.969 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.3525, allocations: 71.84 kB / 0.5018 GB, free: 1.898 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/0.3537, allocations: 1.503 MB / 0.5032 GB, free: 272 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003379/0.3541, allocations: 83.7 kB / 0.5033 GB, free: 188 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/0.3541, allocations: 16 kB / 0.5033 GB, free: 172 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.22e-06/0.3541, allocations: 4 kB / 0.5033 GB, free: 168 kB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1547/0.5088, allocations: 381.2 kB / 0.5037 GB, free: 93.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.5088, allocations: 4.812 kB / 0.5037 GB, free: 93.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000151/0.509, allocations: 47.25 kB / 0.5038 GB, free: 93.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/0.5092, allocations: 67.61 kB / 0.5038 GB, free: 93.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009926/0.5102, allocations: 1.493 MB / 0.5053 GB, free: 92.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003475/0.5106, allocations: 64.83 kB / 0.5053 GB, free: 92.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/0.5106, allocations: 20.47 kB / 0.5054 GB, free: 92.34 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: 21 ($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,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_n,$PRE.idealthyristor.off,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * 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 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002804/0.5109, allocations: 280 kB / 0.5056 GB, free: 92.15 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.978e-05/0.511, allocations: 41.75 kB / 0.5057 GB, free: 92.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.272e-05/0.5111, allocations: 40.02 kB / 0.5057 GB, free: 92.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.5111, allocations: 3.906 kB / 0.5057 GB, free: 92.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.5111, allocations: 3.188 kB / 0.5057 GB, free: 92.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.5111, allocations: 2.047 kB / 0.5057 GB, free: 92.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.5124, allocations: 0.9005 MB / 0.5066 GB, free: 91.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.5124, allocations: 5.875 kB / 0.5066 GB, free: 91.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.5125, allocations: 27.69 kB / 0.5066 GB, free: 91.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000118/0.5127, allocations: 39.33 kB / 0.5067 GB, free: 91.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.5127, allocations: 7.766 kB / 0.5067 GB, free: 91.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000803/0.5135, allocations: 1.417 MB / 0.5081 GB, free: 90.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.5135, allocations: 0 / 0.5081 GB, free: 90.58 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007904/0.5143, allocations: 0.568 MB / 0.5086 GB, free: 90.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.5145, allocations: 142.7 kB / 0.5087 GB, free: 90.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.046e-05/0.5145, allocations: 10.95 kB / 0.5088 GB, free: 90.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000254/0.5148, allocations: 40.92 kB / 0.5088 GB, free: 90.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.159e-05/0.5149, allocations: 28.81 kB / 0.5088 GB, free: 90.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.718e-05/0.5149, allocations: 12.25 kB / 0.5088 GB, free: 90.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003247/0.5152, allocations: 262.7 kB / 0.5091 GB, free: 90.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5153, allocations: 0 / 0.5091 GB, free: 90.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007682/0.516, allocations: 209.3 kB / 0.5093 GB, free: 90.25 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 15 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_n,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,idealthyristor.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 21 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.00017/0.5162, allocations: 135.8 kB / 0.5094 GB, free: 90.15 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00115/0.5174, allocations: 0.7535 MB / 0.5101 GB, free: 89.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.5174, allocations: 0.5 kB / 0.5101 GB, free: 89.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003149/0.5177, allocations: 267.7 kB / 0.5104 GB, free: 89.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004822/0.5182, allocations: 65.17 kB / 0.5105 GB, free: 89.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.5198, allocations: 1.038 MB / 0.5115 GB, free: 89.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.5201, allocations: 0.8512 MB / 0.5123 GB, free: 88.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.5203, allocations: 29.78 kB / 0.5123 GB, free: 88.55 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5203, allocations: 3.656 kB / 0.5123 GB, free: 88.55 MB / 378.7 MB Notification: Performance of Templates: time 0.007133/0.5274, allocations: 7.339 MB / 0.5195 GB, free: 88.14 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.sim & ./Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/Rectifier1Pulse/Thyristor1Pulse_R/Thyristor1Pulse_R.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches