Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.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.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_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008719/0.0008718, allocations: 172.2 kB / 17.39 MB, free: 4.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 223.3 MB / 241.4 MB, free: 9.996 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007632/0.0007631, allocations: 91.38 kB / 292.6 MB, free: 10.62 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002951/0.0002952, allocations: 11.98 kB / 352.4 MB, free: 14.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.219, allocations: 50.4 MB / 402.8 MB, free: 32.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1386/0.3577, allocations: 85.94 MB / 488.7 MB, free: 10.42 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/0.3579, allocations: 91.53 kB / 488.8 MB, free: 10.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02793/0.3859, allocations: 10.39 MB / 499.2 MB, free: 15.9 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3859, allocations: 0 / 499.2 MB, free: 15.9 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.95e-05/0.386, allocations: 12 kB / 499.2 MB, free: 15.89 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.001378/0.3874, allocations: 0.7467 MB / 499.9 MB, free: 15.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.3874, allocations: 8.031 kB / 499.9 MB, free: 15.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/0.3875, allocations: 60.38 kB / 500 MB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005641/0.3881, allocations: 388.1 kB / 0.4887 GB, free: 14.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.762e-05/0.3882, allocations: 33.38 kB / 0.4887 GB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.854e-05/0.3883, allocations: 56.3 kB / 0.4887 GB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009163/0.3892, allocations: 496.4 kB / 0.4892 GB, free: 14.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.3892, allocations: 4.094 kB / 0.4892 GB, free: 14.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.781e-05/0.3893, allocations: 23.92 kB / 0.4892 GB, free: 13.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.3893, allocations: 15.94 kB / 0.4893 GB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000693/0.39, allocations: 367.7 kB / 0.4896 GB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002564/0.3926, allocations: 1.642 MB / 0.4912 GB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005835/0.3932, allocations: 291 kB / 0.4915 GB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/0.3934, allocations: 112.8 kB / 0.4916 GB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.555e-05/0.3934, allocations: 8 kB / 0.4916 GB, free: 11.47 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003913/0.3938, allocations: 236.9 kB / 0.4918 GB, free: 11.22 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 3.747e-06/0.3938, allocations: 4 kB / 0.4918 GB, free: 11.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.001134/0.395, allocations: 0.5384 MB / 0.4924 GB, free: 10.65 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.321e-05/0.3951, allocations: 144.5 kB / 0.4925 GB, free: 10.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004482/0.3955, allocations: 361.6 kB / 0.4928 GB, free: 10.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.38e-05/0.3956, allocations: 41.69 kB / 0.4929 GB, free: 10.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.3957, allocations: 244 kB / 0.4931 GB, free: 9.824 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.68e-05/0.3958, allocations: 94.7 kB / 0.4932 GB, free: 9.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.902e-05/0.3959, allocations: 12 kB / 0.4932 GB, free: 9.719 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.396, allocations: 350.8 kB / 0.4935 GB, free: 9.367 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002569/0.3963, allocations: 128.8 kB / 0.4937 GB, free: 9.242 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003853/0.3967, allocations: 299.1 kB / 0.494 GB, free: 8.879 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005378/0.3972, allocations: 372.5 kB / 0.4943 GB, free: 8.457 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.3972, allocations: 0 / 0.4943 GB, free: 8.457 MB / 378.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007975/0.398, allocations: 474.7 kB / 0.4948 GB, free: 7.984 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001315/0.3982, allocations: 216.4 kB / 0.495 GB, free: 7.711 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.3982, allocations: 4 kB / 0.495 GB, free: 7.707 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001993/0.3984, allocations: 48.83 kB / 0.495 GB, free: 7.656 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.3987, allocations: 67.84 kB / 0.4951 GB, free: 7.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/0.3999, allocations: 1.514 MB / 0.4966 GB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004056/0.4004, allocations: 83.55 kB / 0.4966 GB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.055e-05/0.4004, allocations: 16 kB / 0.4967 GB, free: 5.848 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.229e-06/0.4004, allocations: 4 kB / 0.4967 GB, free: 5.844 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006426/0.4011, allocations: 388.4 kB / 0.497 GB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.4011, allocations: 4 kB / 0.497 GB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001204/0.4012, allocations: 45.39 kB / 0.4971 GB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.4015, allocations: 75.78 kB / 0.4972 GB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/0.4026, allocations: 1.487 MB / 0.4986 GB, free: 3.711 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/0.403, allocations: 67.59 kB / 0.4987 GB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/0.403, allocations: 16 kB / 0.4987 GB, free: 3.629 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.000278/0.4033, allocations: 287.5 kB / 0.499 GB, free: 3.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.168e-05/0.4033, allocations: 35.62 kB / 0.499 GB, free: 3.305 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.62e-05/0.4034, allocations: 40.06 kB / 0.499 GB, free: 3.266 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.4034, allocations: 4 kB / 0.499 GB, free: 3.262 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4034, allocations: 3.984 kB / 0.499 GB, free: 3.258 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.4035, allocations: 0 / 0.499 GB, free: 3.258 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.4047, allocations: 0.8855 MB / 0.4999 GB, free: 2.312 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.4048, allocations: 3.938 kB / 0.4999 GB, free: 2.309 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.4049, allocations: 27.98 kB / 0.4999 GB, free: 2.281 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001299/0.4051, allocations: 44.77 kB / 0.5 GB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.4051, allocations: 4 kB / 0.5 GB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001215/0.4063, allocations: 1.422 MB / 0.5014 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.4063, allocations: 7.969 kB / 0.5014 GB, free: 0.668 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008816/0.4072, allocations: 0.5641 MB / 0.5019 GB, free: 84 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1698/0.5771, allocations: 132.5 kB / 0.5021 GB, free: 97.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.5772, allocations: 7.656 kB / 0.5021 GB, free: 97.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003609/0.5776, allocations: 41.28 kB / 0.5021 GB, free: 97.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.5777, allocations: 36.31 kB / 0.5021 GB, free: 97.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-05/0.5778, allocations: 11.8 kB / 0.5021 GB, free: 97.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004324/0.5782, allocations: 255.7 kB / 0.5024 GB, free: 97.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5782, allocations: 3.062 kB / 0.5024 GB, free: 97.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001055/0.5793, allocations: 206.2 kB / 0.5026 GB, free: 97.64 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.0002275/0.5795, allocations: 123 kB / 0.5027 GB, free: 97.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001582/0.5811, allocations: 0.7543 MB / 0.5034 GB, free: 97.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.5811, allocations: 4.188 kB / 0.5034 GB, free: 97.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003811/0.5815, allocations: 261.5 kB / 0.5037 GB, free: 97.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00051/0.582, allocations: 64.42 kB / 0.5038 GB, free: 97.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.5837, allocations: 0.9954 MB / 0.5047 GB, free: 96.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.5841, allocations: 0.8478 MB / 0.5056 GB, free: 96.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003185/0.5844, allocations: 75.06 kB / 0.5056 GB, free: 96.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.076e-05/0.5845, allocations: 28.78 kB / 0.5057 GB, free: 96.04 MB / 378.7 MB Notification: Performance of SimCode: time 4.81e-07/0.5845, allocations: 0.5 kB / 0.5057 GB, free: 96.04 MB / 378.7 MB Notification: Performance of Templates: time 0.01052/0.595, allocations: 4.982 MB / 0.5105 GB, free: 95.91 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches